/*
Theme Name: Sterrenstof
Theme URI: https://example.com/sterrenstof
Author: Maarten Butter + Editcompany
Description: One page theme voor de documentaire Sterrenstof / Stardust.
Version: 1.4
Text Domain: sterrenstof
*/

:root {
    /* Frisser nachtblauw ipv zwart */
    --bg-top: #1b2a4a;
    --bg-mid: #0b1630;
    --bg-bottom: #050812;

    /* Kaarten iets lichter voor contrast */
    --card-top: #172752;
    --card-mid: #0d1b3a;
    --card-bottom: #070c1a;

    /* Kleuren: fris, niet neon */
    --color-primary: #67e8f9; /* ice cyan */
    --color-accent: #fbbf24;  /* warm goud */
    --color-text: #eef2ff;
    --color-muted: #b8c3d6;

    --color-border: rgba(203, 213, 225, 0.26);

    --radius-lg: 1.6rem;
    --radius-md: 1.15rem;

    /* Layout breedtes */
    --wrap-max: 1100px;
    --content-narrow: 860px; /* synopsis + screenings moeten hierbinnen vallen */
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, var(--bg-top) 0%, var(--bg-mid) 55%, var(--bg-bottom) 100%);
    color: var(--color-text);
    line-height: 1.55;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

p {
    margin: 0.25rem 0 0.9rem;
}

/* Koppen: indie poster vibe */

h1,
h2,
h3,
.site-title {
    font-family: "Georgia", "Times New Roman", serif;
    font-weight: 600;
}

/* Layout */

.wrap {
    max-width: var(--wrap-max);
    margin: 0 auto;
    padding: 1.6rem;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(11, 22, 48, 0.82);
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(18px);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-title {
    font-size: 1.05rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.site-title a {
    color: var(--color-text);
    text-decoration: none;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
}

.site-nav a {
    color: var(--color-muted);
    position: relative;
    padding-bottom: 0.15rem;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.15rem;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    transition: width 0.15s ease;
}

.site-nav a:hover {
    color: var(--color-text);
}

.site-nav a:hover::after {
    width: 100%;
}

/* Hero */

.hero {
    margin: 2.2rem 0 3.1rem;
    padding: 3.1rem 2.6rem 3.3rem;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top left, #263b6a 0%, #0b1630 55%, #050812 100%);
    border: 1px solid var(--color-border);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.55);
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.35fr);
    gap: 2.6rem;
    align-items: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -30%;
    background:
        radial-gradient(circle at top left, rgba(103, 232, 249, 0.16), transparent 55%),
        radial-gradient(circle at bottom right, rgba(251, 191, 36, 0.12), transparent 60%);
    opacity: 0.85;
    pointer-events: none;
    z-index: 0;
}

/* Hero achtergrond met still */

.hero::after {
    content: "";
    position: absolute;
    inset: -4%;
    background-image: url('https://stardust-film.nl/wp-content/uploads/2019/07/wouter_antenne.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.14;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.6rem, 3.4vw, 3.05rem);
    margin: 0 0 0.45rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--color-muted);
    margin-bottom: 0.5rem;
}

.hero-alt-title {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-muted);
    margin-bottom: 0.9rem;
}

.hero-logline {
    font-size: 1rem;
    max-width: 34rem;
}

.hero-cta {
    margin-top: 1.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    background: rgba(6, 10, 18, 0.18);
    border: 1px solid rgba(203, 213, 225, 0.22);
    font-size: 0.8rem;
    color: var(--color-muted);
    margin-top: 0.9rem;
}

.hero-still-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(203, 213, 225, 0.24);
    background: rgba(0, 0, 0, 0.22);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.6);
}

.hero-still-frame img {
    display: block;
    width: 100%;
    height: auto;
}

/* Laurels in hero */

.festival-strip {
    margin-top: 1.1rem;
    display: flex;
    justify-content: flex-start;
}

.festival-strip img {
    display: block;
    max-width: 100%;
    height: auto;
    opacity: 0.95;
    filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.45));
}

/* Buttons */

.btn {
    display: inline-block;
    padding: 0.78rem 1.7rem;
    border-radius: 999px;
    font-weight: 650;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition:
        transform 0.14s ease,
        box-shadow 0.14s ease,
        background 0.14s ease,
        color 0.14s ease,
        border-color 0.14s ease;
}

.btn-primary {
    background: var(--color-primary);
    color: #06101f;
    box-shadow: 0 18px 45px rgba(103, 232, 249, 0.26);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 24px 60px rgba(103, 232, 249, 0.36);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-muted);
    border: 1px solid rgba(203, 213, 225, 0.22);
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
    color: var(--color-text);
}

/* Sections */

.section {
    margin-bottom: 3rem;
}

.section-header {
    margin-bottom: 1.4rem;
}

/* Dit is de echte fix voor “kop en intro te breed” */
.section-header {
    max-width: var(--content-narrow);
    margin-left: auto;
    margin-right: auto;
}

.section-kicker {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--color-muted);
    margin-bottom: 0.3rem;
}

.section-title {
    font-size: 1.6rem;
    margin: 0 0 0.4rem;
}

.section-intro {
    font-size: 0.98rem;
    color: var(--color-muted);
}

/* Cards */

.card {
    background: radial-gradient(circle at top, var(--card-top) 0%, var(--card-mid) 55%, var(--card-bottom) 100%);
    border-radius: var(--radius-md);
    padding: 1.7rem 1.8rem 1.6rem;
    border: 1px solid rgba(203, 213, 225, 0.22);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
    position: relative;
    overflow: hidden;
    transition:
        transform 0.14s ease,
        box-shadow 0.14s ease,
        border-color 0.14s ease,
        background 0.14s ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(103, 232, 249, 0.05), transparent 55%);
    pointer-events: none;
}

.card h3 {
    margin-top: 0;
}

.card:hover {
    transform: translateY(-1px);
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.62);
    border-color: rgba(103, 232, 249, 0.28);
}

/* Single cards (zoals quotes en contact/adres) ook in de smalle kolom */
.section > .card {
    max-width: var(--content-narrow);
    margin-left: auto;
    margin-right: auto;
}

/* Film embed */

.film-embed {
    padding: 1.3rem 1.4rem 1.5rem;
}

/* Dit houdt het YouTube blok ook in dezelfde fijnere kolom */
.section > .film-embed.card {
    max-width: var(--content-narrow);
    margin-left: auto;
    margin-right: auto;
}

.film-embed-inner {
    position: relative;
    padding-top: 56.25%;
    border-radius: 1.1rem;
    overflow: hidden;
    border: 1px solid rgba(203, 213, 225, 0.22);
    background: #000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.film-embed-inner iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Synopses */

/* Dit is de fix voor “synopsis blokken te breed” */
.synopsis-grid {
    max-width: var(--content-narrow);
    margin-left: auto;
    margin-right: auto;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.6rem;
}

.synopsis-lang-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--color-muted);
    margin-bottom: 0.4rem;
}

/* Quotes */

.quote-block {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.98rem;
}

.quote-text {
    font-style: italic;
}

.quote-attrib {
    font-size: 0.86rem;
    color: var(--color-muted);
}

/* Screenings */

/* Dit is de fix voor “screenings blokken te breed” */
.screenings-grid {
    max-width: var(--content-narrow);
    margin-left: auto;
    margin-right: auto;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.screening-meta {
    font-size: 0.86rem;
    color: var(--color-muted);
    margin-bottom: 0.45rem;
}

/* Info en credits */

.info-grid {
    max-width: var(--content-narrow);
    margin-left: auto;
    margin-right: auto;

    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
    gap: 1.8rem;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.96rem;
}

.info-list li + li {
    margin-top: 0.35rem;
}

.info-label {
    font-weight: 650;
    color: var(--color-muted);
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(203, 213, 225, 0.18);
    margin-top: 2.8rem;
    background: rgba(11, 22, 48, 0.7);
}

.site-footer .wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.86rem;
    color: var(--color-muted);
    align-items: center;
}

/* Responsive */

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 2.4rem 2.1rem 2.7rem;
        gap: 1.8rem;
    }

    .hero-still-frame {
        max-width: 440px;
        margin: 0 auto;
    }

    .section-header,
    .synopsis-grid,
    .screenings-grid,
    .info-grid,
    .section > .film-embed.card {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .site-header .wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-nav {
        row-gap: 0.35rem;
        font-size: 0.86rem;
    }

    .hero {
        margin: 1.4rem 0 2.3rem;
        padding: 2rem 1.6rem 2.3rem;
    }

    .wrap {
        padding: 1.2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}
/* Forceer smalle kolom voor losse cards (quotes + adres) */
.card.narrow,
.section .card.narrow,
.section#contact .card {
    width: 100% !important;
    max-width: var(--content-narrow) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}