/* =========================
   ALGEMENE STIJLEN
========================= */

/* =========================
   ACHTERGROND & LOGO
========================= */

body {
  margin: 0;
  padding: 0;
  font-family: Calibri, sans-serif;
  color: #000;
  background: url('/static/layout/achtergrond_desktop.png') no-repeat center top fixed;
  background-size: cover;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 80px;
}

.hero-logo {
  position: fixed;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 410px;
  max-width: 90vw;
  height: auto;
  z-index: -1;
  pointer-events: none;
}



nav {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10050;
}

.menu-toggle.left {
  font-size: 36px;
  font-weight: bold;
  font-family: sans-serif;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.75);
  padding: 5px 10px;
  border-radius: 6px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  z-index: 10051;
  position: relative;
}

#menu {
  display: none;
  background-color: rgba(255, 255, 255, 1.9);
  border-radius: 8px;
  padding: 16px;
  position: absolute;
  top: 50px;
  left: 0;
  list-style: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  min-width: 180px;
  font-family: Calibri, sans-serif;
  font-size: 18px;
  z-index: 10052;
}

#menu li {
  margin-bottom: 10px;
}

#menu li a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

main {
  text-align: center;
}

.hero {
  margin-top: 240px;
  position: fixed;
  width: 100%;
  left: 0;
  text-align: center;
}




.starttekst {
  font-size: 40px;
  margin-top: -35px;
  font-family: Calibri, sans-serif;
  font-weight: bold;
  color: #fff;
  text-shadow: 0px 0px 10px #000;
  text-align: center;
}


.cta-button {
  display: inline-block;
  padding: 12px 24px;
  margin-top: 5px;
  background-color: #0066cc;
  color: white;
  border-radius: 10px;
  box-shadow: 2px 4px 18px rgba(0, 0, 0, 0.8);
  text-decoration: none;
  font-size: 20px;
}

.cta-button:hover {
  background-color: #004c99;
}

.page-section {
  display: none;
  padding: 40px 20px;
}

.inschrijf-wrapper {
  position: fixed;
  overflow-y: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 600px;
  max-height: 80vh;
  background: rgba(245, 222, 179, 0.95);
  width: 80%;
  padding: 30px;
  border-radius: 10px;
  color: #000;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  z-index: 10001; /* Boven je logo */
}

.page-wrapper {
  max-width: 720px;
  max-height: 70vh;                        /* Beperkt tot 80% van schermhoogte */
  margin: 40px auto;
  overflow-y: auto;                        /* Scroll binnen het blok */
  background: rgba(245, 222, 179, 0.95);   /* iets lichter voor duidelijkheid */
  padding: 10px;
  border-radius: 10px;
  color: #000;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  line-height: 1.6;
  z-index: 10001;
  box-sizing: border-box;
}


/* SLUITKNOP VOOR CONTACTPAGINA */

.sluitknop {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 36px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  z-index: 1001;
  user-select: none;
}

.sluitknop:hover {
  color: #000;
}


/* Popup-stijl voor INFO */
.info-container {
  background-color: #f6e9c5;
  padding: 40px 20px;
  font-family: Calibri, sans-serif;
  color: #000;
  text-align: center;
  overflow-y: auto;
  max-height: 100vh;
  box-sizing: border-box;
}

#info-tekstvak {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  font-size: 18px;
  line-height: 1.6;
  text-align: left;
  color: #000;
  overflow: hidden;
}


.info-tekst {
  text-align: left;
  font-size: 18px;
  line-height: 1.6;
  padding: 30px;
  max-width: 800px;
  margin: 0 auto;
}

#info-tekstvak p {
  margin: 0 0 10px 0;      /* minder witruimte onder paragrafen */
  margin-bottom: 6px;
  line-height: 1.6;
}

#info-tekstvak ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

#info-tekstvak li {
  margin-bottom: 6px;
}



.bullet-lijst {
  padding-left: 20px;
  margin-bottom: 20px;
}

.bullet-lijst li {
  margin-bottom: 10px;
  font-weight: normal;
  font-size: 17px;
}


.info-footer {
  text-align: center;
  padding: 10px;
  background: #f3dca0;
}

.info-footer button {
  padding: 10px 20px;
  border: none;
  background: #c89b3c;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}


.voorwaarden-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  height: 85%;
  background-color: #fffbe8;
  border-radius: 16px;
  overflow: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  z-index: 10000;
}

.voorwaarden-box iframe {
  flex: 1;
  width: 100%;
  border: none;
  overflow: auto;
  background-color: #fffbe8;
}

.voorwaarden-footer {
  text-align: center;
  padding: 10px;
  background: #f3dca0;
}

.voorwaarden-footer button {
  padding: 10px 20px;
  border: none;
  background: #c89b3c;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}


.sponsor-footer {
  position: fixed;  
  bottom: 20px;
  left: 0;
  width: 100%;
  background-color: rgba(60, 60, 60, 0.6);
  color: white;
  text-align: center;
  padding: 8px 8px 4px 0px;
  font-family: Calibri, sans-serif;
  z-index: 1;
}

.sponsor-footer .sponsor-text {
  font-size: 15px;
  font-weight: bold;
  color: #f1f1f1;
  margin-bottom: 8px;
}

.sponsor-footer .logos {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0px;
}

.sponsor-footer .logos a {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0px;
  max-width: 25%;
  box-sizing: border-box;
}

.sponsor-footer .logos img {
  max-height: 90px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.sponsor-footer .logos img:hover {
  transform: scale(1.05);
}

.sponsor-footer .copyright {
  font-size: 11px;
  color: #ccc;
  margin-top: 2px;
}

.footer_copyright {
  position: fixed;
  bottom: 0;
  width: 100%;
  font-size: 10px;
  color: #fff;
  text-shadow: 1px 1px 4px #000;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 0px 0;
  text-align: center;
  z-index: 5;
}

/* Login popup overlay */
#login-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  margin-top: -80px;
}


/* Popup zelf */
#login-overlay .popup {
  background: #f3e5ab;
  padding: 20px 24px;
  border-radius: 14px;
  box-shadow: 0 0 18px rgba(0,0,0,0.25);
  width: 220px;
  max-width: 90%;
  font-family: Calibri, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Sluitknop */
#login-overlay .close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 24px;
  color: #333;
  cursor: pointer;
}

/* Invoervelden en knop */
#login-overlay input,
#login-overlay button {
  width: 100%;
  padding: 10px 12px;
  margin: 6px 0;
  font-size: 16px;
  font-family: Calibri, sans-serif;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

#login-overlay button {
  background-color: #0066cc;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border: none;
}

#login-overlay button:hover {
  background-color: #004c99;
}


#login-overlay button {
  background-color: #444;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

#bevestiging-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#bevestiging-overlay.show {
  visibility: visible;
  opacity: 1;
}

#bevestiging-overlay .popup {
  background-color: rgba(245, 222, 179, 0.95);
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  width: calc(100% - 40px);
  max-width: 500px;
  font-family: Calibri, sans-serif;
  color: #000;
  font-size: 17px;
  text-align: center;
  box-sizing: border-box;
}

/* Wachtwoord instellen overlay */
#setpw-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

#setpw-overlay .popup {
  background-color: rgba(245, 222, 179, 0.95);
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  width: calc(100% - 40px);
  max-width: 500px;
  font-family: Calibri, sans-serif;
  color: #000;
  font-size: 17px;
  text-align: left;
  box-sizing: border-box;
}
#setpw-overlay input,
#setpw-overlay button {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  font-family: Calibri, sans-serif;
}
#setpw-overlay button {
  background-color: #0066cc;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
}
#setpw-overlay button:hover {
  background-color: #004c99;
}

.whatsapp-zwevend {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
  text-decoration: none;
  font-family: Calibri, sans-serif;
  color: #25D366;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
}
.whatsapp-zwevend:hover {
  color: #128C7E;
  transform: scale(1.05);
}
.whatsapp-zwevend img {
  width: 35px;
  height: 35px;
  display: block;
  margin: 0 auto 0;
}

.whatsapp-zwevend span {
  color: #007bff;
  font-size: 14px;
  margin-top: 2px;
  display: block;
}



/* =========================
   RESPONSIVE - TELEFOON
========================= */

@media (max-width: 768px) {
  body {
    background: url('/static/layout/achtergrond_mobiel.png') no-repeat center top fixed;
    background-size: cover;
  }

  .hero-logo {
    width: 390px;
    top: 10px;
  }

  .hero {
    margin-top: 300px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .intro-text {
    font-size: 18px;
  }

  .cta-button {
    font-size: 16px;
    padding: 10px 20px;
  }

  #menu {
    font-size: 16px;
    padding: 12px;
  }

  .sponsor-footer .logos img {
    max-height: 60px;
  }

  .inschrijf-wrapper {
    position: fixed;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    width: 90vw;
    max-width: 90vw;
    padding: 20px 15px;
    box-sizing: border-box;
  }

  /* ✅ Popup max-breedte op mobiel */
  #bevestiging-overlay .popup {
    max-width: 90vw;
  }
}
