/* ============================================================
   GLOBAL SETTINGS
============================================================ */
:root {
    --bg-dark: #000;
    --bg-darker: #111;
    --bg-border: #222;

    --text-light: #fff;
    --text-muted: #d4d4d4;

    --accent-gold: #ffcc00;

    --font-main: 'Inter', sans-serif;
    --font-title: 'Playfair Display', serif;

    --nav-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color .25s ease;
}

/* ============================================================
   NAVIGATIE
============================================================ */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    padding: 0 30px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--bg-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 900;
    transition: 0.25s ease;
}

/* Sticky gedrag */
nav.scrolled {
    background: rgba(0,0,0,0.85);
    height: 60px;
}

/* Logo */
nav .logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    user-select: none;
}

/* Menu desktop */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a:hover {
    color: var(--accent-gold);
}

/* Mobile toggle */
.menu-toggle {
    display: none;
    font-size: 2.2rem;
    cursor: pointer;
    user-select: none;
}

/* ==========================================
   MOBILE MENU
========================================== */
@media (max-width: 768px) {

    nav ul {
        display: none;
        flex-direction: column;
        background: var(--bg-darker);
        position: absolute;
        right: 20px;
        top: calc(var(--nav-height) + 10px);
        width: 220px;
        padding: 20px 0;
        border: 1px solid var(--bg-border);
        border-radius: 8px;
        animation: dropdown 0.25s ease-out;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 12px 0;
        text-align: right;
        padding-right: 20px;
    }

    .menu-toggle {
        display: block;
    }

    @keyframes dropdown {
        from { opacity: 0; transform: translateY(-6px); }
        to   { opacity: 1; transform: translateY(0); }
    }
}

/* ============================================================
   HERO
============================================================ */
.hero {
    height: 100vh;
    background: url('../img/008.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

/* Hero tekst */
.hero-text {
    position: relative;
    text-align: center;
    max-width: 900px;
    padding: 20px;
    animation: fadeIn 1.2s ease-out;
    z-index: 2;
}

.hero-text h1 {
    font-family: var(--font-title);
    font-size: clamp(2.4em, 5vw, 4em);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-shadow: 0 4px 16px rgba(0,0,0,0.55);
}

.hero-text p {
    font-size: clamp(1em, 2.4vw, 1.3em);
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 6px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   PAGE-STORY (wordt gebruikt in index.php)
============================================================ */
.page-story {
    background: #fffdf5;
    color: #000;
    border-left: 6px solid var(--accent-gold);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    border-radius: 10px;
    padding: 50px 60px;
    margin: 70px auto 100px;
    max-width: 1300px;
    line-height: 1.8;
    font-size: 1.15rem;
}

.page-story h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-story a {
    color: var(--accent-gold);
}

.page-story a:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .page-story {
        padding: 28px 20px;
        font-size: 1.05rem;
    }
}

/* ============================================================
   FOOTER
============================================================ */
footer {
    text-align: center;
    padding: 30px;
    background: var(--bg-darker);
    border-top: 1px solid var(--bg-border);
    font-size: 0.95em;
    color: #bbb;
    letter-spacing: 0.4px;
}

footer a:hover {
    color: var(--accent-gold);
}

/* Story / tekstblok met logo-stijl */
.story-form-style {
    max-width: 1400px;
    margin: 60px auto;
    padding: 50px;
    background: #fffdf5;
    color: #000;
    border-radius: 10px;
    box-shadow: 6px 12px 25px rgba(0,0,0,0.25);
    border-left: 6px solid #FFD700;
    line-height: 1.8;
    font-size: 1.15em;
    position: relative;
}

/* Header logo + titel */
.story-form-style .form-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.story-form-style .form-logo {
    max-width: 100px;
    height: auto;
    margin-right: 15px;
}

.story-form-style .form-header h2 {
    font-size: 2em;
    margin: 0;
    letter-spacing: 1px;
}

/* Dunne gouden lijn onder header */
.story-form-style .form-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #FFD700;
    opacity: 0.5;
}

/* Links binnen tekst */
.story-form-style a {
    color: #FFD700;
    text-decoration: none;
}

.story-form-style a:hover {
    text-decoration: underline;
}

/* Responsief */
@media (max-width: 768px) {
    .story-form-style { padding: 30px 20px; }
    .story-form-style .form-header h2 { font-size: 1.5em; }
}

/* Polaroid container – centreren */
.story-image {
    margin: 3rem auto;
    display: block;
    text-align: center;
}

/* Polaroid stijl met lichte kanteling */
.story-image.polaroid {
    background: #fff;
    padding: 14px 14px 38px; /* extra ruimte onderin */
    max-width: 420px;
    width: 90%;
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
    border-radius: 4px;

    /* lichte kanteling */
    transform: rotate(-1.5deg);
}

/* Afbeelding bovenin */
.story-image.polaroid img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

/* Tekst ONDER de afbeelding (klassieke polaroid) */
.story-image.polaroid figcaption {
    display: block;
    margin-top: 14px;
    font-size: 0.9rem;
    color: #444;
    font-style: italic;
    letter-spacing: 0.5px;
    text-align: center;
}
