/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Enhanced Smooth Scrolling Global Styles */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Account for fixed navbar */
}

body {
  scroll-behavior: smooth;
  overscroll-behavior: contain; /* Prevent overscroll bounce on some browsers */
}

/* Enhanced momentum scrolling for all containers */
* {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: inherit;
}

/* Smooth scroll for specific scrollable containers */
.scroll-container {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* Enhanced scrollbar for better visual feedback */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}

::-webkit-scrollbar-thumb:active {
  background: rgba(0, 0, 0, 0.6);
}

/* Firefox scrollbar styling */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.05);
}

/* Smooth transitions for scroll-triggered animations */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hide flatpickr input display - we use custom display */
.flatpickr-input {
  display: none !important;
}

/* Enhanced text shadow for better readability on images */
.text-shadow-lg {
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Custom checkbox styling - black background with white checkmark */
.destination-checkbox {
  appearance: none;
  background-color: white;
  border: 2px solid #d1d5db;
  border-radius: 0.25rem;
  width: 1rem;
  height: 1rem;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.destination-checkbox:checked {
  background-color: black;
  border-color: black;
}

.destination-checkbox:checked::after {
  content: '✓';
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
}

.destination-checkbox:focus {
  outline: none;
  box-shadow: 0 0 0 2px black;
}

/* Ensure destination dropdown appears above everything */
[data-destination-selector-target="dropdown"] {
  z-index: 999999 !important;
}

/* Platform Overview Section Enhancements */
.platform-overview {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.platform-overview .feature-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.platform-overview .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.platform-overview .counter-number {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* Subtle animation for feature icons */
.platform-overview .feature-icon {
  transition: transform 0.3s ease;
}

.platform-overview .feature-card:hover .feature-icon {
  transform: scale(1.1);
}

/* Travel Styles Discovery Section Enhancements */
.travel-style-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.travel-style-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.travel-style-card:hover::before {
  left: 100%;
}

.travel-style-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Individual travel style color enhancements */
.travel-style-cultural {
  background: linear-gradient(135deg, #FDF2E9 0%, #FCE7D1 100%);
}

.travel-style-cultural:hover {
  background: linear-gradient(135deg, #FCE7D1 0%, #FBD9B8 100%);
  border-color: #D9730D;
}

.travel-style-adventure {
  background: linear-gradient(135deg, #EDF3FF 0%, #DBE7FE 100%);
}

.travel-style-adventure:hover {
  background: linear-gradient(135deg, #DBE7FE 0%, #C9DBFD 100%);
  border-color: #2383E2;
}

.travel-style-solo {
  background: linear-gradient(135deg, #E2F5E2 0%, #D1F0D1 100%);
}

.travel-style-solo:hover {
  background: linear-gradient(135deg, #D1F0D1 0%, #C0EBC0 100%);
  border-color: #0A7A0A;
}

.travel-style-luxury {
  background: linear-gradient(135deg, #F5E6FF 0%, #EBDAFF 100%);
}

.travel-style-luxury:hover {
  background: linear-gradient(135deg, #EBDAFF 0%, #E1CEFF 100%);
  border-color: #8B5CF6;
}

/* Icon animations */
.travel-style-icon {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.travel-style-card:hover .travel-style-icon {
  transform: scale(1.15) rotate(5deg);
}

/* Arrow animation */
.travel-style-arrow {
  transition: transform 0.3s ease;
}

.travel-style-card:hover .travel-style-arrow {
  transform: translateX(4px);
}

/* Staggered animation for cards on page load */
.travel-style-card:nth-child(1) {
  animation: slideInUp 0.6s ease-out 0.1s both;
}

.travel-style-card:nth-child(2) {
  animation: slideInUp 0.6s ease-out 0.2s both;
}

.travel-style-card:nth-child(3) {
  animation: slideInUp 0.6s ease-out 0.3s both;
}

.travel-style-card:nth-child(4) {
  animation: slideInUp 0.6s ease-out 0.4s both;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pulse animation for call-to-action buttons */
.travel-style-cta {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(217, 115, 13, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(217, 115, 13, 0);
  }
}

/* Enhanced focus states for accessibility */
.travel-style-card:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(217, 115, 13, 0.3);
}

.travel-style-card:focus-visible {
  outline: 2px solid #D9730D;
  outline-offset: 2px;
}

/* ===== MOBILE-FIRST RESPONSIVE DESIGN ENHANCEMENTS ===== */

/* Base mobile styles (320px+) */
@media (max-width: 767px) {
  /* Global mobile optimizations */
  body {
    font-size: 16px; /* Prevent zoom on iOS */
    -webkit-text-size-adjust: 100%;
  }
  
  /* Touch-friendly button sizes */
  button, .btn, a[role="button"] {
    min-height: 44px;
    min-width: 44px;
    padding: 12px 16px;
  }
  
  /* Platform Overview Mobile */
  .platform-overview {
    padding: 3rem 0;
  }
  
  .platform-overview h2 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .platform-overview p {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .platform-overview .counter-number {
    font-size: 2rem;
  }
  
  .platform-overview .feature-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  /* Travel Styles Mobile */
  .travel-style-card {
    margin-bottom: 1rem;
    padding: 1.5rem;
  }
  
  .travel-style-card:hover {
    transform: translateY(-2px) scale(1.01);
  }
  
  /* Destinations Mobile */
  .destinations-masonry {
    grid-template-columns: 1fr;
    grid-gap: 1rem;
    padding: 0 1rem;
  }
  
  .destination-card {
    --grid-rows: auto;
    grid-row-end: auto;
    min-height: 300px;
  }
  
  .destination-card:hover {
    transform: translateY(-2px) scale(1.01);
  }
  
  /* Tours Mobile */
  .tours-showcase-grid {
    min-height: 200px;
  }
  
  .category-btn {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
  }
  
  .tours-showcase-card {
    margin-bottom: 1.5rem;
  }
  
  /* Solo Travel Hub Mobile */
  .solo-travel-hub h2 {
    font-size: 2.5rem;
  }
  
  .solo-travel-hub h3 {
    font-size: 1.75rem;
  }
  
  .solo-feature-card,
  .solo-tour-card,
  .resource-card,
  .story-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  /* Blog Resources Mobile */
  .blog-resources-section h2 {
    font-size: 2.5rem;
  }
  
  .blog-category-filter {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
  }
  
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .featured-article .lg\:flex {
    flex-direction: column;
  }
  
  .featured-article .lg\:w-1\/2 {
    width: 100%;
  }
}

/* Small mobile (320px - 480px) */
@media (max-width: 480px) {
  /* Extra small screen optimizations */
  .container, .max-w-7xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Typography scaling */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
  
  /* Grid adjustments */
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
  
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Button stacking */
  .flex-col.sm\:flex-row {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .flex-col.sm\:flex-row > * {
    width: 100%;
  }
}

/* Tablet styles (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Tablet-specific optimizations */
  .destinations-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.5rem;
  }
  
  .tours-showcase-grid .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  /* Touch targets for tablet */
  button, .btn, a[role="button"] {
    min-height: 48px;
    padding: 14px 20px;
  }
}

/* Desktop styles (1024px+) */
@media (min-width: 1024px) {
  /* Desktop hover effects */
  .destination-card:hover {
    transform: translateY(-8px) scale(1.02);
  }
  
  .travel-style-card:hover {
    transform: translateY(-8px) scale(1.02);
  }
  
  .tours-showcase-card:hover {
    transform: translateY(-4px);
  }
}

/* Large desktop (1440px+) */
@media (min-width: 1440px) {
  .destinations-masonry {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 2.5rem;
  }
  
  .tours-showcase-grid .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects on touch devices */
  .destination-card:hover,
  .travel-style-card:hover,
  .tours-showcase-card:hover,
  .solo-feature-card:hover,
  .blog-card:hover {
    transform: none;
    box-shadow: inherit;
  }
  
  /* Enhance tap targets */
  button, .btn, a[role="button"], .clickable {
    min-height: 48px;
    min-width: 48px;
  }
  
  /* Remove complex animations on touch devices */
  .travel-style-card::before {
    display: none;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Optimize for retina displays */
  .destination-card img,
  .tour-card img,
  .blog-card img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Landscape mobile orientation */
@media (max-width: 767px) and (orientation: landscape) {
  /* Optimize for landscape mobile */
  .platform-overview {
    padding: 2rem 0;
  }
  
  .platform-overview h2 {
    font-size: 1.75rem;
  }
  
  .destinations-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  /* Disable animations for users who prefer reduced motion */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .destination-card:hover,
  .travel-style-card:hover,
  .tours-showcase-card:hover {
    transform: none;
  }
}

/* Print styles */
@media print {
  /* Optimize for printing */
  .platform-overview,
  .destinations-masonry,
  .tours-showcase-grid {
    break-inside: avoid;
  }
  
  .destination-card,
  .tour-card,
  .blog-card {
    break-inside: avoid;
    margin-bottom: 1rem;
  }
  
  /* Hide interactive elements */
  button,
  .btn,
  nav,
  .navbar {
    display: none !important;
  }
}/*
 Enhanced Destinations Masonry Grid Styles */
.destinations-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 1.5rem;
  grid-auto-rows: 1rem;
}

/* Responsive masonry adjustments */
@media (min-width: 768px) {
  .destinations-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .destinations-masonry {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2rem;
  }
}

@media (min-width: 1280px) {
  .destinations-masonry {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 2.5rem;
  }
}

/* Destination card masonry positioning */
.destination-card {
  grid-row-end: span var(--grid-rows, 16);
  break-inside: avoid;
}

/* Height-based grid row spans for masonry effect */
.destination-card.h-64 { --grid-rows: 16; }
.destination-card.h-68 { --grid-rows: 17; }
.destination-card.h-72 { --grid-rows: 18; }
.destination-card.h-76 { --grid-rows: 19; }
.destination-card.h-80 { --grid-rows: 20; }
.destination-card.h-84 { --grid-rows: 21; }
.destination-card.h-88 { --grid-rows: 22; }
.destination-card.h-96 { --grid-rows: 24; }

/* Enhanced hover animations for destination cards */
.destination-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.destination-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Image overlay enhancements */
.destination-card .absolute.inset-0 {
  transition: opacity 0.3s ease-in-out;
}

/* Text shadow for better readability on images */
.text-shadow-lg {
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Enhanced button hover effects */
.destination-card .group-hover\:translate-x-1 {
  transition: transform 0.2s ease-out;
}

/* Smooth image scaling on hover */
.destination-card img {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Badge animations */
.destination-card .group-hover\:rotate-12 {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Loading state for images */
.destination-card img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.destination-card img[loading="lazy"].loaded {
  opacity: 1;
}

/* Interactive map preview enhancements */
.bg-gradient-to-br {
  background-attachment: fixed;
}

/* Country tag hover effects */
.destination-card span.hover\:scale-105:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease-out;
}

/* Enhanced focus states for accessibility */
.destination-card:focus-within {
  outline: 2px solid #2383E2;
  outline-offset: 4px;
}

/* Mobile optimizations */
@media (max-width: 767px) {
  .destinations-masonry {
    grid-template-columns: 1fr;
    grid-gap: 1rem;
  }
  
  .destination-card {
    --grid-rows: auto;
    grid-row-end: auto;
  }
  
  .destination-card:hover {
    transform: translateY(-4px) scale(1.01);
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .destination-card,
  .destination-card img,
  .destination-card .group-hover\:rotate-12,
  .destination-card .group-hover\:translate-x-1 {
    transition: none;
  }
  
  .destination-card:hover {
    transform: none;
  }
}

/* Fade-in animation for destination cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Initial state for cards before animation */
.destination-card {
  opacity: 0;
  transform: translateY(30px);
}

.destination-card.animate-fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays for visual appeal */
.destination-card:nth-child(1) { animation-delay: 0.1s; }
.destination-card:nth-child(2) { animation-delay: 0.2s; }
.destination-card:nth-child(3) { animation-delay: 0.3s; }
.destination-card:nth-child(4) { animation-delay: 0.4s; }
.destination-card:nth-child(5) { animation-delay: 0.5s; }
.destination-card:nth-child(6) { animation-delay: 0.6s; }
.destination-card:nth-child(7) { animation-delay: 0.7s; }
.destination-card:nth-child(8) { animation-delay: 0.8s; }/* 
Tours Showcase Hub Styles */
.tours-showcase-grid {
  min-height: 400px;
}

.category-section {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.category-section.active {
  opacity: 1;
  transform: translateY(0);
}

.category-btn {
  transition: all 0.2s ease;
}

.category-btn.active {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.tours-showcase-card {
  transition: all 0.3s ease;
}

.tours-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Tours Image Gallery Styles */
.tours-image-gallery {
  overflow: hidden;
}

.gallery-slide {
  transition: opacity 0.5s ease;
}

.gallery-dot {
  transition: all 0.2s ease;
  cursor: pointer;
}

.gallery-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Category Badge Styles */
.category-badge {
  font-weight: 500;
  letter-spacing: 0.025em;
}

/* Tours CTA Button */
.tours-cta-button {
  transition: all 0.2s ease;
}

.tours-cta-button:hover {
  transform: translateY(-1px);
}

/* Responsive Tours Grid */
@media (max-width: 1023px) {
  .tours-showcase-grid .grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .tours-showcase-grid .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .tours-showcase-grid .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}/
* Tours Showcase Hub Styles */
.tours-showcase-grid {
  min-height: 400px;
}

.category-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.category-section.active {
  opacity: 1;
  transform: translateY(0);
}

.category-btn {
  transition: all 0.3s ease;
  border-radius: 0;
  background: white;
  color: #37352F;
}

.category-btn:hover {
  background: #37352F;
  color: white;
  border-color: #37352F;
}

.category-btn.active {
  background: #37352F !important;
  color: white !important;
  border-color: #37352F !important;
}

.tours-showcase-card {
  transition: all 0.3s ease;
  border-radius: 0;
}

.tours-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.tours-image-gallery .gallery-slide {
  transition: opacity 0.5s ease;
}

.gallery-dot {
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-dot:hover {
  transform: scale(1.2);
}

.category-badge {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tours-cta-button {
  transition: all 0.3s ease;
  border-radius: 0;
}

.tours-cta-button:hover {
  transform: translateY(-1px);
}

/* Tour route styling */
.tour-route-arrow {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.tours-showcase-card:hover .tour-route-arrow {
  opacity: 1;
}

/* Enhanced responsive design */
@media (max-width: 768px) {
  .tours-showcase-grid {
    min-height: 300px;
  }
  
  .category-btn {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
  }
  
  .tours-showcase-card {
    margin-bottom: 1.5rem;
  }
}

/* Loading states for tours */
.tours-loading {
  opacity: 0.6;
  pointer-events: none;
}

.tours-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #37352F;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Empty state styling */
.tours-empty-state {
  padding: 4rem 2rem;
  text-align: center;
  background: #FBFBFA;
  border: 1px dashed #D1D5DB;
}

.tours-empty-state .empty-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(55, 53, 47, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}/* Solo 
Travel Hub Styles */
.solo-travel-hub {
  position: relative;
  overflow: hidden;
}

.solo-travel-hub::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(5, 150, 105, 0.05) 100%);
  pointer-events: none;
}

.solo-feature-card {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}

.solo-feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(16, 185, 129, 0.3);
}

.solo-tour-card {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}

.solo-tour-card:hover {
  transform: translateY(-8px);
  border-color: rgba(16, 185, 129, 0.3);
}

.solo-tour-card .solo-tour-image {
  transition: transform 0.3s ease;
}

.solo-tour-card:hover .solo-tour-image {
  transform: scale(1.05);
}

.resource-card {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}

.resource-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.3);
}

.story-card {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
}

.story-card:hover {
  transform: translateY(-8px);
  border-color: rgba(16, 185, 129, 0.3);
}

/* Line clamp utilities for text truncation */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Enhanced button hover effects for Solo Travel Hub */
.solo-travel-hub .bg-green-600:hover {
  background-color: rgb(5, 150, 105);
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.solo-travel-hub .border-green-600:hover {
  background-color: rgba(16, 185, 129, 0.05);
  transform: translateY(-2px);
}

/* Responsive adjustments for Solo Travel Hub */
@media (max-width: 768px) {
  .solo-travel-hub .grid {
    gap: 1rem;
  }
  
  .solo-feature-card,
  .solo-tour-card,
  .resource-card,
  .story-card {
    padding: 1.5rem;
  }
  
  .solo-travel-hub h2 {
    font-size: 2.5rem;
  }
  
  .solo-travel-hub h3 {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .solo-travel-hub .flex-col.sm\:flex-row {
    flex-direction: column;
  }
  
  .solo-travel-hub .flex-col.sm\:flex-row > * {
    width: 100%;
  }
}/* Blog
 & Resources Section Styles */
.blog-resources-section {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.blog-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.blog-category-filter {
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.blog-category-filter:hover {
  transform: translateY(-1px);
}

.blog-category-filter.active {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.featured-article {
  position: relative;
}

.featured-article::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg, #3b82f6, #8b5cf6, #06b6d4);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.1;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Reading time and date styling */
.blog-card .text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

/* Smooth transitions for filtering */
.blog-grid .blog-card {
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

/* Enhanced hover effects for blog cards */
.blog-card .relative::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
/* ===== SAFE ANIMATIONS AND MICRO-INTERACTIONS ===== */

/* Enhanced hover effects for existing elements */
.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.destination-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.tours-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Button micro-interactions */
.category-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.category-btn:hover::before {
  left: 100%;
}

.category-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Enhanced focus states for accessibility */
.category-btn:focus,
.destination-card:focus,
.tours-showcase-card:focus {
  outline: 2px solid #3B82F6;
  outline-offset: 2px;
  transition: outline-offset 0.2s ease;
}

/* Smooth image loading */
.destination-card img,
.tours-showcase-card img {
  transition: opacity 0.3s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.destination-card:hover img,
.tours-showcase-card:hover img {
  transform: scale(1.05);
}

/* Loading states */
.loading-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .feature-card:hover .feature-icon,
  .destination-card:hover,
  .tours-showcase-card:hover,
  .category-btn:hover {
    transform: none !important;
    transition: none !important;
  }
  
  .category-btn::before {
    display: none;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .feature-card:hover .feature-icon,
  .destination-card:hover,
  .tours-showcase-card:hover,
  .category-btn:hover {
    transform: none;
    box-shadow: inherit;
  }
  
  /* Enhanced tap feedback */
  .destination-card:active,
  .tours-showcase-card:active,
  .category-btn:active {
    transform: scale(0.98);
    transition-duration: 0.1s;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .category-btn:focus,
  .destination-card:focus,
  .tours-showcase-card:focus {
    outline: 3px solid currentColor;
  }
}

/* Print optimizations */
@media print {
  .feature-card,
  .destination-card,
  .tours-showcase-card,
  .category-btn {
    transform: none !important;
    transition: none !important;
    box-shadow: none !important;
  }
}/* Sim
ple fade-in animation */
.animate-fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .animate-fade-in {
    transition: none !important;
  }
}/
* Enhanced destination cards visibility */
.destination-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.destination-card .p-4 {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Ensure cards are visible on all backgrounds */
.destination-card {
  background-color: white !important;
  border: 1px solid #e5e7eb !important;
}

/* Make sure the grid is visible */
.grid {
  display: grid !important;
}

/* Responsive grid columns */
@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}