/* ==========================================================================
   GO GOA CAR BOOKING - RESPONSIVE STYLESHEET
   Ensures absolute mobile perfection across 320px - 1440px+
   No horizontal overflow, 44px+ touch targets, single-column cards on phone
   ========================================================================== */

/* Large Tablets & Small Laptops (<= 1024px) */
@media (max-width: 1024px) {
  :root {
    --header-height: 94px;
  }

  /* Switch desktop nav to mobile drawer mode smoothly */
  .nav-desktop {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .btn-header-call {
    padding: 7px 11px;
    font-size: 0.8125rem;
  }

  .btn-header-book {
    padding: 7px 14px;
    font-size: 0.8125rem;
  }

  .brand-logo {
    max-width: 180px;
  }

  .brand-logo > img,
  .brand-logo-icon {
    width: 160px;
  }

  .hero-section {
    min-height: 620px;
    height: 75vh;
    padding: 40px 16px 60px;
  }

  .hero-centered-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* Tablets (<= 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 82px;
  }

  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .section-title {
    font-size: 1.625rem;
  }

  .hero-section {
    min-height: 560px;
    height: auto;
    padding: 48px 16px 40px;
  }

  .hero-title {
    font-size: 2.125rem;
  }

  .hero-lead {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    width: min(90%, 540px);
    margin: 0 auto;
    gap: 12px;
  }

  .hero-dots-container {
    margin-top: 22px;
  }

  .page-hero-title {
    font-size: 1.875rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .fleet-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cta-banner {
    padding: 36px 20px;
  }

  .cta-banner-title {
    font-size: 1.625rem;
  }

  .booking-section-title {
    font-size: 1.875rem;
  }

  .booking-section-lead {
    font-size: 0.9375rem;
    padding: 0 10px;
  }

  .section-quick-booking {
    padding: 48px 0 56px;
  }

  .booking-card {
    padding: 0;
    border-radius: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }

  .floating-cta-system {
    bottom: max(16px, env(safe-area-inset-bottom, 16px));
    right: 16px;
  }

  .floating-cta-trigger {
    width: 50px;
    height: 50px;
  }

  .site-content-extension-actions,
  .footer-action-row {
    flex-direction: column;
    align-items: stretch;
  }

  .site-content-extension-actions > a,
  .footer-action-row > a {
    justify-content: center;
    text-align: center;
  }

  .vehicle-img.uploaded-vehicle-image {
    height: 200px;
    max-height: 200px;
  }

  .uploaded-detail-image {
    height: 220px !important;
  }

  .page-tourist-image {
    width: calc(100% - 28px);
    height: 140px;
    margin-top: 18px;
  }
}

/* Mobile Phones (<= 480px) */
@media (max-width: 480px) {
  .site-container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .header-inner {
    gap: 8px;
  }

  .brand-logo {
    max-width: 150px;
  }

  .brand-logo > img,
  .brand-logo-icon {
    width: 135px;
  }

  .btn-header-call {
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  .btn-header-book {
    padding: 6px 12px;
    font-size: 0.78125rem;
  }

  .btn-card-whatsapp,
  .btn-card-call {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .btn-card-whatsapp svg {
    width: 24px;
    height: 24px;
  }

  .btn-card-call svg {
    width: 22px;
    height: 22px;
  }

  .mobile-menu-toggle {
    padding: 6px 8px;
  }

  .hero-section {
    padding: 36px 14px 36px;
    min-height: 520px;
    height: auto;
  }

  .hero-title {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    margin-bottom: 12px;
  }

  .hero-lead {
    font-size: 0.9375rem;
    margin-bottom: 20px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: min(90%, 610px);
    max-width: 340px;
    margin: 0 auto;
    gap: 10px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    padding: 12px 20px;
    font-size: 0.9375rem;
    min-height: 46px;
  }

  .hero-dots-container {
    margin-top: 20px;
  }

  .booking-card {
    padding: 0;
    border-radius: 0;
  }

  .btn-submit-booking {
    width: 100%;
    min-height: 48px;
  }

  .vehicle-specs-grid {
    grid-template-columns: repeat(3, 1fr);
    font-size: 0.75rem;
  }

  .vehicle-price-amount {
    font-size: 1.25rem;
  }

  .filter-tab-btn {
    font-size: 0.8125rem;
    padding: 6px 12px;
  }
}

/* Extra Small Phones (<= 360px) */
@media (max-width: 360px) {
  .site-container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .brand-logo-title {
    font-size: 0.875rem;
  }

  .btn-header-call span {
    display: none;
  }

  .btn-header-call {
    padding: 6px 8px;
  }

  .btn-header-book {
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  .hero-cta-group {
    width: calc(100% - 16px);
    max-width: 290px;
    gap: 8px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 11px 16px;
    font-size: 0.875rem;
  }

  .hero-dots-container {
    margin-top: 16px;
  }
}
