/* ===== KLEURE: verander hier om die hele look te verander ===== */
:root {
    --accent: #c2410c;
  --dark: #1a1d21;
  --bg: #ffffff;
  --surface: #f3f4f6;
  --text: #1a1d21;
  --muted: #5b6470;
}

@media (prefers-color-scheme: dark) {
  :root {
    --dark: #0c0d10;
    --bg: #14161a;
    --surface: #1e2127;
    --text: #f1f2f4;
    --muted: #a3abb7;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
section { padding: 40px 0; }
h1 { margin: 0 0 10px; font-size: 2rem; }
h2 { margin: 0 0 10px; font-size: 1.6rem; }
.intro { color: var(--muted); margin: 0 0 22px; }

/* ===== LOGO-BALK (op elke bladsy) ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--dark);
  color: #fff;
}
.topbar .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: .5px;
}
.brand .logo { height: 46px; width: auto; display: block; }
.topbar .bel {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  white-space: nowrap;
}

/* ===== HOME BOKANT ===== */
.hero { background: var(--dark); color: #fff; padding: 44px 0 40px; }
.hero h1 { font-size: 2.2rem; max-width: 18em; }
.hero p { margin: 0 0 22px; font-size: 1.1rem; color: #d4d8de; max-width: 34em; }

/* ===== KNOPPIES ===== */
.btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  margin: 0 8px 8px 0;
  cursor: pointer;
}
.btn.main { background: var(--accent); color: #fff; }
.btn.alt { border: 2px solid #fff; color: #fff; }
.btn.outline { border: 2px solid var(--accent); color: var(--accent); }

/* ===== DIENS-KAARTJIES OP DIE HOME-BLADSY ===== */
.kaarte {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;   /* sentreer elke ry, ook die laaste een */
  gap: 16px;
}
.kaart { width: calc((100% - 32px) / 3); }   /* 3 kaartjies per ry */

@media (max-width: 800px) {
  .kaart { width: calc((100% - 16px) / 2); }   /* 2 per ry op tablette */
}
@media (max-width: 520px) {
  .kaart { width: 100%; }                      /* 1 per ry op foon */
}
.kaart {
  display: block;
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  border-bottom: 4px solid var(--accent);
  transition: transform .15s;
}
.kaart:hover { transform: translateY(-3px); }
.kaart-foto { height: 170px; background: var(--dark); }
.kaart-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kaart-tekst { padding: 16px; }
.kaart-tekst h3 { margin: 0 0 4px; font-size: 1.2rem; }
.kaart-tekst p { margin: 0 0 10px; color: var(--muted); font-size: .95rem; }
.kaart-tekst .meer { color: var(--accent); font-weight: 700; }

/* ===== FOTO-BLADSY ===== */
.terug {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  cursor: zoom-in;
  background: var(--surface);
}
.empty { color: var(--muted); font-style: italic; }

.ook-kop { margin-top: 40px; font-size: 1.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
}
.chip:hover { background: var(--accent); color: #fff; }

/* ===== GROOT FOTO POPUP ===== */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99;
  padding: 16px;
}
#lightbox.open { display: flex; }
#lightbox img { max-width: 100%; max-height: 100%; border-radius: 6px; }
#lightbox button {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 2rem;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
}

/* ===== KONTAK EN ONDERKANT ===== */
.contact { background: var(--surface); text-align: center; }
.contact .tel { font-size: 2rem; font-weight: 800; color: var(--accent); text-decoration: none; }
footer { background: var(--dark); color: #a3abb7; text-align: center; padding: 20px; font-size: .9rem; }

/* ===== KWOTASIE-VORM ===== */
#kwotasie-vorm {
  max-width: 560px;
  margin: 24px auto 10px;
  text-align: left;
}
#kwotasie-vorm label { display: block; font-weight: 700; margin-bottom: 14px; }
#kwotasie-vorm input[type="text"],
#kwotasie-vorm input[type="tel"],
#kwotasie-vorm textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  font: inherit;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  border: 2px solid var(--muted);
  border-radius: 8px;
}
#kwotasie-vorm input:focus,
#kwotasie-vorm textarea:focus { outline: none; border-color: var(--accent); }
#kwotasie-vorm fieldset {
  border: 2px solid var(--muted);
  border-radius: 8px;
  margin: 0 0 16px;
  padding: 8px 14px 4px;
}
#kwotasie-vorm legend { font-weight: 700; padding: 0 6px; }
#kwotasie-vorm .keuse { font-weight: 400; margin-bottom: 10px; cursor: pointer; }
#kwotasie-vorm .keuse input { width: 20px; height: 20px; margin-right: 8px; vertical-align: middle; accent-color: var(--accent); }
.honing { position: absolute; left: -9999px; }   /* verberg die spam-lokvak */
.vorm-knoppies { display: flex; flex-wrap: wrap; gap: 8px; }
.vorm-knoppies .btn { margin: 0; border-width: 2px; font: inherit; font-weight: 700; }
button.btn.main { border: 2px solid var(--accent); }
button.btn.outline { background: transparent; }
#vorm-status { min-height: 1.5em; font-weight: 700; margin: 12px 0 0; }
#vorm-status.reg { color: #1a8f3c; }
#vorm-status.fout { color: #d33; }
.of { margin-top: 24px; }

/* ===== KONTAK-IKOON EN POPUP ===== */
[data-kontak] svg { vertical-align: -5px; margin-right: 4px; }

.ronde-knoppie {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.ronde-knoppie svg { width: 30px; height: 30px; margin: 0; vertical-align: 0; }

#kontak-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 16px;
}
#kontak-modal.open { display: flex; }
.kontak-kaart {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: var(--bg);
  color: var(--text);
  border-radius: 14px;
  border-top: 5px solid var(--accent);
  padding: 24px 20px 20px;
}
.kontak-kaart h3 { margin: 0; font-size: 1.4rem; }
.kontak-persoon { margin: 2px 0 16px; color: var(--muted); }
.kontak-toe {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1.8rem;
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
}
.kontak-ry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  background: var(--surface);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
a.kontak-ry:hover { background: var(--accent); color: #fff; }
.kontak-ry svg { flex-shrink: 0; color: var(--accent); }
a.kontak-ry:hover svg { color: #fff; }
.kontak-plek { font-weight: 400; color: var(--muted); }

/* ===== STOP DIE BLADSY SE SPRING ===== */
#topbar { background: var(--dark); min-height: 66px; }
@media (max-width: 480px) {
  #topbar { min-height: 58px; }
}
.kaarte { min-height: 400px; }

/* ===== FOTO-PYLTJIES (vorige / volgende) ===== */
#lightbox .lb-prev,
#lightbox .lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 70px;
  font-size: 2.8rem;
  line-height: 1;
  background: rgba(0, 0, 0, .5);
  color: #fff;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lightbox .lb-prev { left: 8px; right: auto; }
#lightbox .lb-next { right: 8px; left: auto; }
#lightbox .lb-prev:hover,
#lightbox .lb-next:hover { background: var(--accent); }
#lightbox.enkel .lb-prev,
#lightbox.enkel .lb-next { display: none; }   /* net een foto: geen pyltjies nie */

/* ===== VERPLIGTE VELDE ===== */
.ster { color: #d33; font-weight: 800; }
.vorm-nota {
  margin: 0 0 16px;
  padding: 10px 14px;
  background: var(--bg);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  color: var(--muted);
  font-size: .95rem;
}