/* ==========================================================================
   Mahakaal Travels — Design Tokens
   Palette: Twilight Indigo (primary) + Diya Gold (accent) + warm neutrals
   Type: Fraunces (display) + Plus Jakarta Sans (body/UI)
   Signature: dotted "route line" motif connecting pickup → drop points,
   echoed as a section divider and in the hero's temple-arch skyline.
   ========================================================================== */

:root {
  --ink:            #0B1220;   /* near-black navy, dark section bg */
  --indigo:         #16215C;   /* primary brand indigo */
  --indigo-2:       #22308A;   /* lighter indigo for gradients */
  --sapphire:       #3B5BDB;   /* interactive / links / focus */
  --gold:           #E3A63B;   /* accent — diya gold, used sparingly */
  --gold-soft:      #F6E3BB;
  --paper:          #F7F7FB;   /* page background */
  --paper-2:        #EFF1F8;
  --card:           #FFFFFF;
  --line:           #E4E6F0;
  --text:           #171B2E;
  --text-muted:     #5B6178;
  --text-onindigo:  #E9ECFB;
  --text-onindigo-muted: #A9B0D6;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 45px -20px rgba(15, 21, 66, 0.25);
  --shadow-card: 0 2px 10px rgba(15, 21, 66, 0.06);
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

a { text-decoration: none; }

.text-gold { color: var(--gold) !important; }
.text-sapphire { color: var(--sapphire) !important; }
.bg-indigo { background: var(--indigo) !important; }
.bg-paper-2 { background: var(--paper-2) !important; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sapphire);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }

.btn-primary-brand {
  background: var(--indigo);
  color: #fff;
  border: none;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary-brand:hover { background: var(--sapphire); color: #fff; transform: translateY(-2px); }

.btn-gold-brand {
  background: var(--gold);
  color: var(--ink);
  border: none;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-gold-brand:hover { background: #d69524; color: var(--ink); transform: translateY(-2px); }

.btn-outline-brand {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--text);
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-brand:hover { border-color: var(--sapphire); color: var(--sapphire); }

.btn-outline-light-brand {
  background: transparent;
  border: 1.5px solid rgba(233,236,251,0.35);
  color: var(--text-onindigo);
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.25s ease;
}
.btn-outline-light-brand:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Navbar ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(247,247,251,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--ink); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(145deg, var(--indigo), var(--indigo-2));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.15rem; flex-shrink: 0;
}
.nav-link-brand {
  color: var(--text) !important; font-weight: 600; font-size: 0.95rem;
  padding: 8px 16px !important; border-radius: 999px; transition: 0.2s;
}
.nav-link-brand:hover, .nav-link-brand.active { color: var(--sapphire) !important; background: var(--paper-2); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 20% -10%, #2A3B95 0%, var(--indigo) 45%, var(--ink) 100%);
  overflow: hidden;
  padding: 88px 0 0;
  color: var(--text-onindigo);
}
.hero-skyline {
  position: absolute; left: 0; right: 0; bottom: 0; height: 90px;
  opacity: 0.9;
}
.hero-badge {
  background: rgba(233,236,251,0.08);
  border: 1px solid rgba(233,236,251,0.18);
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
}
.hero-title { font-size: 3.2rem; line-height: 1.12; color: #fff; margin-bottom: 20px; }
.hero-desc { font-size: 1.08rem; color: var(--text-onindigo-muted); max-width: 500px; margin-bottom: 32px; }
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: #fff; }
.hero-stat span { font-size: 0.8rem; color: var(--text-onindigo-muted); }

/* Booking card + route-line signature */
.booking-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  color: var(--text);
}
.trip-tabs { display: flex; gap: 6px; background: var(--paper-2); padding: 5px; border-radius: 12px; margin-bottom: 22px; }
.trip-tab { flex: 1; border: none; background: transparent; padding: 10px; border-radius: 9px; font-weight: 600; font-size: 13.5px; color: var(--text-muted); transition: 0.2s; }
.trip-tab.active { background: var(--card); color: var(--indigo); box-shadow: var(--shadow-card); }

.route-field-group { position: relative; padding-left: 26px; }
.route-field-group::before {
  content: ""; position: absolute; left: 5px; top: 22px; bottom: 22px; width: 0;
  border-left: 2px dotted #C7CBE6;
}
.route-dot { position: absolute; left: 0; width: 11px; height: 11px; border-radius: 50%; top: 16px; }
.route-dot.origin { background: var(--sapphire); }
.route-dot.dest { background: var(--gold); }
.field-input-wrap { margin-bottom: 14px; }
.field-input-wrap label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 4px; display: block; }
.field-control {
  width: 100%; border: 1px solid var(--line); background: var(--paper-2);
  border-radius: var(--radius-sm); padding: 12px 14px; font-weight: 500; font-size: 0.95rem;
  color: var(--text);
}
.field-control:focus { outline: none; border-color: var(--sapphire); background: #fff; }

/* ---------- Section headers ---------- */
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: 2.3rem; margin-bottom: 0; }

/* ---------- Service cards ---------- */
.service-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 28px; height: 100%; transition: 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: transparent; }
.service-icon {
  width: 56px; height: 56px; border-radius: 15px; background: var(--paper-2); color: var(--indigo);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px;
}
.service-title { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 10px; }
.service-link { color: var(--sapphire); font-weight: 700; font-size: 0.9rem; }

/* ---------- Route cards ---------- */
.route-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; transition: 0.25s; height: 100%; }
.route-card:hover { border-color: var(--sapphire); }
.route-cities { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; }
.route-line-mini { flex: 1; text-align: center; position: relative; }
.route-line-mini .dots { border-top: 2px dotted #C7CBE6; margin: 0 8px; position: relative; top: -4px; }
.route-km { display: block; font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.route-price { color: var(--indigo); font-weight: 800; font-size: 1.25rem; font-family: var(--font-display); }

/* ---------- Vehicle cards ---------- */
.vehicle-card { background: var(--ink); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid #232b52; height: 100%; }
.vehicle-art { background: linear-gradient(160deg, #1B2454, #0B1220); padding: 34px 20px; text-align: center; position: relative; }
.vehicle-art i { font-size: 3.4rem; color: var(--gold); }
.vehicle-badge { position: absolute; top: 14px; right: 14px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.vehicle-body { padding: 24px; color: var(--text-onindigo); }
.vehicle-name { font-family: var(--font-display); font-size: 1.15rem; color: #fff; margin-bottom: 4px; }
.vehicle-specs { display: flex; gap: 14px; font-size: 12.5px; color: var(--text-onindigo-muted); margin: 12px 0 18px; }
.vehicle-price { font-family: var(--font-display); font-size: 1.4rem; color: #fff; }

/* ---------- Why / stats ---------- */
.why-feature { display: flex; gap: 18px; margin-bottom: 24px; }
.why-icon { width: 48px; height: 48px; min-width: 48px; border-radius: 13px; background: var(--paper-2); color: var(--indigo); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.stat-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; text-align: center; box-shadow: var(--shadow-card); }
.stat-num { display: block; font-family: var(--font-display); font-weight: 700; color: var(--indigo); font-size: 1.5rem; }
.stat-label { font-size: 12.5px; color: var(--text-muted); }

/* ---------- Testimonials ---------- */
.testimonial-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; height: 100%; }
.testimonial-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--indigo); color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-display); }

/* ---------- CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--indigo), var(--indigo-2)); border-radius: 28px; padding: 60px; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image: radial-gradient(rgba(233,166,59,0.16) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--text-onindigo-muted); padding: 70px 0 26px; }
.site-footer h6 { color: #fff; font-weight: 700; margin-bottom: 18px; font-family: var(--font-display); }
.site-footer a { color: var(--text-onindigo-muted); }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid #1E2748; margin-top: 44px; padding-top: 22px; font-size: 13px; }
.social-chip { width: 38px; height: 38px; border-radius: 50%; background: rgba(233,236,251,0.06); display: inline-flex; align-items: center; justify-content: center; color: var(--text-onindigo); margin-right: 8px; transition: 0.2s; }
.social-chip:hover { background: var(--gold); color: var(--ink); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--indigo), #1C2870 60%, var(--ink));
  padding: 64px 0 56px; color: #fff; position: relative; overflow: hidden;
}
.breadcrumb-brand a { color: var(--text-onindigo-muted); }
.breadcrumb-brand span { color: var(--gold); }

/* ---------- Forms (booking / contact pages) ---------- */
.form-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-card); }
.form-label-brand { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }

/* ---------- Misc ---------- */
.divider-dotted { border-top: 2px dotted var(--line); margin: 0; }
.badge-soft { background: var(--paper-2); color: var(--indigo); font-weight: 700; padding: 5px 12px; border-radius: 999px; font-size: 12px; }

@media (max-width: 991.98px) {
  .hero-title { font-size: 2.3rem; }
  .section { padding: 64px 0; }
  .cta-band { padding: 40px 24px; }
}
