/* ==========================================================================
   Hello Boaz — basisstijl, menubalk en onderkant.
   Kleuren komen uit de plugin BD Fotografie; de waarden hier zijn de terugval.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { line-height: 1.6; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg, #000);
  color: var(--fg, #F8F7F5);
  font: 400 1rem/1.6 var(--sans, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent, #E8DCCB); outline-offset: 3px; }

.bd-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--fg, #F8F7F5); color: var(--bg, #000); }
.bd-skip:focus { left: 12px; }
#bd-content { display: block; height: 0; outline: none; }

/* ---------- Menubalk ---------- */
.bd-site-header { position: sticky; top: calc(12px + env(safe-area-inset-top, 0px)); z-index: 30; max-width: 1180px; margin: 12px auto 0; padding-inline: 20px; }
.admin-bar .bd-site-header { top: calc(44px + env(safe-area-inset-top, 0px)); }
.bd-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 18px; border: 1px solid var(--line, rgba(248, 247, 245, .09)); border-radius: 12px; background: color-mix(in srgb, var(--bg, #000) 72%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.bd-logo { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; color: var(--fg, #F8F7F5); }
.bd-logo i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; }
.bd-logo i::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.bd-logo-img { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; }
.bd-menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.bd-menu a { display: inline-block; padding: 10px 12px; border-radius: 8px; color: var(--muted, #A39C94); font-size: .9rem; text-decoration: none; transition: color .2s, background .2s; }
.bd-menu a:hover { color: var(--fg, #F8F7F5); background: var(--surface-2, #161412); }
/* Alleen echte pagina's markeren, geen ankerlinks (#werk) op de voorpagina */
.bd-menu .current-menu-item > a[href*="#"] { color: var(--muted, #A39C94); }
.bd-menu .current-menu-item > a:not([href*="#"]) { color: var(--fg, #F8F7F5); }

/* Knop (terugval als de plugin uit staat) */
.bd-nav-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 8px; font: 500 .875rem/1 var(--sans, "Inter", sans-serif); text-decoration: none; background: var(--accent, #E8DCCB); color: var(--on-accent, #2A1F18); border: 1px solid var(--accent, #E8DCCB); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); white-space: nowrap; }

/* Mobiel menu */
.bd-burger { display: none; width: 44px; height: 40px; border-radius: 8px; border: 1px solid var(--line, rgba(248, 247, 245, .09)); background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.bd-burger span { display: block; width: 18px; height: 1.5px; background: var(--fg, #F8F7F5); transition: transform .3s; }
.bd-burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.bd-burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.bd-mobile { margin-top: 8px; padding: 8px; border: 1px solid var(--line, rgba(248, 247, 245, .09)); border-radius: 12px; background: color-mix(in srgb, var(--bg, #000) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.bd-mobile .bd-menu { flex-direction: column; }
.bd-mobile .bd-menu a { display: block; padding: 14px 12px; font-size: 1rem; }

@media (max-width: 760px) {
  .bd-nav { display: none; }
  .bd-burger { display: inline-flex; }
  .bd-nav-inner { gap: 8px; }
  .bd-nav-cta { margin-left: auto; }
}
@media (min-width: 761px) { .bd-mobile { display: none !important; } }

/* ---------- Onderkant ---------- */
.bd-site-footer { max-width: 1180px; margin: clamp(40px, 6vw, 80px) auto 0; padding: 28px 20px 100px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line, rgba(248, 247, 245, .09)); color: var(--muted, #A39C94); font-size: .88rem; }
.bd-site-footer .bd-menu a { padding: 4px 0; margin-left: 18px; background: none; }
.bd-site-footer .bd-menu a:hover { background: none; color: var(--fg, #F8F7F5); }

/* ---------- Gewone pagina's en berichten (zonder Elementor) ---------- */
.site-main { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) 20px; }
.site-main h1, .site-main h2, .site-main h3 { font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; }
.site-main h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.site-main a { color: var(--accent, #E8DCCB); text-underline-offset: 3px; }
.site-main p, .site-main li { color: color-mix(in srgb, var(--fg, #F8F7F5) 82%, transparent); }
.site-main img { border-radius: 12px; }
.site-main input, .site-main textarea, .site-main select { background: var(--surface, #0E0D0C); color: var(--fg, #F8F7F5); border: 1px solid var(--line, rgba(248, 247, 245, .09)); border-radius: 8px; padding: 10px 12px; font: inherit; }
.site-main button, .site-main [type="submit"] { background: var(--accent, #E8DCCB); color: var(--on-accent, #2A1F18); border: 0; border-radius: 8px; padding: 10px 16px; font: inherit; cursor: pointer; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* Elementor-pagina's: geen extra marges van de thema-wrapper */
.elementor-page .site-main { max-width: none; padding: 0; }
