/* =====================================================
   CSS VARIABLES (Design tokens)
   Centrale kleuren & transparanties
   ===================================================== */
:root{
  --line: rgba(26,24,20,0.14);     /* Subtiele lijnen / borders */
  --text: rgba(26,24,20,0.88);     /* Hoofdtekst */
  --muted: rgba(26,24,20,0.62);    /* Secondary / muted tekst */
  --card: rgba(255,255,255,0.72); /* Card achtergrond (glass look) */
}

/* ===== Responsive helpers ===== */
.desktop-only{ display: flex; }
.mobile-only{ display: none; }

@media (max-width: 820px){
  .desktop-only{ display: none !important; }
  .mobile-only{ display: inline-flex !important; }

  /* op mobiel: grid zodat hamburger rechts past */
  .navbar{
    padding: 0 18px;
    grid-template-columns: 1fr auto 1fr; /* logo blijft mooi center */
  }
}

/* =========================
   NAVBAR (fixed + glass)
   ========================= */
.navbar{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 72px;
  z-index: 50;

  display: grid;
  grid-template-columns: 1fr auto 1fr; /* links - logo - rechts */
  align-items: center;

  padding: 0 40px;

  background: rgba(10,10,10,0.18);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Links: knoppen naast elkaar */
.nav-left{
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Center: logo echt in het midden */
.nav-center{ justify-self: center; }

/* Rechts */
.nav-right{
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Navbar links */
.nav-btn{
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  text-decoration: none;
}

.nav-btn:hover{
  border-bottom-color: rgba(255,255,255,0.7);
}

/* Rond logo “WG” */
.logo-mark{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;

  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);

  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;

  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
  text-decoration: none;
}

/* Navbar scrolled state */
.navbar.scrolled{
  background: rgba(248,246,243,0.95);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.navbar.scrolled a{
  color: #1a1814;
}

/* =========================
   MOBILE MENU (hamburger + side menu)
   ========================= */

/* Hamburger: standaard verbergen (desktop) */
.hamburger{
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;

  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;

  margin-left: 10px;
}

.hamburger span{
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.92);
  border-radius: 2px;
}

/* Overlay */
.menu-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  z-index: 60;
}

/* Side menu */
.side-menu{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(86vw, 360px);

  background: rgba(15,15,15,0.96);
  backdrop-filter: blur(10px);
  border-left: 1px solid rgba(255,255,255,0.08);

  transform: translateX(100%);
  transition: transform .22s ease;
  z-index: 70;

  padding: 18px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-menu-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.side-title{
  color: rgba(255,255,255,0.92);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12px;
}

.menu-close{
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.92);
  font-size: 20px;
  cursor: pointer;
}

.side-link{
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;

  padding: 12px 10px;
  border-radius: 12px;
}
.side-link:hover{
  background: rgba(255,255,255,0.08);
}

/* Open state */
.menu-open .menu-overlay{
  opacity: 1;
  pointer-events: auto;
}
.menu-open .side-menu{
  transform: translateX(0);
}

/* =========================
   MOBILE BEHAVIOR
   ========================= */
@media (max-width: 768px){

  /* Logo perfect gecentreerd: nav-left blijft ruimte innemen maar is onzichtbaar */
  .nav-left{
    visibility: hidden;
  }

  /* Atelier link weg op mobiel (menu zit in side menu) */
  .desktop-link{
    display: none !important;
  }

  /* Hamburger tonen op mobiel */
  .hamburger{
    display: inline-flex;
  }
}

/* Hamburger wordt donker wanneer navbar scrolled is */
.navbar.scrolled .hamburger span{
  background: #1a1814;
}

/* =====================================================
   GLOBAL BODY STYLES
   ===================================================== */
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #f6f3ee; /* Warm, luxueus beige */
}


/* =====================================================
   PAGE WRAPPER
   Gebruikt voor legal pages (privacy, cookies, voorwaarden)
   ===================================================== */
.wrap{
  max-width: 900px;
  margin: 0 auto;
  padding: 110px 24px 60px; /* ruimte voor fixed navbar */
}


/* =====================================================
   CARD (Glass container)
   ===================================================== */
.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 24px;
  backdrop-filter: blur(10px);
}


/* =====================================================
   TYPOGRAFIE
   ===================================================== */
h1{
  margin: 0 0 10px;
  font-size: 2rem;
  letter-spacing: -0.02em;
}

.subtitle{
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.5;
}

h2{
  margin: 26px 0 10px;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

p,
li{
  line-height: 1.7;
  color: var(--text);
}

ul{
  margin: 10px 0 0 20px;
}


/* =====================================================
   META INFO (bv. "laatst bijgewerkt")
   ===================================================== */
.meta{
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}


/* =========================
   FOOTER
   ========================= */
.footer{
  padding: 28px 24px;
  border-top: 1px solid rgba(26,24,20,0.10);
  background: rgba(255,255,255,0.65);
}

/* Desktop layout */
.footer-inner{
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: rgba(26,24,20,0.75);
  text-align: center;
}

.footer-inner a{
  color: rgba(26,24,20,0.75);
  text-decoration: none;
}
.footer-inner a:hover{
  text-decoration: underline;
}

.footer-legal{
  margin-top: 10px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(26,24,20,0.55);
}

.footer-legal a{
  color: rgba(26,24,20,0.55);
  text-decoration: none;
}
.footer-legal a:hover{
  text-decoration: underline;
}

/* =========================
   MOBILE OPTIMALISATIE
   ========================= */
@media (max-width: 768px){

  .footer{
    padding: 32px 18px;
  }

  /* Hoofdtekst onder elkaar */
  .footer-inner{
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
  }

  /* Puntjes verbergen op mobiel */
  .footer .dot{
    display: none;
  }

  /* Legal links rustiger & leesbaarder */
  .footer-legal{
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8rem;
  }
}
