/* ===========================================================
   Delhi Cab Bookings — Design Tokens & Base
   Palette: Black / White / Gold / Dark Grey (brief-mandated)
   Display: Cormorant Garamond (echoes the DCS monogram serif)
   Body: Manrope (clean, legible at small mobile sizes)
   Signature motif: the "Route Line" — a thin gold path that
   threads through section dividers, with a small marker that
   travels along it on scroll, echoing "Your Journey, Our Priority"
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{
  /* Core palette */
  --black:        #0b0b0d;
  --black-soft:   #131316;
  --grey-dark:    #1c1c20;
  --grey-mid:     #2a2a2f;
  --grey-line:    #38383f;
  --white:        #faf9f6;
  --white-dim:    #cfcfd2;
  --gold:         #c9a227;
  --gold-light:   #e8cf72;
  --gold-dim:     rgba(201,162,39,0.35);

  /* Semantic */
  --bg:           var(--black);
  --bg-alt:       var(--black-soft);
  --surface:      var(--grey-dark);
  --text:         var(--white);
  --text-dim:     var(--white-dim);
  --accent:       var(--gold);
  --accent-2:     var(--gold-light);

  /* Type scale */
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Manrope', sans-serif;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1:  clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.6rem, 1.4rem + 1vw, 2.1rem);
  --step-3:  clamp(2.1rem, 1.7rem + 1.8vw, 3rem);
  --step-4:  clamp(2.8rem, 2.1rem + 3.2vw, 4.5rem);
  --step-5:  clamp(3.4rem, 2.3rem + 5vw, 6rem);

  /* Layout */
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --header-h: 84px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: .01em;
}
h1{ font-size: var(--step-5); }
h2{ font-size: var(--step-3); }
h3{ font-size: var(--step-2); }
p{ margin: 0 0 1em; color: var(--text-dim); }

.container{
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--font-body);
  font-size: var(--step--1);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem;
}
.eyebrow::before{
  content: '';
  width: 28px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .9em 1.8em;
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: .03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn-gold{
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, #9c7c1d);
  color: var(--black);
  box-shadow: 0 8px 24px -8px rgba(201,162,39,.55);
}
.btn-gold:hover{ transform: translateY(-2px); box-shadow: 0 12px 30px -6px rgba(201,162,39,.7); }
.btn-ghost{
  background: transparent;
  border-color: var(--grey-line);
  color: var(--text);
}
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-block{ width: 100%; }

/* Glass surface */
.glass{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: var(--radius-lg);
}

/* Section rhythm */
.section{ padding: clamp(3.5rem, 8vw, 7rem) 0; position: relative; }
.section-alt{ background: var(--bg-alt); }
.section-head{ max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head.center{ margin-inline: auto; text-align: center; }

/* Route-line signature divider */
.route-divider{
  position: relative;
  height: 64px;
  margin: 0 auto;
  max-width: var(--container);
  overflow: hidden;
}
.route-divider svg{ width: 100%; height: 100%; display: block; }
.route-divider path{
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-dasharray: 8 10;
  opacity: .55;
}
.route-marker{
  transform-box: fill-box;
  transform-origin: center;
}

/* Scroll reveal base */
[data-reveal]{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible{ opacity: 1; transform: none; }
[data-reveal="left"]{ transform: translateX(-32px); }
[data-reveal="left"].is-visible{ transform: none; }
[data-reveal="right"]{ transform: translateX(32px); }
[data-reveal="right"].is-visible{ transform: none; }
[data-reveal="zoom"]{ transform: scale(.92); }
[data-reveal="zoom"].is-visible{ transform: none; }

/* Utility */
.text-gold{ color: var(--accent); }
.visually-hidden{
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link{
  position: absolute; left: 1rem; top: -60px;
  background: var(--gold); color: var(--black);
  padding: .6em 1em; border-radius: var(--radius-sm);
  z-index: 999; transition: top .25s var(--ease);
  font-weight: 700;
}
.skip-link:focus{ top: 1rem; }

