/* ============================================================
   ALDACO BV — Shared Stylesheet
   Warm paper editorial · Three pages: index, about, contact
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  --paper:       #F5F2EC;
  --paper-2:     #EDE9E0;
  --paper-3:     #E4DFD4;
  --ink:         #1A1F1C;
  --ink-soft:    #4A5050;
  --ink-faint:   #8A9090;
  --rule:        #D4CEC3;
  --accent:      #2D5C60;   /* umbrella teal — nav, labels, marks */
  --accent-deep: #1E3F42;

  /* brand accents */
  --bouwerk:     #C4956A;   /* amber — renovation */
  --codedesign:  #4A6FA5;   /* slate blue — web/digital */
  --notifai:     #25C16F;   /* WhatsApp green — SaaS */

  --maxw: 1200px;
  --nav-h: 72px;

  /* type scale */
  --t-xs:  11px;
  --t-sm:  13px;
  --t-base:16px;
  --t-md:  18px;
  --t-lg:  22px;
  --t-xl:  28px;
  --t-2xl: 38px;
  --t-3xl: 54px;
  --t-hero: clamp(52px, 7.5vw, 104px);
}

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: var(--t-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* paper grain overlay */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 999;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
strong { font-weight: 700; }

/* ---------- TYPE HELPERS ---------- */
.serif {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.05;
}
.eyebrow {
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

/* ---------- LAYOUT ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.divider { height: 1px; background: var(--rule); }
.divider--full { max-width: none; }

/* ---------- NAVIGATION ---------- */
.nav-wrap {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav-wrap.scrolled {
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px) saturate(130%);
  border-bottom-color: var(--rule);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: .01em;
}
.nav-logo .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
  flex-shrink: 0;
}
.nav-logo .bv-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--accent);
  transform: translateY(-6px);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink-soft);
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links .nav-lang {
  display: flex;
  gap: 8px;
  padding-left: 24px;
  border-left: 1px solid var(--rule);
  font-size: var(--t-xs);
  letter-spacing: .1em;
}
.nav-links .nav-lang a { color: var(--ink-faint); }
.nav-links .nav-lang a.on { color: var(--ink); font-weight: 700; }
.nav-links .nav-lang a::after { display: none; }

/* burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s, opacity .3s;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  padding: 16px 0 24px;
  z-index: 99;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform .3s, opacity .3s;
  pointer-events: none;
}
.mobile-nav.open {
  transform: none;
  opacity: 1;
  pointer-events: all;
}
.mobile-nav a {
  display: block;
  padding: 14px 40px;
  font-size: var(--t-md);
  font-weight: 500;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule);
  transition: color .2s, padding-left .2s;
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a:hover { color: var(--ink); padding-left: 52px; }
.mobile-lang {
  display: flex;
  gap: 16px;
  padding: 16px 40px 0;
  font-size: var(--t-xs);
  letter-spacing: .12em;
}
.mobile-lang a { color: var(--ink-faint); }
.mobile-lang a.on { color: var(--ink); font-weight: 700; }

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s, transform .75s;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 40px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -.01em;
  color: var(--paper);
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-col h4 {
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(245,242,236,.45);
  margin-bottom: 14px;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: var(--t-sm);
  color: rgba(245,242,236,.65);
  margin-bottom: 8px;
  transition: color .2s;
}
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom span {
  font-size: var(--t-xs);
  letter-spacing: .06em;
  color: rgba(245,242,236,.35);
}

/* ---------- RESPONSIVE BREAKPOINTS ---------- */
@media (max-width: 860px) {
  .wrap { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: block; }
  .footer-inner { padding: 0 24px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links { gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
