/* Algemene instellingen */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* voorkomt horizontale scroll */
  font-family: "Georgia", serif;
  color: #fff;
  background-color: #000;
  height: 100%;
}


/* Header */
header {
  position: fixed; /* blijft netjes bovenaan */
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  z-index: 10;
  box-sizing: border-box;
}
.bubble-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1; /* boven button maar onder titel */
}

.bubble {
  position: absolute;
  bottom: -100px; /* start onder scherm */
  width: calc(30px * var(--i)); /* variabele grootte */
  animation: floatUp calc(6s / var(--i)) linear infinite;
  opacity: 0.7;
}

.bubble:nth-child(1) { left: 10%; animation-delay: 0s; }
.bubble:nth-child(2) { left: 30%; animation-delay: 2s; }
.bubble:nth-child(3) { left: 50%; animation-delay: 4s; }
.bubble:nth-child(4) { left: 70%; animation-delay: 1s; }

@keyframes floatUp {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0.7; }
  50% { transform: translateY(-50vh) translateX(20px) rotate(45deg); opacity: 0.9; }
  100% { transform: translateY(-100vh) translateX(-10px) rotate(90deg); opacity: 0; }
}

.header-left h3 {
  font-size: 32px;
  margin: 0;
}

.header-left p {
  margin: 0;
  font-size: 0.9rem;
}

.header-right {
  display: flex;
  gap: 30px; /* ruimte tussen de items */
  align-items: center;
}

.header-right a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.header-right a:hover {
  color: #9ccba0; /* subtiele hoverkleur */
}
/* Titel */
.title {
  position: relative;
  background-image: url("./assets/bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
}






.title h1 {
  font-size: clamp(2rem, 6vw, 4rem);


  font-weight: normal;
  color: #fff;
  margin: 0;
}

/* Fade-out animatie */
.fade-out {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.button-container {
  position: absolute;
  top: 75%; /* verticale positie, pas aan naar wens */
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0; /* achter bubbels en titel */
}
#projectBtn {
  display: inline-block;
  font-size: 1.5rem;
  padding: 18px 50px;
  background-color: #3d5243;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

#projectBtn:hover {
  background-color: #2a3a2e;
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(61, 82, 67, 0.5);
}


/* Responsief gedrag */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

  .title h1 {
      position: relative;
  z-index: 2;
    font-size: 3.5rem;
  }

  #projectBtn {
    font-size: 1.2rem;
    padding: 14px 36px;
  }
}



/* -------------------------------------- */
/*   TABLET RESPONSIVE (max-width: 1024px) */
/* -------------------------------------- */
@media (max-width: 1024px) {

  header {
    padding: 15px 25px;
  }

  .header-right {
    gap: 20px;
  }

  .title h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  #projectBtn {
    font-size: 1.3rem;
    padding: 15px 40px;
  }

  .button-container {
    top: 70%;
  }
}


/* -------------------------------------- */
/*   MOBILE RESPONSIVE (max-width: 600px) */
/* -------------------------------------- */
@media (max-width: 600px) {

  /* Header compact maken */
  header {
    padding: 10px 15px;
  }

  .header-right {
    gap: 15px;
  }

  .header-right a {
    font-size: 0.9rem;
  }

  /* Titel kleiner & leesbaarder */
  .title h1 {
    font-size: clamp(1.8rem, 10vw, 2.4rem);
    padding: 0 20px;
  }

  /* Knop centreren & kleiner maken */
  .button-container {
    top: 75%;
  }

  #projectBtn {
    font-size: 1.1rem;
    padding: 12px 30px;
  }

  /* Bubbels kleiner voor mobiel */
  .bubble {
    width: calc(18px * var(--i));
  }
}
