/* =====================================================================
   MAIN STYLESHEET — Indu Tour & Travels
   Loaded after Bootstrap 5 (grid/utilities only) + variables.css
   ===================================================================== */

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-primary-dark);
}

a { text-decoration: none; color: inherit; }

.container-xl { max-width: var(--container-max); margin-inline: auto; padding-inline: var(--space-md); }

.section { padding-block: var(--space-2xl); }
.section-alt { background: var(--color-bg-section); }

.eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-accent);
  display: inline-block;
  margin-bottom: var(--space-xs);
}

.section-head { max-width: 640px; margin-bottom: var(--space-lg); }
.section-head h2 { font-size: var(--fs-h2); margin-bottom: var(--space-xs); }
.section-head p { color: var(--color-text-muted); }

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* ---------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------- */
.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}
.btn-premium:active { transform: translateY(1px); }

.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: var(--color-accent-600); color: #fff; box-shadow: 0 8px 20px rgba(255,107,0,0.3); }

.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); color: #fff; }

.btn-navy { background: var(--color-primary-dark); color: #fff; }
.btn-navy:hover { background: var(--color-primary-600); color: #fff; }

/* ---------------------------------------------------------------
   HEADER
   --------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: #fff;
  box-shadow: var(--shadow-header);
  transition: background 0.25s ease, box-shadow 0.25s ease, height 0.25s ease;
}
.site-header.is-scrolled { height: 72px; }

/* Transparent-over-hero treatment: opt-in only (homepage), and only
   before the user scrolls — prevents invisible white-on-white nav
   on inner pages that have no dark hero behind the header. */
.site-header.transparent-header:not(.is-scrolled) {
  background: transparent;
  box-shadow: none;
}
.site-header .container-xl { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--color-primary-dark); }
.site-header.transparent-header:not(.is-scrolled) .brand { color: #fff; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.1rem;
  flex-shrink: 0;
}

.main-nav { display: flex; align-items: center; gap: var(--space-lg); }
.main-nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; }
.main-nav a {
  color: var(--color-text); font-weight: 500; font-size: 0.95rem;
  position: relative; padding-block: 0.3rem;
}
.site-header.transparent-header:not(.is-scrolled) .main-nav a { color: #fff; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--color-accent); transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }

.nav-toggle { display: none; background: none; border: none; color: var(--color-primary-dark); font-size: 1.6rem; }
.site-header.transparent-header:not(.is-scrolled) .nav-toggle { color: #fff; }

@media (max-width: 991px) {
  .main-nav ul { display: none; }
  .nav-toggle { display: block; }
}

/* ---------------------------------------------------------------
   HERO
   --------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background:
    linear-gradient(180deg, rgba(8,59,102,0.88) 0%, rgba(8,59,102,0.72) 55%, rgba(8,59,102,0.92) 100%),
    linear-gradient(120deg, #0F4C81 0%, #083B66 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  /* subtle road-line texture across the hero, echoes the route motif */
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 40px);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--space-xl); align-items: center; position: relative; z-index: 1; }
@media (max-width: 991px) { .hero-grid { grid-template-columns: 1fr; } }

/* Admin-managed hero slide backgrounds (cross-fade) */
.hero-bg-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
  z-index: 0;
}
.hero-bg-slide.active { opacity: 1; }

.hero-text-slide { display: none; }
.hero-text-slide.active { display: block; animation: heroTextIn 0.6s ease; }
@keyframes heroTextIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }


.hero h1 { font-size: var(--fs-hero); color: #fff; margin-bottom: var(--space-sm); }
.hero h1 em { font-style: normal; color: var(--color-secondary); }
.hero p.lead { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 520px; margin-bottom: var(--space-md); }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: var(--space-lg); }

.hero-trust { display: flex; gap: var(--space-lg); flex-wrap: wrap; }
.hero-trust .stat { }
.hero-trust .stat strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--color-secondary); }
.hero-trust .stat span { font-size: var(--fs-small); color: rgba(255,255,255,0.75); }

/* Floating quick-enquiry card — the hero's thesis: fastest path to a booking */
.enquiry-card {
  background: rgba(255,255,255,0.98);
  color: var(--color-text);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 20px 60px rgba(8,59,102,0.35);
}
.enquiry-card h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.enquiry-card p.sub { color: var(--color-text-muted); font-size: var(--fs-small); margin-bottom: var(--space-md); }
.enquiry-card .form-control,
.enquiry-card .form-select {
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  font-size: 0.92rem;
}
.enquiry-card .form-control:focus,
.enquiry-card .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-50);
}
.enquiry-card label { font-size: var(--fs-small); font-weight: 600; margin-bottom: 0.3rem; display: block; }

/* ---------------------------------------------------------------
   SERVICES
   --------------------------------------------------------------- */
.service-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); border-color: transparent; }
.service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--color-primary-50); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: var(--space-sm);
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.service-card p { color: var(--color-text-muted); font-size: var(--fs-small); margin: 0; }

/* ---------------------------------------------------------------
   TAXI / PACKAGE CARDS
   --------------------------------------------------------------- */
.taxi-card, .package-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.taxi-card:hover, .package-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.card-media { position: relative; aspect-ratio: 4/3; background: linear-gradient(135deg, var(--color-primary-50), #fff); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.badge-featured {
  position: absolute; top: 12px; left: 12px;
  background: var(--color-secondary); color: var(--color-text);
  font-size: 0.72rem; font-weight: 700; padding: 0.3rem 0.7rem;
  border-radius: 999px; letter-spacing: 0.03em;
}
.card-body-premium { padding: var(--space-sm) var(--space-md) var(--space-md); }
.card-body-premium h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.card-meta { display: flex; gap: 0.9rem; color: var(--color-text-muted); font-size: var(--fs-small); margin-bottom: 0.7rem; flex-wrap: wrap; }
.card-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.card-price { font-family: var(--font-display); font-weight: 700; color: var(--color-primary); font-size: 1.15rem; }
.card-price small { font-family: var(--font-body); font-weight: 500; color: var(--color-text-muted); font-size: 0.75rem; }
.card-footer-row { display: flex; align-items: center; justify-content: space-between; margin-top: 0.8rem; }

/* ---------------------------------------------------------------
   DESTINATIONS — SIGNATURE ROUTE LINE
   Encodes real driving distance from Indore between stops.
   --------------------------------------------------------------- */
.route-track {
  position: relative;
  display: flex;
  gap: 0;
  align-items: stretch;
  overflow-x: auto;
  padding-bottom: var(--space-sm);
  scroll-snap-type: x proximity;
}
.route-track::-webkit-scrollbar { height: 6px; }
.route-track::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 999px; }

.route-stop {
  flex: 0 0 260px;
  scroll-snap-align: start;
  position: relative;
  padding-right: var(--space-lg);
}
.route-stop:last-child { padding-right: 0; }

.route-stop::after {
  /* dashed road segment connecting this stop to the next */
  content: '';
  position: absolute;
  top: 26px;
  left: 240px;
  width: calc(var(--space-lg) - 4px);
  height: 0;
  border-top: 3px dashed var(--color-secondary);
}
.route-stop:last-child::after { display: none; }

.route-marker {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--color-primary-dark);
  color: var(--color-secondary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  margin-bottom: var(--space-sm);
  position: relative; z-index: 1;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(8,59,102,0.25);
}
.route-distance { font-size: 0.72rem; font-weight: 700; color: var(--color-accent); text-transform: uppercase; letter-spacing: 0.04em; }

.destination-card {
  background: #fff; border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.destination-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.destination-card .card-media { aspect-ratio: 3/2; }
.destination-card .card-body-premium h3 { font-size: 1rem; }

/* ---------------------------------------------------------------
   HOW IT WORKS (legitimate numbered sequence)
   --------------------------------------------------------------- */
.step {
  display: flex; gap: var(--space-sm); align-items: flex-start;
}
.step-number {
  flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
}
.step h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.step p { color: var(--color-text-muted); font-size: var(--fs-small); margin: 0; }

/* ---------------------------------------------------------------
   TESTIMONIALS
   --------------------------------------------------------------- */
.testimonial-card {
  background: var(--color-bg-section);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  height: 100%;
}
.testimonial-card .stars { color: var(--color-secondary); font-size: 0.9rem; margin-bottom: 0.6rem; }
.testimonial-card p.quote { font-size: 0.95rem; color: var(--color-text); margin-bottom: var(--space-sm); }
.testimonial-author { display: flex; align-items: center; gap: 0.7rem; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { font-size: 0.78rem; color: var(--color-text-muted); }

/* ---------------------------------------------------------------
   FAQ ACCORDION
   --------------------------------------------------------------- */
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 1.1rem 0; font-weight: 600; font-size: 0.98rem;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--color-text);
}
.faq-answer { padding-bottom: 1.1rem; color: var(--color-text-muted); font-size: 0.92rem; display: none; }
.faq-item.is-open .faq-answer { display: block; }
.faq-item.is-open .faq-question .icon { transform: rotate(45deg); }
.faq-question .icon { transition: transform 0.2s ease; font-size: 1.3rem; color: var(--color-accent); }

/* ---------------------------------------------------------------
   FINAL CTA BAND
   --------------------------------------------------------------- */
.cta-band {
  background: var(--color-primary-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg);
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-band p { color: rgba(255,255,255,0.8); margin: 0; }

/* ---------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------- */
.site-footer { background: #0A1F33; color: rgba(255,255,255,0.75); padding-top: var(--space-2xl); }
.site-footer h4 { color: #fff; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: var(--space-sm); }
.site-footer a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.site-footer a:hover { color: var(--color-secondary); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: var(--space-xl); padding-block: var(--space-md); font-size: 0.82rem; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--color-accent); }

/* ---------------------------------------------------------------
   FLOATING ACTION BUTTONS
   --------------------------------------------------------------- */
.floating-actions { position: fixed; right: 20px; bottom: 20px; z-index: 1050; display: flex; flex-direction: column; gap: 0.7rem; }
.fab {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem; box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform 0.15s ease;
}
.fab:hover { transform: scale(1.08); color: #fff; }
.fab-whatsapp { background: var(--color-success); }
.fab-call { background: var(--color-primary); }

/* Sticky mobile enquiry bar */
.sticky-enquiry-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
  background: var(--color-primary-dark);
  padding: 0.7rem var(--space-sm);
  display: none;
}
@media (max-width: 767px) { .sticky-enquiry-bar { display: block; } .floating-actions { bottom: 84px; } }
.sticky-enquiry-bar .btn-premium { width: 100%; justify-content: center; }

/* ---------------------------------------------------------------
   BREADCRUMB
   --------------------------------------------------------------- */
.breadcrumb-bar { background: var(--color-bg-section); padding-block: 0.9rem; margin-top: var(--header-height); }
.breadcrumb-bar ol { margin: 0; font-size: 0.85rem; }
.breadcrumb-bar a { color: var(--color-primary); }
.breadcrumb-bar .active { color: var(--color-text-muted); }

/* ---------------------------------------------------------------
   SCROLL REVEAL (progressive enhancement — JS adds .is-visible)
   --------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }