/* ==========================================================================
   HERO.CSS — Verhuislifthuren.eu
   Hero section template
   ========================================================================== */

.hero {
  position: relative;
  padding: var(--space-2xl) 0;
  background-color: var(--color-secondary-bg);
  overflow: hidden;
}

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

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

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

.hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26, 52, 86, 0.80) 0%,
    rgba(26, 52, 86, 0.55) 45%,
    rgba(26, 52, 86, 0.15) 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: tekst links, foto rechts */
.hero--split {
  background: var(--color-secondary);
  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: 480px;
  }
  .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: 520px;
  }
}

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

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

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

/* ---------- Gradient variant (donkere achtergrond) ---------- */
.hero--gradient,
.hero--gradient h1,
.hero--gradient h2,
.hero--gradient h3,
.hero--gradient p,
.hero--gradient .hero-subtitle,
.hero--gradient .hero-content {
  color: #fff;
}

.hero--gradient .hero-review-text {
  color: rgba(255, 255, 255, 0.85);
}
