html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  overflow-y: scroll;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #222;
}

/* ─── Topbar ─────────────────────────────────────────────── */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 72px;
  background: rgba(20, 20, 20, 0.72);
  backdrop-filter: blur(10px);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.topbar-brand svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.topbar-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
}

.topbar-links {
  display: flex;
  gap: 2rem;
}

.topbar-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.topbar-links a:hover,
.topbar-links a.active {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('images/bg.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  max-width: 640px;
}

.hero-content h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}

.hero-content p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin-bottom: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

/* ─── Scroll-down pijl ───────────────────────────────────── */
.scroll-down {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  animation: bounce 2s infinite;
  transition: background 0.2s, border-color 0.2s;
}

.scroll-down svg {
  width: 1.7rem;
  height: 1.7rem;
}

.scroll-down:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

.btn {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  background: #fff;
  color: #111;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}

.btn-secondary {
  background: transparent;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
  box-shadow: none;
}

.btn-secondary:hover {
  background: #1a1a1a;
  color: #fff;
  box-shadow: none;
}

.gallery-more {
  text-align: center;
  margin-top: 3rem;
}

/* ─── Gallery section ────────────────────────────────────── */
.gallery-section {
  padding: 5rem 2.5rem 6rem;
  background: #d8d5d2;
}

.gallery-section h2 {
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 2.8rem;
  color: #1a1a1a;
}

/* ─── Hamburger ──────────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}

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

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(160px, 18vw, 240px);
  gap: 0.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22), 0 1px 4px rgba(0, 0, 0, 0.12);
}

.gallery-item.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-equal .gallery-item.featured {
  grid-column: span 1;
  grid-row: span 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s;
  pointer-events: none;
}

.gallery-item:hover::after {
  background: rgba(0, 0, 0, 0.07);
}

.gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0.55rem 0.75rem 0.7rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.62));
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  border-radius: 0 0 10px 10px;
}

.gallery-item:hover .gallery-label {
  opacity: 1;
}

/* ─── Lightbox ───────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 6, 6, 0.94);
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
  touch-action: none;
}

.lb-img-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: 80vw;
}

.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 3px;
  display: block;
  box-shadow: 0 12px 60px rgba(0,0,0,0.6);
  cursor: zoom-in;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}

.lb-titel {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  margin: 0;
  padding: 0.1rem 0;
}

.lb-counter {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.lightbox-close {
  position: absolute;
  top: 1.4rem;
  right: 1.8rem;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  user-select: none;
  background: rgba(0,0,0,0.45);
  border: none;
  border-radius: 50%;
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
  z-index: 10;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.lightbox-close:hover {
  background: rgba(0,0,0,0.75);
}

.lb-nav {
  background: rgba(0,0,0,0.4);
  border: none;
  border-radius: 4px;
  color: #fff;
  font-size: 3.5rem;
  cursor: pointer;
  padding: 1.2rem 1.6rem;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.2s;
  user-select: none;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 210;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.lb-prev { left: 0.4rem; }
.lb-next { right: 0.4rem; }

.lb-nav:hover {
  background: rgba(0,0,0,0.7);
}

/* ─── Foto's page hero ─────────────────────────────────── */
.page-hero {
  height: 360px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: -30px;
  background: url('images/bg.jpg') center 40% / cover no-repeat;
  filter: blur(8px);
  z-index: 0;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.page-hero h1 {
  position: relative;
  z-index: 2;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  margin-top: 72px;
}

/* ─── Content section (VvE etc.) ────────────────────────── */
.content-section {
  background: #d8d5d2;
  padding: 5rem 1.5rem 6rem;
}

.content-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.content-wrap h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.content-wrap h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 2.25rem 0 0.5rem;
}

.content-wrap p {
  color: #444;
  line-height: 1.75;
  margin: 0;
}

.vve-login {
  margin: 1.75rem 0 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-dark {
  display: inline-block;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}

.btn-dark:hover {
  background: #333;
}

.btn-dark.btn-outline {
  background: transparent;
  color: #555;
  border: 2px solid #bbb;
}

.btn-dark.btn-outline:hover {
  background: #f0f0f0;
  color: #333;
  border-color: #999;
}

.vve-tabel {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
  font-size: 0.92rem;
}

.vve-tabel tr {
  border-bottom: 1px solid #c9c3b9;
}

.vve-tabel th {
  text-align: left;
  font-weight: 600;
  color: #888;
  padding: 0.6rem 1rem 0.6rem 0;
  white-space: nowrap;
  width: 8rem;
}

.vve-tabel td {
  color: #333;
  padding: 0.6rem 0;
}

.vve-tabel td a {
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Footer ─────────────────────────────────────────────── */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body > *:not(footer):not(nav) {
  /* individual sections grow as needed */
}

.content-section {
  flex: 1;
}

footer {
  margin-top: auto;
  text-align: center;
  padding: 1.5rem;
  background: #141414;
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

/* ─── Mobile ─────────────────────────────────────────────── */
@media (max-width: 640px) {
  .topbar {
    padding: 0 1.25rem;
  }

  .hamburger {
    display: flex;
  }

  .topbar-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: rgba(14, 14, 14, 0.97);
    backdrop-filter: blur(12px);
    padding: 1.5rem 0;
    z-index: 99;
  }

  .topbar-links.open {
    display: flex;
  }

  .topbar-links a {
    padding: 0.9rem 2rem;
    font-size: 0.9rem;
    border-bottom: none;
    width: 100%;
    text-align: center;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: clamp(200px, 55vw, 300px);
  }

  .gallery-item.featured {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-section {
    padding: 3rem 1rem 4rem;
  }

  .lb-img-wrap {
    max-width: 95vw;
  }

  .lb-nav {
    padding: 1rem 0.8rem;
    font-size: 2.5rem;
  }

  .lb-prev { left: 0; }
  .lb-next { right: 0; }

  .hero-content {
    padding: 1.5rem 1rem;
  }
}
