html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

.hero-bg {
  background: linear-gradient(rgba(0, 0, 0, 0.6)), 
              url('/static/images/bg.webp') 
              center/cover no-repeat;
}

.van-bg {
  background: linear-gradient(45deg, #1A2C5F 0%, #0F1A3A 100%);
}

.footer-bg {
  background: linear-gradient(45deg, #0a1429 0%, #1a2c5f 100%);
}

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

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

.nav-link:after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #2D9CDB;
  transition: width 0.3s;
}

.nav-link:hover:after {
  width: 100%;
}

.booking-card {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.adventure-bg {
  background: linear-gradient(rgba(0, 0, 0, 0.7)), 
              url('https://images.unsplash.com/photo-1500316124030-4cffa46f10f0?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') 
              center/cover no-repeat;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
}

.modal-content {
  background: white;
  border-radius: 1rem;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
}

input, select, textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Add these styles to your CSS */
.travelerSwiper {
    width: 100%;
    height: 350px; /* Fixed height for consistent display */
    margin-bottom: 30px;
}

.swiper-slide {
    height: auto; /* Allows each slide to size based on content */
    display: flex; /* Ensures proper layout */
}

    .swiper-slide {
      display: flex;
      height: auto;
    }

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: white;
  z-index: 100;
  transition: right 0.3s ease;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 99;
}

.mobile-menu-overlay.active {
  display: block;
}

@media (max-width: 768px) {
  .mobile-spacing {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  
  .mobile-text {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .mobile-button {
    padding: 0.75rem 1.5rem;
    margin-top: 1rem;
  }
  
  .mobile-card {
    margin-bottom: 2rem;
  }
  
  .mobile-nav-button {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .hero-bg {
    padding-top: 5rem;
    padding-bottom: 3rem;
  }
  
  .text-overflow-fix {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  
}

@media (min-width: 769px) and (max-width: 1024px) {
  .tablet-text-center {
    text-align: center;
  }
  
  .tablet-full-width {
    width: 100%;
  }
  
  .tablet-grid-1 {
    grid-template-columns: 1fr;
  }
}

.error-message {
  color: #e53e3e;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.border-error {
  border-color: #e53e3e !important;
}

.success-message {
  background-color: #d1fae5;
  color: #047857;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  display: none;
}

.loading-spinner {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  margin-right: 0.5rem;
}

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

/* Landscape specific styles */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-bg {
    padding-top: 5rem;
    padding-bottom: 2rem;
  }
  
  .mobile-menu {
    width: 60%;
  }
  
  .modal-content {
    padding: 1rem;
  }
}

/* static/css/style.css */
/* ... (keep all existing styles) ... */

/* Add missing styles */
.pagination-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    color: #1A2C5F;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-link:hover {
    background-color: #2D9CDB;
    color: white;
    border-color: #2D9CDB;
}

.pagination-link.active {
    background-color: #2D9CDB;
    color: white;
    border-color: #2D9CDB;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ddd;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #2D9CDB;
}

/* Fix form field alignment */
input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    background-color: white;
}

/* Mobile menu fixes */
#mobile-menu {
    right: -100%;
    transition: right 0.3s ease;
    z-index: 100;
}

#mobile-menu.active {
    right: 0;
}

#mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 99;
}

#mobile-menu-overlay.active {
    display: block;
}