
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f8f8f8;
  color: #333;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}

/* HEADER */
header {
  background: #003366;
  color: white;
  padding: 30px 1rem 1rem; /* top, left/right, bottom */
  position: fixed;    /* zorgt dat het vast staat */
  top: 0;             /* helemaal bovenaan */
  left: 0;            /* helemaal links */
  width: 100%;        /* volledige breedte */
  z-index: 1000;      /* zorgt dat het boven andere elementen staat */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* optioneel: schaduw voor zichtbaarheid */
}

header h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* NAVIGATIE */
nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

nav a {
  color: white;
  text-decoration: none;
}

nav a:hover,
nav a:focus {
  text-decoration: underline;
  color: #ffcc00; /* bijvoorbeeld een gele accentkleur */
}
/* MAIN */
main {
  padding: 140px 1rem 1rem; /* top, padding afgestemd op headerhoogte */
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  background: #f0f0f0;
}

/* Verberg checkbox */
.menu-toggle {
  display: none;
}

/* Stijl de menuknop (label) */
.menu-icon {
  font-size: 1.5rem;
  padding: 10px 15px;
  cursor: pointer;
  display: block;
}

/* Verberg menu standaard */
.nav-menu {
  display: none;
  flex-direction: column;
   background: #003366;
  color: white;
}

/* Toon menu als checkbox is aangevinkt */
.menu-toggle:checked + .menu-icon + .nav-menu {
  display: flex;
}

/* Desktop: altijd menu tonen en knop verbergen */
@media (min-width: 768px) {
  .menu-icon {
    display: none;
  }

  .nav-menu {
    display: flex !important;
    flex-direction: row;
    justify-content: flex-;
    gap: 1rem;
  }
}


p {
margin-bottom: 1.5em;
}

ul {
  padding-left: 2em; /* vergroot dit getal voor meer afstand */
}

ol {
    list-style-position: outside;
    padding-left: 1.5em;
    margin-left: 0;
}

ol li {
    margin-bottom: 1.5em;
}

ol li::marker {
    font-weight: bold;
}

ol li h3 {
    margin: 0;
}

#contact {
    background-color: #f0f0f0;

}

#terugnavigerenvanafcontact {
    margin:0;

}



.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  margin-top: 2em;
}

.button:hover {
  background-color: #0056b3;
}


/* SECTIES */
article,
section,
aside {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

/* FOOTER */
footer {
  background: #003366;
  color: white;
  text-align: center;
  padding: 1rem;
}

/* BLOCKQUOTE */
blockquote {
  font-family: "BioRhyme", serif;
  font-style: italic;
  font-weight: 400;
  font-optical-sizing: auto;
  font-variation-settings: "wdth" 100;

  border-left: 4px solid #003366;
  margin: 1rem 0;
  padding-left: 1rem;
  color: #003366;
}

/* BOX-TEKST */
.box-tekst {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 1rem;
}

/* RESPONSIEVE AFBEELDING */
.responsive-img {
  margin-top: 20px;
  display: block;
  max-width: 100%;
  height: auto;
}

/* GALLERY (mobile-first) */
.gallery {
  column-count: 1;
  column-gap: 1rem;
  margin-top: 1rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.gallery-item figcaption {
  font-size: 0.8rem;
  color: #444;
  text-align: center;
  margin-top: 0.3rem;
}

/* FORMULIER */
form {
  max-width: 600px;
  margin: 2rem 0;
  background-color: #f0f0f0;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form table,
form tbody,
form tr,
form td {
  display: block;
  width: 100%;
}

form tr {
  margin-bottom: 1rem;
}

form td {
  vertical-align: top;
  padding: 0.5rem 0;
}

form td:first-child {
  font-weight: bold;
  color: #003366;
  margin-bottom: 0.3rem;
}

form td:last-child input,
form td:last-child select,
form td:last-child textarea {
  width: 100%;
  box-sizing: border-box;
}

form tr:last-child td {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
}

form tr:last-child td input[type="submit"],
form tr:last-child td input[type="image"] {
  width: auto;
}

/* LABELS */
.formulierlabels {
  font-weight: bold;
  color: #003366;
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* INPUTS */
input,
select,
textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

/* Radiobutton groep styling */
.rating-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.rating-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 1rem;
  color: #333;
}

/* Maak het responsief als het scherm heel smal wordt */
@media (max-width: 400px) {
  .rating-group {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* VERBETERINGEN VOOR GROTERE SCHERMEN */

/* NAV: horizontaal op grotere schermen */
@media (min-width: 768px) {
  nav ul {
    flex-direction: row;
    gap: 1rem;
  }

  header h1 {
    font-size: 2rem;
  }

  main {
    grid-template-columns: 2fr 1fr;
    padding: 140px 2rem 2rem; /* top, left/right, bottom */
  }

  .gallery {
    column-count: 2;
  }
}

@media (min-width: 1024px) {
  .gallery {
    column-count: 3;
  }
}

/* Formulier in tabelstructuur op bredere schermen */
@media (min-width: 600px) {
  form table,
  form tbody {
    display: table;
    width: 100%;
  }

  form tr {
    display: table-row;
    margin-bottom: 0;
  }

  form td {
    display: table-cell;
    padding: 0.5rem 1rem;
  }

  form td:first-child {
    width: 200px;
    margin-bottom: 0;
  }

  form tr:last-child td {
    display: table-cell;
    justify-content: initial;
  }
}

.knop {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.verzend-knop {
    background-color: #28a745; /* Groen */
    color: white;
}

.verzend-knop:hover {
    background-color: #218838;
    transform: scale(1.05);
}

.reset-knop {
    background-color: #dc3545; /* Rood */
    color: white;
}

.reset-knop:hover {
    background-color: #c82333;
    transform: scale(1.05);
}







/* bootstrap */
.gallery-block{
  padding-bottom: 60px;
  padding-top: 60px;
}

.gallery-block .heading{
    margin-bottom: 50px;
    text-align: center;
}

.gallery-block .heading h2{
    font-weight: bold;
    font-size: 1.4rem;
    text-transform: uppercase;
}

.gallery-block.compact-gallery .item{
  overflow: hidden;
  margin-bottom: 0;
  background: black;
  opacity: 1;
}

.gallery-block.compact-gallery .item .image{
  transition: 0.8s ease;
}

.gallery-block.compact-gallery .item .info{
  position: relative;
    display: inline-block;
}

.gallery-block.compact-gallery .item .description{
  display: grid;
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    padding: 10px;
    font-size: 17px;
    line-height: 18px;
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    opacity: 1;
    color: #fff;
    transition: 0.8s ease;
    text-align: center;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.39));
}

.gallery-block.compact-gallery .item .description .description-heading{
  font-size: 1em;
  font-weight: bold;
}

.gallery-block.compact-gallery .item .description .description-body{
  font-size: 0.8em;
  margin-top: 10px;
  font-weight: 300;
}

@media (min-width: 576px) {

  .gallery-block.compact-gallery .item .description {
    opacity: 0; 
  }

  .gallery-block.compact-gallery .item a:hover .description {
    opacity: 1; 
  } 

  .gallery-block .zoom-on-hover:hover .image {
    transform: scale(1.3);
    opacity: 0.7; 
  }
}

