/* styles.css */
* {
  box-sizing: border-box;
}

html {
  /* smooth scroll bij ankerlinks */
  scroll-behavior: smooth;

  /* belangrijk bij fixed menu: zorgt dat #anker niet “onder” de topbar eindigt */
  scroll-padding-top: 72px;
}

html {
  background: url("img/overig/background.jpg") center / cover no-repeat;
}

.page-title {
  text-align: left;
  padding: 10px 50px;
  font-family: Consolas, sans-serif;
}


body {
  margin: 0;
  position: relative; 
  z-index: 1; 
  padding-top: 72px; 
  font-family: Consolas, sans-serif;
  line-height: 1.5;
  background: transparent;
  color: #fff;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2px;
}

/* fixed topbar */
.topbar {
  position: fixed; 
  top: 0;
  left: 0;
  right: 0;
  height: 72px; 
  background: black;
  border-bottom: 1px solid black;
  z-index: 1;
}

.nav {
  flex-wrap: wrap; 
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px; 
}

.logo {
  font-weight: 700;
  text-decoration: none;
  color: inherit;
}

.nav-links {
  flex-wrap: wrap; 
  justify-content: flex-end; 
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: white;
  padding: 8px 10px;
  border-radius: 10px;
}

.nav-links a:hover {
  background: lightgrey;
  color: black;
}

/* header + footer image */

.hero {
  min-height: 650px;

  background-image: url("img/overig/headerPic.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: flex-end; /* tekst onderin (optioneel) */
}


.footer-hero {
  margin-top: 32px;
  min-height: 140px;            /* kleiner dan hero */
  /* background-image: url("img/overig/headerPic.jpg");  */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  position: relative;
  color: white;
}


/* over mij foto + tekst */

.about {
  display: flex;
  gap: 16px;
  align-items: flex-start; 
}

.profile-photo {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 12px; 
  flex: 0 0 auto; /* niet laten uitrekken */
}

@media (max-width: 700px) {
  .about {
    flex-direction: column;
  }

  .profile-photo {
    width: 220px;
    height: 220px;
  }
}


/* .about-text {
  flex: 1; 
} */


/* PORTFOLIO */

/* de klikbare tegel */
.photo {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: block;
  line-height: 0; /* voorkomt mini-ruimte door inline baseline */
}

/* thumbnails: vullen de cel, mogen croppen */
.photo img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 1 / 1;   /* maakt een strak grid; pas aan als je wil */
  object-fit: cover;     /* crop i.p.v. rekken */
}

/* Lightbox basis */
.lightbox {
  position: fixed;
  inset: 0;
  display: none; /* wordt open gezet via JS */
  z-index: 2000;
}

.lightbox.is-open {
  display: block;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
}

.lightbox-content {
  position: absolute;
  inset: 24px;
  margin: 0;
  display: grid;
  place-items: center;
}

.lb-image {
  max-width: min(92vw, 1100px);
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  display: block;
}

.lb-caption {
  margin-top: 12px;
  color: white;
  font-size: 14px;
  text-align: center;
  max-width: min(92vw, 1100px);
}

/* knoppen */
.lb-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 26px;
  cursor: pointer;
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  color: white;
  font-size: 34px;
  cursor: pointer;
}

.lb-prev { left: 18px; }
.lb-next { right: 18px; }

/* op telefoon: nav-knoppen iets lager/kleiner als je wil */
@media (max-width: 480px) {
  .lb-nav { width: 44px; height: 44px; font-size: 28px; }
}


/* Grid zonder gaps */

.photo-grid { 
  display: grid; 
  gap: 0; 
  border-radius: 12px;
  overflow: hidden;  
}

.photo {
  padding: 1px;
  border: 1px;
  background: none;
  line-height: 0;
}

.photo img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}


/* Even kijken of onderstaande nodig is (voor sections gedeelte)  */

/* tablet */
@media (min-width: 100px) {
  .photo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* desktop */
@media (min-width: 1000px) {
  .photo-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* sections */


.section {
  background: black;
  color: #fff; 
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 20px;
  margin: 18px 0;
  min-height: 20vh; 
  /* min-width: 100vh;  */
}

/* Contact form */

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  font: inherit; /* neemt jouw site-font over */
  background: white;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.button {
  background: lightgrey;      /* kleur */
  color: black; 
  padding: 12px 16px;    /* grootte */
  border-radius: 10px;   /* ronding */
  border: 0;
  font-family: Consolas, sans-serif;
}

/* Deze is voor het hidden veld voor bots */
.hp { position: absolute; left: -9999px; }

/* Achtergrondlaag */


/* .bg-stack img {
  width: 100%;
  height: 100vh;         
  object-fit: cover;
  display: block;
  position: absolute;
  z-index: -10;
} */
