/* HEADER: transparant over de foto vóór scrollen */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  /*background: #2CB3E8;*/
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.2)
  );
  backdrop-filter: blur(8px);
  transition: background 0.3s ease;
}

/* HEADER na scrollen: vaste blauwe balk met gradient */
.header.scrolled {
  /*background: #2CB3E8;*/
  background: linear-gradient(
    to bottom,
    #1380B9,
    #5FD0F7
  );
  background-image: none;
}

/* Hero-sectie */
.hero {
  position: relative;
  color: #ffffff;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Donkere overlay over de hero-afbeeldingen, 45% zwart → sterk maar modern */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);  
  z-index: 1;
  pointer-events: none;
}

/* Zorgt dat de footer boven de slider ligt */
.hero .footer {
  position: relative;
  z-index: 2;
}

/* Basisstijl voor elke slide */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 5s ease-in-out;
}

/* Actieve slide zichtbaar maken */
.hero-slide.is-active {
  opacity: 1;
}

/* Container voor alle slides */
.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Hero-content moet de ruimte vullen boven de footer */
.hero-content {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px 80px;
  text-align: center;
  z-index: 2;
  flex: 1;
}

/* zorgt voor stevige letters, subtiel maar zeer effectief */
.hero-content h1,
.hero-content h2,
.hero-content p {
  color: white;
  font-weight: 700; 
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6); 
}

.hero-content #theview {
  font-size: 50px;
  line-height: 2;
  text-transform: none;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 20px 0 28px 0;
}

.hero-content h2 {
  text-transform: uppercase;
  font-size: 1.6rem;
  margin: 0 0 4px 0;
  margin-top: 0.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  margin: 0 0 36px 0;
  font-size: 17px;
}

/* FOOTER: zelfde transparante stijl als header vóór scrollen */
.footer {
  position: relative;
  text-align: center;
  padding: 10px;
  font-size: 14px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.2)
  );
  backdrop-filter: blur(8px);
  color: #ffffff;
  transition: background 0.3s ease, color 0.3s ease;
  z-index: 10;
}

/* FOOTER na scrollen: zelfde vaste kleur als header.scrolled */
.footer.scrolled {
  color: #ffffff;
  /*background: #2CB3E8;*/
  background: linear-gradient(
    to bottom,
    #5FD0F7,
    #1380B9
  );
  background-image: none;
}
