/* ============================================================
   Anmol Travel Services — Responsive CSS
   Breakpoints: 1200px | 992px | 768px | 576px | 480px | 375px
   ============================================================ */

/* ── 1200px: Large desktops ─────────────────────────────── */
@media (max-width: 1200px) {
  .hero-title { font-size: 2.8rem; }
  .booking-card { padding: 1.75rem; }
}

/* ── 992px: Tablets landscape / small desktops ─────────── */
@media (max-width: 992px) {
  :root {
    --section-py:    65px;
    --section-py-sm: 40px;
    --navbar-height: 65px;
  }

  /* Hero */
  .hero-section,
  .hero-slide { min-height: 100vh; }
  .hero-content-wrapper { padding-top: 65px; align-items: flex-start; padding-top: 80px; }
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: .9rem; }
  .hero-cta-group { margin-bottom: 1.5rem; }

  /* Booking card moves below text on tablet */
  .booking-card { margin-top: 1rem; }

  /* Stats */
  .stat-divider { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); }

  /* Why image */
  .why-image-wrap { min-height: 340px; }

  /* About exp badge */
  .about-exp-badge { right: 0; }

  /* How It Works: remove connecting line */
  .how-steps-row::before { display: none; }

  /* Page hero */
  .page-hero { height: 300px; margin-top: 65px; }
  .page-hero h1 { font-size: 2rem; }

  /* Fleet filters: allow scroll on mobile */
  .fleet-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .5rem; justify-content: flex-start; }
  .fleet-filters::-webkit-scrollbar { height: 4px; }
  .fleet-filters::-webkit-scrollbar-thumb { background: var(--color-primary-light); border-radius: 4px; }

  /* Footer */
  .site-footer { padding-top: 3rem; }

  /* Floating buttons */
  .floating-whatsapp { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 1.4rem; }
  .floating-call     { bottom: 20px; left: 20px;  width: 50px; height: 50px; font-size: 1.2rem; }
  #backToTop         { bottom: 80px; right: 20px; }
}

/* ── 768px: Tablets portrait ────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --section-py:    50px;
    --section-py-sm: 32px;
  }

  /* Navbar */
  #mainNavbar { height: auto; min-height: 60px; }
  #mainNavbar .navbar-brand img { height: 38px; }
  #mainNavbar.navbar-scrolled .navbar-brand img { height: 34px; }

  /* Hero */
  .hero-section,
  .hero-slide { min-height: 100dvh; }
  .hero-title { font-size: 1.9rem; line-height: 1.2; }
  .hero-subtitle { font-size: .85rem; }
  .hero-badge { font-size: .7rem; }

  /* Hide hero carousel controls on small screens */
  .hero-section .carousel-control-prev,
  .hero-section .carousel-control-next { display: none; }

  /* Booking form */
  .booking-card { padding: 1.5rem 1.25rem; border-radius: 12px; }
  .booking-card-title { font-size: 1rem; }
  .trip-type-group .form-check { margin-right: .75rem; }
  .trip-type-group .form-check-label { font-size: .8rem; }
  .btn-book-search { padding: .75rem; font-size: .88rem; }

  /* Stats: 2-col grid */
  .stats-section { padding: 2.5rem 0; }
  .stat-number { font-size: 2rem; }
  .stat-label  { font-size: .72rem; }
  .stat-icon   { font-size: 1.8rem; }

  /* Section headings */
  .section-heading { font-size: 1.7rem; }
  .section-subheading { font-size: .88rem; }

  /* Service cards */
  .service-card { padding: 1.5rem 1.25rem; }
  .service-icon-wrap { width: 60px; height: 60px; font-size: 1.4rem; }

  /* Fleet cards */
  .fleet-card-img { height: 170px; }

  /* Testimonials: reduce padding */
  .testimonials-carousel { padding-left: 2.5rem; padding-right: 2.5rem; }
  .testimonial-card { padding: 1.5rem; }
  .testimonial-text { font-size: .88rem; }
  .testimonials-carousel .carousel-control-prev { left: -10px; }
  .testimonials-carousel .carousel-control-next { right: -10px; }

  /* Why section */
  .why-item { flex-direction: row; }
  .why-image-wrap { min-height: 280px; margin-top: 2rem; }
  .why-image-badge { left: 16px; bottom: 16px; }

  /* About page */
  .about-image-wrap img { min-height: 300px; }
  .about-exp-badge { right: 0; bottom: 16px; padding: .75rem 1rem; }
  .about-exp-badge .exp-number { font-size: 1.8rem; }

  /* Contact form */
  .contact-form-card { padding: 1.5rem; }

  /* CTA section */
  .cta-section { padding: 3rem 0; }
  .cta-section h2 { font-size: 1.5rem; }
  .cta-btn-group { gap: .6rem; }

  /* Page hero */
  .page-hero { height: 260px; }
  .page-hero h1 { font-size: 1.75rem; }

  /* Footer cols: 2x2 then single */
  .footer-heading { font-size: .75rem; }
  .footer-links a { font-size: .82rem; }
  .footer-contact-item span,
  .footer-contact-item a { font-size: .82rem; }
  .footer-bottom { padding: 1rem 0; }
  .footer-bottom p { font-size: .75rem; }

  /* Map */
  .map-wrap iframe { height: 320px; }

  /* Gallery: 2-col on small tablets */
  .gallery-item { aspect-ratio: 1; }
}

/* ── 576px: Large phones ─────────────────────────────────── */
@media (max-width: 576px) {
  :root {
    --section-py:    40px;
    --section-py-sm: 28px;
  }

  /* Navbar brand */
  #mainNavbar .navbar-brand img { height: 34px; }
  .nav-book-btn { display: inline-block; font-size: .78rem !important; padding: .4rem 1rem !important; }

  /* Hero */
  .hero-title { font-size: 1.6rem; }
  .hero-subtitle { display: none; } /* hide on very small screens to reduce clutter */
  .hero-cta-group .btn-outline-custom { display: none; } /* keep only primary CTA */

  /* Trust pills under hero — stack */
  .hero-text .d-flex { flex-direction: column; gap: .5rem !important; }
  .hero-text .d-flex span { font-size: .72rem; text-align: center; }

  /* Booking card */
  .booking-card { padding: 1.25rem 1rem; border-radius: 10px; }
  .trip-type-group { display: flex; flex-wrap: wrap; gap: .25rem; }
  .trip-type-group .form-check { margin-right: 0; }

  /* Stats: still 2x2, smaller */
  .stat-number { font-size: 1.7rem; }
  .stat-label  { font-size: .68rem; letter-spacing: 0; }
  .stat-item   { padding: .75rem .5rem; }

  /* Section headings */
  .section-heading { font-size: 1.45rem; }

  /* Service cards: full-width */
  .service-card { padding: 1.5rem 1rem; }
  .service-card h4 { font-size: .92rem; }
  .service-card p  { font-size: .82rem; }

  /* Fleet filter: horizontal scroll */
  .fleet-filters { gap: .4rem; }
  .fleet-filter-btn { padding: .38rem 1rem; font-size: .78rem; white-space: nowrap; }

  /* Fleet cards: 1-col on phones */
  .fleet-card-img { height: 200px; }

  /* Testimonials */
  .testimonials-carousel { padding-left: 0; padding-right: 0; }
  .testimonials-carousel .carousel-control-prev,
  .testimonials-carousel .carousel-control-next { display: none; }
  .testimonial-card { padding: 1.25rem; }
  .testimonial-text { font-size: .85rem; }

  /* FAQ */
  .faq-accordion .accordion-button { font-size: .85rem; padding: .9rem 1rem; }
  .faq-accordion .accordion-body   { font-size: .82rem; padding: 0 1rem 1rem; }

  /* Why item: stack icon + text */
  .why-item { flex-direction: column; gap: .75rem; }
  .why-icon  { width: 48px; height: 48px; font-size: 1.2rem; }

  /* Gallery: 2-col */
  .gallery-item { border-radius: 8px; }

  /* CTA */
  .cta-section { padding: 2.5rem 0; }
  .cta-section h2 { font-size: 1.35rem; }
  .cta-btn-group { flex-direction: column; }
  .cta-btn-group a { text-align: center; }

  /* Page hero */
  .page-hero { height: 220px; }
  .page-hero h1 { font-size: 1.5rem; }

  /* About */
  .about-exp-badge { position: static; margin-top: 1rem; display: inline-flex; }

  /* Team cards */
  .team-card img { height: 180px; }

  /* Value / mission cards */
  .value-card { padding: 1.25rem; }

  /* Trust badges */
  .trust-badge i { font-size: 1.75rem; }
  .trust-badge h6 { font-size: .82rem; }
  .trust-badge p  { font-size: .72rem; }

  /* How it works */
  .how-step-number { width: 52px; height: 52px; font-size: 1.1rem; }

  /* Contact */
  .contact-form-card { padding: 1.25rem; }
  .contact-info-card  { padding: 1.1rem; gap: .75rem; }
  .contact-info-icon  { width: 40px; height: 40px; min-width: 40px; font-size: 1rem; }

  /* Footer: single column */
  .footer-brand img { height: 36px; }
  .footer-tagline   { font-size: .8rem; }
  .footer-social a  { width: 32px; height: 32px; font-size: .8rem; }

  /* Floating buttons */
  .floating-whatsapp { width: 46px; height: 46px; font-size: 1.3rem; bottom: 16px; right: 16px; }
  .floating-call     { width: 46px; height: 46px; font-size: 1.15rem; bottom: 16px; left: 16px; }
  #backToTop         { width: 38px; height: 38px; font-size: .85rem; bottom: 72px; right: 16px; }

  /* Map */
  .map-wrap iframe { height: 260px; }
}

/* ── 480px: Small phones ─────────────────────────────────── */
@media (max-width: 480px) {
  /* Hero title */
  .hero-title { font-size: 1.4rem; }

  /* Booking card: tighten */
  .booking-card { padding: 1rem .85rem; }
  .booking-field .form-control,
  .booking-field .form-select { font-size: .82rem; padding: .55rem .75rem; }

  /* Stats */
  .stat-number { font-size: 1.55rem; }

  /* Gallery: hide overlay text on touch */
  .gallery-overlay { display: none; }

  /* Contact form */
  .contact-form-card .form-control,
  .contact-form-card .form-select { font-size: .82rem; padding: .6rem .75rem; }
}

/* ── 375px: Smallest phones (iPhone SE etc.) ─────────────── */
@media (max-width: 375px) {
  .hero-title { font-size: 1.25rem; }
  .booking-card-title { font-size: .9rem; }
  .stat-number { font-size: 1.4rem; }
  .section-heading { font-size: 1.3rem; }
  .page-hero h1 { font-size: 1.3rem; }
  .fleet-filter-btn { padding: .32rem .8rem; font-size: .74rem; }
  .cta-section h2 { font-size: 1.2rem; }
  .nav-book-btn { display: none; } /* too cramped — user can use floating button */
}

/* ── Print styles ────────────────────────────────────────── */
@media print {
  #mainNavbar,
  .floating-whatsapp,
  .floating-call,
  #backToTop,
  .cta-section,
  #footer-placeholder { display: none !important; }
  body { font-size: 12pt; }
  .page-hero { height: 120px; }
}
