/* =====================================================
   PORTFOLIO.CSS — Stijlen alleen voor portfolio.html
   ===================================================== */

/* ── HERO BANNER ── */
.portfolio-hero {
  background: var(--groen);
  padding: calc(var(--nav-h) + 60px) 64px 64px;
  text-align: center;
}
.portfolio-hero .label {
  font-size: .72rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--groen-licht); margin-bottom: 16px; display: block;
}
.portfolio-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900; color: var(--creme);
  letter-spacing: -.03em; line-height: .95; margin-bottom: 20px;
}
.portfolio-hero h1 em { font-style: italic; color: var(--geel); }
.portfolio-hero p {
  color: rgba(245,240,232,.55); font-size: 1rem;
  max-width: 500px; margin: 0 auto; line-height: 1.7;
}

/* ── FILTER TABS ── */
.filter-wrap {
  display: flex; justify-content: center; gap: 8px;
  padding: 40px 64px 0; flex-wrap: wrap;
}
.filter-btn {
  background: none; border: 1.5px solid rgba(26,58,42,.15);
  color: #555; font-family: 'DM Sans', sans-serif;
  font-size: .78rem; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; padding: 9px 20px;
  border-radius: 100px; cursor: pointer; transition: all .2s;
}
.filter-btn:hover { border-color: var(--groen); color: var(--groen); }
.filter-btn.actief { background: var(--groen); border-color: var(--groen); color: var(--geel); }

/* ── MASONRY GRID ── */
.portfolio-main { padding: 40px 64px 80px; }
.masonry { columns: 3; column-gap: 20px; }
.masonry-item {
  break-inside: avoid; margin-bottom: 20px;
  border-radius: 6px; overflow: hidden; position: relative;
  cursor: pointer; transition: transform .3s, box-shadow .3s;
}
.masonry-item:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(26,58,42,.18); }
.masonry-item svg,
.masonry-item .item-img { width: 100%; height: auto; display: block; }
.masonry-item .item-overlay {
  position: absolute; inset: 0; background: rgba(26,58,42,.85);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  opacity: 0; transition: opacity .3s;
}
.masonry-item:hover .item-overlay { opacity: 1; }
.item-type { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--geel); font-weight: 500; }
.item-naam { font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--creme); font-weight: 700; text-align: center; padding: 0 20px; }
.item-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(26,58,42,.8); backdrop-filter: blur(4px);
  color: var(--geel); font-size: .65rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
  border: 1px solid rgba(212,232,74,.3);
}
.masonry-item.verborgen { display: none; }

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10,20,12,.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s; padding: 40px;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-inner { max-width: 900px; width: 100%; position: relative; }
.lightbox-img { width: 100%; border-radius: 6px; display: block; }
.lightbox-info { padding: 20px 0 0; }
.lightbox-type { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--groen-licht); margin-bottom: 6px; }
.lightbox-naam { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--creme); }
.lightbox-close {
  position: absolute; top: -16px; right: -16px;
  width: 40px; height: 40px; background: var(--geel);
  border: none; border-radius: 50%; cursor: pointer;
  font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lightbox-close:hover { background: var(--geel-zacht); }
.lightbox-nav { display: flex; gap: 12px; margin-top: 20px; }
.lightbox-nav button {
  background: rgba(245,240,232,.08); border: 1px solid rgba(245,240,232,.15);
  color: var(--creme); padding: 10px 24px; border-radius: 3px; cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: .85rem; transition: background .2s;
}
.lightbox-nav button:hover { background: rgba(245,240,232,.15); }

/* ── UPLOAD TIP ── */
.upload-tip {
  background: var(--creme); border: 2px dashed rgba(26,58,42,.2);
  border-radius: 8px; padding: 48px; text-align: center;
  margin: 0 64px 40px;
}
.upload-tip h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--groen); margin-bottom: 10px; }
.upload-tip p { font-size: .88rem; color: #888; line-height: 1.6; max-width: 480px; margin: 0 auto; }
.upload-tip code { background: rgba(26,58,42,.08); padding: 2px 8px; border-radius: 3px; font-size: .82rem; color: var(--groen); }

/* ── CTA BANNER ── */
.portfolio-cta-banner { background: var(--groen); padding: 80px 64px; text-align: center; }
.portfolio-cta-banner h2 { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 900; color: var(--creme); margin-bottom: 16px; }
.portfolio-cta-banner p { color: rgba(245,240,232,.55); font-size: .98rem; margin-bottom: 36px; }

/* ── FOOTER (portfolio-versie, simpeler) ── */
footer {
  background: #0b1910; padding: 32px 64px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; }
.footer-logo-tekst { font-family: 'Playfair Display', serif; font-weight: 900; color: var(--creme); font-size: 1rem; }
.footer-logo-tekst em { font-style: italic; color: var(--geel); }
.footer-copy { font-size: .76rem; color: rgba(245,240,232,.22); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .masonry { columns: 2; }
  nav { padding: 0 24px; }
  .portfolio-hero, .portfolio-main, .upload-tip,
  .portfolio-cta-banner, footer { padding-left: 24px; padding-right: 24px; }
  .filter-wrap { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 540px) {
  .masonry { columns: 1; }
  .nav-links { display: none; }
}
