/* =============================================
   SHREE AAVAD TOURIST - RESPONSIVE CSS
   ============================================= */

/* =============================================
   TABLET - max 1024px
   ============================================= */
@media (max-width: 1024px) {
  .section-padding { padding: 80px 0; }

  .about-grid {
    gap: 50px;
  }

  .about-stats-grid .about-stat-num {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  }

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

  .contact-grid {
    gap: 50px;
  }

  .fleet-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .hero-stats {
    gap: 28px;
  }
}

/* =============================================
   TABLET PORTRAIT - max 900px
   ============================================= */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-img-main {
    height: 350px;
  }

  /* Keep badge inside image bounds — negative offsets cause horizontal scroll on narrow screens */
  .about-badge {
    bottom: 16px;
    right: 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* =============================================
   MOBILE - max 768px
   ============================================= */
@media (max-width: 768px) {
  .section-padding { padding: 64px 0; }
  .container { padding: 0 18px; }

  .site-flash-toast {
    top: 76px;
    width: min(540px, calc(100vw - 20px));
  }

  /* Header */
  .nav { padding: 12px 0; }
  .header:has(.nav-logo-icon .logo-img) .nav {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .nav-logo-icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
    border-radius: 9px;
  }
  .nav-logo-icon:has(.logo-img) {
    width: auto;
    height: auto;
    border-radius: 0;
  }
  .header .nav-logo-icon:has(.logo-img) .logo-img {
    height: clamp(44px, 11.5vw, 52px);
    max-width: min(300px, calc(100vw - 88px));
  }
  .footer-brand .nav-logo-icon:has(.logo-img) .logo-img {
    height: clamp(48px, 12vw, 58px);
    max-width: min(300px, 90vw);
  }
  .nav-logo-text { font-size: 0.96rem; }
  .nav-logo-text span {
    font-size: 0.58rem;
    letter-spacing: 1.2px;
  }
  .nav-links { display: none; }
  .nav-call-btn { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .mobile-menu {
    width: min(86vw, 320px);
    padding: 74px 22px 30px;
  }
  .mobile-menu .nav-link {
    padding: 14px 0;
    font-size: 1rem;
    border-bottom-color: rgba(255,255,255,0.1);
  }

  /* Fixed header: respect notch / status bar */
  .header {
    padding-top: env(safe-area-inset-top, 0px);
  }

  /* Hero — mobile: grow with content (no clip); bg still full-bleed */
  .hero {
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .hero-slider {
    min-height: 100%;
  }

  .hero-content {
    position: relative;
    inset: auto;
    min-height: 100vh;
    min-height: 100dvh;
    align-items: flex-start;
    justify-content: center;
    /* Extra offset below fixed header so glass card clears navbar comfortably */
    padding-top: calc(env(safe-area-inset-top, 0px) + 104px);
    padding-bottom: max(118px, env(safe-area-inset-bottom, 0px) + 92px);
    box-sizing: border-box;
  }

  .hero-text {
    max-width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }
  .hero-text-inner {
    text-align: center;
    padding: 20px 18px 22px;
    border-radius: 22px;
    /* Clearer “mirror glass”: lighter blur + brighter gloss, background stays readable */
    background: linear-gradient(
      168deg,
      rgba(255, 255, 255, 0.24) 0%,
      rgba(255, 255, 255, 0.09) 38%,
      rgba(255, 255, 255, 0.04) 55%,
      rgba(0, 0, 0, 0.12) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.26);
    box-shadow:
      0 22px 44px rgba(0, 0, 0, 0.36),
      inset 0 1px 0 rgba(255, 255, 255, 0.32),
      inset 0 -12px 28px rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(9px) saturate(1.4);
    -webkit-backdrop-filter: blur(9px) saturate(1.4);
  }
  .hero-premium-top {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
  }
  .hero-premium-rule {
    max-width: 48px;
  }
  .hero-heritage {
    text-align: center;
    letter-spacing: 0.12em;
    font-size: 0.65rem;
    width: 100%;
  }
  .hero-lead {
    text-align: center;
    margin-bottom: 14px;
    font-size: 0.94rem;
    line-height: 1.5;
    max-width: none;
  }
  .hero-trust-row {
    justify-content: center;
    margin-bottom: 18px;
    gap: 8px;
  }
  .hero-trust-row li {
    font-size: 0.68rem;
    padding: 7px 10px;
  }
  .hero-badge {
    font-size: 0.72rem;
    letter-spacing: 1.1px;
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-title {
    font-size: clamp(1.9rem, 7.6vw, 2.8rem);
    line-height: 1.12;
    margin-bottom: 16px;
    text-align: center;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.58;
    margin-bottom: 24px;
    text-align: center;
    max-width: none;
  }

  .hero-stats {
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 22px;
    justify-content: center;
  }

  .hero-stat-num { font-size: 1.8rem; }
  .hero-stat-label { font-size: 0.7rem; }
  .hero-dots {
    bottom: max(12px, env(safe-area-inset-bottom, 0px) + 6px);
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    border-radius: 12px;
  }

  /* Short phones / landscape: tighter vertical rhythm so less scroll */
  @media (max-height: 720px) {
    .hero-content {
      padding-top: calc(env(safe-area-inset-top, 0px) + 80px);
      padding-bottom: max(100px, env(safe-area-inset-bottom, 0px) + 80px);
      min-height: 0;
    }

    .hero-premium-top {
      margin-bottom: 8px;
    }

    .hero-lead {
      margin-bottom: 10px;
      font-size: 0.88rem;
    }

    .hero-trust-row {
      margin-bottom: 12px;
      gap: 6px;
    }

    .hero-trust-row li {
      padding: 5px 8px;
      font-size: 0.62rem;
    }

    .hero-badge {
      margin-bottom: 14px;
      padding: 5px 12px;
    }

    .hero-title {
      margin-bottom: 10px;
      font-size: clamp(1.65rem, 6.5vw, 2.35rem);
    }

    .hero-subtitle {
      margin-bottom: 16px;
      font-size: 0.88rem;
      line-height: 1.45;
    }

    .hero-stats {
      margin-top: 14px;
      gap: 12px;
    }

    .hero-stat-num {
      font-size: 1.55rem;
    }

    .hero-text-inner {
      padding: 14px 14px 16px;
    }
  }

  /* About — prevent grid / badge blowout past viewport */
  .about-grid > * {
    min-width: 0;
  }

  .about-image-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-img-main {
    height: 280px;
    max-width: 100%;
  }

  .about-stats-banner {
    padding: 48px 0;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
  }

  .about-stats-grid .about-stat-num {
    font-size: clamp(2rem, 8vw, 3.25rem);
  }

  .about-stats-grid .about-stat-label {
    font-size: 0.78rem;
  }

  .page-hero::after {
    width: min(300px, 78vw);
    height: min(300px, 78vw);
    left: auto;
    right: -48px;
    top: -48px;
  }

  .page-hero-content {
    max-width: 100%;
    padding-top: 72px;
    overflow-wrap: break-word;
  }

  .page-hero .container {
    max-width: 100%;
  }

  /* Fleet header */
  .fleet-header,
  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* Routes */
  .routes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    height: 220px;
  }

  .gallery-item:nth-child(n+2) {
    height: 160px;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 24px 18px;
    border-radius: 16px;
  }

  /* Fleet */
  .fleet-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  /* Contact form */
  .contact-form {
    padding: 28px 20px;
    border-radius: 16px;
  }

  /* Page hero */
  .page-hero {
    height: 280px;
  }

  /* Floating buttons */
  .floating-btn {
    width: 50px; height: 50px;
    font-size: 20px;
  }
}

/* =============================================
   MOBILE SMALL - max 480px
   ============================================= */
@media (max-width: 480px) {
  .section-padding { padding: 52px 0; }
  .container { padding: 0 14px; }

  .hero-content {
    padding-top: calc(env(safe-area-inset-top, 0px) + 96px);
    padding-bottom: max(88px, env(safe-area-inset-bottom, 0px) + 76px);
  }

  .nav { padding: 10px 0; }
  .header:has(.nav-logo-icon .logo-img) .nav {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .nav-logo {
    gap: 8px;
    max-width: calc(100vw - 72px);
  }
  .nav-logo-icon {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
  .nav-logo-icon:has(.logo-img) {
    width: auto;
    height: auto;
  }
  .header .nav-logo-icon:has(.logo-img) .logo-img {
    height: clamp(40px, 10.5vw, 48px);
    max-width: min(280px, calc(100vw - 76px));
  }
  .footer-brand .nav-logo-icon:has(.logo-img) .logo-img {
    height: clamp(44px, 11.5vw, 54px);
    max-width: min(280px, 92vw);
  }
  .nav-logo-text { font-size: 0.84rem; }
  .nav-logo-text span {
    font-size: 0.52rem;
    letter-spacing: 0.9px;
  }
  .hamburger {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    gap: 5px;
  }

  .hamburger span {
    width: 20px;
    height: 2px;
  }

  .hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-text-inner {
    padding: 18px 14px 20px;
    border-radius: 18px;
  }

  .hero-badge { font-size: 0.68rem; }
  .hero-title {
    font-size: clamp(1.72rem, 9vw, 2.25rem);
    margin-bottom: 14px;
  }
  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.52;
    margin-bottom: 20px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 10px;
    margin-top: 18px;
  }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-stat-label { font-size: 0.62rem; }

  .hero-buttons .btn {
    min-height: 46px;
    font-size: 0.88rem;
  }

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

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

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

  .gallery-item:nth-child(1) {
    grid-column: span 1;
    height: 200px;
  }

  .gallery-item:nth-child(n+2) {
    height: 180px;
  }

  .cta-section { padding: 64px 0; }

  .cta-title { font-size: 1.8rem; }

  .floating-buttons {
    bottom: 20px;
    right: 16px;
    gap: 10px;
  }

  .page-hero {
    height: 240px;
  }

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

  .about-stats-banner {
    padding: 40px 0;
  }

  .about-stats-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .about-stats-grid .about-stat-num {
    font-size: clamp(2.25rem, 12vw, 3rem);
  }

  .footer { padding: 50px 0 0; }

  .contact-form { padding: 24px 16px; }

  .about-badge {
    right: 0;
    bottom: 0;
    position: relative;
    margin-top: 16px;
    display: inline-block;
  }

  .about-image-wrap .about-badge {
    position: static;
    margin: -12px auto 0;
    display: inline-block;
  }

  .section-title {
    font-size: 1.55rem;
    line-height: 1.2;
  }

  .fleet-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Touch and motion optimizations for smoother mobile feel */
@media (hover: none) and (pointer: coarse) {
  .btn,
  .route-card,
  .service-card,
  .fleet-card,
  .gallery-item,
  .testimonial-card,
  .footer-social,
  .floating-btn {
    transition-duration: 0.2s;
  }

  .route-card:hover,
  .service-card:hover,
  .fleet-card:hover,
  .gallery-item:hover,
  .testimonial-card:hover,
  .footer-social:hover,
  .floating-btn:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .reveal,
  .btn,
  .route-card,
  .service-card,
  .fleet-card,
  .gallery-item,
  .testimonial-card {
    transition: none !important;
    animation: none !important;
  }
}

/* =============================================
   GALLERY PAGE FULL
   ============================================= */
.gallery-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-full-grid .gallery-item {
  height: 240px;
}

@media (max-width: 768px) {
  .gallery-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-full-grid .gallery-item {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .gallery-full-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .gallery-full-grid .gallery-item {
    height: 150px;
  }
}

/* =============================================
   FLEET FULL PAGE
   ============================================= */
.fleet-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.fleet-full-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.fleet-full-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.fleet-full-img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.fleet-full-body {
  padding: 28px;
}

.fleet-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.fleet-feature-tag {
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--gray);
  font-weight: 500;
}

@media (max-width: 768px) {
  .fleet-full-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   SERVICES PAGE FULL
   ============================================= */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

@media (max-width: 640px) {
  .services-full-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .services-hotel-extra-card {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    text-align: center;
    gap: 24px;
  }

  .services-hotel-extra-visual {
    min-height: 150px;
    margin-bottom: 4px;
    width: 100%;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
  }

  .services-hotel-extra-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .services-hotel-extra-list {
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }

  .services-hotel-extra-list li {
    text-align: left;
  }

  .services-hotel-extra-actions {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .services-hotel-extra-card {
    padding: 22px 16px;
    border-left-width: 4px;
    border-radius: var(--radius);
  }

  .services-hotel-icon-ring {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }

  .services-hotel-icon-float {
    width: 42px;
    height: 42px;
    font-size: 1rem;
    bottom: 2px;
    right: -2px;
  }

  .services-hotel-extra-badge {
    font-size: 0.62rem;
    padding: 5px 12px;
  }

  .services-hotel-extra-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
  }

  .services-hotel-extra-actions .services-hotel-extra-btn {
    width: 100%;
    justify-content: center;
  }
}

/* =============================================
   ABOUT PAGE FULL
   ============================================= */
.about-timeline {
  position: relative;
  padding-left: 40px;
  margin-top: 48px;
}

.about-timeline::before {
  content: '';
  position: absolute;
  left: 12px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--yellow) 0%, transparent 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px; top: 6px;
  width: 14px; height: 14px;
  background: var(--yellow);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--yellow);
}

.timeline-year {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  color: var(--yellow-dark);
  margin-bottom: 4px;
}

.timeline-text {
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.7;
}

/* =============================================
   PRINT STYLES
   ============================================= */
@media print {
  .header, .footer, .floating-buttons { display: none; }
  .hero { height: auto; }
  .section-padding { padding: 40px 0; }
}
