/* Algemene stijl */
body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  background: #fafafa url("../img/AchtergrondWeb.png") center/cover fixed no-repeat;
  color: #222;
}

/* fallback voor mobiel */
@media (max-width: 768px) {
  body {
    background-image: url("../optimized_images/AchtergrondWeb.png");
    background-color: #D3CBC8;
    background-attachment: scroll;
  }
}

/* Containers */
.container {
  width: min(1000px, 92vw);
  margin: auto;
}

/* Header - fixed */
.site-header {
  background: #222;
  color: #fff;
  padding: 0.4rem 0.8rem; /* helft van je huidige verticale padding */
  position: fixed;   /* header blijft vast */
  top: 0;
  left: 0;
  width: 100%;
  
  z-index: 1000;
}

/* Main - ruimte voor vaste header */
.site-main {
  margin-top: 80px; /* pas dit aan als header hoger/lager is */
}

/* Responsive - meer ruimte voor mobiel indien header groter wordt */
@media (max-width: 768px) {
  .site-main {
    margin-top: 90px; /* bijvoorbeeld als header op mobiel stapelt */
  }
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

.logo span {
  color: #e63946; /* rood accent */
}

/* Menu */
.menu a {
  color: #fff;
  margin-left: 1rem;
  text-decoration: none;
  transition: color .3s;
}

.menu a:hover {
  color: #e63946; 
}

/* Secties */
.section {
  padding: 2rem 0;
}

/* Grids en cards */
.cards { gap: 1rem; }

.grid {
  display: grid;
  gap: 1rem;
}

.grid.cards {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid.gallery {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Homepage secties */
.grid.sections {
  display: grid;
  grid-template-columns: 1fr 1fr;        /* twee kolommen */
  grid-template-rows: auto auto;        /* twee rijen */
  grid-template-areas:
    "left1 right"
    "left2 right";
  gap: 2rem;
  margin-top: 2rem;
  align-items: start; /* start elk item bovenaan zijn gridcel */
}

/* expliciete toewijzing op basis van DOM-volgorde */
.grid.sections .blok:nth-child(1) { grid-area: left1; }  /* Webshop */
.grid.sections .blok:nth-child(2) { grid-area: left2; }  /* Biografie */
.grid.sections .blok:nth-child(3) { grid-area: right; }  /* Tentoonstellingen */

/* Zorg dat elk blok bovenaan begint en netjes uitlijnt */
.grid.sections .blok {
  align-self: start;
}

/* Mobiele layout: stapel de items onder elkaar */
@media (max-width: 768px) {
  .grid.sections {
    grid-template-columns: 1fr;
    grid-template-areas:
      "left1"
      "left2"
      "right";
  }
}

.grid.sections .blok {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
  overflow: hidden;
}

.grid.sections .blok:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.grid.sections .blok img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  margin: 1rem auto;
  object-fit: cover;

  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}


.card {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}

.card img,
.gallery img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* Knoppen */
.btn {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 6px;
  background: #e63946;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: background .3s;
}

.btn:hover {
  background: #c53030;
}

.btn.primary { font-weight: bold; }

/* Formulieren */
.contact-form {
  display: grid;
  gap: .6rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: .6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Bestelformulier producten */
.bestelveld {
  border: 1px solid #ccc;
  padding: 1rem;
  border-radius: 6px;
}

.product-keuze {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: .6rem;
}

.product-keuze label {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin: 0;
  white-space: nowrap;
  min-width: 150px;
}

.product-keuze input[type="checkbox"] {
  width: 18px;
  flex-shrink: 0;
}

.product-keuze input[type="number"] {
  width: 60px;
  text-align: center;
}
/* Tentoonstellingen – afbeelding naast tekst */
.exhibition-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.exhibition-image {
  flex: 1 1 300px;
  max-width: 400px;
}

.exhibition-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.exhibition-text {
  flex: 2 1 400px;
}
/* Tentoonstelling box */
.exhibition-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 3rem;

  background-color: #fff; /* witte achtergrond voor de box */
  padding: 1.5rem 2rem;  /* ruimte rondom inhoud */
  border-radius: 12px;   /* afgeronde hoeken */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* subtiele schaduw */
}

/* Footer */
.site-footer {
  font-family: 'Open Sans', Arial, sans-serif;
  background-color: #fafafa;
  color: #222;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem 1rem 0; /* alleen boven en tussen de content */
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.footer-contact p {
  margin: 4px 0;
  font-size: 13px;
}

.footer-contact a {
  color: #222;
  text-decoration: none;
}

.footer-contact a:hover {
  color: #e63946;
}

.footer-accent {
  height: 6px;
  width: 90px;
  background-color: #e63946;
  border-radius: 3px;
  margin: 1rem auto;
}

/* Donkergrijze balk - volle breedte */
.footer-bottom {
  background-color: #222;
  color: #fff;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw; /* volle breedte */
  padding: 10px 1rem;
  position: relative;
  bottom: 0;
  left: 0;
  box-sizing: border-box;
}

.footer-copy {
  text-align: center;
  flex: 1;
}

/* Social links iets naar rechts */
.footer-social {
  position: absolute;
  right: 1rem;
}

.footer-social a {
  color: #fff;
  text-decoration: none;
  margin-left: 10px;
}

.footer-social span {
  color: #555;
  margin: 0 6px;
}

/* Mobiel */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 10px 0;
  }

  .footer-social {
    position: static;
    margin-top: 6px;
  }
}
/* Lightbox overlay */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

/* Open lightbox via :target */
.lightbox:target {
  display: flex;
}

/* Afbeelding in lightbox */
.lightbox img {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

/* Sluitknop */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  line-height: 1;
  transition: color .3s;
}

.lightbox-close:hover {
  color: #e63946; /* rood accent, zoals je menu */
}
/* Alle afbeeldingen in de slideshow dezelfde grootte */
#slideshow {
  width: 100%;
  max-width: 600px;      /* kies zelf een breedte */
  height: 400px;         /* vaste hoogte */
  object-fit: cover;     /* snijdt netjes bij, vult het kader */
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  border-radius: 8px;
}

.slideshow-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

/* Slideshow knoppen */
.slideshow-controls button {
  background-color: #444;
  color: #fff;
  border: none;
  padding: 10px 16px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.slideshow-controls button:hover {
  background-color: #666;
}

/* Caption onder slideshow */
.caption {
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
  color: #555;
  font-style: italic;
}

/* Verwijder mobiele preview afbeelding volledig */
.mobile-preview {
  display: none;
}

/* Tekstsectie blijft full width */
.exhibition-text {
  width: 100%;
  text-align: left;
}

/* Mobiele layout */
@media (max-width: 768px) {
  .exhibition-content {
    padding: 1rem 1rem;
  }

  .exhibition-content #slideshow {
    max-width: 100%;
    height: auto;       /* behoud verhoudingen */
  }
}
.caption {
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
  color: #555;   /* subtiel grijs */
  font-style: italic;
}
/* Modal styling */
.modal {
  display: none; /* default verborgen */
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover { color: black; }

table { width: 100%; border-collapse: collapse; margin-top: 10px; }
th, td { border: 1px solid #ccc; padding: 8px; text-align: center; }
th { background-color: #f2f2f2; }

input#num-cards {
  width: 60px;
  margin: 10px 0;
  padding: 4px;
}
/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* De knop */
.dropbtn {
  cursor: pointer;
  text-decoration: none;
  padding: 8px 12px;
  display: inline-block;
}

/* Dropdown inhoud */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links in dropdown */
.dropdown-content a {
  color: #333;
  padding: 10px 14px;
  text-decoration: none;
  display: block;
}

/* Hover effect */
.dropdown-content a:hover {
  background-color: #f2f2f2;
}

/* Toon dropdown bij hover */
.dropdown:hover .dropdown-content {
  display: block;
}