/* =========================
   VARIABLES & RESET
   ========================= */
:root{
  --paper:#f8f6f3;                 /* pagina achtergrond (papier look) */
  --ink:#1a1814;                   /* hoofdtekst */
  --muted: rgba(26,24,20,0.72);    /* secundaire tekst */
  --line: rgba(26,24,20,0.10);     /* subtiele randen */
  --glass: rgba(255,255,255,0.10); /* glaslaag (gebruik je voor badge/overlay) */
}

/* Box model fix: padding/border telt mee => veel stabieler layout */
*{ box-sizing: border-box; }

/* Smooth scroll voor anchors (#contact, etc.) */
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Alles vet zoals jij wou
   Tip: als je later toch contrast wil: geef "muted" blokken font-weight:600 via class */
body, p, a, li, span, button, h1, h2, h3, h4, h5, h6{
  font-weight: 700;
}

/* ===== 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;
}

/* =========================
   PAGE HERO
   ========================= */
.page-hero{
  padding-top: 72px; /* ruimte voor fixed navbar */
  background: linear-gradient(
    to bottom,
    rgba(26,24,20,0.95),
    rgba(26,24,20,0.70)
  );
}

.page-hero-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 90px 24px 70px;
  text-align: center;
  color: rgba(255,255,255,0.95);
}

.page-hero-inner h1{
  margin: 0 0 10px 0;
  font-size: clamp(36px, 5vw, 64px); /* responsive titel */
  letter-spacing: 1px;
}

.page-hero-inner p{
  margin: 0;
  opacity: 0.9;
  letter-spacing: 0.8px;
}

/* =========================
   LAYOUT
   ========================= */
.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 90px;
}

/* Headings voor secties */
.section-head h2{
  margin: 0 0 8px 0;
  font-size: 34px;
}
.section-head p{
  margin: 0 0 26px 0;
  color: var(--muted);
  line-height: 1.6;
}

/* =========================
   HERO SPLIT (2 kolommen)
   ========================= */
.hero-split{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;

  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(0,0,0,0.06);
}

/* Kleine label boven titel */
.eyebrow{
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(26,24,20,0.55);
  margin-bottom: 10px;
}

.hs-text h2{
  margin: 0 0 12px 0;
  font-size: 38px;
}

.lead{
  margin: 0 0 18px 0;
  color: rgba(26,24,20,0.78);
  line-height: 1.7;
}

/* Mini stats (3 blokjes) */
.mini-stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 20px;
}

.stat{
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.75);
  padding: 14px;
}
.stat-num{ letter-spacing: 1px; }
.stat-label{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(26,24,20,0.60);
  letter-spacing: 0.6px;
}

.actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Rechterkant foto */
.hs-media{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.10);
  box-shadow: 0 20px 60px rgba(0,0,0,0.16);
}
.hs-media img{
  width: 100%;
  height: 360px;
  display:block;
  object-fit: cover;
}

/* =========================
   BUTTONS
   ========================= */
.btn{
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-size: 12px;

  background: var(--ink);
  color: #fff;
  border: 1px solid transparent;
}

.btn-ghost{
  background: rgba(255,255,255,0.85);
  color: var(--ink);
  border: 1px solid rgba(26,24,20,0.20);
}

/* =========================
   USP GRID (3 kaarten)
   ========================= */
.usp-grid{
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.usp-card{
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(0,0,0,0.06);
  padding: 18px;
}
.usp-card h3{
  margin: 0 0 8px 0;
  font-size: 18px;
}
.usp-card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

/* =========================
   PROCESS / STEPS
   ========================= */
.process{ padding: 50px 0 10px; }

.steps{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.step{
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;

  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(0,0,0,0.06);
  padding: 16px;
}

.step-num{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display:grid;
  place-items:center;

  background: rgba(26,24,20,0.08);
  border: 1px solid rgba(26,24,20,0.14);
  letter-spacing: 1px;
}

.step-body h3{
  margin: 2px 0 6px 0;
  font-size: 18px;
}
.step-body p{
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

/* =========================
   GALLERY
   ========================= */
.gallery{ padding: 50px 0 10px; }

.gallery-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.g-item{
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.85);
  box-shadow: 0 18px 55px rgba(0,0,0,0.06);
}
.g-item img{
  width: 100%;
  height: 220px;
  display:block;
  object-fit: cover;
}

/* =========================
   CTA
   ========================= */
.cta{
  margin-top: 40px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(26,24,20,0.06);
}
.cta-inner{
  padding: 44px 28px;
  text-align: center;
}
.cta-inner h2{
  margin: 0 0 10px 0;
  font-size: 30px;
}
.cta-inner p{
  margin: 0 auto 18px auto;
  max-width: 650px;
  color: var(--muted);
  line-height: 1.6;
}
.cta-actions{
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================
   CONTACT BLOCK
   ========================= */
.contact-block{ padding: 60px 0 10px; }

.contact-wrap{
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  box-shadow: 0 18px 55px rgba(0,0,0,0.06);
  padding: 26px;
}

.contact-head h2{ margin: 0 0 6px 0; font-size: 30px; }
.contact-head p{ margin: 0 0 22px 0; color: var(--muted); line-height: 1.6; }

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-card{
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  padding: 18px;
}

.contact-card h3{ margin: 0 0 12px 0; font-size: 18px; }

.contact-list{
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: grid;
  gap: 10px;
}

.contact-list li{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  align-items: start;
}

.label{
  color: rgba(26,24,20,0.55);
  letter-spacing: 0.6px;
}
.value a{
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(26,24,20,0.25);
}
.value a:hover{ border-bottom-color: rgba(26,24,20,0.55); }

.contact-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hours-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.hours-title{
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(26,24,20,0.60);
  margin-bottom: 8px;
}

.hours{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.hours li{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(26,24,20,0.08);
}

.hours-note{
  margin: 14px 0 0 0;
  font-size: 12px;
  color: rgba(26,24,20,0.55);
  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;
  }
}


/* =========================
   TO TOP BUTTON
   ========================= */
.to-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(26,24,20,0.65);
  color: rgba(255,255,255,0.95);

  display: grid;
  place-items: center;
  cursor: pointer;

  z-index: 9999;
  backdrop-filter: blur(10px);

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.to-top.show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.to-top:hover{
  background: rgba(26,24,20,0.85);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 980px){
  /* Op tablet alles onder elkaar (minder proppen) */
  .usp-grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: 1fr 1fr; }
  .mini-stats{ grid-template-columns: 1fr; }

  /* Hier ook contact stacken (scheelt extra breakpoint) */
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 900px){
  .hero-split{ grid-template-columns: 1fr; }
  .hs-media img{ height: 280px; }
}

@media (max-width: 640px){
  .navbar{ padding: 0 18px; }
  .nav-right{ gap: 12px; }
  .gallery-grid{ grid-template-columns: 1fr; }
  .hours-grid{ grid-template-columns: 1fr; }
}
