/**
 * Hero section &ndash; Drop1Taxi
 * Dark navy + yellow taxi brand theme
 */

/* ── Background & Shell ───────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 1.1rem 0 0.9rem;
  background: linear-gradient(135deg, #fbbf24 0%, #f5b800 100%) !important;
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: background 0.3s;
}

/* Diagonal yellow stripe accent (top-right) */
.hero::before {
  content: "";
  position: absolute;
  top: -60px; right: -80px;
  width: 520px; height: 520px;
  background: radial-gradient(ellipse at center, rgba(245,184,0,0.18) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* Dark overlay with subtle diagonal split */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.25) 0%, transparent 75%), linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 0%, rgba(0, 0, 0, 0.05) 100%) !important;
  z-index: 1;
}

/* ── Entrance Animation ───────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Layout &ndash; center everything ──────────────────────────────────────── */
.hero__layout {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding-inline: 1rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero__layout {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    text-align: left;
  }
}

/* ── Copy Column ──────────────────────────────────────────────────────── */
.hero__copy {
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;        /* mobile: all centered */
  animation: fadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (min-width: 1024px) {
  .hero__copy {
    align-items: flex-start;  /* desktop: left-aligned inside its column */
  }
}

/* Eyebrow pill */
.hero__copy .hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #111111 !important;
  background: rgba(0,0,0,0.08) !important;
  border: 1px solid rgba(0,0,0,0.18) !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.28rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 0.65rem;
}

/* h1 */
.hero__copy h1 {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.025em;
  color: #111111 !important;
  margin-bottom: 0.6rem;
  text-shadow: none !important;
}

.hero__copy h1 .hero__accent {
  color: #000000 !important;
}

/* Sub-paragraph */
.hero__copy .hero__sub {
  font-size: clamp(0.88rem, 1.4vw, 1.02rem);
  color: #222222 !important;
  line-height: 1.55;
  margin: 0 0 0.85rem;
  max-width: 36rem;
  text-shadow: none !important;
}

/* ── Microcopy Trust Badges ───────────────────────────────────────────── */
.hero__microcopy {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* center badges on mobile */
  gap: 0.5rem;
  margin-top: 0.85rem;
}

@media (min-width: 1024px) {
  .hero__microcopy {
    justify-content: flex-start;
  }
}

.hero__microcopy span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #111111 !important;
  background: rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  padding: 0.32rem 0.8rem;
  border-radius: 99px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.hero__microcopy span:hover {
  background: rgba(0, 0, 0, 0.15) !important;
  border-color: #000000 !important;
  color: #000000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
}

.hero__microcopy span::before {
  content: "&#10003;";
  color: #000000 !important;
  font-weight: 900;
  font-size: 0.82rem;
}

/* ── Rating Strip ───────────────────────────────────────────────────── */
.hero__rating {
  display: flex;
  align-items: center;
  justify-content: center;   /* center on mobile */
  gap: 0.55rem;
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: #222222 !important;
}

@media (min-width: 1024px) {
  .hero__rating {
    justify-content: flex-start;
  }
}

.hero__rating .stars {
  color: #000000 !important;
  letter-spacing: -1px;
}

/* ── Booking Card Column ─────────────────────────────────────────────── */
.hero .booking-card {
  width: 100%;
  max-width: 520px;
  flex-shrink: 0;
  animation: fadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

/* Home-hero booking card */
.hero .booking-card--home {
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid rgba(245, 184, 0, 0.25);
  border-radius: 18px;
  box-shadow:
    0 24px 60px rgba(17, 17, 17, 0.50),
    0 4px 16px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ── Mobile compaction ───────────────────────────────────────────────── */
@media (max-width: 767px) {
  .hero {
    padding: 0.8rem 0 0.6rem;
  }

  .hero__copy h1 {
    font-size: clamp(1.55rem, 7.5vw, 2.2rem);
  }

  .hero__copy .hero__sub {
    font-size: 0.85rem;
  }

  .hero__microcopy {
    gap: 0.4rem;
  }

  .hero__microcopy span {
    font-size: 0.7rem;
    padding: 0.28rem 0.68rem;
  }
}

