/* ==========================================================================
   HERO.CSS — OranjeLift.nl
   Hero section template
   ========================================================================== */

.hero {
  position: relative;
  padding: var(--space-xl) 0;
  background-color: var(--color-secondary-bg);
  overflow: hidden;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat;
}

@media (min-width: 768px) {
  .hero {
    padding: var(--space-2xl) 0;
    min-height: 500px;
    display: flex;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 600px;
  }
}

/* ---------- Achtergrondafbeelding ---------- */
.hero--image {
  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
  display: grid;
  grid-template-columns: 1fr;
}

/* <img> als achtergrond (vervangt CSS background-image voor betere CWV) */
.hero--image .hero__bg-img,
.hero--image img.hero-bg,
.hero--image .hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}

/* div.hero-bg wrapper met img erin */
.hero--image div.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero--image div.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 30, 33, 0.88) 0%,
    rgba(28, 30, 33, 0.65) 50%,
    rgba(28, 30, 33, 0.30) 100%
  );
  z-index: 1;
}

.hero--image .hero-content,
.hero--image > .hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 720px;
  padding: var(--space-xl) var(--space-lg);
}

.hero--image .container .hero-content {
  padding: 0;
}

.hero--image .hero-content h1 {
  color: #fff;
}

.hero--image .hero-content .hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
}

/* Split layout */
.hero--split {
  background: var(--color-secondary-dark);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  min-height: auto;
}

.hero--split .hero-content {
  padding: var(--space-2xl) var(--space-lg);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero--split .hero-content h1,
.hero--split .hero-content .hero-subtitle {
  color: #fff;
}

.hero--split .hero-image {
  width: 100%;
  max-height: 350px;
  overflow: hidden;
}

.hero--split .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

@media (min-width: 768px) {
  .hero--split {
    grid-template-columns: 1fr 1fr;
    min-height: 380px;
  }
  .hero--split .hero-content {
    padding: var(--space-3xl) var(--space-2xl);
  }
  .hero--split .hero-image {
    max-height: none;
    height: 100%;
  }
}

@media (min-width: 1024px) {
  .hero--split {
    grid-template-columns: 45% 55%;
    min-height: 420px;
  }
}

/* ---------- Floating review kaart ---------- */
.hero-review-card {
  display: none;
  position: absolute;
  bottom: 24px;
  right: 32px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 26px 26px 18px;
  max-width: 300px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-review-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-review-card:hover .hero-review-card__arrow {
  transform: translate(2px, -2px);
}

@media (min-width: 768px) {
  .hero-review-card {
    display: block;
  }
}

@media (min-width: 1024px) {
  .hero-review-card {
    bottom: 32px;
    right: 48px;
  }
}

/* Quote icoon linksboven */
.hero-review-card__quoteicon {
  position: absolute;
  top: 12px;
  left: 16px;
}

/* Grote ronde foto met verified badge */
.hero-review-card__photo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}

.hero-review-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 3px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.hero-review-card__verified {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  background: var(--color-primary, #ff8000);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

/* Sterren */
.hero-review-card__stars {
  color: var(--color-stars);
  font-size: 1.125rem;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

/* Quote tekst */
.hero-review-card__quote {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 10px 0;
  font-style: italic;
}

/* Auteur */
.hero-review-card__author {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 14px;
}

/* Google badge met arrow onderaan */
.hero-review-card__google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-heading);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-review-card__arrow {
  transition: transform 0.25s ease;
  color: rgba(255, 255, 255, 0.75);
}

/* Driehoek-pointer onderaan de kaart */
.hero-review-card__pointer {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 8px;
  overflow: hidden;
}

.hero-review-card__pointer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: none;
  border-left: none;
}

/* ---------- Floating prijs badge ---------- */
.hero-badge {
  display: none;
  position: absolute;
  top: 20px;
  right: 32px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 50px;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .hero-badge {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .hero-badge {
    right: 48px;
    top: 28px;
  }
}

/* ---------- Floating truck cutout ---------- */
.hero-truck-cutout {
  display: none;
  position: absolute;
  bottom: -10px;
  right: 30%;
  z-index: 2;
  width: 200px;
  height: auto;
  opacity: 0.13;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

@media (min-width: 1024px) {
  .hero-truck-cutout {
    display: block;
  }
}

/* ---------- Content ---------- */
.hero-content {
  max-width: 720px;
}

.hero-content h1 {
  margin-bottom: var(--space-md);
  line-height: 1.15;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 2.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-content h1 {
    font-size: 3.25rem;
  }
}

.hero-content[style] h1,
.hero-content[style] .hero-subtitle,
.hero-content[style] .hero-review-text {
  color: inherit;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
  }
}

/* Micro tekst onder hero */
.hero-micro {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-top: var(--space-sm);
}

.hero--image .hero-micro {
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- CTA knoppen ---------- */
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

@media (min-width: 480px) {
  .hero-cta {
    flex-direction: row;
    gap: var(--space-md);
  }
}

.hero-cta .btn {
  font-size: 1.0625rem;
  padding: 16px 32px;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
}

.hero-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ---------- Hero review badge ---------- */
.hero-review {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 8px 16px;
}

.hero-review-stars {
  color: var(--color-stars);
  font-size: 1.125rem;
  letter-spacing: 2px;
}

.hero-review-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.hero--image .hero-review-text {
  color: rgba(255, 255, 255, 0.90);
}

/* Hero tags (USP pills) */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: var(--space-lg);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.25);
}
.hero-tag svg {
  flex-shrink: 0;
}

/* CTA button group */
.cta-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: flex-start;
}
.cta-btn-item {
  text-align: center;
}
.hero .cta-btn-group {
  justify-content: center;
  margin-top: var(--space-lg);
}

/* CTA micro-copy */
.cta-micro {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 6px;
  display: block;
  font-weight: 400;
}
.cta-micro--light {
  color: rgba(255,255,255,0.87);
}
