/* House of Fadez — gedeelde huisstijl (grijstinten & gebroken wit) */

/* Lettertypen (lokaal gehost in /fonts) */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/BebasNeue-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/Barlow-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/Barlow-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('/fonts/Barlow-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal; font-weight: 700; font-display: swap;
  src: url('/fonts/Barlow-700.woff2') format('woff2');
}

:root {
  --achtergrond: #ece7db;   /* gebroken wit / beige */
  --donker: #e2dccc;        /* iets donkerder beige voor secties en invoervelden */
  --paneel: #f7f4ec;        /* off-white kaarten */
  --rand: #d2cbba;
  --inkt: #2e2a24;          /* donkergrijze tekst */
  --grijs: #6f6a5e;         /* secundaire tekst */
  --accent: #33302a;        /* zwart-grijze accentkleur (knoppen, koppen) */
  --accent-licht: #5f5847;
  --nav-achtergrond: #26231e;
  --nav-tekst: #efe9db;
  --rood: #a8433c;
  --groen: #4c7a5e;
  --oranje: #d18a3a;

  /* Oude namen als alias, zodat alles consistent blijft */
  --zwart: var(--achtergrond);
  --wit: var(--inkt);
  --goud: var(--accent);
  --goud-licht: var(--accent-licht);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--achtergrond);
  color: var(--inkt);
  font-family: 'Barlow', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Bebas Neue', 'Barlow', sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
}

a { color: var(--accent); }

.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* ---- Navigatie ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-achtergrond);
  border-bottom: 3px solid var(--accent-licht);
}
.nav-inner {
  max-width: 1000px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem; letter-spacing: 0.14em;
  color: var(--nav-tekst); text-decoration: none; line-height: 1;
  display: inline-flex; align-items: center; gap: 12px;
}
.logo .logo-beeld { height: 52px; width: auto; max-width: 40vw; object-fit: contain; display: block; }
.logo span { color: #c8bda2; }
.nav-links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.nav-links a { color: #b9b2a1; text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--nav-tekst); }
.nav-links a.knop { color: var(--paneel); }
.nav-links a.knop:hover { color: #fff; }

/* ---- Knoppen ---- */
.knop {
  display: inline-block;
  background: var(--accent);
  color: var(--paneel);
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 13px 30px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.knop:hover { background: var(--accent-licht); }
.knop:active { transform: scale(0.98); }
.knop:disabled { opacity: 0.45; cursor: not-allowed; }
.knop-secundair {
  background: transparent;
  color: var(--inkt);
  border: 1px solid var(--accent-licht);
}
.knop-secundair:hover { background: var(--donker); border-color: var(--accent); }
.knop-gevaar { background: transparent; color: var(--rood); border: 1px solid var(--rood); }
.knop-gevaar:hover { background: rgba(168, 67, 60, 0.1); }

/* ---- Formulieren ---- */
label { display: block; font-size: 0.9rem; color: var(--grijs); margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="time"], input[type="password"], input[type="number"], select, textarea {
  width: 100%;
  background: #fdfbf6;
  border: 1px solid var(--rand);
  color: var(--inkt);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
.veld { margin-bottom: 18px; }

/* ---- Kaarten / panelen ---- */
.paneel {
  background: var(--paneel);
  border: 1px solid var(--rand);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(46, 42, 36, 0.06);
}

.melding-fout {
  background: rgba(168, 67, 60, 0.08);
  border: 1px solid var(--rood);
  color: #7c322d;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 14px 0;
}
.melding-ok {
  background: rgba(76, 122, 94, 0.1);
  border: 1px solid var(--groen);
  color: #35573f;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 14px 0;
}

/* ---- Popup / modal ---- */
.modal-achtergrond {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(38, 35, 30, 0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal {
  background: var(--paneel);
  border: 1px solid var(--rand);
  border-radius: 12px;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: 0 10px 40px rgba(46, 42, 36, 0.25);
}
.modal h2 { color: var(--accent); margin-bottom: 14px; font-size: 1.7rem; }
.modal h3 { margin: 18px 0 8px; font-size: 1.2rem; }
.modal p { color: var(--grijs); margin-bottom: 10px; font-size: 0.95rem; }
.modal-sluiten { float: right; background: none; border: none; color: var(--grijs); font-size: 1.6rem; cursor: pointer; line-height: 1; }
.modal-sluiten:hover { color: var(--inkt); }

.verborgen { display: none !important; }

@media (max-width: 600px) {
  .nav-links { gap: 14px; font-size: 0.9rem; }
  .modal { padding: 20px; }
}
