/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

/* BODY */
body {
  min-height: 100vh;
  background: linear-gradient(135deg, #1e3c72, #2a9df4);
  color: #222;
}

/* HEADER */
header {
  background: linear-gradient(90deg, #1e3c72, #2a9df4);
  padding: 25px;
  text-align: center;
  color: white;
}

header h1 {
  font-size: 30px;
  letter-spacing: 1px;
}

/* NAVIGATIE */
nav {
  background: #162447;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
}

nav ul li {
  position: relative;
}

/* MENU ITEMS */
nav ul li a {
  display: block;
  padding: 16px 22px;
  color: white;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

nav ul li a:hover {
  background: #2a9df4;
  color: #fff;
}

/* DROPDOWN MENU */
nav ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 25px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 10;

  /* NIEUW: FORCEREN dat items onder elkaar staan */
  display: block;          /* dit zorgt voor verticale stapeling */
}

nav ul li:hover ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

nav ul li ul li {
  width: 100%;             /* elk sub-item neemt volledige breedte */
}

nav ul li ul li a {
  color: #162447;
  padding: 14px 18px;
  display: block;          /* heel belangrijk: zorgt dat elk link-item een blok wordt */
}

nav ul li ul li a:hover {
  background: #2a9df4;
  color: white;
}


/* MAIN CONTENT */
main {
  max-width: 900px;
  margin: 50px auto;
  padding: 35px;
  background: white;
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

/* TEKST */
main h2 {
  margin-bottom: 25px;
  color: #1e3c72;
  font-size: 26px;
}

main p {
  margin-bottom: 18px;
  line-height: 1.7;
}

/* AFBEELDINGEN */
img {
  max-width: 100%;
  border-radius: 18px;
  margin: 20px 0;
}

/* FOOTER */
footer {
  text-align: center;
  color: white;
  padding: 18px;
  font-size: 14px;
  opacity: 0.9;
}
