/* =============================================================
   FRAMIC — STYLES
   -------------------------------------------------------------
   KLEUREN AANPASSEN? Doe het hieronder bij ":root".
   Verander één regel en de hele site past mee aan.
   ============================================================= */

:root {
  /* --- Kleuren (pas hier aan) --- */
  --bg:           #0e1014;   /* achtergrond, diep nacht */
  --bg-soft:      #14181f;   /* iets lichter vlak */
  --surface:      #1a1f29;   /* kaarten */
  --surface-2:    #222936;   /* hover / randen */
  --text:         #ece6da;   /* warme room-witte tekst */
  --muted:        #9aa6b6;   /* gedempte tekst */
  --accent:       #ff4d4d;   /* FRAMIC rood (knoppen, accenten) */
  --accent-soft:  #ff4d4d;   /* lichter rood (logo-tint, kleine accenten op donker) */
  --accent-press: #e23b3b;   /* iets donkerder rood voor hover/ingedrukt */
  --accent-2:     #6f8ca0;   /* koel leisteen-blauw (tweede accent) */
  --danger:       #ff4d4d;
  --border:       rgba(255,255,255,.08);
  --shadow:       0 18px 40px rgba(0,0,0,.45);

  /* --- Lettertypes --- */
  --font-head:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; /* Inter Black (900) voor titels */
  --font-body:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; /* Inter Regular voor tekst */
  --font-logo:   "Inter", -apple-system, BlinkMacSystemFont, sans-serif;  /* wordmerk, black + caps zoals YouTube */
  --font-special: "Cinzel", Georgia, "Times New Roman", serif;            /* speciale accenten (labels boven titels) */

  /* --- Vorm --- */
  --radius:    18px;
  --radius-sm: 12px;
  --container: 1200px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

/* --- Helpers --- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.eyebrow {
  font-family: var(--font-special); font-size: .92rem; line-height: 1;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-soft); font-weight: 600;
  display: inline-block;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--accent); color: #14110a;
  padding: .6rem 1rem; border-radius: 0 0 10px 0; z-index: 200; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* --- Knoppen --- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.4rem; border-radius: 999px; font-weight: 600;
  font-size: .95rem; transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  border: 1px solid transparent; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #000; font-weight: 700; box-shadow: 0 8px 24px rgba(255,77,77,.32); }
.btn-primary:hover { background: var(--accent-press); color: #000; }
.btn-ghost { border-color: var(--border); background: rgba(255,255,255,.03); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--surface-2); }

/* =============================================================
   HEADER
   ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 0; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .55rem; }
.brand-name { font-family: var(--font-logo); font-size: 1.34rem; font-weight: 900;
  letter-spacing: .14em; line-height: 1; text-transform: uppercase; color: var(--text); }
.brand-name .f { color: var(--accent); }
.brand-img { height: 30px; width: auto; display: block; }
.brand-name small { display: block; font-family: var(--font-body); font-size: .55rem;
  letter-spacing: .25em; text-transform: uppercase; color: var(--muted); margin-top: 5px; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  padding: .5rem .85rem; border-radius: 999px; color: var(--muted);
  font-size: .92rem; font-weight: 500; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav-cta { margin-left: .4rem; }
.nav-links a.nav-cta { color: #000; }
.nav-links a.nav-cta:hover { color: #000; background: var(--accent-press); }
.nav-toggle { display: none; font-size: 1.5rem; padding: .3rem .5rem; color: var(--text); }

/* =============================================================
   HERO
   ============================================================= */
.hero { position: relative; padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 80% 0%, rgba(255,77,77,.16), transparent 60%),
    radial-gradient(50% 60% at 10% 20%, rgba(111,140,160,.14), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.hero h1 {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.02; letter-spacing: -0.03em;
  margin: 1rem 0 1.1rem;
}
.hero h1 .glow { color: var(--accent-soft); }
.hero p.lead { font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-stats .stat strong { font-family: var(--font-head); font-weight: 900; font-size: 1.7rem; display: block; line-height: 1; letter-spacing: -0.02em; }
.hero-stats .stat span { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }

/* Hero featured stack */
.hero-feature { display: grid; gap: .9rem; }
.hero-feature .feature-main { grid-column: 1 / -1; }
.hero-feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }

/* =============================================================
   SECTIONS
   ============================================================= */
section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-head { max-width: 60ch; margin-bottom: 2rem; }
.section-head h2 {
  font-family: var(--font-head); font-weight: 900; letter-spacing: -0.025em;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.08; margin: .3rem 0 .6rem;
}
.section-head p { color: var(--muted); }
.divider { border: 0; border-top: 1px solid var(--border); }

/* --- Category filter bar --- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.6rem; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .95rem; border-radius: 999px; font-size: .9rem; font-weight: 500;
  background: var(--surface); border: 1px solid var(--border); color: #cdd5de;
  transition: all .18s ease;
}
.chip:hover { color: #fff; border-color: var(--accent); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--accent); color: #000; border-color: var(--accent); font-weight: 700; }
.chip .count { font-size: .72rem; opacity: .6; }
.chip[aria-pressed="true"] .count { opacity: .85; }

.search-wrap { margin-left: auto; position: relative; }
.search-wrap input {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  padding: .6rem 1rem .6rem 2.3rem; border-radius: 999px; font-size: .9rem; width: 230px;
  transition: border .2s, width .2s;
}
.search-wrap input:focus { outline: none; border-color: var(--accent); }
.search-wrap svg { position: absolute; left: .8rem; top: 50%; transform: translateY(-50%); color: var(--muted); }

/* --- Filtergroepen (wereld / tijd / weer) --- */
.filters { margin-bottom: 1.7rem; display: grid; gap: .65rem; }
.filter-row { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.filter-label { flex: none; width: 70px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-search { justify-content: space-between; margin-top: .4rem; }
.filter-search .search-wrap { margin-left: 0; }
.result-count { font-size: .82rem; color: var(--muted); white-space: nowrap; }

/* =============================================================
   VIDEO GRID + CARDS
   ============================================================= */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.4rem; }
.video-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.video-card:hover { transform: translateY(-4px); border-color: var(--surface-2); box-shadow: var(--shadow); }
.thumb {
  position: relative; aspect-ratio: 16 / 9; background: var(--bg-soft); cursor: pointer;
  width: 100%; overflow: hidden; display: block;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.video-card:hover .thumb img { transform: scale(1.05); }
.thumb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.5));
}
.thumb.playing { cursor: default; }
.thumb.playing::after { display: none; }
.play-btn {
  position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%;
  background: rgba(20,16,10,.55); backdrop-filter: blur(4px); border: 1.5px solid rgba(255,255,255,.55);
  display: grid; place-items: center; z-index: 2; transition: transform .2s, background .2s;
}
.play-btn svg { width: 24px; height: 24px; margin-left: 3px; fill: #fff; }
.thumb:hover .play-btn { background: var(--accent); border-color: var(--accent); transform: scale(1.08); }
.thumb:hover .play-btn svg { fill: #1a1304; }
.thumb .tag {
  position: absolute; left: .7rem; top: .7rem; z-index: 2;
  font-size: .7rem; font-weight: 600; letter-spacing: .03em;
  padding: .25rem .6rem; border-radius: 999px;
  background: rgba(14,16,20,.72); border: 1px solid var(--border); color: var(--accent-soft);
}
.thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-body { padding: .95rem 1.05rem 1.1rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.video-title { font-size: .98rem; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-meta { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: .5rem; margin-top: auto; }
.video-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }

.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); }

/* =============================================================
   SHOP
   ============================================================= */
.shop { background: var(--bg-soft); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.3rem; }
.product-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem; display: flex; flex-direction: column; gap: .7rem;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--shadow); }
.product-card .price { font-family: var(--font-head); font-weight: 900; font-size: 1.5rem; color: var(--accent-soft); }
.product-card h3 { font-size: 1.1rem; font-weight: 600; }
.product-card p { color: var(--muted); font-size: .9rem; flex: 1; }
.product-card .btn { margin-top: .4rem; align-self: flex-start; }
.product-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }

.sampler-banner {
  margin-top: 2rem; padding: 1.6rem 1.8rem; border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(255,77,77,.15), rgba(111,140,160,.1));
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between;
  gap: 1.2rem; flex-wrap: wrap;
}
.sampler-banner h3 { font-family: var(--font-head); font-size: 1.3rem; }
.sampler-banner p { color: var(--muted); font-size: .92rem; }

/* =============================================================
   GEAR / AFFILIATE
   ============================================================= */
.gear-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem;
  transition: transform .2s, border-color .2s;
}
.gear-card:hover { transform: translateY(-4px); border-color: var(--accent-2); }
.gear-card .gtag {
  align-self: flex-start; font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  padding: .25rem .6rem; border-radius: 999px; background: rgba(111,179,184,.14);
  color: var(--accent-2); border: 1px solid rgba(111,179,184,.25);
}
.gear-card h3 { font-size: 1.05rem; font-weight: 600; }
.gear-card p { color: var(--muted); font-size: .9rem; flex: 1; }
.disclosure { font-size: .82rem; color: var(--muted); margin-top: 1.3rem; max-width: 70ch;
  border-left: 2px solid var(--border); padding-left: .9rem; }

/* =============================================================
   ABOUT
   ============================================================= */
.about { background: var(--bg-soft); }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.about p { color: var(--muted); margin-bottom: 1rem; max-width: 60ch; }
.about-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem; display: grid; gap: 1rem;
}
.about-card .row { display: flex; gap: .9rem; align-items: flex-start; }
.about-card .row .ic { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid;
  place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.about-card .row .ic svg { width: 20px; height: 20px; }
.about-card .row strong { display: block; }
.about-card .row span { color: var(--muted); font-size: .9rem; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer { border-top: 1px solid var(--border); padding: 3rem 0 2rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.footer-socials { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.footer-socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted); transition: all .2s;
}
.footer-socials a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
  color: var(--muted); font-size: .84rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }

/* --- Back to top --- */
.to-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s; transform: translateY(10px);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* =============================================================
   VIDEO POP-UP (lightbox)
   ============================================================= */
.video-modal { position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 2.5rem); }
.video-modal.open { display: flex; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(6,8,11,.82); backdrop-filter: blur(8px); }
.video-modal-inner { position: relative; z-index: 1; width: min(1040px, 100%); }
.video-modal-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .7rem; }
.video-modal-actions { display: flex; align-items: center; gap: .9rem; flex: none; }
.video-modal-yt { font-size: .82rem; font-weight: 700; color: #000; white-space: nowrap;
  padding: .45rem .9rem; border-radius: 999px; background: var(--accent); border: 1px solid var(--accent); transition: all .2s; }
.video-modal-yt:hover { background: var(--accent-press); border-color: var(--accent-press); color: #000; }
.video-modal-title { font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: var(--text);
  line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.video-modal-close { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--surface);
  border: 1px solid var(--border); color: var(--text); font-size: 1rem; line-height: 1; transition: all .2s; }
.video-modal-close:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: rotate(90deg); }
.video-modal-frame { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: var(--radius);
  overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-feature { order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 1rem 1.25rem 1.5rem;
    gap: .2rem; transform: translateY(-130%); transition: transform .3s ease; box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: .8rem 1rem; }
  .nav-toggle { display: block; }
  .nav-cta { margin: .5rem 0 0; }
  .search-wrap { margin-left: 0; width: 100%; }
  .search-wrap input { width: 100%; }
  .filter-bar { flex-direction: column; align-items: stretch; }
}

/* --- Toegankelijkheid --- */
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
