/**
 * Hero section – Drop Cars
 * Light default theme; dark overrides via html.dark-mode in dark-mode.css
 */

/* ── Background & Shell ───────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 0.4rem 0 0.5rem;
  background: linear-gradient(135deg, #ecfeff 0%, #cffafe 25%, #bae6fd 55%, #ddd6fe 85%, #ede9fe 100%);
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: background 0.3s;
}

/* Subtle light-mode texture overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.05) 100%);
  z-index: 1;
  pointer-events: none;
}

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

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

@media (min-width: 1024px) {
  .hero__layout {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2rem !important;
    text-align: center !important;
  }
}

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

@media (min-width: 1024px) {
  .hero__copy {
    align-items: center !important;
    max-width: 800px !important;
    margin: 0 auto 1rem !important;
  }
}

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

/* h1 */
.hero__copy h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 0.6rem;
}

.hero__copy h1 .hero__accent {
  color: #0284c7;
}

/* Sub-paragraph */
.hero__copy .hero__sub {
  font-size: clamp(0.88rem, 1.4vw, 1.02rem);
  color: #334155;
  line-height: 1.55;
  margin: 0 0 0.3rem;
  max-width: 36rem;
}

/* ── Microcopy Trust Badges ───────────────────────────────────────────── */
.hero__microcopy {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  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: #0369a1;
  background: rgba(3, 105, 161, 0.09);
  border: 1px solid rgba(3, 105, 161, 0.22);
  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(3, 105, 161, 0.16);
  border-color: #0369a1;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(3, 105, 161, 0.18);
}

.hero__microcopy span::before {
  content: "✓";
  color: #0369a1;
  font-weight: 900;
  font-size: 0.82rem;
}

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

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

.hero__rating .stars {
  color: #fbbf24;
  letter-spacing: -1px;
}

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

@media (min-width: 1024px) {
  .hero .booking-card {
    max-width: 1100px !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
}

.hero .booking-card--home {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0 !important;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.25),
    0 4px 16px rgba(0, 0, 0, 0.12);
}

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

  .hero__copy h1 {
    font-size: clamp(1.35rem, 6.2vw, 1.75rem);
  }

  .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;
  }
}
