/* ============================================================
   EVENT PLATFORM — Stylesheet
   Kleuren: Wit | Donkergrijs #1C1C1C | Goudgeel #E4A413
   ============================================================ */

:root {
  --wit:        #FFFFFF;
  --donker:     #1C1C1C;
  --goud:       #E4A413;
  --goud-hover: #c98e0e;
  --lichtgrijs: #F5F5F5;
  --tekstgrijs: #3D3D3D;
  --border:     #DCDCDC;
}

/* --- Reset & basis --- */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--wit);
  color: var(--tekstgrijs);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a { color: var(--goud); text-decoration: none; }
a:hover { color: var(--goud-hover); text-decoration: underline; }

/* --- Header --- */
.site-header {
  background: var(--donker);
  border-bottom: 3px solid var(--goud);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* --- Taalschakelaar --- */
.taal-schakelaar {
  font-size: .85rem;
  letter-spacing: .05em;
}
.taal-link {
  color: #aaa;
  text-decoration: none;
  padding: 2px 4px;
  transition: color .2s;
}
.taal-link:hover,
.taal-link.active {
  color: var(--goud);
}

/* --- Banner --- */
.banner-wrapper { overflow: hidden; max-height: 340px; }
.banner-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

/* --- Kaartstijl --- */
.card-event {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  background: var(--wit);
}

.card-event .card-header {
  background: var(--donker);
  color: var(--wit);
  border-radius: 12px 12px 0 0 !important;
  padding: 1.25rem 1.75rem;
  border-bottom: 3px solid var(--goud);
}

.card-event .card-header h1,
.card-event .card-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: .02em;
}

/* --- Goudgele lijn accent --- */
.accent-line {
  display: block;
  width: 50px;
  height: 4px;
  background: var(--goud);
  border-radius: 2px;
  margin: .5rem 0 1.25rem;
}

/* --- Knoppen --- */
.btn-goud {
  background: var(--goud);
  color: var(--donker);
  font-weight: 700;
  border: none;
  padding: .65rem 2rem;
  border-radius: 6px;
  letter-spacing: .03em;
  transition: background .2s, transform .1s;
}
.btn-goud:hover {
  background: var(--goud-hover);
  color: var(--donker);
  transform: translateY(-1px);
}
.btn-goud:active { transform: translateY(0); }

/* --- Formulier --- */
.form-label {
  font-weight: 600;
  color: var(--donker);
  font-size: .9rem;
}
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: .6rem .9rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--goud);
  box-shadow: 0 0 0 3px rgba(228,164,19,.15);
  outline: none;
}
.form-check-input:checked {
  background-color: var(--goud);
  border-color: var(--goud);
}
.was-validated .form-control:valid,
.was-validated .form-select:valid {
  border-color: #28a745;
}

/* --- Code-invoervak homepage --- */
.code-input {
  font-size: 1.15rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  font-weight: 600;
}

/* --- Alert kleur --- */
.alert-event {
  background: #fff8e1;
  border-left: 4px solid var(--goud);
  border-radius: 6px;
  color: var(--donker);
}

/* --- Statistieken admin --- */
.stat-card {
  border-radius: 10px;
  text-align: center;
  padding: 1.25rem .75rem;
  color: var(--wit);
}
.stat-card .stat-getal {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.stat-card .stat-label { font-size: .8rem; opacity: .85; margin-top: .3rem; }

.stat-bg-totaal       { background: var(--donker); }
.stat-bg-ja           { background: #2e7d32; }
.stat-bg-neen         { background: #b71c1c; }
.stat-bg-onbeantwoord { background: #5D4037; }

/* --- Tabel admin --- */
.table-event thead {
  background: var(--donker);
  color: var(--wit);
}
.table-event thead th { font-weight: 600; letter-spacing: .03em; }
.table-event tbody tr:hover { background: #fffbf0; }

.badge-ja   { background: #2e7d32; color: #fff; }
.badge-neen { background: #b71c1c; color: #fff; }
.badge-nvt  { background: #9e9e9e; color: #fff; }

/* --- Footer --- */
.site-footer {
  background: var(--donker);
  color: #aaa;
  padding: 1.5rem 0;
  font-size: .8rem;
  border-top: 3px solid var(--goud);
  margin-top: auto;
}
.site-footer a { color: #ccc; }
.site-footer a:hover { color: var(--goud); }
.footer-logo { height: 36px; width: auto; object-fit: contain; opacity: .8; }
.footer-adres { line-height: 1.7; }
.footer-copy { line-height: 1.7; }

/* --- Bevestigingspagina --- */
.bevestiging-icon {
  font-size: 4rem;
  line-height: 1;
}
.bevestiging-ja   { color: #2e7d32; }
.bevestiging-neen { color: var(--goud); }

/* --- Privacy modal --- */
.modal-header {
  background: var(--donker);
  color: var(--wit);
}
.modal-header .btn-close { filter: invert(1); }

/* --- Responsive --- */
@media (max-width: 576px) {
  .banner-img { height: 160px; }
  .banner-wrapper { max-height: 160px; }
  .card-event .card-header h1,
  .card-event .card-header h2 { font-size: 1.1rem; }
  .btn-goud { width: 100%; }
}
