*{
box-sizing: border-box;
}

p {
  text-align: justify;
}

/* ===== Basis (mobile-first) ===== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f4f6f8;
  color: #333;
}

/* ===== Navigatie ===== */
/* Sticky Navbar + Shrink effect */
nav {
  background-color: #222;
  padding: 20px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: padding 0.3s, background-color 0.3s;
}

nav.shrink {
  padding: 10px 20px; /* padding verkleinen bij scroll */
  background-color: #222; /* optioneel: kan iets donkerder worden */
}

.nav-logo {
  font-size: 20px;
  font-weight: bold;
  transition: font-size 0.3s;
  color: white;
}

nav.shrink .nav-logo {
  font-size: 16px; /* logo wordt iets kleiner bij scroll */
}


.nav-links {
  display: none;
  flex-direction: column;
  background-color: #222;
  position: absolute;
  top: 50px;
  width: 100%;
  left: 0;
}

.nav-links a {
  position: relative;
  font-size: 18px;
  padding: 10px 15px;
  text-decoration: none;
  color: white;
  z-index: 1;
}

.nav-links a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 160%;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.15s ease;
  z-index: -1;
}

.nav-links a:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.hamburger {
  font-size: 30px;
  color: white;
  cursor: pointer;
}


/* ===== Hero ===== */
.hero {
  text-align: center;
  background-color: #ddd;
  padding-bottom: 10px;
}

.hero img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.hero h1 {
  margin: 10px 0 6px;
  font-size: 40px;
}

.hero p {
  margin: 0 0 10px;
  text-align: center;
  font-size: 16px;
}

/* ===== Main ===== */
main {
  padding: 10px;
  width: 100%;
}

section h2 {
  margin-top: 20px;
}

/* ===== Extra ===== */
.schema {
  width: 100%;
  margin: 20px 0;
}

.blikvanger {
  width: 100%;
  height: auto;
  margin: 20px 0;
}

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-top: 15px;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 20px black;
}

.lightbox .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 50px;
  color: white;
  cursor: pointer;
  padding: 10px;
}

/* ===== Footer ===== */
footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 15px 10px;
}

footer p {
  text-align: center;
}

/* ===== Desktop ===== */
@media (min-width: 769px) {
  nav {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-logo {
    position: absolute;
    left: 25px;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    position: relative;
    background: none;
    width: auto;
    margin: 0 auto;
    top: 0;
    gap: 20px;
  }

  .nav-links a {
    border: none;
    padding: 0 15px;
  }

  .hamburger {
    display: none;
  }

  .hero img {
    max-height: 350px;
  }

  main {
    max-width: 900px;
    margin: auto;
    padding: 20px;
  }

  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* ===== Links page ===== */

.links-page h1 {
  text-align: center;
  margin-bottom: 20px;
}

.links-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* rij */
.link-row {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 15px;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.25s ease;
}

.link-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}

.link-row img {
  width: 70px;
  height: 60px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 5px;
}

.link-row h3 {
  margin: 0;
}

.link-row p {
  margin: 3px 0 0;
  font-size: 14px;
  color: #666;
}

/* ===== Contact pagina container ===== */
.contact-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

/* Titel */
.contact-page h1 {
  text-align: center;
  margin-bottom: 30px;
}

/* Container voor info + formulier */
.contact-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 600px; /* houdt alles binnen een nette kolom */
  box-sizing: border-box;
}

/* Info card */
.info-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 100%;
  box-sizing: border-box;
}

.info-card img {
  height: 170px;            /* hoogte aanpassen naar wens */
  aspect-ratio: 2 / 3;     /* altijd 2:3 verhouding */
  object-fit: cover;       /* vult de ruimte zonder vervormen */
  border-radius: 12px;
}

/* Form card */
.form-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  width: 100%;
  box-sizing: border-box;
}

.form-card form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-card input,
.form-card textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
}

.form-card button {
  padding: 12px;
  background-color: #222;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.form-card button:hover {
  background-color: #444;
}

/* ===== Responsief ===== */
@media (max-width: 768px) {
  .contact-container {
    padding: 0 10px;
  }

  .info-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .info-card img {
    margin-bottom: 10px;
  }
}

.video-container {
  width: 100%;
  max-width: 900px;
  margin: 30px auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.video-container video {
  width: 100%;
  display: block;
}