/* =============================================================
   Klantfoto's — donker, foto-georiënteerd ontwerp
   ============================================================= */

:root {
  --kf-bg:        #0F172A;
  --kf-bg-2:      #111827;
  --kf-card:      #1F2937;
  --kf-text:      #F8FAFC;
  --kf-text-dim:  #94A3B8;
  --kf-accent:    #FACC15;
  --kf-accent-2:  #F59E0B;
  --kf-border:    #334155;
  --kf-radius:    14px;
  --kf-radius-sm: 8px;
  --kf-shadow:    0 8px 24px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--kf-text);
  background: var(--kf-bg);
  min-height: 100vh;
}

a { color: var(--kf-accent); text-decoration: none; }
a:hover { color: var(--kf-accent-2); }

/* =============================================================
   Header
   ============================================================= */
.kf-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.kf-header-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
}
.kf-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 19px; font-weight: 800; color: var(--kf-text);
}
.kf-logo:hover { color: var(--kf-accent); }
.kf-logo-mark { font-size: 22px; }
.kf-logo-text .em { color: var(--kf-accent); }
.kf-nav { display: flex; gap: 22px; align-items: center; font-size: 14px; }
.kf-nav a { color: var(--kf-text-dim); font-weight: 500; }
.kf-nav a.is-active, .kf-nav a:hover { color: var(--kf-text); }
.kf-back { font-size: 13px; color: var(--kf-text-dim) !important; }

/* =============================================================
   Main / sections
   ============================================================= */
.kf-main { padding: 0 0 60px; }

.kf-hero {
  padding: 32px 22px 20px;
  text-align: center;
  max-width: 900px; margin: 0 auto;
}
.kf-hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800; letter-spacing: -0.02em;
  margin: 0 0 10px;
  line-height: 1.05;
  background: linear-gradient(180deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.kf-hero p {
  font-size: 15px; color: var(--kf-text-dim);
  max-width: 640px; margin: 0 auto;
  line-height: 1.55;
}
.kf-hero-stats {
  display: flex; gap: 20px; justify-content: center;
  margin-top: 16px; flex-wrap: wrap;
}
.kf-stat { text-align: center; }
.kf-stat-num {
  font-size: 22px; font-weight: 800; color: var(--kf-accent);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.kf-stat-lbl {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--kf-text-dim);
}

/* =============================================================
   Filters
   ============================================================= */
.kf-filters {
  max-width: 1400px; margin: 30px auto 24px;
  padding: 0 22px;
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
@media (min-width: 700px) {
  .kf-filters { grid-template-columns: auto auto auto 1fr; align-items: center; }
}
.kf-filter-pill-row {
  display: flex; gap: 6px; flex-wrap: wrap; align-items: center;
}
.kf-filter-pill-row .lbl {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--kf-text-dim); margin-right: 4px;
}
.kf-pill {
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.05); border: 1px solid transparent;
  color: var(--kf-text-dim); font-size: 13px; font-weight: 500;
  white-space: nowrap; transition: all 0.15s;
}
.kf-pill:hover { background: rgba(255,255,255,0.1); color: var(--kf-text); }
.kf-pill.is-on {
  background: var(--kf-accent); color: #0F172A; border-color: var(--kf-accent);
  font-weight: 600;
}
.kf-search {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--kf-border);
  border-radius: 999px; padding: 6px 14px;
}
.kf-search input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: var(--kf-text); font: inherit; font-size: 14px;
  padding: 4px 0; min-width: 0;
}
.kf-search input::placeholder { color: var(--kf-text-dim); }

.kf-empty {
  max-width: 600px; margin: 60px auto; padding: 40px 22px;
  text-align: center; color: var(--kf-text-dim);
  background: var(--kf-bg-2); border-radius: var(--kf-radius);
  border: 1px solid var(--kf-border);
}

/* =============================================================
   Masonry grid (CSS columns voor zekere browser-support)
   ============================================================= */
.kf-grid {
  max-width: 1700px; margin: 0 auto;
  padding: 0 22px;
  column-count: 1;
  column-gap: 6px;
}
@media (min-width: 480px)  { .kf-grid { column-count: 2; } }
@media (min-width: 800px)  { .kf-grid { column-count: 3; } }
@media (min-width: 1100px) { .kf-grid { column-count: 4; } }
@media (min-width: 1400px) { .kf-grid { column-count: 5; } }
@media (min-width: 1900px) { .kf-grid { column-count: 6; } }

.kf-card {
  break-inside: avoid;
  margin: 0 0 6px 0;
  border-radius: var(--kf-radius-sm);
  overflow: hidden;
  background: var(--kf-card);
  position: relative;
  cursor: pointer;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.kf-card:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: var(--kf-shadow);
}
.kf-card img {
  display: block; width: 100%; height: auto;
  background: #1e293b;
}
.kf-card-overlay {
  position: absolute; inset: auto 0 0 0;
  padding: 10px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
  color: #fff;
  font-size: 12px;
  opacity: 0; transition: opacity 0.2s;
  pointer-events: none;
}
.kf-card:hover .kf-card-overlay { opacity: 1; }
.kf-card-overlay .set { font-weight: 700; }
.kf-card-overlay .meta { color: rgba(255,255,255,0.7); font-size: 11px; }

/* ─── Hero trust-strip ────────────────────────────────────────────────
   Eén keer prominent in de hero ipv per kaart een badge — duidelijker
   en geen visuele ruis op de galerij.
*/
.kf-trust-strip {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 22px;
  margin: 18px auto 0; max-width: 720px;
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-size: 13px;
  color: var(--kf-text);
  font-weight: 500;
}
.kf-trust-strip span { display: inline-flex; align-items: center; gap: 6px; }
.kf-trust-strip .check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  background: var(--kf-accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
  font-size: 11px;
}
@media (max-width: 600px) {
  .kf-trust-strip { gap: 8px 14px; font-size: 12px; padding: 10px 14px; }
}

/* ─── Set-link badge (top-right, klikbaar) ────────────────────────────
   "📸 4" — geeft aan hoeveel andere foto's er van deze set zijn,
   linkt naar de per-set landing page. Alleen tonen als count > 1.
*/
.kf-card-set-badge {
  position: absolute;
  top: 8px; right: 8px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 9px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 11px; font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  transition: background 0.15s, transform 0.15s;
  z-index: 2;
}
.kf-card-set-badge:hover {
  background: var(--kf-accent);
  transform: translateY(-1px);
}
.kf-card-set-badge .icon { font-size: 12px; }

/* ─── Lightbox set-link button ────────────────────────────────────── */
.kf-lightbox-set-link {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px; font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s;
}
.kf-lightbox-set-link:hover { background: var(--kf-accent); }

/* ─── Like-knop (hartje) op kaart en in lightbox ───────────────────── */
.kf-like-btn {
  position: absolute;
  bottom: 8px; right: 8px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px;
  background: rgba(15, 23, 42, 0.85);
  color: #fff;
  font-size: 12px; font-weight: 700;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
  z-index: 2;
}
.kf-like-btn:hover { background: rgba(0, 0, 0, 0.95); transform: translateY(-1px); }
.kf-like-btn .heart {
  font-size: 14px; line-height: 1;
  filter: grayscale(1) brightness(1.2);
  transition: filter 0.15s, transform 0.15s;
}
.kf-like-btn.is-liked .heart {
  filter: none;
  transform: scale(1.15);
}
.kf-like-btn.is-liked { background: rgba(220, 38, 80, 0.92); }
.kf-like-btn .count[data-empty="1"] { display: none; }
.kf-like-btn[disabled] { opacity: 0.5; cursor: wait; }

/* Pulse-anim na succesvolle like */
@keyframes kfLikePulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}
.kf-like-btn.is-pulsing .heart { animation: kfLikePulse 0.4s ease; }

/* ─── Lightbox like-knop ─────────────────────────────────────────── */
.kf-lightbox-like {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 10px 0 0;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px; font-weight: 600;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s;
}
.kf-lightbox-like:hover { background: rgba(255, 255, 255, 0.22); }
.kf-lightbox-like.is-liked { background: rgba(220, 38, 80, 0.92); }
.kf-lightbox-like .heart { font-size: 16px; }

/* ─── Sort-pills (Recent / Meest geliked) ─────────────────────────── */
.kf-sort-row {
  display: flex; align-items: center; gap: 8px;
  margin: 0 auto 12px;
  max-width: 1700px;
  padding: 0 22px;
  font-size: 13px;
}
.kf-sort-row .lbl { color: var(--kf-text-dim); margin-right: 4px; }

/* ─── Foto van de Maand — gouden ster ─────────────────────────────── */
.kf-card-featured-badge {
  position: absolute;
  top: 8px; left: 8px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 9px;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #f59e0b 100%);
  color: #422006;
  font-size: 11px; font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 1px 6px rgba(245, 158, 11, 0.55), 0 0 0 1px rgba(255,255,255,0.2) inset;
  pointer-events: auto;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  z-index: 2;
  animation: kfStarShine 3s ease-in-out infinite;
}
.kf-card-featured-badge .star { font-size: 13px; line-height: 1; }
.kf-card-featured-badge:hover { filter: brightness(1.08); }
@keyframes kfStarShine {
  0%, 100% { box-shadow: 0 1px 6px rgba(245, 158, 11, 0.45), 0 0 0 1px rgba(255,255,255,0.2) inset; }
  50%      { box-shadow: 0 1px 14px rgba(245, 158, 11, 0.85), 0 0 0 1px rgba(255,255,255,0.35) inset; }
}

/* ─── Sticky CTA-banner (bottom) ──────────────────────────────────── */
.kf-sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 50;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.35);
  padding: 12px 18px;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.kf-sticky-cta.is-visible { transform: translateY(0); }
.kf-sticky-cta-text {
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
}
.kf-sticky-cta-text b { color: var(--kf-accent); }
.kf-sticky-cta-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px;
  background: var(--kf-accent);
  color: #fff;
  font-size: 14px; font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.15s, transform 0.15s;
}
.kf-sticky-cta-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }
.kf-sticky-cta-close {
  position: absolute;
  top: 8px; right: 10px;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.5);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}
.kf-sticky-cta-close:hover { color: #fff; }

/* Body padding ophogen zodat sticky bar niet over content valt */
body.kf-has-sticky-cta { padding-bottom: 80px; }

@media (max-width: 600px) {
  .kf-sticky-cta { padding: 10px 14px 10px; gap: 10px; }
  .kf-sticky-cta-text { font-size: 13px; }
  .kf-sticky-cta-cta { padding: 9px 16px; font-size: 13px; }
  body.kf-has-sticky-cta { padding-bottom: 110px; }
}

/* =============================================================
   Lightbox
   ============================================================= */
.kf-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.95);
  display: flex; align-items: center; justify-content: center;
  padding: 30px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.kf-lightbox.is-open { opacity: 1; pointer-events: auto; }
.kf-lightbox-img {
  max-width: 95vw; max-height: 90vh;
  object-fit: contain;
  border-radius: var(--kf-radius-sm);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.kf-lightbox-info {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  text-align: center; color: var(--kf-text-dim);
  font-size: 13px;
}
.kf-lightbox-info .set { color: var(--kf-accent); font-weight: 600; }
.kf-lightbox-close, .kf-lightbox-prev, .kf-lightbox-next {
  position: absolute; background: rgba(255,255,255,0.1); color: #fff;
  border: 0; width: 44px; height: 44px; border-radius: 50%;
  font-size: 22px; cursor: pointer; transition: background 0.15s;
  display: flex; align-items: center; justify-content: center;
}
.kf-lightbox-close { top: 20px; right: 20px; }
.kf-lightbox-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.kf-lightbox-next  { right: 20px; top: 50%; transform: translateY(-50%); }
.kf-lightbox-close:hover, .kf-lightbox-prev:hover, .kf-lightbox-next:hover {
  background: rgba(255,255,255,0.2);
}

/* =============================================================
   Content-blokken (intro, FAQ, thema-lijst — SEO-tekst)
   ============================================================= */
.kf-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.kf-content-block {
  max-width: 880px; margin: 60px auto 0; padding: 0 22px;
  color: var(--kf-text);
}
.kf-content-block h2 {
  font-size: 26px; line-height: 1.2; margin: 0 0 18px;
  color: var(--kf-text); font-weight: 800;
}
.kf-content-block h3 {
  font-size: 18px; line-height: 1.3; margin: 26px 0 10px;
  color: var(--kf-text); font-weight: 700;
}
.kf-content-block p {
  font-size: 16px; line-height: 1.7; margin: 0 0 14px;
  color: var(--kf-text-dim);
}
.kf-content-block strong { color: var(--kf-text); font-weight: 700; }
.kf-content-block a { color: var(--kf-accent); text-decoration: underline; text-underline-offset: 3px; }
.kf-content-block a:hover { color: var(--kf-accent-2); }

.kf-faq-item {
  background: var(--kf-card);
  border: 1px solid var(--kf-border);
  border-radius: var(--kf-radius-sm);
  padding: 14px 18px; margin-bottom: 10px;
}
.kf-faq-item summary {
  font-weight: 600; color: var(--kf-text); cursor: pointer;
  font-size: 15px; line-height: 1.5; outline: none;
  list-style: none;
  padding-right: 24px; position: relative;
}
.kf-faq-item summary::-webkit-details-marker { display: none; }
.kf-faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 0;
  font-size: 22px; font-weight: 400; color: var(--kf-accent);
  transition: transform 0.2s;
}
.kf-faq-item[open] summary::after {
  content: "−";
}
.kf-faq-item p {
  margin: 12px 0 0; color: var(--kf-text-dim);
  font-size: 14px; line-height: 1.65;
}

.kf-theme-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px; padding: 0; list-style: none; margin: 16px 0 0;
}
.kf-theme-list li { margin: 0; }
.kf-theme-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; border-radius: 10px;
  background: var(--kf-card); border: 1px solid var(--kf-border);
  color: var(--kf-text); text-decoration: none;
  transition: all 0.15s;
}
.kf-theme-list a:hover {
  background: rgba(250, 204, 21, 0.05);
  border-color: var(--kf-accent);
  color: var(--kf-text);
}
.kf-theme-list .kf-theme-count {
  font-size: 12px; color: var(--kf-text-dim);
  background: rgba(255,255,255,0.05); padding: 2px 8px; border-radius: 999px;
}

/* =============================================================
   Submission-page extras (breadcrumb, blockquote, related-grid)
   ============================================================= */
.kf-submission-article { padding-top: 8px; }

.kf-breadcrumb {
  font-size: 13px;
  color: var(--kf-text-dim);
}
.kf-breadcrumb a {
  color: var(--kf-text-dim); text-decoration: none;
}
.kf-breadcrumb a:hover { color: var(--kf-accent); }
.kf-breadcrumb span[aria-hidden] { margin: 0 6px; opacity: 0.5; }

.kf-submission-quote {
  max-width: 880px; margin: 30px auto 0; padding: 0 22px;
}
.kf-submission-quote blockquote {
  margin: 0; padding: 22px 28px;
  border-left: 4px solid var(--kf-accent);
  background: var(--kf-card);
  border-radius: var(--kf-radius-sm);
  font-size: 17px; line-height: 1.7; color: var(--kf-text);
  font-style: italic;
  position: relative;
}
.kf-submission-quote blockquote::before {
  content: """; position: absolute; left: 12px; top: -8px;
  font-size: 56px; color: var(--kf-accent); opacity: 0.3;
  font-family: Georgia, serif;
}
.kf-submission-quote blockquote footer {
  margin-top: 14px; font-size: 13px; color: var(--kf-text-dim);
  font-style: normal;
}

.kf-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px; margin-top: 14px;
}
.kf-related-card {
  display: block; text-decoration: none;
  background: var(--kf-card); border-radius: var(--kf-radius-sm);
  overflow: hidden; border: 1px solid var(--kf-border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.kf-related-card:hover {
  transform: translateY(-2px); box-shadow: var(--kf-shadow);
  border-color: var(--kf-accent);
}
.kf-related-card img {
  display: block; width: 100%; height: 160px; object-fit: cover;
}
.kf-related-label {
  padding: 8px 10px;
  font-size: 12px; color: var(--kf-text);
  font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* =============================================================
   Footer
   ============================================================= */
.kf-footer {
  background: var(--kf-bg-2);
  border-top: 1px solid var(--kf-border);
  margin-top: 60px;
  padding: 50px 22px 30px;
  font-size: 14px; color: var(--kf-text-dim);
}
.kf-footer-inner {
  max-width: 1400px; margin: 0 auto;
  display: grid; gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.kf-footer-brand {
  font-size: 18px; font-weight: 700; color: var(--kf-text);
  margin-bottom: 10px;
}
.kf-footer-h {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--kf-text); margin-bottom: 12px; font-weight: 700;
}
.kf-footer-links { list-style: none; padding: 0; margin: 0; }
.kf-footer-links li { margin: 6px 0; }
.kf-footer-bottom {
  max-width: 1400px; margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--kf-border);
  font-size: 12px; color: var(--kf-text-dim);
  text-align: center;
}
