/**
 * Hero section – Drop Cars
 * Blue-themed, compact, centrally aligned, booking-form visible above the fold
 */

/* ── Background & Shell ───────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 1.1rem 0 0.9rem;
  background: url("../img/hero-blue-bg.png") center / cover no-repeat;
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Rich dark gradient overlay behind the booking form */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(10, 15, 30, 0.96) 0%,
    rgba(15, 23, 42, 0.92) 45%,
    rgba(8, 10, 18, 0.98) 100%
  );
  z-index: 1;
}

/* ── 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: 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;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.10);
  border: 1px solid rgba(125, 211, 252, 0.30);
  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: #ffffff;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero__copy h1 .hero__accent {
  color: #38bdf8;
}

/* Sub-paragraph */
.hero__copy .hero__sub {
  font-size: clamp(0.88rem, 1.4vw, 1.02rem);
  color: rgba(226, 240, 255, 0.92);
  line-height: 1.55;
  margin: 0 0 0.85rem;
  max-width: 36rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ── 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: #e0f2fe;
  background: rgba(14, 165, 233, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.28);
  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(14, 165, 233, 0.28);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35);
}

.hero__microcopy span::before {
  content: "✓";
  color: #38bdf8;
  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: rgba(226, 240, 255, 0.8);
}

@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: 520px;
  }
}

/* Home-hero booking card (Keep original white theme, but sharp corners) */
.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;
  }
}