/* ============================================================
   STIJL — Bangkok 3D-kaart
   Warm, reisachtig thema (crème, terracotta, goud) —
   passend bij een persoonlijk reisblog.
   ============================================================ */

/* --- Thema-variabelen (basis voor de hele site) ------------ */
:root {
  --achtergrond: #16100d;      /* diep warmzwart */
  --achtergrond-2: #1e1512;    /* iets lichter paneel */
  --tekst: #f3ece1;            /* warm crème-wit */
  --tekst-zacht: #b5a394;      /* zachte secundaire tekst */
  --accent: #e06a3c;           /* terracotta, helderder */
  --accent-2: #e8b04b;         /* warm goud */
  --kaart-wit: #fffdf8;        /* gebroken wit */
  --glas-donker: rgba(22, 16, 13, 0.55);
  --schaduw: 0 6px 18px rgba(0, 0, 0, 0.45);
  --kop-lettertype: "Space Grotesk", "SF Pro Display", system-ui, sans-serif;
  --lettertype: "Outfit", -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* --- Basis ------------------------------------------------- */
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--lettertype);
  color: var(--tekst);
  background: var(--achtergrond);
}

h1, h2, h3 {
  font-family: var(--kop-lettertype);
}

/* ============================================================
   KAARTPAGINA (index.html)
   ============================================================ */

#kaart {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}

/* Titelkaart met zoekfunctie op de kaart (glas-stijl) */
#titel {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 10;
  max-width: 280px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(22, 16, 13, 0.60);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(10px) saturate(1.5);
  box-shadow:
    0 12px 30px rgba(61, 47, 38, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

#titel strong {
  display: block;
  font-family: var(--kop-lettertype);
  font-size: 20px;
  color: var(--accent);
}

#titel > span {
  display: block;
  font-size: 12px;
  color: #d9cbb9;
  margin-bottom: 10px;
}

/* --- Zoekveld + glazen resultatenlijst ---------------------- */
#zoek {
  position: relative;
}

#zoek-invoer {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 12px;
  font-size: 13px;
  color: var(--tekst);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  background: rgba(22, 16, 13, 0.55);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

#zoek-invoer:focus {
  border-color: var(--accent);
  background: rgba(30, 21, 18, 0.85);
}

#zoek-resultaten {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(30, 21, 18, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 24px rgba(61, 47, 38, 0.25);
}

#zoek-resultaten.open {
  display: flex;
}

.zoek-item {
  padding: 9px 12px;
  font-size: 13px;
  text-align: left;
  border: none;
  background: transparent;
  color: var(--tekst);
  cursor: pointer;
}

.zoek-item:hover,
.zoek-item.actief {
  background: rgba(194, 94, 58, 0.15);
  color: var(--accent);
}

.zoek-item.leeg {
  color: #b5a394;
  cursor: default;
}

/* --- Marker per locatie -------------------------------------
   Opbouw (van boven naar beneden):
   1. zwevend mediakaartje (foto of video)
   2. terracotta punt op de GPS-plek
   3. naamlabel
   ------------------------------------------------------------ */
.marker {
  /* GEEN position: MapLibre zet zelf position:absolute via
     .maplibregl-marker; een eigen position:relative breekt de
     GPS-uitlijning van alle kaartjes! */
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none; /* label/punt blokkeren de kaart niet */
}

/* Het zwevende kaartje: glazen (frosted glass) met blur,
   glimmende rand en een stevige zwevende schaduw */
.media-kader {
  position: relative;   /* anker voor de video-badge */
  pointer-events: auto;
  display: block;
  width: 104px;
  background: rgba(22, 16, 13, 0.60);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(10px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  box-shadow:
    0 12px 30px rgba(61, 47, 38, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.75); /* glanslijn bovenin */
  overflow: hidden;
  text-decoration: none;
  margin-bottom: 16px;
  position: relative;
  /* subtiele op-en-neer zweefanimatie */
  animation: zweven 3.5s ease-in-out infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover: kaartje tilt verder op en komt echt naar voren */
.media-kader:hover {
  transform: translateY(-8px) scale(1.08);
  box-shadow:
    0 20px 40px rgba(61, 47, 38, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  animation-play-state: paused; /* even stilstaan bij hover */
}

/* Videokaartje: donker glas met gouden rand */
.media-kader.video {
  background: rgba(50, 32, 26, 0.45);
  border: 1px solid var(--accent-2);
  outline: 1px solid rgba(224, 166, 63, 0.5);
}

/* De afbeelding in het kaartje */
.media-kader img {
  display: block;
  width: 100%;
  height: 72px;
  object-fit: cover;
}

/* Placeholder als de foto/video er nog niet is:
   iets dekkender dan het glas, zodat de tekst leesbaar blijft */
.media-kader .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  font-size: 10px;
  color: #b5a394;
  background: rgba(30, 21, 18, 0.65);
}

.media-kader.video .placeholder {
  background: rgba(50, 32, 26, 0.35);
  color: var(--accent-2);
  font-size: 20px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Bijschriftt onderin het kaartje */
.kader-bijschrift {
  display: block;
  padding: 5px 6px;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.2;
  color: #f3ece1;
  background: rgba(22, 16, 13, 0.50);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-kader.video .kader-bijschrift {
  color: #f0d9a0;
  background: rgba(50, 32, 26, 0.35);
}

/* Verbindingslijntje tussen kaartje en punt */
.media-kader::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -16px;
  width: 1px;
  height: 16px;
  background: rgba(22, 16, 13, 0.75);
}

/* De zweefanimatie zelf */
@keyframes zweven {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Het puntje op de exacte GPS-plek (aanklikbaar → flyTo) */
.blok {
  pointer-events: auto;
  cursor: pointer;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border: 2px solid var(--kaart-wit);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(61, 47, 38, 0.5);
  transition: transform 0.2s ease;
}

.blok:hover {
  transform: scale(1.35);
}

/* Het naamlabel onder het punt */
.label {
  margin-top: 5px;
  padding: 3px 10px;
  background: rgba(22, 16, 13, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  font-size: 11px;
  font-weight: 500;
  color: #f3ece1;
  white-space: nowrap;
}

/* ============================================================
   DETAILPAGINA (detail.html)
   - Grote hero met de hoofdfoto op de achtergrond
   - Foto's als glazen tegels, lightbox, zachte entree-animaties
   - --thema-1 en --thema-2 komen uit locaties.json
   ============================================================ */

.detail-pagina {
  --thema-1: #c25e3a;   /* valt terug op terracotta */
  --thema-2: #e0a63f;   /* en goud als er nog geen thema is */
  background: var(--achtergrond);
}

/* --- HERO: foto groot op de achtergrond, titel eroverheen -- */
.hero {
  position: relative;
  height: 88vh;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid rgba(232, 176, 75, 0.25);
}

/* Achtergrondlaag: de hoofdfoto, of het thema-verloop met
   blokjespatroon als er nog geen foto is */
.hero-achtergrond {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--thema-1), var(--thema-2));
  background-size: cover;
  background-position: center;
}

/* Blokjes-decoratie (alleen zichtbaar op het verloop) */
.hero-achtergrond::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.hero-achtergrond.met-foto::after {
  display: none;
}

/* Langzame Ken Burns-zoom als er een foto ligt */
.hero-achtergrond.met-foto {
  animation: heroZoom 24s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* Dimlaag: foto zacht op de achtergrond, titel blijft leesbaar */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 12, 8, 0.18) 0%,
    rgba(20, 12, 8, 0.05) 40%,
    rgba(20, 12, 8, 0.60) 100%
  );
}

/* Tekst in de hero */
.hero-inhoud {
  position: relative;
  z-index: 1;
  padding: 32px clamp(20px, 6vw, 72px) 76px;
  color: #fff;
  max-width: 920px;
}

.hero-inhoud h1 {
  font-size: clamp(30px, 5vw, 52px);
  margin: 14px 0 8px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-inhoud .beschrijving {
  margin: 0 0 6px;
  font-size: clamp(15px, 2vw, 19px);
  opacity: 0.95;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero-inhoud .gps {
  margin: 0;
  font-size: 12px;
  opacity: 0.75;
}

/* Terug-knop als glazen pil */
.terug-knop {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.terug-knop:hover {
  background: rgba(255, 255, 255, 0.32);
  transform: translateX(-3px);
}

/* Scroll-pijl onderin de hero */
.scroll-pijl {
  position: absolute;
  bottom: 18px;
  left: 50%;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  animation: pijlStuiter 2s ease-in-out infinite;
}

@keyframes pijlStuiter {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}

/* --- Inhoud onder de hero ---------------------------------- */
.detail-inhoud {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}

.blok-sectie {
  margin-bottom: 42px;
}

.blok-sectie h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: var(--tekst-zacht);
  display: flex;
  align-items: center;
  gap: 12px;
}

.blok-sectie h2::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--thema-1), var(--thema-2));
  flex: none;
}

/* Zachte entree-animatie (speelt bij het laden af, niet op scroll) */
.entree {
  animation: entreeOmhoog 0.7s ease both;
}
.entree:nth-of-type(2) { animation-delay: 0.12s; }
.entree:nth-of-type(3) { animation-delay: 0.24s; }

@keyframes entreeOmhoog {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* --- Video-badge op het kaartje (filmicoon + aantal) -------- */
.video-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 600;
  color: #f3ece1;
  background: rgba(22, 16, 13, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
  pointer-events: none;   /* klik valt door op het kaartje zelf */
}

/* --- Glazen fototegels (masonry: foto houdt zijn vorm) ------- */
.galerij-grid {
  columns: 5 170px;   /* max 5 kolommen, min 170px per kolom */
  column-gap: 14px;
}

.glas-foto {
  position: relative;
  display: block;
  margin: 0 0 14px;                    /* verticale afstand tussen tegels */
  break-inside: avoid;                 /* nooit door een kolom gebroken */
  padding: 7px; /* glas-rand rondom de foto */
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  overflow: hidden;
  cursor: zoom-in;
  background: rgba(255, 253, 248, 0.06);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glas-foto img {
  display: block;
  width: 100%;
  height: auto;          /* natuurlijke verhouding, niets afgekapt */
  border-radius: 12px; /* foto binnen de glas-rand */
  transition: transform 0.45s ease;
}

/* Zoom-hint: icoon verschijnt bij hover over de foto */
.glas-foto::after {
  content: "⤢";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #f3ece1;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(22, 16, 13, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.glas-foto:hover::after {
  opacity: 1;
  transform: scale(1);
}

.glas-foto:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 176, 75, 0.55);
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.glas-foto:hover img {
  transform: scale(1.07);
}

/* Bijschriftt als donkere glazen strook onderin de tegel */
.foto-bijschrift {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 7px;
  padding: 8px 12px;
  font-size: 12px;
  color: #f3ece1;
  text-align: left;
  background: rgba(22, 16, 13, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 0 0 12px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Glazen placeholder als media ontbreekt */
.glas-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(30, 21, 18, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  color: #b5a394;
  font-size: 14px;
}

/* --- Video's: kleine glazen tegels in een grid --------------- */
#videos.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.video-blok {
  position: relative;
  margin-bottom: 0;
  padding: 7px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(30, 21, 18, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.video-blok:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 176, 75, 0.55);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.video-blok video {
  display: block;
  width: 100%;
  border-radius: 12px;
  background: #2a1a14;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Vergroot-knop rechtsonder op de video-tegel */
.video-vergroot {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: rgba(22, 16, 13, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #f3ece1;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.video-vergroot:hover {
  background: rgba(224, 106, 60, 0.85);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.08);
}

.video-bijschrift {
  font-size: 13px;
  color: #b5a394;
  margin: 8px 6px 4px;
}

/* Video in de lightbox: groot, gecentreerd */
#video-lightbox-speler {
  display: block;
  max-width: min(94vw, 1200px);
  max-height: 82vh;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

/* --- Verhaal: rustige, eigentijdse typografie --------------- */
.verhaal-tekst {
  font-size: 17px;
  line-height: 1.8;
  max-width: 65ch;
  color: var(--tekst);
  white-space: pre-line; /* regeleinden uit de data respecteren */
}

/* Grote begletter in de themakleur */
.verhaal-tekst::first-letter {
  font-family: var(--kop-lettertype);
  font-size: 3.1em;
  float: left;
  line-height: 0.85;
  padding: 4px 10px 0 0;
  color: var(--thema-1);
}

/* Sfeeromschrijving als glazen pill */
.sfeer-regel {
  display: inline-block;
  border-left: 4px solid var(--thema-2);
  border-radius: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  border-right: 1px solid rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(30, 21, 18, 0.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 12px 16px;
  font-size: 14px;
  color: #b5a394;
  font-style: italic;
}

/* --- LIGHTBOX: foto groot bekijken -------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(25, 15, 10, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox figure {
  margin: 0;
  max-width: min(94vw, 1400px);
}

/* Staand of liggend: de foto past zichzelf aan, maximaal 86% hoog */
.lightbox img {
  display: block;
  max-width: min(94vw, 1400px);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.lightbox figcaption {
  text-align: center;
  color: #fff;
  font-size: 14px;
  margin-top: 12px;
  opacity: 0.9;
}

.lightbox-sluit {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

/* --- Minder animatie als de gebruiker dat prefereert -------- */
@media (prefers-reduced-motion: reduce) {
  .entree,
  .hero-achtergrond.met-foto,
  .scroll-pijl,
  .media-kader {
    animation: none !important;
  }
}

/* ============================================================
   BEHEERPANEEL (admin.php)
   ============================================================ */

.admin-pagina {
  max-width: 780px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.admin-kop h1 {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 4px;
}

.admin-kop .opmerking {
  color: #b5a394;
  font-size: 13px;
}

.admin-uitloggen {
  float: right;
  font-size: 13px;
  color: var(--accent);
}

.admin-blok {
  background: #1e1512;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  padding: 20px;
  margin-bottom: 18px;
}

.admin-blok h2 {
  font-size: 17px;
  margin: 0 0 14px;
  color: var(--accent);
}

.admin-formulier label {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  color: #b5a394;
}

.admin-formulier input[type="text"],
.admin-formulier input[type="password"],
.admin-formulier textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin-top: 4px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-size: 14px;
  background: #16100d;
  color: #f3ece1;
}

.admin-formulier input[type="file"] {
  display: block;
  margin-top: 4px;
  font-size: 13px;
}

.twee-kolommen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.admin-formulier button,
.admin-tabel button,
.admin-knop {
  padding: 9px 16px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.admin-formulier button:hover,
.admin-knop:hover {
  background: #a94e2f;
}

.admin-knop.secundair {
  background: #8a7563;
}

.admin-knop.gevaar {
  background: #b03a2e;
}

.ai-knop {
  background: var(--accent-2) !important;
  color: var(--tekst) !important;
}

.hint {
  font-size: 12px;
  color: #b39c8a;
  margin: 8px 0 0;
}

/* Mini-kaartje bij de coördinaten in het beheerpaneel */
#mini-kaart {
  height: 280px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  margin: 4px 0 8px;
}

/* Meldingen bovenin het paneel */
.melding {
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 14px;
}

.melding.ok {
  background: rgba(46, 125, 50, 0.18);
  color: #8fd48f;
  border: 1px solid rgba(143, 212, 143, 0.35);
}

.melding.fout {
  background: rgba(176, 58, 46, 0.18);
  color: #f0938a;
  border: 1px solid rgba(240, 147, 138, 0.35);
}

.admin-tabel {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-tabel th,
.admin-tabel td {
  text-align: left;
  padding: 9px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.admin-tabel th {
  color: #b5a394;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
}

.admin-tabel .acties a,
.admin-tabel .acties button {
  margin-right: 6px;
  font-size: 12px;
}

/* ============================================================
   RESPONSIVE: op mobiel alles compacter
   ============================================================ */
@media (max-width: 600px) {
  .media-kader { width: 80px; }
  .media-kader img,
  .media-kader .placeholder { height: 54px; }
  .label { font-size: 10px; }
  #titel { max-width: 200px; padding: 10px 14px; }
  .hero { height: 72vh; min-height: 340px; }
  .galerij-grid { columns: 2; column-gap: 10px; }
  .glas-foto { margin-bottom: 10px; }
  .verhaal-tekst { font-size: 16px; }
}
