/*
Theme Name: Dorpsfeest Films
Theme URI: https://dorpsfeestbakkeveen.nl
Author: Stichting Dorpsfeest Bakkeveen
Description: Custom WordPress thema voor Dorpsfeest Bakkeveen 2026 - Films & Netflix editie. Cinematisch design met donkere achtergrond, Netflix-rood en gouden accenten.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: dorpsfeest-films
*/

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-bg: #0a0a0a;
    --color-bg-secondary: #141428;
    --color-bg-card: #1a1a2e;
    --color-red: #e50914;
    --color-red-dark: #b20710;
    --color-gold: #d4a843;
    --color-gold-light: #f0d060;
    --color-text: #e8e8e8;
    --color-text-muted: #999;
    --color-text-dark: #666;
    --color-white: #fff;
    --color-border: rgba(255,255,255,0.08);
    --font-heading: 'Bebas Neue', Impact, sans-serif;
    --font-body: 'Open Sans', Arial, sans-serif;
    --max-width: 1200px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.1;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    margin-bottom: 1rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0) 100%);
    padding: 8px 0;
    transition: background var(--transition);
}

.site-header.scrolled {
    background: rgba(10,10,10,0.97);
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo img {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* WordPress custom logo output */
.custom-logo-link {
    display: inline-block;
}

.custom-logo {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

.main-nav a {
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all var(--transition);
    position: relative;
}

.main-nav a:hover,
.main-nav .current-menu-item a {
    color: var(--color-red);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-red);
    transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav .current-menu-item a::after {
    width: 70%;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--color-white);
    margin: 5px 0;
    border-radius: 2px;
    transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at center top, rgba(229,9,20,0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(212,168,67,0.08) 0%, transparent 40%),
        linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><rect fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="0.5" x="0" y="0" width="100" height="100"/></svg>') repeat;
    z-index: 1;
}

/* Animated particles/sparkles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.hero-particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--color-gold);
    border-radius: 50%;
    opacity: 0;
    animation: sparkle 4s infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: translateY(0) scale(0); }
    50% { opacity: 0.8; transform: translateY(-30px) scale(1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.hero-subtitle-top {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--color-gold);
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInDown 1s 0.3s forwards;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    color: var(--color-white);
    text-shadow: 0 0 40px rgba(229,9,20,0.5), 0 0 80px rgba(229,9,20,0.2);
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 1s 0.5s forwards;
}

.hero-title .accent {
    color: var(--color-red);
    display: block;
}

.hero-year {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--color-red);
    letter-spacing: 15px;
    opacity: 0;
    animation: fadeInUp 1s 0.7s forwards;
}

.hero-theme {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--color-text-muted);
    margin: 20px 0 30px;
    font-style: italic;
    opacity: 0;
    animation: fadeIn 1s 0.9s forwards;
}

.hero-date {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--color-gold);
    letter-spacing: 4px;
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeIn 1s 1.1s forwards;
}

.hero-cta {
    display: inline-block;
    background: var(--color-red);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 16px 50px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    opacity: 0;
    animation: fadeInUp 1s 1.3s forwards;
}

.hero-cta:hover {
    background: var(--color-red-dark);
    color: var(--color-white);
    transform: scale(1.05);
    box-shadow: 0 5px 30px rgba(229,9,20,0.4);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite 2s;
}

.hero-scroll-indicator svg {
    width: 30px;
    height: 30px;
    stroke: var(--color-text-muted);
}

/* ============================================
   COUNTDOWN SECTION
   ============================================ */
.countdown-section {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(26,26,46,0.5) 50%, transparent 100%);
    position: relative;
}

.countdown-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.countdown-label {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--color-gold);
    letter-spacing: 6px;
    margin-bottom: 30px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: clamp(15px, 4vw, 40px);
    flex-wrap: wrap;
}

.countdown-item {
    text-align: center;
    min-width: 80px;
}

.countdown-number {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5.5rem);
    color: var(--color-white);
    line-height: 1;
    text-shadow: 0 0 20px rgba(229,9,20,0.3);
    position: relative;
}

.countdown-unit {
    font-family: var(--font-heading);
    font-size: clamp(0.8rem, 1.5vw, 1.1rem);
    color: var(--color-text-muted);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 8px;
}

.countdown-separator {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5.5rem);
    color: var(--color-red);
    line-height: 1;
    align-self: flex-start;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.countdown-finished {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-gold);
    letter-spacing: 4px;
}

.countdown-hidden {
    display: none;
}

/* ============================================
   SECTION STYLING
   ============================================ */
.section {
    padding: 60px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
    color: var(--color-white);
}

.section-title .accent {
    color: var(--color-red);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-red), var(--color-gold));
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Filmstrip decoration */
.filmstrip-top,
.filmstrip-bottom {
    height: 30px;
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 15px,
            var(--color-bg) 15px,
            var(--color-bg) 20px
        ),
        linear-gradient(180deg, #222, #1a1a1a);
    border-top: 2px solid #333;
    border-bottom: 2px solid #333;
    position: relative;
}

.filmstrip-top::before,
.filmstrip-bottom::before {
    content: '';
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 0;
    right: 0;
    background: repeating-linear-gradient(
        90deg,
        #333 0px,
        #333 8px,
        transparent 8px,
        transparent 25px
    );
}

/* ============================================
   INTRO SECTION
   ============================================ */
.intro-section {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 100%);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.8;
}

.intro-content p {
    margin-bottom: 1.5rem;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
    background: var(--color-bg-secondary);
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 4px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.6) 100%);
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Filmstrip wrapper for gallery */
.filmstrip-wrapper {
    border-left: 30px solid #1a1a1a;
    border-right: 30px solid #1a1a1a;
    position: relative;
}

.filmstrip-wrapper::before,
.filmstrip-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    background: repeating-linear-gradient(
        180deg,
        transparent,
        transparent 15px,
        #333 15px,
        #333 18px
    );
    z-index: 1;
}

.filmstrip-wrapper::before { left: -30px; }
.filmstrip-wrapper::after { right: -30px; }

/* ============================================
   SPONSORS SECTION
   ============================================ */
.sponsors-section {
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg) 100%);
}

.sponsors-intro {
    text-align: center;
    color: var(--color-text-muted);
    font-style: italic;
    margin-bottom: 40px;
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
    align-items: center;
}

.sponsor-item {
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.sponsor-item:hover {
    border-color: var(--color-gold);
    box-shadow: 0 0 25px rgba(212,168,67,0.15);
    transform: translateY(-3px);
}

.sponsor-item img {
    max-height: 70px;
    max-width: 140px;
    width: auto;
    transition: filter var(--transition);
}

.sponsor-item:hover img {
    filter: brightness(1.05);
}

/* Sponsor ticker on homepage */
.sponsor-ticker {
    overflow: hidden;
    padding: 40px 0;
    position: relative;
}

.sponsor-ticker::before,
.sponsor-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
}

.sponsor-ticker::before {
    left: 0;
    background: linear-gradient(90deg, var(--color-bg), transparent);
}

.sponsor-ticker::after {
    right: 0;
    background: linear-gradient(-90deg, var(--color-bg), transparent);
}

.sponsor-ticker-inner {
    display: flex;
    gap: 60px;
    animation: ticker 30s linear infinite;
    width: max-content;
}

.sponsor-ticker-inner img {
    height: 50px;
    width: auto;
    background: rgba(255,255,255,0.9);
    border-radius: 6px;
    padding: 8px 12px;
    transition: background var(--transition);
}

.sponsor-ticker-inner img:hover {
    background: rgba(255,255,255,1);
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   PROGRAMMA SECTION
   ============================================ */
.programma-section {
    background: var(--color-bg);
}

.programma-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.programma-tab {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(255,255,255,0.05);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
}

.programma-tab:hover {
    border-color: var(--color-red);
    color: var(--color-text);
}

.programma-tab.active {
    background: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-white);
}

.programma-day {
    display: none;
}

.programma-day.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.programma-item {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid var(--color-border);
    align-items: baseline;
}

.programma-item:last-child {
    border-bottom: none;
}

.programma-time {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-gold);
    letter-spacing: 2px;
    min-width: 140px;
    flex-shrink: 0;
}

.programma-details h3 {
    font-size: 1.3rem;
    color: var(--color-white);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.programma-day-theme {
    text-align: center;
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-gold);
    margin-bottom: 30px;
    font-style: italic;
    letter-spacing: 1px;
}

.programma-details p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.programma-location {
    font-size: 0.85rem;
    color: var(--color-red);
    margin-top: 4px;
    font-style: italic;
}

/* ============================================
   CONTACT / SDB SECTION
   ============================================ */
.contact-section {
    background: var(--color-bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    color: var(--color-gold);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-details p {
    margin-bottom: 8px;
    color: var(--color-text-muted);
}

.contact-details strong {
    color: var(--color-text);
}

/* Cast/crew style board members */
.cast-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.cast-member {
    text-align: center;
    padding: 25px 15px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: all var(--transition);
}

.cast-member:hover {
    border-color: var(--color-gold);
    transform: translateY(-3px);
}

.cast-member .name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-white);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.cast-member .role {
    color: var(--color-gold);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Contact Form 7 styling */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 14px 18px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition);
    margin-bottom: 15px;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}

.wpcf7 textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7 input[type="submit"] {
    background: var(--color-red);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: none;
    padding: 14px 40px;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
}

.wpcf7 input[type="submit"]:hover {
    background: var(--color-red-dark);
    box-shadow: 0 5px 20px rgba(229,9,20,0.3);
}

.wpcf7 label {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 5px;
}

.wpcf7-response-output {
    border-color: var(--color-gold) !important;
    color: var(--color-text) !important;
    margin: 20px 0 0 !important;
}

/* ============================================
   HUISREGELS SECTION
   ============================================ */
.huisregels-section {
    background: var(--color-bg);
}

.huisregels-list {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
    counter-reset: rules;
}

.huisregels-list li {
    counter-increment: rules;
    padding: 20px 20px 20px 70px;
    position: relative;
    border-bottom: 1px solid var(--color-border);
    font-size: 1.05rem;
    line-height: 1.7;
}

.huisregels-list li::before {
    content: counter(rules);
    position: absolute;
    left: 15px;
    top: 20px;
    width: 36px;
    height: 36px;
    background: var(--color-red);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.huisregels-list li:last-child {
    border-bottom: none;
}

/* ============================================
   NEWS SECTION
   ============================================ */
.news-section {
    background: var(--color-bg-secondary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition);
}

.news-card:hover {
    border-color: var(--color-red);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.news-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-body {
    padding: 25px;
}

.news-card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.news-card-body h3 a {
    color: var(--color-white);
}

.news-card-body h3 a:hover {
    color: var(--color-red);
}

.news-card-excerpt {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.news-card-meta {
    font-size: 0.8rem;
    color: var(--color-text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.read-more {
    display: inline-block;
    color: var(--color-red);
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color var(--transition);
}

.read-more:hover {
    color: var(--color-gold);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #050510;
    padding: 50px 0 25px;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: all var(--transition);
}

.footer-social a:hover {
    border-color: var(--color-red);
    color: var(--color-red);
    background: rgba(229,9,20,0.1);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-dark);
    font-size: 0.85rem;
}

/* ============================================
   PAGE TEMPLATE (generic)
   ============================================ */
.page-header {
    padding: 150px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, rgba(229,9,20,0.08) 0%, transparent 100%);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.page-content {
    padding: 60px 0;
}

.page-content .container {
    max-width: 800px;
}

/* ============================================
   SINGLE POST
   ============================================ */
.single-post-header {
    padding: 150px 0 40px;
    text-align: center;
}

.single-post-meta {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-top: 15px;
}

.single-post-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.single-post-content img {
    border-radius: 4px;
    margin: 1.5rem 0;
}

/* ============================================
   404 PAGE
   ============================================ */
.page-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-404 h1 {
    font-size: clamp(5rem, 15vw, 12rem);
    color: var(--color-red);
    text-shadow: 0 0 40px rgba(229,9,20,0.3);
}

.page-404 p {
    font-size: 1.3rem;
    color: var(--color-text-muted);
    margin: 20px 0 30px;
}

.btn-home {
    display: inline-block;
    background: var(--color-red);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 14px 40px;
    border-radius: 4px;
    transition: all var(--transition);
}

.btn-home:hover {
    background: var(--color-red-dark);
    color: var(--color-white);
    box-shadow: 0 5px 20px rgba(229,9,20,0.3);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10,10,10,0.98);
        backdrop-filter: blur(20px);
        padding: 80px 30px 30px;
        transition: right var(--transition);
        z-index: 999;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        display: block;
        padding: 15px 10px;
        font-size: 1.3rem;
        border-bottom: 1px solid var(--color-border);
    }

    .main-nav a::after {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .filmstrip-wrapper {
        border-left: none;
        border-right: none;
    }

    .filmstrip-wrapper::before,
    .filmstrip-wrapper::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: clamp(2.2rem, 10vw, 3.5rem);
    }

    .countdown-timer {
        gap: 15px;
    }

    .countdown-separator {
        display: none;
    }

    .countdown-item {
        min-width: 70px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .cast-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .programma-item {
        flex-direction: column;
        gap: 8px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .sponsors-grid {
        grid-template-columns: 1fr;
    }

    .cast-grid {
        grid-template-columns: 1fr;
    }

    .programma-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .programma-tab {
        text-align: center;
    }
}

/* ============================================
   WORDPRESS BLOCK EDITOR CONTENT
   ============================================ */

/* Ensure WP content looks good in dark theme */
.page-content p,
.programma-section p,
.sponsors-section p,
.contact-section p,
.huisregels-section p {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.page-content h2,
.programma-section h2,
.sponsors-section h2,
.contact-section h2,
.huisregels-section h2 {
    color: var(--color-white);
    margin: 2rem 0 1rem;
}

.page-content h3,
.programma-section h3,
.sponsors-section h3,
.contact-section h3,
.huisregels-section h3 {
    color: var(--color-gold);
    margin: 1.5rem 0 0.8rem;
}

.page-content ul,
.page-content ol,
.huisregels-section ul,
.huisregels-section ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--color-text);
}

.page-content li,
.huisregels-section li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.page-content img,
.sponsors-section img,
.programma-section img {
    border-radius: 4px;
}

.page-content strong,
.contact-section strong {
    color: var(--color-white);
}

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

.page-content a:hover {
    color: var(--color-gold-light);
}

/* WP block gallery in dark theme */
.wp-block-gallery {
    margin: 1.5rem 0;
}

.wp-block-image {
    margin: 1.5rem 0;
}

/* WP block columns */
.wp-block-columns {
    gap: 30px;
}

/* WP block table */
.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    color: var(--color-text);
}

.wp-block-table td,
.wp-block-table th {
    padding: 10px 15px;
    border-bottom: 1px solid var(--color-border);
}

.wp-block-table th {
    color: var(--color-gold);
    text-align: left;
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */
.alignleft {
    float: left;
    margin: 0 1.5em 1.5em 0;
}

.alignright {
    float: right;
    margin: 0 0 1.5em 1.5em;
}

.aligncenter {
    display: block;
    margin: 1.5em auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-align: center;
    padding-top: 5px;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-red);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 99;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--color-red-dark);
    box-shadow: 0 5px 20px rgba(229,9,20,0.4);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}
