/* --- RESET VOOR TWENTY TWENTY-FIVE --- */
body,
html {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
}

/* --- GALLERY --- */
.fb-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.fb-gallery img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fb-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* --- LIGHTBOX --- */
.fb-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  /* boven theme-lagen */
}

.fb-lightbox-overlay.active {
  display: flex;
}

.fb-lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fb-lightbox-overlay.active .fb-lightbox-image {
  opacity: 1;
  transform: scale(1);
}

/* --- NAVIGATIE & SLUITEN --- */
.fb-lightbox-nav,
.fb-lightbox-close {
  position: absolute;
  color: #fff;
  font-size: 2.2rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  padding: 8px 14px;
  user-select: none;
  transition: background 0.25s ease;
}

.fb-lightbox-nav:hover,
.fb-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

.fb-lightbox-prev {
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.fb-lightbox-next {
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.fb-lightbox-close {
  top: 20px;
  right: 25px;
}

/* --- KNOPPEN --- */
.fb-button {
  display: inline-block;
  padding: 10px 15px;
  background: #6D8877;
  color: #ffffff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.fb-button:hover {
  background: #b0aeae;
}

s
/* -----------------------------------------
   MODERNE STYLING – VEILIG, FUNCTIONEEL
----------------------------------------- */

/* Thumbnails wat luchtiger en responsief */
.fb-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Thumbnail-afbeeldingen */
.fb-gallery img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover-effect met subtiele diepte */
.fb-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* Zorgt dat lightbox boven alle theme-elementen staat */
.glightbox-container {
  z-index: 999999 !important;
}

/* Optionele lichte fade-in bij openen van de lightbox */
.glightbox-open .gdesc-inner,
.glightbox-open .gslide-image img {
  animation: fadeInZoom 0.4s ease forwards;
}

@keyframes fadeInZoom {
  from {
    opacity: 0;
    transform: scale(0.97);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ========================================
   WATERMERK STIJLEN
   ======================================== */

/* Kleine foto's (grid) */
.fb-gallery .fb-thumb {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 10px;
}

.fb-gallery .fb-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border-radius: 10px;
}

.fb-gallery .fb-thumb:hover img {
  transform: scale(1.03);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

/* Subtiel watermerk op kleine thumbnails */
.fb-thumb::after {
  content: "";
  background: url("../img/watermark.png") center/70% no-repeat;
  opacity: 0.08;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  width: 120%;
  height: 120%;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Lightbox (grote foto) */
.glightbox-clean .gslide-media {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
  background: #000;
}

.glightbox-clean .gslide-media img {
  border-radius: 12px;
  object-fit: contain;
  max-width: 100%;
  max-height: 90vh;
}

.glightbox-clean .gslide-media::after {
  content: "";
  background: url("../img/watermark.png") center/100% no-repeat;
  opacity: 0.99;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  width: 100%;
  height: 100%;
  pointer-events: none;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.4));
}