/* =========================
   Basis layout
   ========================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  background: #ffffff;
}

/* =========================
   Header
   ========================= */
.site-header {
  height: 280px;
  display: flex;
  justify-content: center;
  padding: 28px 16px;
  position: relative; /* nodig voor pseudo-element */

}

/* Lijn + zichtbare dropshadow op bovenkant header */
.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 27px;
  background: transparent; 
  box-shadow: 0 6px 12px rgba(10, 10, 10, 0.20); 
  pointer-events: none;
  z-index: 10;
}

.site-header .container {
  background-image: url("/images/header.jpg");
  background-size: cover;
  background-position: center;
  max-width: 1200px;
  width: 100%;
  padding: 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.site-header__title {
  margin: 0;
  color: #ffffff;
  font-family: "Montserrat", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

/* =========================
   Header Home knop
   ========================= */

/* container is al aanwezig, maar expliciet */
.site-header .container {
  position: relative;
}

/* Home knop */
.site-header .container a {
  position: absolute;
  right: 20px;
  bottom: 20px;

  padding: 8px 16px;

  font-family: "Montserrat", "Inter", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;

  color: #ffffff;
  text-decoration: none;

  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;

  z-index: 20; /* boven header shadow */
}

/* Hover */
.site-header .container a:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: #ffffff;
  transform: translateY(-1px);
}


/* =========================
   Main content
   ========================= */
.site-main {
  padding: 56px 16px 72px;
}

.site-main .container {
  max-width: 1200px;
}

.site-content {
  padding: 10px 16px 20px;
}

.site-content .container {
  max-width: 1200px;
}

.site-content .container img:not(.editpic) {
  float: right;
  width: 300px;
  max-width: 100%;
  margin: 0 0 1rem 1.5rem;
}

.site-content hr {
  clear: both;          /* 🔑 dit is de fix */
  width: 100%;
  border: none;
  height: 1px;
  background: #ccc;
  margin: 2.5rem 0;
}

/* Biografie download knoppen */
.bio-downloads {
  margin-bottom: 1.5rem;
}

.bio-btn {
  display: inline-block;
  margin-right: 12px;
  margin-bottom: 10px;

  padding: 8px 16px;
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;

  color: #ffffff;
  text-decoration: none;

  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.bio-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: #ffffff;
  transform: translateY(-1px);
}



/* =========================
   Foto / blokken (basis)
   ========================= */

.photo-tile {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #333333;
  background-size: cover;
  background-position: center;
  overflow: hidden;

  /* subtiele shadow rondom */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.photo-tile-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.photo-tile-link:hover .photo-tile {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.photo-tile {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}


/* Label bovenop alles */
.photo-tile__label {
  position: absolute;
  left: 22px;
  bottom: 18px;
  z-index: 3;
  color: #ffffff;
  font-family: "Montserrat", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

/* =========================
   Crossfade (alleen voor blok1)
   ========================= */
.photo-tile--crossfade {
  /* geen opacity transition meer nodig op de tile zelf */
}

/* Twee lagen die over elkaar liggen */
.photo-tile__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 1;
}

/* Zichtbare laag */
.photo-tile__bg.is-visible {
  opacity: 1;
}

/* =========================
   Footer
   ========================= */
.site-footer {
  display: flex;
  justify-content: center;
  padding: 0 16px 24px;
}

.site-footer .container {
  background-image: url("/images/footer.jpg");
  background-size: cover;
  background-position: center;
  max-width: 1200px;
  width: 100%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}


.site-footer__inner {
  color: #ffffff;
  text-align: center;
  padding: 14px 10px;
  font-size: 1.6rem;
  font-weight: 300;
}

/* =========================
   Responsive tweaks
   ========================= */
@media (max-width: 767px) {

  /* Header titel */
  .site-header__title {
    font-size: 2rem;
  }

  /* Labels op fotoblokken */
  .photo-tile__label {
    font-size: 1.2rem;
  }

  /* Header full-width op mobiel */
  .site-header {
    padding-left: 0;
    padding-right: 0;
  }

  .site-header .container {
    max-width: 100%;
    border-radius: 0;
  }

  /* Footer full-width op mobiel */
  .site-footer {
    padding-left: 0;
    padding-right: 0;
  }

  .site-footer .container {
    max-width: 100%;
  }

  .site-footer__inner {
    border-radius: 0;
  }

  .site-content .container img {
      margin: 20px;
  }
  .site-content .container img:not(.editpic) {
    float: none;
    display: block;
    width: 100%;
    margin: 0 0 1rem 0;
  }
  .site-header .container a {
    right: 16px;
    bottom: 16px;
    font-size: 1rem;
    padding: 10px 18px;
  }

    .bio-btn {
    display: block;
    width: fit-content;
  }

    .bio-downloads {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .bio-btn {
    display: block;
    width: 100%;
    text-align: center;
  }

}
