/* ===== BASISSTIJL (MOBIEL FIRST) ===== */

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f8f8ff;
  color: #333;
  margin: 10px;
  padding-top: 120px;     /* ruimte voor header */
  padding-bottom: 4em;   /* ruimte voor footer */
  font-size: 16px;
}

header, footer {
  text-align: center;
  background-color: #cce0ff;
  padding: 1em;
  color: #000;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #004080;
  color: white;
  z-index: 1000;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

#hoofdnavigatie {
  background-color: #004080;
}
/* Hamburger-menu mobiel */
#menu-toggle {
  display: none;
}
.hamburger {
  display: block;
  color: white;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background-color: #004080;
  width: max-content;
  margin: auto;
  text-align: justify;
}

.hamburger span {
  background-color: white;
  height: 3px;
  width: 25px;
  display: block;
}
/* Menu standaard verbergen op mobiel */
#hoofdnavigatie ul {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2em;
  background-color: #004080;
  list-style: none;
  padding: 1em;
  margin: 0;
}
#hoofdnavigatie input[type="checkbox"] {
  display: none;

}
#menu-toggle:checked + .hamburger + ul {
  display: flex;
}
#hoofdnavigatie li a {
  color: white;
  text-decoration: none;
  padding: 10px;
  display: block;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
  font-weight: bold;
}

/* Afbeeldingen */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}

/* ===== DESKTOP STIJL (PC/LAPTOP) ===== */

@media (min-width: 768px) {
  /* Verberg hamburger op desktop */
  .hamburger {
    display: none;
  }
  .label {
    text-align: justify;
  }
   /* Horizontaal menu */
  #hoofdnavigatie ul {
    display: flex !important;
    flex-direction: row;
    justify-content: center;
    gap: 2em;
    padding: 1em;
    margin: 0;
  }

  #hoofdnavigatie li a {
    border: none;
    padding: 10px 15px;
  }
}
/* ===== GALERIJ STANDAARD (MOBIEL) ===== */
.galerij {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  align-items: center;
}

.galerij figure {
  text-align: center;
  max-width: 90%;
}

.galerij img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

figcaption {
  margin-top: 0.5em;
  font-size: 0.9em;
  color: #666;
}

/* ===== GALERIJ OP PC / DESKTOP ===== */
@media (min-width: 768px) {
  .galerij {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  .centrumlijst {
    flex-direction: column;
    align-items: justify;
  }

  .galerij figure {
    flex: 1 1 30%;
    max-width: 300px;
  }
}
.centrumlijst {
  text-align: justify;
  padding: auto;
}