:root {
  --font-base: clamp(1rem, 1.2vw, 1.2rem);
  --font-h1: clamp(2rem, 5vw, 3rem);
  --font-h2: clamp(1.5rem, 4vw, 2.5rem);
  --font-h3: clamp(1.2rem, 3vw, 1.5rem);
  --spacing: clamp(1rem, 2vw, 2rem);
}

/* Maak de body een flexcontainer */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: var(--font-base);
  font-family: sans-serif;
  line-height: 1.6;
}

body {
  display: flex;
  flex-direction: column;
}

/* Zorg dat wrapper groeit en duwt de footer naar beneden */
.wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* BASIS */
body {
  font-family: Arial, sans-serif;  
  background: #f7fbfb;
  color: #0e3942;
  line-height: 1.6;
}

/* HEADER EN FOOTER */
  footer {
  background: #19768d;
  color: white;
  padding: 1.5em 1em;
  text-align: center;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* zorgt ervoor dat het op kleine schermen mooi afbreekt */  
}

.gradient-header {
  background: linear-gradient(to top, rgb(247, 251, 251) 0px,  rgb(0, 108, 141) 400px);
  padding: 1rem;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.centered-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-weight: bold;
  margin-top: 190px;
}

.header-content {
  display: flex;
  justify-content:space-between;
  align-items: center;
  padding: 10px 20px;
  position: relative;
}

/* Hamburgerknop styling */
.menu-toggle {
  display:flex;
  justify-content: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  z-index: 99999;
}

/* Verander naar kruis */
.menu-toggle.open::before {
  content: '✖'; /* kruisje */
}
.menu-toggle::before {
  content: '☰'; /* hamburger */
}

.logo-img {    
  max-width: 150px;
  width:100%;
  height: auto;
  border-radius: 10px;
}

/* Mobiel: hamburgermenu tonen, nav verbergen */

  .nav-links {
  position: fixed;
  top:0;
  flex-wrap: wrap;
  left: -300px; /* buiten het zicht */
  width: 250px;
  height: 100%;
  background: #014f63;
  padding: 100px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content:flex-start; /* <<< BELANGRIJK */
  gap: 1rem;
  padding-left: 20px;
  transition: left 0.3s ease;
  z-index: 9999;
  margin:0 auto;
}

.nav-links a {
  font-size: 1.3rem;
  text-decoration: none;
  color: #fff;
}

/* Sluitknop */
.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
  color: #444;
  z-index:9999;
}

/* Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(1, 79, 99, 0.47);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.nav-links.active {
  left: 0;
}
 
.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

h1 {
  font-size: var(--font-h1);
  margin-top: var(--spacing);
  margin-bottom: var(--spacing);
  text-align: center;
}

h1 {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  color:#fff;
  text-shadow: 
    -2px -1px 0 rgb(2, 87, 112),
     1px -1px 0 rgb(157, 212, 225),
    -1px  1px 0 rgb(157, 212, 225),
     1px  1px 0 rgb(157, 212, 225);
}

h2 {
  font-size: var(--font-h2);
  margin-top: var(--spacing);
  margin-bottom: 0.75rem;
  text-align: center;
  color:#225663;
}

h3 {
  font-size: var(--font-h3);
  margin-top: var(--spacing);
  margin-bottom: 0.5rem;
  text-align: center;
}

.koptekst {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.koptekst p {
  text-align: left;
}

.subkopHeader {
  font-size: 1.5rem;
  color:#fff;
}

.subkopHeader2 {
  font-size: 1.8rem;
  color:#e6f0f3;
  font-weight:600;
  margin-top:165px;
}

.subkop {
  font-size: 1.5rem;
  color:#014f63;
}

.subkopH1 h1 {
  color:#225663;
  text-shadow:none;
}

.subkop2 {
  font-size: 1.5rem;
  color:#014f63;
  font-weight:600;
}

p.center {
    text-align: center;
}

ul {
  text-align: left;
}
/* SLIDE-IN */
.slide-in-item {
  position: relative;  
  opacity: 0;
}

/* Startposities */
.from-left {
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}
.from-right {
  transform: translateX(50px);
  transition: all 0.8s ease-out;
}
.from-top {
  transform: translateY(-50px);
  transition: all 0.8s ease-out;
}
.from-bottom {
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

/* Actieve status */
.slide-in-item.visible {
  transform: translate(0, 0);
  opacity: 1;
}

/* Wordt toegepast zodra element in beeld komt */
.slide-in-item.visible {
  left: 0;
  opacity: 1;
}

/* BUTTON */
.button-wrapper {
  text-align: center;
  margin: 2em 0;
}

.button-wrapper p {
  text-align: center;
}

.button {
  display: inline-block;
  width:200px;
  padding: 0.75em 1.5em;
  background-color: #12879e;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.button:hover {
  background-color: #18626d;
}

/* TERUGKNOP */
.knop {
  display: inline-block;
  width:100px;
  height:40px;
  background-color: #12879e;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
  border-radius: 5px;
  padding-top:10px;
  text-align:center;
}

/* PHONE */
.phone-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  color: white;
}

.phone-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* NAVIGATIE */
nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  margin-top: 1em;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  color:#93eefa;
}

/* MAIN CONTENT */
main {
  flex: 1;  
  padding: 2em 1em;
  max-width: 1000px;
  width:100%;
  margin: auto;
  box-sizing: border-box;
}

/* INDEX */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.logo img {
  display: flex;
  align-items: center;
  justify-content: center;
  width:auto;
  max-width:300px;
  max-height: 200px;
  height: auto;
  margin-top:10px;
  border-radius: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1em;
  padding: 1em;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;    /* Zorgt voor een vaste vierkante verhouding */
  object-fit: cover;      /* Beeld vult het vak, snijdt indien nodig bij */
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s;
}


.gallery img:hover {
  transform: scale(1.03);
}

/* QUIZFORM */
input, textarea, button {
      display: block; width: 100%; margin-bottom: 15px; padding: 10px; font-size: 1rem;
    }
    .optie-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 gelijke kolommen */
  gap: 12px 24px; /* ruimte tussen rijen en kolommen */
  margin-top: 12px;
}
    .optie {
      display: inline-block; margin: 10px; border: 2px solid transparent;
      border-radius: 5px; cursor: pointer; transition: border 0.2s;
    }
    .optie img { width: 100px; height: 100px; object-fit: cover; display: block; }
    .optie.selected { border: 2px solid #012d34; }
    .button-row { display: flex; justify-content: space-between; gap: 10px; }
    .button-row button { width: 48%; }
    #quizForm {
    box-sizing: border-box; /* Zorgt dat padding wordt meegeteld in breedte */
    background-color: #12879e;
    padding: 20px;
    border-radius: 10px;
    color: #ffffff;
    max-width:800px;
    width:100%;
    min-height:600px;
  }

  #quizForm input,
  #quizForm textarea,
  #quizForm button {
    margin-top: 10px;
    display: block;
  }

  #quizForm input,
  #quizForm textarea {
    width: 100%;    
    padding: 8px;
    border: none;
    border-radius: 4px;
  }

  #quizForm button {
    background-color: #ffffff;
    color: #015062;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    margin-top:20px;
  }

  #quizForm button:hover {
    background-color: #89b3b9;
  }

  .checkbox-label {
  display: grid;
  grid-template-columns:  20px 1fr; /* checkbox + tekst */
  align-items: center;
  gap: 8px;
  line-height: 1.4;
  border-radius: 6px;
  border: 2px solid #ccc;
  cursor: pointer;
  transition: background-color 0.2s;
  color:#fff;
}

.checkbox-label:hover {
  background-color: #015c6482;
  color:#fff;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #00626f; /* moderne browsers */
  color:#fff;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.lightbox .close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* CONTACT */
/* FORM */
.form-container {
  display: flex;
  justify-content: center;
  width:100%;
  padding: 1em;
}

form {  
  gap: 1em;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 1em;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

input, textarea {
  padding: 0.75em;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
}

input[type="submit"] {
  background: #014f63;
  color: white;
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}

input[type="submit"]:hover {
  background: #258b98;
}

.contact-blok {
      max-width: 400px;
      width:100%;
      padding: 1em; 
      margin:0 auto;    
      font-family: Arial, sans-serif;
      text-align: center;
      font-size:smaller;
    }    
    .contact-item {
      margin: 0.5em 0;
      text-align: center;
      font-size: 0.8rem;
    }
    .contact-item a {
      color: #fff;
      text-decoration: none;
    }
    .contact-item a:hover {
      text-decoration: underline;
    }
    
.contact-blok1 {  
  max-width: 700px;
      width:100%;
      padding: 1em; 
      margin:0 auto;    
      font-family: Arial, sans-serif;
      text-align: left;
}  
.contact-item1 {
      margin: 0.5em 0;
      text-align: left;
      font-size: 0.8rem;
    }
.contact-item1 a {
      color: #015062;
      text-decoration: none;
    }    

.icon-mail,
.icon-phone,
.icon-whatsapp {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
}

.email-link,
.phone-link,
.whatsapp-link {
  color: white;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.5em;
}

.email-link:hover,
.phone-link:hover,
.whatsapp-link:hover {
  text-decoration: underline;
}

/* PRIVACY */
.rafael {
  text-align: center;
}
.rafael img {
width:100%;
max-width:150px;
border-radius: 100px;
}

.maps-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 verhouding */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  margin: 2em 0;
}

.maps-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* WHATSAPP */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 20px;
  background-color: #0b94a0;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
}

.whatsapp-float:hover {
  background-color: #18626d;
  transform: scale(1.05);
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
  margin-top: 14px;
  filter: invert(1);
}

/* ANGEBOT BUTTON */
.fixed-button {
    position: fixed;
    bottom: 40px;
    right: 90px;
    background-color: #0b94a0;
    color: white;
    padding: 14px 24px;
    border-radius: 50px; /* ronde knopvorm */
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 1000; /* altijd boven andere elementen */
}
.fixed-button:hover {
    background-color: #18626d;
    transform: scale(1.05);
}

/* Mobiel aanpassingen */
@media (max-width: 600px) {
    .fixed-button {
        bottom: 15px;
        right: 85px;
        padding: 16px 28px;
        font-size: 20px;
    }
}

/* RESPONSIVE LAYOUT */
@media (max-width: 900px) {
  .logo-img {
    max-width:100px;
    width:100%;
  }
}
@media (max-width: 600px) {
    header, footer {
    padding: 1em;
  }

  .logo-img {
    max-width:75px;
    width:100%;
  }

  .subkopHeader2 {
    font-size: 1.3rem;
  }
  
  main {
    padding: 1.5em 1.5em;
  }

  form {
    padding: 1em;
  }

  .whatsapp-float {
    bottom:20px;
  }
}

@media (max-width: 400px) {
  .logo-img {
    max-width:55px;
    width:100%;
  }
}

/* COOKIEBANNER */
/* Basisstijl voor de cookie-banner */
#cookie-banner {
  display: none; /* Standaard niet zichtbaar */
  position: fixed;
  bottom: 0;      
  width:100%;
  height:auto; 
  background-color: #007390;      
  padding: 20px;
  z-index: 99999;   
}
#cookie-banner strong {
  color:#fff;
}
#cookie-banner p {
text-align: left;
font-size:1.3rem;
letter-spacing:0.4px;
margin-bottom:5px;
color:#fff;
font-weight:600;
padding:0 30px;
}
#cookie-banner .split-text1 p {
  text-align:left;
  font-size:0.9rem;  
}
#cookie-banner.visible {
  display: block; /* Banner zichtbaar */
}
/* Stijl voor de button */
.split-text1 button {
  display: inline;
  justify-content: center;
  align-items: center;
  width:220px;
  height: 40px;  
  border-radius:10px;
  border:none; 
  padding-right:0; 
  cursor:pointer;
  margin-bottom:20px;
  margin-left:20px;  
}
.split-text1 button span.cookie {
  color:#007390;
  font-size:1rem;
  font-weight:700;
  margin-left:0;
}
.split-text1 span {
  display: inline; /* Zinnen staan naast elkaar op grotere schermen */
  color: #fff;
  font-weight: normal; 
  text-align: left;
}
.split-text1 a span {  
  color: #fff;  
  text-decoration: none;
  margin-left:30px;
}

/* Stijlen voor schermen met een breedte tot 768px */
@media screen and (max-width: 768px) {
  .split-text1 span {
    display: block; /* Zinnen staan onder elkaar op kleinere schermen */
  }
  .cookie1 {
    padding-bottom:20px;
  }
  .split-text1 button span.cookie {
    padding-left:30px;
  }
}
         
      /* Verhoog de knop-kwaliteit wanneer je eroverheen hovert */
      #cookie-banner button:hover {
          opacity:0.6;
      }

.cookie1 {
  color:#fff;
  margin-left:40px;
  font-size:0.9rem;
}
      /* Optionele stijl voor de tekstlink */
      #cookie-banner a {
          color:#fff;
          font-style: italic;
          text-decoration: none;
      }

      #cookie-banner a:hover {
          text-decoration: underline;
      }