/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .hero-section {
      grid-template-columns: 1fr;
      gap: 2rem;
      text-align: center;
    }
    
    .hero-content {
      padding-right: 0;
    }
    
    .recommendation-container {
      grid-template-columns: 1fr;
    }
    
    .extras-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    
    .checkout-content {
      grid-template-columns: 1fr;
    }
    
    .bike-summary {
      flex-direction: column;
      text-align: center;
    }
    
    .reservation-details {
      grid-template-columns: 1fr;
    }
    
    .steps-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
    }
  }
  
  /* Tablet and smaller devices */
  @media screen and (max-width: 768px) {
    .section-header h2 {
      font-size: 1.75rem;
    }
    
    .hero-content h1 {
      font-size: 2.5rem;
    }
    
    .selector-row {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    
    .features-grid {
      grid-template-columns: 1fr;
    }
    
    .extras-grid {
      grid-template-columns: 1fr;
    }
  }

/* Mobile Bottom Navigation - HIDDEN on desktop by default */
.mobile-bottom-nav {
  display: none;
}

/* App-like mobile experience */
@media screen and (max-width: 767px) {
  /* Body and general layout adjustments */
  body {
    font-size: 15px;
    padding-bottom: 70px; /* Space for app navigation */
  }
  
  /* Hide standard navigation */
  .top-nav {
    display: none !important;
  }
  
  /* Hide mobile menu toggle since we're using bottom nav */
  .mobile-menu-toggle {
    display: none !important;
  }
  
  /* Language toggle moves to header right side */
  .header-right {
    display: flex;
    justify-content: flex-end;
    width: 100%;
  }
  
  /* App-style header */
  .main-header {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }
  
  .header-container {
    padding: 0.8rem 1rem;
  }
  
  .logo-text {
    color: white;
  }
  
  .logo-icon {
    background-color: white;
    color: var(--primary-color);
  }
  
  /* Full width content with edge-to-edge layout */
  .main-content {
    padding: 0;
  }
  
  section {
    margin: 0 0 1.5rem 0;
    padding: 1rem;
    border-radius: 0;
  }
  
  .section-header {
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
  
  /* App style cards */
  .recommendation-card,
  .bike-card,
  .feature-card,
  .testimonial-card {
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s;
  }
  
  .recommendation-card:active,
  .bike-card:active,
  .feature-card:active {
    transform: scale(0.97);
  }
  
  /* App-style swipeable content */
  .testimonials-carousel,
  .alt-recommendations {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    padding: 0.5rem 0;
    margin: 0 -1rem;
    padding: 0.5rem 1rem;
  }
  
  .testimonials-carousel::-webkit-scrollbar,
  .alt-recommendations::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }
  
  .testimonial-card,
  .alt-recommendations .recommendation-card {
    scroll-snap-align: start;
    flex: 0 0 85%;
    margin-right: 1rem;
  }
  
  /* App-like button styles */
  button, .cta-button, .primary-button, .secondary-button {
    min-height: 50px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  }
  
  /* Forms with larger touch targets */
  input, select, .selector-group button {
    height: 50px;
    font-size: 16px; /* Prevents iOS zoom on focus */
    border-radius: 12px;
  }
  
  /* Mobile Bottom Navigation - ONLY SHOW ON MOBILE */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    justify-content: space-around;
    flex-direction: row;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    color: var(--text-color-secondary);
    text-decoration: none;
    background-color: white;
    border: none;
    text-align: center;
    margin: 0;
    cursor: pointer;
  }
  
  .mobile-nav-item.active {
    color: var(--primary-color);
    background-color: white;
  }
  
  .mobile-nav-icon {
    font-size: 22px;
    margin-bottom: 3px;
    color: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .mobile-nav-label {
    font-size: 11px;
    font-weight: 500;
    color: inherit;
    text-align: center;
  }
  
  /* Hide any existing app-nav that might be present in the site */
  .app-nav {
    display: none !important;
  }
  
  /* Hero section adjustments */
  .hero-section {
    padding: 0;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
  }
  
  .hero-content {
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .hero-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
  }
  
  /* Bike selection page */
  .smart-booking-container {
    border-radius: 0;
    margin: 0;
    padding: 1rem;
  }
  
  /* Modal style for mobile */
  .modal-overlay {
    backdrop-filter: blur(4px);
  }
  
  #reservationConfirmed,
  .reservation-confirmed {
    border-radius: 20px;
    max-width: 92vw;
    padding: 24px 16px;
  }
  
  .modal-close-btn {
    background: rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
  }
}

/* Very small screens */
@media screen and (max-width: 480px) {
  .bike-type-select, 
  .quantity-quick-select {
    justify-content: center;
  }
  
  /* Even more compact for very small screens */
  section {
    margin: 0 0 1rem 0;
  }
  
  .section-header {
    margin-bottom: 1rem;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  /* Adjust app buttons for smaller screens */
  .mobile-bottom-nav {
    height: 56px;
  }
  
  .mobile-nav-icon {
    font-size: 20px;
  }
  
  .mobile-nav-label {
    font-size: 10px;
  }
}