/* ========== HERO (bovenaan) ========== */
/* Volledige banner met afbeelding, overlay en tekst in het midden */

.hero {
  position: relative;
  overflow: hidden;
  height: auto;
  text-align: center;
  margin: 0;
  padding: 0;
}

/* Achtergrond-afbeelding bovenaan */
.hero-img {
  width: 100%;
  height: 590px;
  max-height: 70vh;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}

/* Donkere overlay over de foto voor betere leesbaarheid */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 60%,
    rgba(255, 255, 255, 0.1) 100%
  );
}

/* Tekstblok in het midden van de foto */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.hero-content h1 {
  font-size: clamp(1.6rem, 1.8vw + 1rem, 2.8rem);
  line-height: 1.25;
}

.hero-content p {
  font-size: clamp(1rem, 0.7vw + 0.6rem, 1.2rem);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

/* Call-to-action knop in hero */
.hero-content .btn {
  background-color: rgba(0, 0, 0, 0.486);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.5rem 1.2rem;
  font-size: clamp(0.85rem, 0.6vw + 0.4rem, 1rem);
  font-weight: 500;

  transition: all 0.3s ease;
  margin-top: 10px;
}

.hero-content .btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Hero-tekst altijd wit met schaduw */
.hero h1,
.hero p {
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Mobiel: iets kleinere knop */
@media (max-width: 768px) {
  .hero-content .btn {
    font-size: 0.8rem;
    padding: 0.45rem 1rem;
  }
}

/* Onder 1200px de hoogte van de foto vrij laten vloeien */
@media (max-width: 1200px) {
  .hero-img {
    height: auto;
    max-height: none;
  }
}

/* Vanaf 1200px iets meer zwembad in beeld */
@media (min-width: 1200px) {
  .hero-img {
    object-position: center 80%;
  }
}
