/* ==================================================================
   PATRON — huisstijl IC Grote Beer
   Afgeleid van de officiële stijlgids (icgrotebeer-styleguide.md)
   ================================================================== */

:root {
  --kleur-goud:  #9E7631;
  --kleur-zwart: #000000;
  --kleur-wit:   #FFFFFF;
  --kleur-creme: #FAF4E7;
  --kleur-grijs: #8A8A8A;

  --font-basis: "Montserrat", Helvetica, Roboto, Arial, sans-serif;
  --gewicht-light: 300;
  --gewicht-semibold: 600;
  --gewicht-bold: 700;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-basis);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--kleur-zwart);
  background-color: var(--kleur-wit);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--kleur-goud);
  text-decoration: none;
}
a:hover { text-decoration: none; opacity: 0.8; }

h1, h2, h3, h4 { margin: 0 0 0.5em; }
h2 { font-size: 40px; font-weight: 400; line-height: 1.4; letter-spacing: 1px; }
h4 { font-size: 25px; font-weight: 400; line-height: 1.4; letter-spacing: 1px; }

/* -------- Header -------- */
.site-header {
  background-color: var(--kleur-wit);
  border-bottom: 1px solid #eee;
}
.site-header .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header .brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.site-header .brand .logo {
  font-size: 26px;
  font-weight: var(--gewicht-bold);
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--kleur-zwart);
}
.site-header .brand .logo b { color: var(--kleur-goud); }
.site-header .brand .org {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--kleur-grijs);
}
.site-nav a {
  margin-left: 24px;
  font-size: 13px;
  font-weight: var(--gewicht-semibold);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--kleur-zwart);
}
.site-nav a:hover { color: var(--kleur-goud); }

/* -------- Knop -------- */
.button {
  display: inline-block;
  background-color: var(--kleur-goud);
  color: var(--kleur-wit);
  padding: 12px 25px;
  border: 1px solid transparent;
  border-radius: 0;
  font-weight: var(--gewicht-semibold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
}
.button:hover { opacity: 0.9; text-decoration: none; }
.button-ghost {
  background: transparent;
  color: var(--kleur-goud);
  border: 1px solid var(--kleur-goud);
  padding: 8px 16px;
  font-size: 11px;
}
.button-ghost:hover { background: var(--kleur-goud); color: var(--kleur-wit); opacity: 1; }

/* -------- Header user-label -------- */
.nav-user {
  margin-left: 24px;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--kleur-grijs);
  text-transform: none;
}

/* -------- Helpers -------- */
.muted { color: var(--kleur-grijs); }
.small { font-size: 13px; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.label {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--kleur-goud);
  font-weight: var(--gewicht-semibold);
  margin-bottom: 8px;
}

/* -------- Flash-meldingen -------- */
.flash {
  max-width: 1100px;
  margin: 16px auto 0;
  padding: 12px 18px;
  font-size: 14px;
  border-left: 4px solid var(--kleur-goud);
  background: var(--kleur-creme);
  word-break: break-word;
}
.flash-success { border-left-color: #2e7d32; background: #eef7ee; }
.flash-error   { border-left-color: #c62828; background: #fdecea; }
.flash-info    { border-left-color: var(--kleur-goud); }

/* -------- Auth-kaart -------- */
.auth-wrap {
  display: flex;
  justify-content: center;
  padding: 60px 24px;
}
.auth-card {
  background: var(--kleur-wit);
  border: 1px solid #eee;
  padding: 40px;
  width: 100%;
  max-width: 420px;
}
.auth-card h2 { font-size: 28px; }

/* -------- Formulieren -------- */
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack label, .panel label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--kleur-grijs); letter-spacing: 1px; }
input[type=text], input[type=email], input[type=password], input[type=search], select {
  font-family: var(--font-basis);
  font-size: 15px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: var(--kleur-wit);
  color: var(--kleur-zwart);
}
input:focus, select:focus { outline: none; border-color: var(--kleur-goud); }
.row { display: flex; gap: 12px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.row input, .row select { flex: 1 1 auto; min-width: 160px; }
.inline { display: inline; margin: 0; }

/* -------- Zoekbalk -------- */
.searchbar { display: flex; gap: 12px; align-items: center; margin-bottom: 24px; }
.searchbar input { flex: 1; }
.searchbar .clear { font-size: 13px; }

/* -------- Tabellen -------- */
.table { width: 100%; border-collapse: collapse; margin-bottom: 32px; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid #eee; font-size: 14px; vertical-align: middle; }
.table th { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--kleur-grijs); font-weight: var(--gewicht-semibold); }
.table td.right, .table th.right { text-align: right; }
.table .inline + .inline { margin-left: 6px; }

/* -------- Badges -------- */
.badge { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; padding: 3px 10px; border: 1px solid; }
.badge-active   { color: #2e7d32; border-color: #2e7d32; }
.badge-invited  { color: var(--kleur-goud); border-color: var(--kleur-goud); }
.badge-disabled { color: var(--kleur-grijs); border-color: var(--kleur-grijs); }

/* -------- Panelen & tegels -------- */
.panel { background: var(--kleur-creme); padding: 24px; margin-top: 16px; }
.panel h4 { font-size: 16px; letter-spacing: 1px; margin-bottom: 14px; }
.card-grid { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; }
.tile {
  display: block;
  background: var(--kleur-creme);
  padding: 24px;
  min-width: 240px;
  flex: 1 1 240px;
  color: var(--kleur-zwart);
}
.tile:hover { text-decoration: none; outline: 2px solid var(--kleur-goud); }
.tile h4 { font-size: 18px; letter-spacing: 1px; }
.tile p { color: var(--kleur-grijs); font-size: 14px; margin: 0; }
.tile-static:hover { outline: none; }

/* -------- Main -------- */
main { flex: 1 0 auto; }

.hero {
  background-color: var(--kleur-creme);
  padding: 80px 24px;
  text-align: center;
}
.hero .inner { max-width: 800px; margin: 0 auto; }
.hero .label {
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--kleur-goud);
  font-weight: var(--gewicht-semibold);
}
.hero p { color: var(--kleur-grijs); font-size: 18px; }

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}

/* -------- Footer -------- */
.site-footer {
  flex-shrink: 0;
  background-color: var(--kleur-zwart);
  color: var(--kleur-wit);
  padding: 48px 24px 24px;
}
.site-footer .inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.site-footer h4 {
  color: var(--kleur-wit);
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: var(--gewicht-semibold);
}
.site-footer p, .site-footer a { color: #cfcfcf; font-size: 14px; }
.site-footer a:hover { color: var(--kleur-goud); }
.site-footer .col { min-width: 200px; }
.site-footer .bottom {
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 16px;
  border-top: 1px solid #333;
  font-size: 12px;
  color: var(--kleur-grijs);
  letter-spacing: 1px;
}
