@font-face {
  font-family: 'titel';
  src: url('/fonts/ShadowsIntoLight-Regular.ttf');
}

@font-face {
  font-family: 'tekst';
  src: url('/fonts/GFSDidot-Regular.ttf');
}

/* Body & container */
body {
  margin: 0;
  font-family: 'tekst', serif;
  background: #0c0c0c;
  color: #eee;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "banner banner"
    "title title"
    "photos explanation"
    "video links"
    "footer footer";
}

/* Titel */
.block2 {
  grid-area: title;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
  text-align: center;
}

h1 {
  font-family: 'titel', cursive;
  font-weight: 100;
  font-size: 4rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #eee;
  margin: 0;

  /* subtiele schaduw voor diepte */
  text-shadow:
    1.5px 1.5px 3px rgba(0,0,0,0.8),
    -1.5px -1.5px 3px rgba(255,255,255,0.07);

  /* lichte glans-effect in blauw */
  background: linear-gradient(90deg, #f0f0f0 40%, #3a5f9e 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: mcqueenFadeIn 1.2s ease forwards;
}

@keyframes mcqueenFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.9) rotate(-3deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* Banner */
.block1 {
  grid-area: banner;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding-bottom: 1rem;
}

.banner img {
  width: 20%;
  border-radius: 12px;
  object-fit: cover;
  transition: box-shadow 0.3s ease;
  cursor: pointer;
}

.banner img:hover {
  box-shadow: 0 0 15px 4px #3a5f9e;
  transform: scale(1.03);
}

/* Foto’s naast elkaar */
.block3 {
  grid-area: photos;
  display: flex;
  gap: 1rem;
  flex-direction: column;
  justify-content: center; /* verticaal centreren */
  align-items: center;     /* horizontaal centreren */
}

.block3 img {
  width: 50%;
  max-width: 400px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 10px 2px rgba(58, 95, 158, 0.4);
  transition: transform 0.25s ease;
  cursor: pointer;
}

.block3 img:hover {
  transform: scale(1.04);
}

/* Uitleg - block4 */
.block4 {
  grid-area: explanation;
  background: #1a1a1a;
  padding: 3rem 2.5rem 1rem 2.5rem;
  border-radius: 12px;
  box-shadow: inset 0 0 15px #3a5f9e;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ddd;
  font-style: italic;
  letter-spacing: 0.03em;
  user-select: text;
  height: auto;
  max-height: 100%;
  overflow-y: auto;
}

/* Video */
.block5 {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
}

.block5 iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Links */
.block6 {
  grid-area: links;
  background: #1a1a1a;
  padding: 1.8rem 2rem;
  border-radius: 12px;
  box-shadow: inset 0 0 10px #3a5f9e;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 600;
}

.block6 p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.06em;
  color: #f0f0f0;
  font-style: normal;
}

.block6 ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  gap: 1.5rem;
}

.block6 li a {
  color: #ccc;
  text-decoration: underline;
  transition: color 0.25s ease;
  font-family: 'tekst', serif;
  font-weight: 600;
  font-size: 0.95rem;
}

.block6 li a:hover {
  color: #3a5f9e;
  text-shadow: 0 0 4px #3a5f9e;
}

/* Footer */
.block7 {
  grid-area: footer;
  text-align: center;
  background: #111;
  padding: 1rem;
  font-size: 0.9rem;
  color: #777;
  letter-spacing: 0.06em;
  font-style: italic;
}

/* Algemene afbeeldingen */
img {
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "banner"
      "title"
      "photos"
      "video"
      "explanation"
      "links"
      "footer";
    padding: 1rem 1rem;
  }

  .block3 {
    flex-direction: column;
    align-items: center;
  }

  .block3 img {
    max-width: 100%;
  }

  .banner img {
    width: 40%;
  }

  h1 {
    font-size: 2.8rem;
    letter-spacing: 0.12em;
  }

  .block4 {
    padding: 2rem 1rem;
    font-size: 1rem;
    max-width: 100%;
  }

  .block6 ul {
    flex-direction: column;
    gap: 1rem;
  }
}