/**
 * Base styles – variables, reset, typography
 * Tata Call Taxi – Trusted Tamil Nadu Intercity Cab
 */

:root {
  /* ── Core Brand Palette ─────────────────────────────────── */
  --green-900: #04200f;
  --green-800: #0b3320;
  --green-700: #11452c;
  --green-600: #185c38;
  --green-500: #1e7344;
  --green-400: #279057;
  --green-light: #e8f5ee;
  --green-subtle: #f2fbf5;

  /* Legacy aliases used by layout utilities */
  --blue:        var(--green-800);
  --blue-dark:   var(--green-900);
  --blue-light:  var(--green-700);
  --blue-subtle: var(--green-subtle);

  /* ── Saffron / Amber Accent ─────────────────────────────── */
  --amber:        #f59e0b;
  --amber-dark:   #b45309;
  --amber-light:  #fcd34d;
  --amber-pale:   #fef3c7;
  --amber-glow:   rgba(245, 158, 11, 0.30);

  /* Legacy accent alias so shared components pick up saffron */
  --accent:          var(--amber);
  --accent-glow:     var(--amber-glow);
  --accent-gradient: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);

  /* ── Neutral Scale ──────────────────────────────────────── */
  --white:     #ffffff;
  --cream:     #fffdf7;
  --gray-50:   #f9fafb;
  --gray-100:  #f3f4f6;
  --gray-200:  #e5e7eb;
  --gray-300:  #d1d5db;
  --gray-400:  #9ca3af;
  --gray-600:  #4b5563;

  /* ── Card / Glass Tokens ────────────────────────────────── */
  --glass-bg:     rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.55);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.10);
  --glass-blur:   blur(14px);

  /* ── Elevation Shadows (warm tinted) ────────────────────── */
  --shadow-sm:    0 1px 3px rgba(4, 32, 15, 0.07);
  --shadow-md:    0 4px 10px -1px rgba(4, 32, 15, 0.10), 0 2px 6px -2px rgba(4, 32, 15, 0.07);
  --shadow-lg:    0 12px 32px -5px rgba(4, 32, 15, 0.14), 0 6px 12px -4px rgba(4, 32, 15, 0.08);
  --shadow-quote: 0 20px 50px -12px rgba(4, 32, 15, 0.20);
  --shadow-amber: 0 8px 24px rgba(245, 158, 11, 0.22);

  /* ── Spacing Rhythm ─────────────────────────────────────── */
  --section-y:    clamp(2rem, 3vw, 2.75rem);
  --section-y-lg: clamp(2.5rem, 4vw, 3.5rem);

  /* ── Border Radius ──────────────────────────────────────── */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  24px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  margin: 0;
  color: var(--green-800);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ── Typography ─────────────────────────────────────────────── */
.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--amber-dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  opacity: 0.6;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 0.6rem;
  color: var(--green-900);
  font-weight: 700;
}

p { margin: 0 0 0.65rem; }

.hidden          { display: none !important; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.strikethrough-fare {
  text-decoration: line-through;
  color: var(--gray-400);
  margin-right: 0.5rem;
  font-size: 0.9em;
}

/* ── Banner ─────────────────────────────────────────────────── */
.top-banner  { z-index: 200; position: relative; }
.text-banner {
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--amber-dark);
}
.image-banner img { border-bottom: 1px solid var(--gray-200); }

/* ── Primary Button — Saffron Gradient ──────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: var(--green-900);
  padding: 0.88rem 2.4rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.25s ease;
  box-shadow: 0 4px 18px var(--amber-glow);
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

/* shimmer sweep */
.btn-primary::before {
  content: "";
  position: absolute;
  top: -50%; left: -75%;
  width: 50%; height: 200%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 60%
  );
  transform: skewX(-15deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px var(--amber-glow);
}

.btn-primary:hover::before { left: 130%; }

.btn-primary:active { transform: translateY(-1px) scale(1.01); }

/* ── Outline Button ─────────────────────────────────────────── */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.84rem 2.4rem;
  border: 2px solid var(--green-600);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--green-800);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.btn-outline:hover {
  background: var(--green-600);
  border-color: var(--green-600);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(24, 92, 56, 0.22);
  transform: translateY(-2px);
}

/* ── Secondary (amber-on-dark) ──────────────────────────────── */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.4rem;
  border-radius: var(--radius-md);
  background: var(--amber);
  color: var(--green-900);
  font-weight: 700;
  font-family: inherit;
}
.btn-secondary--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn-link {
  color: var(--amber-light);
  font-weight: 600;
  text-decoration: underline;
  margin-left: 1rem;
}

@media (max-width: 600px) {
  .btn-primary, .btn-outline {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* ── Scroll-reveal utility ──────────────────────────────────── */
.tct-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.34,1.4,0.64,1);
}
.tct-reveal.is-visible {
  opacity: 1;
  transform: none;
}
.tct-reveal.delay-1 { transition-delay: 0.10s; }
.tct-reveal.delay-2 { transition-delay: 0.20s; }
.tct-reveal.delay-3 { transition-delay: 0.30s; }
.tct-reveal.delay-4 { transition-delay: 0.40s; }
.tct-reveal.delay-5 { transition-delay: 0.52s; }

/* ── Highlight chip ─────────────────────────────────────────── */
.tct-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--amber-pale);
  color: var(--amber-dark);
  border: 1px solid #fcd34d;
  border-radius: 999px;
  padding: 0.28rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Stat card number counter ───────────────────────────────── */
.tct-stat-num {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  display: block;
}
