/* ==========================================================================
   HERO.CSS — UNIVERSELE WEBSITE TEMPLATE
   Hero section template
   ========================================================================== */

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

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

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

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

.hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(var(--color-secondary-rgb), 0.92) 0%,
    rgba(var(--color-secondary-rgb), 0.75) 35%,
    rgba(var(--color-secondary-rgb), 0.45) 65%,
    rgba(var(--color-secondary-rgb), 0.25) 100%
  );
  z-index: 1;
}

.hero--image .hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

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

/* Split layout (legacy, niet gebruikt op homepage) */
.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 65%;
}
@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.13);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 24px 24px 16px;
  max-width: 300px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.hero-review-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.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 65%;
  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);
  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.85);
  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.9);
  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.85);
}

/* 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);
}

/* Wanneer hero-content een inline color heeft (bv. color:#fff op donkere
   achtergrond), moeten h1, subtitle en review-text die kleur erven.
   Zonder deze regels wint de globale h1{color:var(--color-secondary)} */
.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;
  }
}

/* ---------- 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: 1rem;
  padding: 14px 28px;
}

/* ---------- Hero review badge ---------- */
.hero-review {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

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