/* ==========================================================================
   Base & Layout
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background-color: #1a1a1a;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Hero achtergrondafbeelding — object-fit cover (geen vervorming) */
.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  pointer-events: none;
}

/* Hoofdcontainer */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  padding: 0 !important;
  box-sizing: border-box;
  overflow-y: auto;
}

/* ==========================================================================
   Navigation Component (Vast en strak bovenaan)
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.15rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav__brand {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #1a1a1a;
  text-decoration: none;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.nav__brand:hover {
  opacity: 0.7;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__link {
  color: #1a1a1a;
  text-decoration: underline !important;
  font-weight: 600;
  transition: opacity 0.2s ease;
  font-size: 0.95rem;
}

.nav__link:hover {
  text-decoration: underline;
  opacity: 0.7;
}

/* ==========================================================================
    Navigation Dropdown (Overige kenmerken submenu)
    ========================================================================== */
.nav__dropdown {
  position: relative;
}

.nav__link--dropdown {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.nav__chevron {
  transition: transform 0.2s ease;
}

.nav__dropdown:hover .nav__chevron,
.nav__dropdown:focus-within .nav__chevron {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 999;
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-item {
  display: block;
  padding: 0.5rem 1.25rem;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav__dropdown-item:hover {
  background: rgba(26, 26, 26, 0.06);
  text-decoration: none;
}

/* Hamburger knop (standaard verborgen, toon bij mobiel OF overflow) */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

/* Toon hamburger op mobiel */
@media (max-width: 768px) {
  .nav__toggle {
    display: flex !important;
  }
}

/* Toon hamburger wanneer menu overloopt (onafhankelijk van schermgrootte) */
.nav.nav-overflow:not(.nav-open) .nav__toggle {
  display: flex !important;
}

.nav__toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #1a1a1a;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ==========================================================================
    Search Button (Vergrootglas)
    ========================================================================== */
.nav__search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.15s ease;
  border-radius: 50%;
}

.nav__search-btn:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

/* ==========================================================================
    Article Glass Panels (Lijstpagina's)
    ========================================================================== */
.article-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 0 10px rgba(255, 255, 255, 0.3);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  color: #1a1a1a;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.article-glass:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), inset 0 0 10px rgba(255, 255, 255, 0.4);
}

.article-glass h2 {
  margin: 0 0 0.5rem 0;
  color: #1a1a1a;
  font-size: 1.5rem;
  font-weight: 700;
}

.article-glass p {
  margin: 0.5rem 0;
  color: #1a1a1a;
  line-height: 1.5;
}

.article-glass a {
  color: #0066cc;
  text-decoration: underline !important;
  transition: color 0.2s ease;
}

.article-glass a:hover {
  color: #0044aa;
}

/* ==========================================================================
   Foto Galerij Grid & Lightbox
   ========================================================================== */
.gallery-grid-lightbox {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery-item-lightbox {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 0 10px rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item-lightbox:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), inset 0 0 15px rgba(255, 255, 255, 0.2);
}

.gallery-item-lightbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Album Card (fotosysteem)
   ========================================================================== */
.album-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 0 10px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.album-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), inset 0 0 15px rgba(255, 255, 255, 0.2);
}

.album-card-img {
  width: 100%;
  max-height: 300px;
  overflow: hidden;
}

.album-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.album-card:hover .album-card-img img {
  transform: scale(1.05);
}

.album-card-info {
  padding: 1.25rem;
}

.album-card-info h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
  font-weight: 700;
}

.album-card-info p {
  margin: 0.5rem 0;
  color: #1a1a1a;
  line-height: 1.5;
}

.album-card-info small {
  color: #666;
}

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

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

.lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  z-index: 10000;
  line-height: 1;
  transition: color 0.2s ease;
}

.lightbox-close:hover {
  color: #ff4444;
}

/* RESPONSIVE: 1 kolom op mobiel, 2 op tablet, 3 op desktop */
@media (max-width: 600px) {
  .gallery-grid-lightbox {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  .gallery-grid-lightbox {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Responsive Mobiel & Hamburger Menu (< 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.5rem;
  }

  .nav__brand {
    font-size: 1.3rem;
  }

  .nav__toggle {
    display: flex !important;
  }

  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: flex-start;
    padding: 0 2rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    display: none;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  }

  .nav.nav-open .nav__menu {
    display: flex;
    max-height: 400px;
    opacity: 1;
    padding: 1.5rem 2rem;
  }

  .nav.nav-open .nav__toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav.nav-open .nav__toggle span:nth-child(2) {
    opacity: 0;
  }
  .nav.nav-open .nav__toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Mobile dropdown: geen hover, gewoon uitklappen */
  .nav__dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 0.375rem;
    padding: 0.25rem 0 0.25rem 1rem;
    margin: 0.25rem 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav__dropdown:hover .nav__dropdown-menu,
  .nav__dropdown:focus-within .nav__dropdown-menu {
    max-height: 200px;
  }

  .nav__dropdown-item {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   Home / Card Grid Layout
   ========================================================================== */
.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem !important;                    
  padding-left: 3rem !important;           
  padding-right: 3rem !important;          
  padding-bottom: 3rem !important;         
  width: 100%;
  max-width: 100%;
  margin-top: auto;
  align-items: stretch;
}

@media (max-width: 900px) {
  .home-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
}

.glass-card {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), inset 0 0 15px rgba(255, 255, 255, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #1a1a1a;
}

/* Welkomstkaart: zelfde stijl */
.glass-card--welcome {
  background: rgba(255, 255, 255, 0.35);
}

.glass-card h1,
.glass-card h2 {
  margin-top: 0;
  margin-bottom: 1.2rem;
  color: #000000;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.3;
}

.glass-card p,
.glass-card li {
  color: #000000;
  line-height: 1.7;
  font-size: 1.05rem;
}

.glass-card a,
.glass-card li a,
.home-grid a,
.single-glass-card a {
  color: #0d1f3d !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.glass-card a:hover,
.glass-card li a:hover,
.home-grid a:hover,
.single-glass-card a:hover {
  color: #000000 !important;
  opacity: 0.85 !important;
}

.glass-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.glass-card li {
  margin-bottom: 0.6rem;
}

/* Zacht blauwe hyperlinks */
.glass-card a,
.glass-card li a,
.home-grid a,
.single-glass-card a {
  color: #1a3366 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.glass-card a:hover,
.glass-card li a:hover,
.home-grid a:hover,
.single-glass-card a:hover {
  color: #0d1f3d !important;
  opacity: 0.85 !important;
}

/* ==========================================================================
   Single Page / Centered Glass Panel Layout (Over Ons & Artikelen)
   ========================================================================== */
.single-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  flex: 1;
  padding: 6rem 3rem 3rem 3rem;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .single-container {
    padding: 5rem 1.5rem 1.5rem 1.5rem;
  }
}

.single-glass-card {
  background: rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 3rem;
  max-width: 1100px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), inset 0 0 15px rgba(255, 255, 255, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #1a1a1a;
}

/* Afbeeldingen binnen single-glass-card moeten binnen het paneel blijven */
.single-glass-card img,
.article-content img {
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 1rem auto !important;
  border-radius: 8px;
}

.single-glass-card figure,
.article-content figure {
  max-width: 100% !important;
  margin: 1rem auto !important;
}

.single-glass figcaption,
.article-content figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: #333;
  margin-top: 0.5rem;
}

/* ==========================================================================
   Copyright Footer (Links uitgelijnd onderaan elke pagina)
   ========================================================================== */
.site-footer {
  position: fixed;
  bottom: 0.75rem;
  left: 3rem;
  padding: 0.35rem 0.75rem;
  text-align: left;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 6px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100;
}

/* Fotogalerij pagina-titel */
.page-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

/* Video caption op glaspaneel */
.video-caption {
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.video-caption p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #1a1a1a;
  font-weight: 400;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }

  .site-footer {
    padding: 1rem 1.5rem;
  }
}