/* spacemen.be — kleuren en fonts volgen het visitekaartje */
:root {
    --bg: #101010;
    --bg-2: #161616;
    --ink: #f5f4f2;
    --ink-dim: #a9a7a1;
    --line: #2a2a2a;
    --silver: #d9d8d3;
    --gold: #d5af75;
    --gold-hi: #e9c994;
    --display: 'Unbounded', 'Noto Sans', system-ui, sans-serif;
    --body: 'Noto Sans', system-ui, sans-serif;
    --gutter: clamp(16px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 17px/1.7 var(--body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--bg); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- typografie ---------- */
.eyebrow {
    margin: 0 0 18px;
    font: 500 12px/1.4 var(--display);
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--gold);
}
.title {
    margin: 0;
    font: 700 clamp(38px, 7vw, 88px)/1 var(--display);
    letter-spacing: -.02em;
    text-transform: uppercase;
}
.title em {
    font-style: normal;
    font-weight: 300;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--gold);
}
.rule { display: block; width: 64px; height: 3px; margin: 28px 0 44px; background: var(--gold); }
.lead { font-size: clamp(19px, 2.2vw, 23px); line-height: 1.55; font-weight: 300; color: var(--ink); margin-top: 0; }
p { color: var(--ink-dim); }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    border: 1.5px solid var(--gold);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font: 500 13px/1 var(--display);
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background .25s, color .25s, transform .25s;
}
.btn:hover, .btn:focus-visible { background: var(--gold); color: var(--bg); transform: translateY(-2px); }
.btn:disabled { opacity: .5; cursor: wait; transform: none; }

/* ---------- navigatie ---------- */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px var(--gutter);
    transition: border-color .3s;
    border-bottom: 1px solid transparent;
}
/* blur op een aparte laag: backdrop-filter op .nav zelf maakt van de nav het
   containing block voor het position:fixed mobiele menu (menu zat dan
   geplet in de 72px-balk zodra je gescrold had) */
.nav::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(16, 16, 16, .82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-brand img { width: 74px; height: auto; opacity: 0; transition: opacity .3s; }
.nav.is-scrolled .nav-brand img { opacity: 1; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
    font: 500 12px/1 var(--display);
    letter-spacing: .2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links .nav-cta { padding: 12px 20px; border: 1.5px solid var(--gold); border-radius: 999px; }
.nav-links .nav-cta:hover { background: var(--gold); color: var(--bg); }
.nav-toggle { display: none; }
.nav-lang { display: flex; align-items: center; gap: 6px; font: 500 11px/1 var(--display); letter-spacing: .15em; color: var(--ink-dim); }
.nav-links .nav-lang a { font-size: 11px; color: var(--ink-dim); padding: 6px 2px; }
.nav-links .nav-lang a:hover { color: var(--gold); }
.nav-links .nav-lang a.is-active { color: var(--gold); }

@media (max-width: 760px) {
    .nav-toggle {
        display: grid;
        gap: 7px;
        width: 44px; height: 44px;
        padding: 14px 10px;
        background: none; border: 0; cursor: pointer;
        position: relative; z-index: 2;
    }
    .nav-toggle span { display: block; height: 2px; background: var(--ink); transition: transform .3s; }
    .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
    .nav-links {
        position: fixed; inset: 0;
        flex-direction: column; justify-content: center; gap: 30px;
        background: rgba(16, 16, 16, .97);
        opacity: 0; visibility: hidden;
        transition: opacity .3s, visibility .3s;
    }
    .nav-links.is-open { opacity: 1; visibility: visible; }
    .nav-links a { font-size: 18px; }
    .nav-links .nav-lang a { font-size: 15px; }
}

/* ---------- hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 80px var(--gutter) 96px;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 45%, #1b1b1b 0%, var(--bg) 62%);
}
.stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner { position: relative; text-align: center; display: grid; justify-items: center; }
.hero-logo {
    /* schaalt ook op hoogte, zodat de hero (+ scroll-cue) altijd binnen het scherm past */
    width: max(220px, min(760px, 92vw, calc((100vh - 320px) * 1.2)));
    width: max(220px, min(760px, 92vw, calc((100svh - 320px) * 1.2)));
    margin: 0;
    display: grid;
    justify-items: center;
    container-type: inline-size;
    font-weight: 400;
    animation: float 7s ease-in-out infinite;
}
/* logo = Mirko's SVG (planeet + SPACEMEN, alt="Spacemen");
   "Live brass duo" = echte tekst in de H1 (SEO), verhoudingen zoals op het kaartje */
.hero-mark { width: 100%; height: auto; }
.hero-sub {
    display: block;
    margin: 2.5cqw -.22em 0 0;
    font: 400 5.6cqw/1 'Noto Sans', system-ui, sans-serif;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink);
}
.hero-sub::after {
    content: '';
    display: block;
    width: 7cqw; height: .8cqw; min-height: 2px;
    margin: 3cqw auto 0;
    background: var(--gold);
}
.hero-tag {
    margin: 10px 0 30px;
    font: 300 clamp(14px, 2vw, 20px)/1.3 var(--display);
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--ink);
}
.hero-scroll {
    position: absolute; left: 50%; bottom: 28px;
    width: 26px; height: 42px; margin-left: -13px;
    border: 1.5px solid var(--silver); border-radius: 14px; opacity: .6;
}
.hero-scroll span {
    position: absolute; left: 50%; top: 8px;
    width: 4px; height: 8px; margin-left: -2px;
    border-radius: 2px; background: var(--gold);
    animation: scrollcue 2s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-.6deg); } }
@keyframes scrollcue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- secties ---------- */
.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }

.concept-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.concept-text p:last-child { margin-bottom: 0; }
.genres { list-style: none; margin: 0; padding: 0; }
.genres li {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font: 700 clamp(22px, 3vw, 34px)/1.1 var(--display);
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: color .25s, padding-left .25s;
}
.genres li:first-child { border-top: 1px solid var(--line); }
.genres li:hover { color: var(--gold); padding-left: 10px; }

.event-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.event {
    position: relative;
    padding: 34px 26px 30px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    transition: transform .3s, border-color .3s;
}
.event::after {
    content: '';
    position: absolute; right: -50px; top: -50px;
    width: 130px; height: 130px;
    border: 1.5px solid var(--gold); border-radius: 50%;
    opacity: .25; transition: opacity .3s, transform .5s;
}
.event:hover { transform: translateY(-6px); border-color: var(--gold); }
.event:hover::after { opacity: .7; transform: scale(1.15); }
.event-nr { font: 500 12px/1 var(--display); color: var(--gold); letter-spacing: .2em; }
.event h3 { margin: 18px 0 12px; font: 700 21px/1.15 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.event p { margin: 0; font-size: 15.5px; line-height: 1.6; }

@media (max-width: 1000px) { .event-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
    .concept-grid { grid-template-columns: 1fr; }
    .event-grid { grid-template-columns: 1fr; }
}

/* ---------- foto's: grid op pc/tablet, swipe op mobiel ---------- */
.gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gallery:focus { outline: none; }
.gallery-item { margin: 0; overflow: hidden; border-radius: 14px; aspect-ratio: 4 / 3; background: var(--bg-2); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .6s ease; filter: saturate(.9); }
.gallery-item:hover img { transform: scale(1.05); filter: saturate(1.1); }
.gallery-dots { display: none; }

@media (max-width: 900px) and (min-width: 641px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
    .gallery {
        display: flex;
        gap: 12px;
        padding: 0 var(--gutter);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 var(--gutter);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .gallery::-webkit-scrollbar { display: none; }
    .gallery-item { flex: 0 0 86%; scroll-snap-align: start; aspect-ratio: 4 / 5; }
    .gallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
    .gallery-dots span { width: 7px; height: 7px; border-radius: 50%; background: #444; transition: background .25s, width .25s; }
    .gallery-dots span.is-active { width: 22px; border-radius: 4px; background: var(--gold); }
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font: 500 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-dim); }
.field input, .field select, .field textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    font: 400 16px/1.4 var(--body);
    color-scheme: dark;
    transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field .is-invalid, .field input.is-invalid, .field textarea.is-invalid { border-color: #d46a5a; }
.hp { position: absolute; left: -9999px; }
.form .btn { justify-self: start; margin-top: 6px; }
.form-msg { margin: 0; min-height: 1.5em; font-size: 15px; }
.form-msg.ok { color: var(--gold); }
.form-msg.err { color: #e48a7c; }

.contact-info { display: grid; gap: 6px; padding-top: 26px; }
.contact-line {
    display: flex; align-items: center; gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    font: 400 15px/1.3 var(--display);
    letter-spacing: .08em;
    transition: color .2s;
    word-break: break-word;
}
.contact-line:hover { color: var(--gold); }
.contact-line svg { flex: 0 0 26px; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-line svg .dot { fill: currentColor; stroke: none; }

@media (max-width: 860px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info { padding-top: 0; }
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { padding: 70px var(--gutter) 40px; border-top: 1px solid var(--line); text-align: center; display: grid; justify-items: center; gap: 4px; }
.footer-logo img { width: 120px; height: auto; opacity: .85; transition: opacity .2s; }
.footer-logo:hover img { opacity: 1; }
.footer-tag { margin: 18px 0 30px; font: 300 13px/1.4 var(--display); letter-spacing: .25em; text-transform: uppercase; color: var(--ink); }
.footer-contact { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 36px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 14px/1.3 var(--display); letter-spacing: .06em; color: var(--ink); transition: color .2s; }
.footer-contact a:hover { color: var(--gold); }
.footer-contact svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact svg .dot { fill: currentColor; stroke: none; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 26px; margin: 0 0 30px; padding-top: 24px; border-top: 1px solid var(--line); width: min(100%, 720px); }
.footer-nav a { font: 500 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--ink-dim); padding: 6px 0; transition: color .2s; }
.footer-nav a:hover, .footer-nav a.is-active { color: var(--gold); }
.footer-lang { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-dim); font: 500 11px/1 var(--display); }
.footer-copy { margin: 0; font-size: 13px; }
.footer-copy a { color: var(--ink-dim); }
@media (max-width: 560px) {
    .footer-contact { flex-direction: column; align-items: center; gap: 16px; }
    .footer-contact a { font-size: 15px; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 24px; }
.notfound .title { font-size: clamp(32px, 6vw, 60px); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- admin ---------- */
.admin-wrap { padding-top: 40px; padding-bottom: 80px; }
.admin-head { display: flex; align-items: center; gap: 28px; margin-bottom: 26px; }
.admin-head .title { font-size: clamp(32px, 5vw, 54px); }
.admin-head .eyebrow { margin-bottom: 10px; }
.admin-help { max-width: 720px; }
.admin-msg { display: inline-block; padding: 10px 16px; border: 1px solid var(--gold); border-radius: 10px; color: var(--gold); }
.admin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }
.admin-slot { display: grid; gap: 12px; padding: 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; }
.admin-img { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #0b0b0b; display: grid; place-items: center; }
.admin-img img { width: 100%; height: 100%; object-fit: cover; }
.admin-img span { color: var(--ink-dim); font: 500 12px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.admin-nr { position: absolute; left: 10px; top: 10px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); color: var(--gold); font: 500 13px/1 var(--display); }
.admin-slot form { margin: 0; }
.btn-sm { padding: 11px 20px; font-size: 11px; }
.btn.is-busy { opacity: .6; pointer-events: none; }
.admin-actions { display: flex; gap: 8px; }
.admin-delete { margin-left: auto !important; }
.icon-btn { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font-size: 18px; line-height: 1; cursor: pointer; transition: border-color .2s, color .2s; }
.icon-btn:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.icon-btn:disabled { opacity: .25; cursor: default; }
.icon-btn.danger:hover { border-color: #d46a5a; color: #e48a7c; }
@media (max-width: 900px) { .admin-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .admin-grid { grid-template-columns: 1fr; } .admin-head { gap: 16px; } .admin-head img { width: 80px; } }
