/* =========================================
   0. LOCAL FONTS
========================================= */
@font-face {
    font-family: 'Bebas Neue';
    src: url('fonts/bebasneue_400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat_400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat_900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Paytone One';
    src: url('fonts/paytone_one_400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Special Elite';
    src: url('fonts/special_elite_400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* =========================================
   1. CSS VARIABLES & THEME SETTINGS
========================================= */
:root {
    --prem-red: #ff2f2b;
    --prem-blue: #1d26ad;
    --prem-text: #000742;
    --prem-yellow: #fcec3d;
    --prem-light: #ecf6ff;
    --prem-black: #111111;
    --font-hoofd: 'Paytone One', sans-serif;
    --font-sub: 'Bebas Neue', sans-serif; 
    --font-marker: 'Special Elite', monospace; 
    --font-body: 'Montserrat', sans-serif;
}

/* =========================================
   2. GLOBAL RESET & BASE STYLES
========================================= */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
}

body {
    font-family: var(--font-body);
    background-color: var(--prem-light);
    background-image: linear-gradient(#ecf6fff6, #ecf6fff6), url('/assets/main_background.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: var(--prem-black);
    overflow-x: hidden;
    line-height: 1.4;
}

h1, h2, h3 { 
    text-transform: uppercase; 
}

/* =========================================
    3. UTILITY CLASSES & ANIMATIONS
========================================= */
.hand-drawn {
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
    border: 4px solid var(--prem-blue);
}

.hand-drawn-alt {
    border-radius: 15px 255px 15px 225px / 255px 15px 225px 15px;
}

.reveal { 
    opacity: 0; 
    transform: translateY(40px); 
    transition: all 0.8s cubic-bezier(0.5, 1.5, 0.5, 1); 
}

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

/* Floating radio button */
.floating-radio-btn {
    position: fixed; 
    top: 15px; 
    right: 15px; 
    z-index: 10001; 
    background: var(--prem-red); 
    color: var(--prem-light);
    padding: 10px 20px;
    font-family: var(--font-marker); 
    font-size: clamp(0.7rem, 1.2vw, 1.1rem);
    text-decoration: none;
    cursor: pointer; 
    transition: all 0.3s; 
    transform: rotate(2deg);
    box-shadow: 4px 4px 0px var(--prem-blue);
    animation: radioPulse 2s infinite alternate;
}

.floating-radio-btn:hover { 
    background: var(--prem-blue); 
    color: var(--prem-yellow); 
}

@keyframes radioPulse {
    0% { box-shadow: 4px 4px 0px var(--prem-blue); transform: rotate(2deg) scale(1); }
    100% { box-shadow: 6px 6px 0px var(--prem-yellow); transform: rotate(-1deg) scale(1.05); }
}

/* Primary Button Style */
.btn { 
    display: inline-block; 
    background: var(--prem-yellow); 
    color: var(--prem-blue); 
    font-family: var(--font-sub); 
    font-size: clamp(1.5rem, 3vw, 2.2rem); 
    font-weight: bold; 
    padding: 20px 50px; 
    text-decoration: none; 
    text-transform: uppercase; 
    transition: all 0.3s; 
    margin-top: 40px; 
    box-shadow: 8px 8px 0px var(--prem-red); 
    letter-spacing: 2px; 
}

.btn:hover { 
    background: var(--prem-red); 
    color: var(--prem-yellow); 
    box-shadow: 0px 0px 0px var(--prem-red); 
    transform: translate(4px, 4px) rotate(-1deg); 
}

/* =========================================
    4. NAVIGATION MENU
========================================= */
#main-nav {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%;
    background-color: var(--prem-blue); 
    padding: 15px 20px;
    z-index: 9999; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    text-align: center;
    border-bottom: 5px solid var(--prem-yellow); 
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.5, 1.5, 0.5, 1);
    border-radius: 0 0 255px 15px / 0 0 15px 255px; 
}

#main-nav.scrolled { 
    transform: translateY(0); 
}

.nav-links { 
    display: flex; 
    gap: clamp(10px, 2vw, 30px); 
    flex-wrap: wrap; 
    justify-content: center; 
    padding-right: 100px;
    padding-left: 100px;
}

#main-nav a { 
    color: var(--prem-light); 
    text-decoration: none; 
    font-family: var(--font-marker); 
    font-size: clamp(0.9rem, 1.3vw, 1.3rem); 
    transition: all 0.3s; 
}

#main-nav a:hover { 
    color: var(--prem-yellow); 
    transform: scale(1.1) rotate(-3deg); 
}

/* Mobile Nav Structure */
.mobile-nav-bar { display: none; }
.hide-on-mobile { display: block; }
.nav-divider { display: block; }

@media (max-width: 990px) {
    .hide-on-mobile { display: none !important; }
    
    #main-nav {
        flex-direction: column;
        padding: 10px 15px; 
    }

    .mobile-nav-bar {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-logo {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .mobile-logo img {
        max-height: 35px; 
        width: auto;
        display: block;
        filter: drop-shadow(2px 2px 0px rgba(0,0,0,1));
    }

    .nav-spacer { width: 35px; }

    .hamburger-menu {
        background: transparent;
        border: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 5px;
    }

    .hamburger-menu span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--prem-light);
        transition: all 0.3s ease;
    }
    
    .hamburger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
    .hamburger-menu.active span:nth-child(2) { opacity: 0; }
    .hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

    .nav-links {
        display: none; 
        flex-direction: column;
        width: 100%;
        padding: 20px 0 10px 0;
        gap: 15px;
    }

    .nav-links.active { display: flex; }
    .nav-divider { display: none; } 
}

/* =========================================
    5. HERO SECTION
========================================= */
.hero { 
    position: relative; 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    padding: 5rem 5rem 5rem 8vw; 
    z-index: 1; 
    overflow: hidden;
}

.hero-bg {
    position: absolute; 
    top: -2%; 
    left: -2%; 
    width: 104%; 
    height: 104%; 
    z-index: -1;
    pointer-events: none;
}

.hero-content { 
    display: flex; 
    flex-direction: column; 
    width: 100%; 
    height: 80vh; 
    gap: 20px; 
    z-index: 2; 
    margin-top: -10vh; 
}

.hero-main-logo-img {
    width: 100%; 
    max-width: 41vw; 
    margin-top: 6vh; 
    filter: drop-shadow(4px 4px 0px rgba(0,0,0,1));
}

.hero-subtitle {
    margin-top: auto;
    max-width: 35vw;
    font-family: var(--font-sub); 
    font-size: clamp(1.5rem, 3vw + 1vh, 2.5rem); 
    color: var(--prem-yellow); 
    line-height: 1.2; 
    letter-spacing: 1px;
}

.hero-date { 
    font-family: var(--font-marker); 
    font-size: clamp(1rem, 2vw + 1vh, 1.5rem); 
    color: var(--prem-light); 
    font-weight: bold; 
    margin-top: 25px; 
    margin-bottom: -6vh;
}

.hero-graphic {
    position: absolute;
    top: 15vh;
    bottom: 2%;
    right: 0px;
    max-height: 75vh; 
    width: auto;
    height: auto;
    max-width: 55vw; 
    z-index: 3;
    object-fit: contain;
    transition: transform 0.5s;
}

.hero-graphic:hover { 
    transform: scale(1.02); 
}

@media (max-width: 990px) {
    .hero { 
        padding: 6rem 2rem 2rem 2rem; 
        align-items: flex-start; 
        height: auto;
        min-height: 100vh;
    }

    .hero-content { 
        margin-top: 5vh; 
        max-height: 150vh;
        align-items: center; 
        text-align: center; 
        gap: 15px; 
    }

    .hero-main-logo-img { 
        margin-top: -4vh; 
        margin-bottom: -14vh; 
        max-width: 75vw; 
        height: auto; 
        max-height: 22vh; 
        width: auto; 
    }

    .hero-graphic { 
        position: relative; 
        bottom: auto; 
        right: auto; 
        width: auto; 
        height: auto; 
        max-height: 45vh; 
        max-width: 75vw; 
        margin-bottom: 20vh; 
    }

    .hero-subtitle { 
        max-width: 95%; 
        font-size: clamp(1.2rem, 3.5vw, 1.8rem); 
        background-color: var(--prem-red); 
        color: var(--prem-yellow);
        padding: 12px 20px; 
        border: 4px solid var(--prem-black); 
        box-shadow: 5px 5px 0px var(--prem-black);
        transform: rotate(-1.5deg);
    }
    
    .hero-date { 
        margin-top: 5px; 
        margin-bottom: 6vh;
        padding: 10px 20px; 
        background-color: var(--prem-red); 
        color: var(--prem-light);
        border: 4px solid var(--prem-black); 
        box-shadow: 5px 5px 0px var(--prem-black);
        transform: rotate(1deg);
    }
}

/* =========================================
    6. SECTION LAYOUTS (General)
========================================= */
section { 
    padding: 80px 20px 20px; 
    max-width: 1300px; 
    margin: 0 auto; 
    scroll-margin-top: 100px; 
}

.section-title { 
    font-family: var(--font-hoofd); 
    font-size: clamp(2rem, 5vw, 3.5rem); 
    text-align: center; 
    margin-bottom: 4rem; 
    color: var(--prem-blue); 
    display: inline-block; 
    padding: 15px 30px; 
}

.wobbly-bg { 
    max-width: 80vw;
    background-color: var(--prem-blue); 
    background-image: linear-gradient(rgba(29, 38, 173, 0.93), rgba(29, 38, 173, 0.96)), url('/assets/medic_background.png');
    background-size: cover;
    background-position: center;
    color: var(--prem-light); 
    padding: 80px 20px 40px;
    margin: 50px 10vw; 
    border: 5px solid var(--prem-red);
    transform: rotate(-1deg);
}

@media (max-width: 768px) {
    .wobbly-bg { max-width: 95vw; margin: 50px 2.5vw; }
}

@media (max-width: 540px) {
    .wobbly-bg { max-width: 94vw; margin: 50px 3vw; }
}

/* =========================================
    7. INTRO & SUBSCRIBE SECTIONS
========================================= */
.intro-text p { 
    font-size: clamp(1.1rem, 2vw, 1.3rem); 
    margin-bottom: 20px; 
    color: var(--prem-text); 
    font-weight: 500; 
}

.banger-text { 
    font-family: var(--font-hoofd); 
    font-size: clamp(2rem, 4vw, 3rem); 
    color: var(--prem-red); 
    margin: 40px 0; 
    transform: rotate(-2deg); 
    display: inline-block; 
    background: var(--prem-yellow); 
    padding: 5px 20px; 
    border: 4px solid var(--prem-black); 
    box-shadow: 6px 6px 0px var(--prem-black); 
}

.motto-text { 
    font-family: var(--font-sub); 
    font-size: clamp(2.5rem, 5vw, 4rem); 
    color: var(--prem-blue); 
    margin: 30px 0; 
    letter-spacing: 2px; 
}

.cta-section { 
    text-align: center; 
    padding: 100px 20px; 
    max-width: 1200px; 
    background-color: var(--prem-red); 
    background-image: linear-gradient(rgba(255, 47, 43, 0.90), rgba(255, 47, 43, 0.96)), url('/assets/xray_background.png');
    background-size: cover;
    background-position: center;
    color: var(--prem-light); 
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; 
    border: 5px solid var(--prem-blue); 
    box-shadow: 15px 15px 0px var(--prem-yellow); 
    margin: 0px auto 10px;
}

/* =========================================
    8. SCHEDULE GRID
========================================= */
.days-container { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    margin-top: 20px; 
}

.day-column { 
    background: var(--prem-light); 
    color: var(--prem-blue); 
    padding: 30px 20px; 
    position: relative; 
    box-shadow: 8px 8px 0px var(--prem-yellow); 
}

.day-column:nth-child(1) { transform: rotate(-1.5deg); } 
.day-column:nth-child(2) { transform: rotate(1.5deg); } 
.day-column:nth-child(3) { transform: rotate(-0.5deg); }

.day-title { 
    font-family: var(--font-hoofd); 
    font-size: 1.8rem; 
    background: var(--prem-red); 
    color: var(--prem-light); 
    padding: 10px; 
    text-align: center; 
    margin-bottom: 25px; 
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; 
}

.event-slot { 
    margin-bottom: 20px; 
    border-bottom: 2px dashed var(--prem-blue); 
    padding-bottom: 15px; 
    color: var(--prem-text);
} 

.event-slot:last-child { 
    border-bottom: none; 
}

.event-time { 
    font-family: var(--font-marker); 
    font-size: 1rem; 
    color: var(--prem-red); 
    font-weight: bold; 
} 

.event-slot h4 { 
    font-family: var(--font-sub); 
    font-size: 1.5rem; 
    margin: 5px 0; 
    letter-spacing: 1px; 
    color: var(--prem-blue);
}

.tba-wrapper { position: relative; margin-top: 20px; }
.blurred-schedule { filter: blur(6px) grayscale(50%); opacity: 0.5; pointer-events: none; user-select: none; }
.tba-stamp { 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%) rotate(-5deg); 
    background: var(--prem-red); 
    color: var(--prem-yellow); 
    font-family: var(--font-hoofd); 
    font-size: clamp(1.2rem, 2.5vw, 1.8rem); 
    padding: 15px 25px; 
    text-align: center; 
    border: 4px solid var(--prem-blue); 
    box-shadow: 8px 8px 0px var(--prem-blue); 
    z-index: 5; 
    white-space: nowrap; 
}

/* =========================================
    9. SPEAKERS CAROUSEL
========================================= */
.carousel-wrapper { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    position: relative; 
    width: 100%; 
}

.carousel-btn { 
    background: var(--prem-blue); 
    color: var(--prem-yellow); 
    font-family: var(--font-marker); 
    font-size: 2rem; 
    cursor: pointer; 
    padding: 10px 15px; 
    transition: all 0.3s; 
    box-shadow: 4px 4px 0px var(--prem-red); 
    z-index: 10; 
    flex-shrink: 0; 
}

.carousel-btn:hover { 
    background: var(--prem-red); 
    color: var(--prem-light); 
    transform: scale(1.1); 
    box-shadow: 4px 4px 0px var(--prem-blue); 
}

.carousel-viewport { overflow: hidden; width: 100%; padding: 20px 0; }
.carousel-track { display: flex; gap: 40px; }

.carousel-slide { 
    flex: 0 0 calc(33.333% - 26.66px); 
    background: var(--prem-light); 
    color: var(--prem-blue); 
    padding: 30px; 
    text-align: center; 
    transition: transform 0.4s ease, box-shadow 0.4s ease; 
    cursor: pointer; 
}

.carousel-slide.tilt-left { transform: rotate(-1.5deg); }
.carousel-slide.tilt-right { transform: rotate(1.5deg); }
.carousel-slide:hover { transform: translateY(-10px) scale(1.02); box-shadow: 10px 10px 0px var(--prem-yellow); z-index: 2; }

.speaker-img-container { position: relative; margin-bottom: 20px; }

.speaker-img { 
    width: 180px; 
    height: 180px; 
    border-radius: 50%; 
    background-color: var(--prem-yellow); 
    margin: 0 auto; 
    border: 4px solid var(--prem-blue); 
    background-size: cover; 
    position: relative; 
    z-index: 1; 
}

.speaker-img-wobble { 
    position: absolute; 
    top: 0; 
    left: 50%; 
    width: 190px; 
    height: 190px; 
    background: var(--prem-red); 
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; 
    transform: translate(-50%, -5px) rotate(10deg); 
    z-index: 0; 
}

@media (max-width: 1024px) { 
    .carousel-slide { flex: 0 0 calc(50% - 20px); } 
}

@media (max-width: 768px) { 
    .carousel-track { padding-left: 3vw; padding-right: 3vw; }
    .carousel-slide { flex: 0 0 calc(100% - 6vw); } 
    .carousel-wrapper { gap: 5px; }

    .carousel-btn {
        padding: 5px 10px; 
        font-size: 1.5rem; 
        background: rgba(var(--prem-blue-rgb), 0.7); 
        box-shadow: 2px 2px 0px var(--prem-red); 
    }
}

@media (max-width: 540px) { 
    .carousel-wrapper { gap: 0px; }

    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;  
        box-shadow: none;         
        text-shadow: 1px 1px 0px var(--prem-yellow); 
        padding: 10px;
        font-size: 3rem;          
        color: var(--prem-blue);  
        z-index: 20;              
        border: none;               
    }

    #prev-speaker { left: 0; }
    #next-speaker { right: 0; }

    .carousel-btn:hover {
        background: transparent;
        box-shadow: none;
        color: var(--prem-red);
        transform: translateY(-50%) scale(1.1);
    }
}

/* =========================================
   10. OSTEND REBEL CARDS (Grid 3)
========================================= */
#ostend {
    background-image: linear-gradient(rgba(236, 246, 255, 0.80), rgba(236, 246, 255, 0.85)), url('/assets/beach_background.png');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 80px 20px;
    margin-top: 50px;
}

.grid-3 { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 40px; 
    padding: 0 10px; 
}

.rebel-card { 
    background: var(--prem-light); 
    color: var(--prem-blue); 
    padding: 30px; 
    text-align: center; 
    display: block; 
    text-decoration: none; 
    transition: transform 0.3s, box-shadow 0.3s; 
}

.rebel-card:nth-child(odd) { transform: rotate(-2deg); } 
.rebel-card:nth-child(even) { transform: rotate(2deg); }

.rebel-card:hover { 
    transform: scale(1.05) translateY(-10px) rotate(0deg); 
    box-shadow: 10px 10px 0px var(--prem-red) !important; 
    z-index: 2; 
    position: relative; 
}

.rebel-card h3 { font-family: var(--font-hoofd); font-size: 1.6rem; color: var(--prem-red); margin-bottom: 10px; }
.rebel-card p { font-family: var(--font-body); color: var(--prem-text); font-weight: bold; }

/* =========================================
    11. WHATSAPP BANNER
========================================= */
.whatsapp-section { 
    padding: 80px 20px; 
    margin-top: 5%; 
}

.whatsapp-card { 
    background-color: var(--prem-yellow); 
    border: 5px solid var(--prem-blue); 
    box-shadow: 12px 12px 0px var(--prem-blue); 
    padding: 3vh 6vw; 
    min-height: 30vh; 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 40px; 
    transform: rotate(-1deg); 
    transition: transform 0.3s ease; 
}

.whatsapp-left { display: flex; align-items: center; gap: 30px; flex: 1 1 600px; }

.whatsapp-logo-wrapper { 
    width: 100px; 
    height: 100px; 
    background: #25D366; 
    border: 4px solid var(--prem-blue); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0; 
    box-shadow: 5px 5px 0px var(--prem-blue); 
    transform: rotate(-5deg); 
}

.whatsapp-logo-wrapper svg { width: 55px; height: 55px; fill: #FFFFFF; }
.whatsapp-info { display: flex; flex-direction: column; gap: 10px; }

.whatsapp-badge { 
    display: inline-block; 
    align-self: flex-start; 
    font-family: var(--font-marker); 
    font-size: 0.9rem; 
    background: var(--prem-blue); 
    color: var(--prem-yellow); 
    padding: 4px 12px; 
    letter-spacing: 1px; 
}

.whatsapp-heading { font-family: var(--font-hoofd); font-size: clamp(2rem, 4vw, 3rem); color: var(--prem-blue); line-height: 1.1; margin-bottom: 2vh; }
.whatsapp-text { font-family: var(--font-body); font-size: clamp(1rem, 1.5vw, 1.2rem); color: var(--prem-text); font-weight: 700; }
.whatsapp-right { flex: 0 0 auto; }

.btn-whatsapp-channel { 
    display: inline-flex; 
    align-items: center; 
    gap: 12px; 
    background: #25D366; 
    color: #FFFFFF; 
    font-family: var(--font-sub); 
    font-size: clamp(1.4rem, 2.5vw, 2rem); 
    font-weight: bold; 
    padding: 18px 36px; 
    text-decoration: none; 
    letter-spacing: 2px; 
    border: 4px solid var(--prem-blue); 
    box-shadow: 6px 6px 0px var(--prem-blue); 
    transition: all 0.3s ease; 
}

.btn-whatsapp-channel:hover { 
    background: var(--prem-blue); 
    color: var(--prem-yellow); 
    box-shadow: 0px 0px 0px var(--prem-blue); 
    transform: rotate(1deg) scale(1.01); 
}

@media (max-width: 900px) { 
    .whatsapp-card { 
        flex-direction: column; 
        text-align: center; 
        padding: 40px 25px; 
        transform: rotate(0deg); 
    } 
    .whatsapp-left { 
        flex-direction: column; 
        flex: 1 1 auto; 
        gap: 20px; 
    } 
    .whatsapp-badge { 
        align-self: center; 
    } 
    .whatsapp-right { 
        width: 100%; 
    } 
    .btn-whatsapp-channel { 
        width: 100%; 
        justify-content: center; 
    } 
}

/* =========================================
    12. PARTNERS & FOOTER
========================================= */
.partners-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem; /* Generous spacing between logos */
    max-width: 950px; /* Constrains width so exactly 3 fit on desktop before wrapping */
    margin: 0 auto;
}

.partner-logo { 
    flex: 0 1 280px; /* Tells each logo to ideally take up 250px of space */
    display: flex;
    justify-content: center;
    opacity: 0.8; 
    transition: all 0.3s; 
}

.partner-logo img {
    width: 100%;
    max-width: 280px;
    height: auto;
    max-height: 120px; /* Prevents vertically tall logos from misaligning the row */
    object-fit: contain;
    background: transparent;
}

.partner-logo:hover { 
    opacity: 1; 
    transform: scale(1.1) rotate(-3deg); 
}

.site-footer { 
    background-color: var(--prem-light); 
    color: var(--prem-blue); 
    text-align: center; 
    padding: 60px 20px; 
    border-top: 6px solid var(--prem-blue); 
    border-radius: 255px 15px 0 0 / 15px 225px 0 0; 
}

.site-footer img { 
    width: 180px; 
    height: auto;
    filter: drop-shadow(1px 1px 0px rgba(0,0,0,1));
}

.footer-logo-text { font-family: var(--font-hoofd); font-size: 2.5rem; color: var(--prem-red); margin-bottom: 10px; }

.footer-links { 
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 20px; 
    margin-top: 30px; 
    font-weight: bold; 
    font-family: var(--font-marker); 
}

.footer-links a { color: var(--prem-blue); text-decoration: none; border-bottom: 2px solid var(--prem-yellow); transition: all 0.3s; }
.footer-links a:hover { background-color: var(--prem-yellow); color: var(--prem-blue); }

/* =========================================
   13. SPEAKER POPUP (MODAL) STYLES
========================================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 7, 66, 0.85);
    backdrop-filter: blur(5px);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--prem-light);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    transform: translateY(50px) rotate(-1deg);
    transition: transform 0.4s cubic-bezier(0.5, 1.5, 0.5, 1);
    box-shadow: 15px 15px 0px var(--prem-yellow);
    border: 5px solid var(--prem-blue);
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) rotate(0deg);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    background: var(--prem-red);
    color: var(--prem-yellow);
    border: 3px solid var(--prem-blue);
    font-family: var(--font-hoofd);
    font-size: 1.5rem;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
    box-shadow: 4px 4px 0px var(--prem-blue);
}

.modal-close-btn:hover {
    background: var(--prem-blue);
    color: var(--prem-light);
    transform: scale(1.1) rotate(90deg);
}

/* Internal styling for loaded speaker content */
.speaker-modal-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 3px dashed var(--prem-blue);
    padding-bottom: 20px;
}

.speaker-modal-header img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--prem-blue);
    box-shadow: 6px 6px 0px var(--prem-yellow);
    object-fit: cover;
}

.speaker-modal-bio h2 { font-family: var(--font-hoofd); color: var(--prem-red); font-size: 2.2rem; margin-bottom: 5px; }
.speaker-modal-bio h4 { font-family: var(--font-marker); color: var(--prem-blue); font-size: 1.1rem; }
.speaker-modal-body h3 { font-family: var(--font-sub); color: var(--prem-blue); font-size: 1.8rem; margin-top: 20px; margin-bottom: 10px; }
.speaker-modal-body ul { list-style: none; padding-left: 0; }

.speaker-modal-body li {
    background: var(--prem-yellow);
    border: 2px solid var(--prem-blue);
    padding: 10px 15px;
    margin-bottom: 10px;
    font-family: var(--font-body);
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

.speaker-modal-body li span.time { color: var(--prem-red); font-family: var(--font-marker); }

.popup-body {
    background-color: rgba(17, 17, 17, 0.8);
    margin: 0;
    padding: 40px 20px;
    font-family: var(--font-body);
    color: var(--prem-black);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.speaker-modal-wrapper {
    background: #ffffff;
    border: 5px solid var(--prem-black);
    box-shadow: 15px 15px 0px var(--prem-red);
    max-width: 900px;
    width: 100%;
    position: relative;
    padding: 50px 40px;
}

.speaker-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-family: var(--font-marker);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--prem-black);
    text-decoration: none;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
}

.speaker-close-btn:hover { color: var(--prem-red); }

.speaker-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.speaker-left {
    flex: 1;
    min-width: 250px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.speaker-img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid var(--prem-black);
    margin-bottom: 20px;
}

.speaker-name {
    font-family: var(--font-marker);
    font-size: 2.5rem;
    font-weight: 900;
    transform: rotate(-3deg);
    margin-bottom: 10px;
    color: var(--prem-black);
    line-height: 1.1;
    text-transform: uppercase;
}

.speaker-title { font-family: var(--font-marker); color: var(--prem-red); font-size: 1.3rem; transform: rotate(-2deg); }
.speaker-right { flex: 2; min-width: 300px; }

.speaker-section-title {
    text-transform: uppercase;
    border-bottom: 3px solid var(--prem-black);
    padding-bottom: 8px;
    margin-bottom: 15px;
    font-weight: 900;
    font-family: var(--font-hoofd);
    font-size: 1.4rem;
    color: var(--prem-black);
    letter-spacing: 1px;
}

.speaker-bio { margin-bottom: 30px; line-height: 1.6; font-size: 1.05rem; }
.speaker-bio p { margin-bottom: 10px; }
.speaker-topic { margin-bottom: 30px; font-weight: 800; font-size: 1.2rem; color: var(--prem-black); }

.speaker-sessions-box {
    background: rgba(255, 47, 43, 0.08); 
    padding: 20px 25px;
    border-left: 6px solid var(--prem-red);
}

.speaker-sessions-box h4 {
    font-family: var(--font-marker);
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--prem-black);
    transform: rotate(-2deg);
    display: inline-block;
}

.speaker-sessions-box ul { list-style: none; padding: 0; margin: 0; }
.speaker-sessions-box li { margin-bottom: 10px; font-family: var(--font-body); font-size: 1.05rem; }

@media (max-width: 768px) {
    .speaker-modal-header { flex-direction: column; text-align: center; }
    .speaker-modal-body li { flex-direction: column; gap: 5px; }
    .speaker-modal-wrapper { padding: 40px 20px; box-shadow: 10px 10px 0px var(--prem-red); }
    .speaker-layout { gap: 25px; }
}