/* global.css – De Online Timmerman – gedeelde stijlen nav/footer/utilities */

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

:root {
  --navy:   #1F0D00;
  --navy-light: #3D1C08;
  --yellow: #D4820A;
  --yellow-dark: #B06808;
  --white:  #FFFFFF;
  --off-white: #F8F9FB;
  --gray-100: #F1F3F6;
  --gray-200: #E2E6ED;
  --gray-500: #6B7888;
  --gray-700: #374151;
  --gray-900: #111827;
  --green:  #16A34A;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(31,13,0,0.10);
  --shadow-lg: 0 12px 48px rgba(31,13,0,0.16);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

/* ── UTILITIES ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--navy);
  font-weight: 700; font-size: 16px;
  padding: 14px 28px; border-radius: 8px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--navy);
  font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: 8px;
  text-decoration: none; border: 2px solid var(--navy);
  transition: all .2s;
}
.btn-outline:hover { background: var(--navy); color: var(--white) !important; }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--navy);
  font-weight: 700; font-size: 16px;
  padding: 14px 28px; border-radius: 8px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-white:hover { background: var(--gray-100); transform: translateY(-1px); }
.section-label {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--yellow);
  background: rgba(212,130,10,.12);
  padding: 4px 12px; border-radius: 100px;
  margin-bottom: 16px;
}
.section-label.dark { color: var(--navy); background: rgba(31,13,0,.08); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.15; color: var(--white); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; line-height: 1.2; color: var(--gray-900); }
h3 { font-size: 1.2rem; font-weight: 700; color: var(--gray-900); }
p { color: var(--gray-700); }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  font-size: 18px; font-weight: 800; color: var(--white);
  text-decoration: none; letter-spacing: -.02em;
}
.nav-logo span { color: var(--yellow); }
.nav-links {
  display: flex; gap: 32px; list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.75); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; align-items: center; }
.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--white); padding: 6px; margin-left: 8px;
  flex-shrink: 0;
}
.nav-hamburger svg line { transition: transform .22s ease, opacity .22s ease; transform-box: fill-box; transform-origin: center; }
.nav-hamburger.is-open .hb-1 { transform: rotate(45deg) translate(4px, 5px); }
.nav-hamburger.is-open .hb-2 { opacity: 0; }
.nav-hamburger.is-open .hb-3 { transform: rotate(-45deg) translate(4px, -5px); }
@media (max-width: 1024px) {
  .nav-hamburger { display: flex; align-items: center; }
  .nav-links {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column; gap: 0;
    padding: 0; list-style: none;
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    z-index: 998;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { padding: 15px 24px; font-size: 15px; display: block; }
  .nav-cta { display: none; }
}

/* ── FOOTER ── */
footer {
  background: var(--navy); color: rgba(255,255,255,.65);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { font-size: 20px; }
.footer-brand p {
  margin-top: 14px; font-size: 14px; line-height: 1.7;
  color: rgba(255,255,255,.5); max-width: 240px;
}
.footer-col h4 {
  color: var(--white); font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: rgba(255,255,255,.55); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.35); }
.footer-bottom a { color: rgba(255,255,255,.45); text-decoration: none; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Toegankelijkheid: focus ── */
:focus-visible { outline: 3px solid #D4820A; outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; top: -40px; left: 16px; background: #D4820A; color: #1F0D00;
  font-weight: 700; padding: 8px 16px; border-radius: 0 0 8px 8px; text-decoration: none;
  transition: top .15s; z-index: 100000; }
.skip-link:focus { top: 0; }
