/* ===== BASISINSTELLINGEN ===== */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #f7f5ec;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
}

h1 {
  text-align: center;
  margin: 30px 0;
  font-size: 2.5em;
}

/* ===== BANNER ===== */
.banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.banner img {
  width: 100%;
  height: auto;
  max-height: 300px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ===== GRID STRUCTUUR ===== */
.grid {
  display: grid;
  grid-template-columns: 3fr 3fr 3fr; /* gelijk verdeeld, of pas aan naar 4/5/5 indien nodig */
  grid-template-areas:
    "fotos tekst tekst"
    "video links links";
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 60px;
  align-items: start;
}

/* ===== FOTO’S LINKS - ONDER ELKAAR MAAR VOLLEDIGE BREEDTE ===== */
.fotos {
  grid-area: fotos;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

.fotos img {
  width: 100%;
  flex: 1;
  object-fit: cover;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
}

/* ===== TEKSTGEBIED ===== */
.tekst {
  grid-area: tekst;
  padding-left: 0; /* belangrijk: geen ruimte tussen foto en tekst */
}

.tekst h2 {
  margin: 0 0 10px 0;
  font-size: 1.5em;
  color: #333;
}

.tekst p {
  margin: 0 0 20px 0;
  max-width: 700px;
  text-align: left;
  line-height: 1.7;
}

/* ===== VIDEO BLOK ===== */
.video {
  grid-area: video;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-wrapper {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 3;
  position: relative;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  border: none;
}

/* ===== LINKS BLOK ===== */
.links {
  grid-area: links;
  align-self: center;
}

.links ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.links li {
  margin: 10px 0;
}

.links a {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 20px 0;
  background-color: #222;
  color: white;
  font-size: 0.9em;
  margin-top: 40px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "fotos"
      "tekst"
      "video"
      "links";
    padding: 0 15px;
  }

  .fotos {
    flex-direction: column;
  }

  .video-wrapper {
    aspect-ratio: 16 / 9;
  }

  .banner {
    grid-template-columns: repeat(2, 1fr);
  }

  footer {
    font-size: 0.8em;
  }
}