/**
 * Hero section – warm amber-green identity
 * Tata Call Taxi
 */

/* ── Hero wrapper ────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 1.5rem 0 0.5rem;
  background: url("../img/hero-bg.jpg") center/cover no-repeat;
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Warm amber-to-dark-green gradient overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      160deg,
      rgba(4, 32, 15, 0.70) 0%,
      rgba(11, 51, 32, 0.82) 45%,
      rgba(4, 32, 15, 0.95) 100%
    );
  z-index: 1;
}

/* Animated diagonal road-stripe overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -60deg,
    transparent,
    transparent 38px,
    rgba(245, 158, 11, 0.04) 38px,
    rgba(245, 158, 11, 0.04) 40px
  );
  z-index: 2;
  animation: tct-stripes 18s linear infinite;
  pointer-events: none;
}

@keyframes tct-stripes {
  from { background-position: 0 0; }
  to   { background-position: 200px 0; }
}

/* ── Hero layout ─────────────────────────────────────────────── */
.hero__layout {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding-inline: 1rem;
}

@media (min-width: 1024px) {
  .hero__layout {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

/* ── Hero copy ───────────────────────────────────────────────── */
.hero__copy {
  max-width: 600px;
  color: var(--white);
}

/* Animated trust-badge pill */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 999px;
  padding: 0.3rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber-light);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  animation: tct-badge-pulse 3.5s ease-in-out infinite;
}
@keyframes tct-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
  50%       { box-shadow: 0 0 0 6px rgba(245,158,11,0.10); }
}

.hero__badge .dot {
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  animation: tct-dot-blink 1.4s ease-in-out infinite;
}
@keyframes tct-dot-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

/* Headline */
.hero__copy h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--white);
}

/* Saffron accent word */
.hero__copy h1 .accent-word {
  background: linear-gradient(135deg, #fbbf24 20%, #d97706 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__copy .hero__sub {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  opacity: 0.88;
  line-height: 1.55;
  margin: 0 0 0.7rem;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero__copy p:not(.hero__sub) {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  opacity: 0.88;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.88);
}

/* ── Hero quick-stat strip ───────────────────────────────────── */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin: 1rem 0;
}

.hero__stat {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 600;
}
.hero__stat-icon {
  font-size: 1rem;
}
.hero__stat-num {
  color: var(--amber-light);
  font-weight: 800;
}

/* ── CTA row ─────────────────────────────────────────────────── */
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.1rem;
}

/* ── Booking card position ───────────────────────────────────── */
.hero .booking-card {
  width: 100%;
  max-width: 450px;
  flex-shrink: 0;
}

/* ── Scrolling marquee route strip (below hero) ─────────────── */
.hero-marquee {
  background: linear-gradient(135deg, var(--green-700), var(--green-800));
  color: rgba(255,255,255,0.85);
  padding: 0.55rem 0;
  overflow: hidden;
  border-top: 2px solid rgba(245,158,11,0.35);
  border-bottom: 2px solid rgba(245,158,11,0.35);
  position: relative;
  z-index: 4;
}

.hero-marquee__track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: tct-marquee 28s linear infinite;
  width: max-content;
}

.hero-marquee__track:hover { animation-play-state: paused; }

@keyframes tct-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hero-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.hero-marquee__sep {
  color: var(--amber);
  font-size: 1rem;
  opacity: 0.7;
}
