/* ════════════════════════════════════════════════════════════════════════
 *  public/css/landing.css  —  Welkomstpagina
 * ════════════════════════════════════════════════════════════════════════ */

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

:root {
  --groen-donker: #1a271a;
  --groen-mid:    #2c3e2d;
  --groen-licht:  #4a6741;
  --tekst-licht:  #e8e0d0;
  --tekst-zacht:  #a8c4a0;
  --wit:          #ffffff;
}

html, body {
  height: 100%;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--tekst-licht);
  overflow-x: hidden;
}

/* ── Achtergrond ── */
#achtergrond {
  position: fixed; inset: 0; z-index: -1;
  background: linear-gradient(150deg,
    #0f1a0f 0%,
    #1a271a 30%,
    #2c3e2d 65%,
    #3a5235 100%);
}

/* ── Header ── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(15,26,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
#header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-logo-icoon {
  font-size: 1.7rem;
  line-height: 1;
}
.header-logo-tekst {
  font-size: 1rem;
  font-weight: 700;
  color: var(--wit);
  letter-spacing: -0.2px;
}
#beheer-knop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  color: var(--tekst-licht);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}
#beheer-knop:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-1px);
}

/* ── Hoofdlayout ── */
main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  gap: 32px;
}

/* ── Hero ── */
#hero {
  text-align: center;
  max-width: 640px;
}
#hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--wit);
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 16px;
}
.hero-uitleg {
  font-size: 0.97rem;
  color: rgba(232,224,208,0.7);
  line-height: 1.7;
}

/* ── Zoekbalk ── */
#zoek-sectie {
  width: 100%;
  max-width: 600px;
}
#zoek-kaart {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
#zoek-rij {
  display: flex;
  align-items: center;
  background: var(--wit);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
#zoek-icoon {
  padding: 0 14px;
  font-size: 1.1rem;
  flex-shrink: 0;
}
#zoek-veld {
  flex: 1;
  padding: 16px 8px;
  border: none;
  outline: none;
  font-size: 1rem;
  color: #222;
  background: transparent;
}
#zoek-veld::placeholder { color: #aaa; }
#zoek-knop {
  padding: 0 26px;
  height: 54px;
  background: var(--groen-mid);
  color: var(--tekst-licht);
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
#zoek-knop:hover { background: var(--groen-licht); }
#zoek-fout {
  display: none;
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(197,48,48,0.25);
  border: 1px solid rgba(197,48,48,0.5);
  border-radius: 8px;
  color: #fca5a5;
  font-size: 0.85rem;
  text-align: center;
}

/* ── Autocomplete suggesties ── */
#zoek-wrapper {
  position: relative;
}
#suggesties {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  list-style: none;
  overflow: hidden;
  z-index: 200;
  max-height: 280px;
  overflow-y: auto;
}
#suggesties li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.12s;
}
#suggesties li:last-child { border-bottom: none; }
#suggesties li:hover,
#suggesties li.actief {
  background: #f0f6f0;
}
.sug-naam {
  font-size: 0.95rem;
  color: #1a271a;
  font-weight: 500;
}
.sug-id {
  font-size: 0.78rem;
  color: #888;
  flex-shrink: 0;
  margin-left: 12px;
}

/* ── Kaartknop ── */
#kaart-knop {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: rgba(255,255,255,0.95);
  color: var(--groen-mid);
  border-radius: 14px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}
#kaart-knop:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
}

/* ── Footer ── */
footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 12px 24px;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(232,224,208,0.35);
  display: flex;
  justify-content: center;
  gap: 8px;
}
.footer-punt { opacity: 0.4; }
