/*
Theme Name: KFSIC Theme
Theme URI: https://kfsic.be
Author: KFSIC
Description: Custom theme for Fanfareorkest KFSIC
Version: 1.0
*/

/* --- 1. NEO-BRUTALIST TOKENS --- */
:root {
    /* Palette */
    --bg-cream: #FFFDF5;
    --color-black: #000000;
    --color-white: #FFFFFF;
    
    /* Brand Colors */
    --color-accent: #B82601;   /* Embers (Red/Orange) */
    --color-secondary: #16517e; /* Ink (Dark Blue) */
    --color-muted: #813772;    /* Posy (Purple) */

    /* Layout */
    --sidebar-width: 280px;
    --section-padding: 100px;
    
    /* Borders & Shadows */
    --border-thick: 4px solid #000000;
    --border-thin: 2px solid #000000;
    --shadow-hard: 8px 8px 0px 0px #000000;
    --shadow-hard-sm: 4px 4px 0px 0px #000000;
    --shadow-hard-lg: 12px 12px 0px 0px #000000;
    
    /* Typography */
    --font-main: 'Space Grotesk', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-cream);
    color: var(--color-black);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { 
    font-family: var(--font-main); 
    text-transform: uppercase; 
    letter-spacing: -0.02em; 
    color: var(--color-black);
    font-weight: 900;
}

p { margin-bottom: 1.5rem; font-weight: 500; font-size: 1.1rem; }
a { text-decoration: none; color: inherit; transition: 0.1s ease-in-out; }
img { max-width: 100%; display: block; border: var(--border-thick); }

/* --- 2. HEADER & SIDEBAR --- */
.mobile-header {
    display: none;
    position: fixed; top: 0; left: 0; width: 100%; height: 80px;
    background: var(--bg-cream);
    z-index: 200;
    justify-content: space-between; align-items: center; padding: 0 30px;
    border-bottom: var(--border-thick);
}

.mobile-logo {
    display: flex;
    align-items: center;
    height: 100%;
}
.mobile-logo img {
    max-height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    border: none; /* No border for logo */
}
.menu-toggle { color: var(--color-black); font-size: 1.5rem; cursor: pointer; padding: 10px; border: var(--border-thick); background: var(--color-white); box-shadow: var(--shadow-hard-sm); }
.menu-toggle:active { transform: translate(2px, 2px); box-shadow: none; }

.sidebar {
    width: var(--sidebar-width); height: 100vh; position: fixed; left: 0; top: 0;
    background: var(--bg-cream);
    display: flex; flex-direction: column; align-items: center; padding: 40px 30px;
    border-right: var(--border-thick);
    z-index: 300; transition: transform 0.2s ease-in-out;
}

.close-menu { 
    display: none; 
    position: absolute; 
    top: 15px; 
    right: 15px; 
    font-size: 1.2rem; 
    cursor: pointer; 
    color: var(--color-black); 
    opacity: 1; 
    transition: 0.1s; 
    border: var(--border-thin); 
    padding: 5px 10px; 
    background: var(--color-white); 
    box-shadow: var(--shadow-hard-sm); 
}
.close-menu:active { transform: translate(1px, 1px); box-shadow: none; }

.logo-area {
    text-align: center;
    margin-bottom: 60px;
    width: 100%;
}

.sidebar-logo {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.2s ease;
    border: none; /* No border for logo */
}
.sidebar-logo:hover {
    transform: rotate(-2deg) scale(1.05);
}

.nav-links { list-style: none; width: 100%; text-align: center; display: flex; flex-direction: column; gap: 20px; }
.nav-links a { 
    font-weight: 700;
    color: var(--color-black);
    transition: all 0.1s ease;
    font-size: 1.1rem; 
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block; padding: 10px; 
    position: relative;
    border: var(--border-thick);
    background: var(--color-white);
    box-shadow: var(--shadow-hard-sm);
}
.nav-links a:hover, .nav-links a.active {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-hard);
}
.nav-links a:active {
    transform: translate(2px, 2px);
    box-shadow: none;
}
.nav-links a::after { display: none; } /* Remove old underline */

.socials { margin-top: auto; display: flex; gap: 15px; }
.socials i { 
    color: var(--color-black); transition: 0.1s; cursor: pointer; font-size: 1.2rem; 
    border: var(--border-thick); padding: 10px; background: var(--color-white);
    box-shadow: var(--shadow-hard-sm);
    width: 45px; height: 45px; display: flex; align-items: center; justify-content: center;
}
.socials i:hover { 
    background: var(--color-accent); color: var(--color-white); 
    transform: translate(-2px, -2px); box-shadow: var(--shadow-hard);
}
.socials i:active { transform: translate(2px, 2px); box-shadow: none; }

/* --- 3. MAIN CONTENT --- */
.main-content { margin-left: var(--sidebar-width); width: calc(100% - var(--sidebar-width)); position: relative; }
section { 
    padding: var(--section-padding) 5%; 
    border-bottom: var(--border-thick); 
    min-height: auto; 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    background-color: var(--bg-cream);
    /* No fade in animation for brutalism, just raw */
}

section.animate {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInSection {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- 4. COMPONENTS (NEO-BRUTALIST) --- */

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--color-accent) !important;
    color: white !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: var(--border-thick);
    box-shadow: var(--shadow-hard);
    transition: all 0.1s ease;
    cursor: pointer;
    position: relative;
}

.btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-hard-lg);
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn:active {
    transform: translate(4px, 4px);
    box-shadow: none;
}

/* Cards */
.card, .info-item, .musician-card {
    background: var(--color-white);
    border: var(--border-thick);
    box-shadow: var(--shadow-hard);
    padding: 20px;
    transition: all 0.2s ease;
}

.card:hover, .info-item:hover, .musician-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow-hard-lg);
}

/* Section Titles */
.section-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    font-weight: 900;
    letter-spacing: -2px;
    text-transform: uppercase;
    /* Text Stroke Effect */
    -webkit-text-stroke: 2px var(--color-black);
    color: transparent;
    text-shadow: 4px 4px 0px var(--color-accent);
}

/* --- 5. SECTIONS --- */

/* HERO */
#home {
    background: var(--bg-cream);
    position: relative;
    overflow: hidden;
    /* Halftone Pattern */
    background-image: radial-gradient(var(--color-black) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    border-bottom: var(--border-thick);
}

#home .hero-text {
    background: var(--color-white);
    border: var(--border-thick);
    padding: 40px;
    box-shadow: var(--shadow-hard-lg);
    max-width: 800px;
    transform: rotate(-1deg);
    z-index: 10;
}

#home h2, #home .hero-text h2 { 
    color: var(--color-black) !important; 
    font-size: clamp(3rem, 8vw, 6rem); 
    line-height: 0.9; 
    margin-bottom: 20px; 
    font-weight: 900; 
    letter-spacing: -2px; 
    text-transform: uppercase;
}

#home h3 {
    background: var(--color-secondary);
    color: var(--color-white) !important;
    display: inline-block;
    padding: 5px 15px;
    border: var(--border-thick);
    transform: rotate(2deg);
    margin-bottom: 30px;
    box-shadow: var(--shadow-hard-sm);
}

/* ABOUT */
#about {
    background-color: var(--color-secondary);
    border-bottom: var(--border-thick);
}
#about .section-title {
    -webkit-text-stroke: 2px var(--color-black);
    color: var(--color-white);
    text-shadow: 6px 6px 0px var(--color-black);
}
#about p, #about li {
    color: var(--color-white);
    font-weight: 700;
}
#about .grid-2 > div {
    background: var(--color-white);
    border: var(--border-thick);
    padding: 30px;
    box-shadow: var(--shadow-hard);
    color: var(--color-black);
}
#about .grid-2 > div p, #about .grid-2 > div li {
    color: var(--color-black);
}

/* CALENDAR */
#calendar {
    background-color: var(--bg-cream);
}
/* Calendar items will be styled via JS or generic card styles */

/* MUSICIANS */
#musicians {
    background-color: var(--color-muted);
}
#musicians .section-title {
    color: var(--color-white);
    text-shadow: 4px 4px 0px var(--color-black);
    -webkit-text-stroke: 0;
}

/* CONTACT */
#contact {
    background-color: var(--color-accent);
}
#contact .section-title {
    color: var(--color-white);
    text-shadow: 4px 4px 0px var(--color-black);
    -webkit-text-stroke: 0;
}
#contact form input, #contact form textarea {
    border: var(--border-thick);
    padding: 15px;
    font-family: var(--font-main);
    font-weight: 700;
    background: var(--color-white);
    box-shadow: var(--shadow-hard-sm);
    width: 100%;
    margin-bottom: 20px;
}
#contact form input:focus, #contact form textarea:focus {
    outline: none;
    background: var(--color-secondary);
    color: var(--color-white);
    box-shadow: var(--shadow-hard);
}

/* FOOTER */
footer {
    background: var(--color-black);
    color: var(--color-white);
    padding: 50px;
    text-align: center;
    border-top: var(--border-thick);
    font-weight: 700;
    text-transform: uppercase;
}
#about::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(59,130,246,0.02));
    pointer-events: none;
}

/* Add light blue background to #calendar for subtle color block */
#calendar {
    background: rgba(29, 78, 216, 0.1); /* Darker tint */
    position: relative;
}
#calendar::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(239,68,68,0.02));
    pointer-events: none;
}

/* #composition already has background: #f8fafc; (light gray) */

/* Add light red background to #musicians for subtle color block */
#musicians {
    background: rgba(230, 57, 70, 0.1); /* Darker tint */
    position: relative;
}
#musicians::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(59,130,246,0.02));
    pointer-events: none;
}

/* Add light blue background to #contact for subtle color block */
#contact {
    background: rgba(29, 78, 216, 0.1); /* Darker tint */
    position: relative;
}
#contact::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(239,68,68,0.02));
    pointer-events: none;
}

/* Add light blue background to #conductor for subtle color block */
#conductor {
    background: rgba(29, 78, 216, 0.1); /* Darker tint */
    position: relative;
}
#conductor::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(239,68,68,0.02));
    pointer-events: none;
}

/* Add light red background to #sponsors for subtle color block */
#sponsors {
    background: rgba(230, 57, 70, 0.1); /* Darker tint */
    position: relative;
}
#sponsors::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(59,130,246,0.02));
    pointer-events: none;
}

/* Additional minimalist shapes */
#home::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 80px;
    height: 2px;
    background: rgba(59, 130, 246, 0.3);
    z-index: -1;
}

#about::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 5%;
    width: 4px;
    height: 100px;
    background: rgba(239, 68, 68, 0.3);
    z-index: -1;
}

#conductor::before {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 10%;
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    z-index: -1;
}

#calendar::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: rgba(239, 68, 68, 0.1);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    z-index: -1;
}

#musicians::before {
    content: '';
    position: absolute;
    bottom: 30%;
    right: 5%;
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    transform: rotate(45deg);
    z-index: -1;
}

#contact::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 15%;
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.1), rgba(239, 68, 68, 0.1));
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    z-index: -1;
}

#sponsors::before {
    content: '';
    position: absolute;
    top: 15%;
    right: 10%;
    width: 30px;
    height: 30px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    z-index: -1;
}

/* Minimalist footer pattern */
body::after {
    content: '';
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 50px;
    background: repeating-linear-gradient(90deg, rgba(59,130,246,0.05) 0px, rgba(59,130,246,0.05) 2px, transparent 2px, transparent 20px);
    z-index: -2;
}

/* Refined hover effects for minimalism */
.nav-links a:hover {
    transform: translateX(10px) scale(1.02);
}

.info-item:hover {
    transform: translateX(5px) scale(1.01);
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
}

.sponsor-logo:hover {
    transform: scale(1.08) rotate(2deg) translateY(-2px);
}

/* --- COMPONENTS --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
@media (max-width: 1024px) { .grid-2 { grid-template-columns: 1fr; gap: 40px; } }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 30px; margin-top: 50px; }
.info-item { 
    border-left: var(--border-thick); 
    padding-left: 20px; 
    transition: transform 0.1s ease; 
    background: var(--color-white);
    box-shadow: var(--shadow-hard-sm);
    border: var(--border-thick);
}
.info-item h4 { color: var(--color-muted); font-size: 0.85rem; margin-bottom: 5px; letter-spacing: 1px; font-weight: 900; }
.info-item p { font-weight: 700; font-size: 1rem; color: var(--color-black); margin-bottom: 0; }

/* --- AGENDA / TIMELINE SPECIFIEK --- */
.timeline { position: relative; padding-left: 40px; border-left: var(--border-thick); }
.timeline-item { position: relative; margin-bottom: 60px; }
.timeline-item::before {
    content: ''; position: absolute; left: -49px; top: 5px;
    width: 16px; height: 16px; background: var(--color-white);
    border: var(--border-thick); border-radius: 0; /* Square dots */
    transition: all 0.1s;
}
.timeline-item:hover::before { 
    background: var(--color-accent); transform: scale(1.2);
}
.date-badge {
    font-size: 0.85rem; background: var(--color-secondary); padding: 6px 12px;
    display: inline-block; margin-bottom: 10px; color: var(--color-white); font-weight: 900; border-radius: 0;
    letter-spacing: 1px; border: var(--border-thick); box-shadow: var(--shadow-hard-sm);
}

.timeline-content {
    position: relative; padding: 20px;
    transition: transform 0.1s;
    background: var(--color-white);
    border: var(--border-thick);
    box-shadow: var(--shadow-hard);
}
.timeline-content h3 { font-size: 1.4rem; margin-bottom: 5px; }
.timeline-item:hover .timeline-content { transform: translate(-4px, -4px); box-shadow: var(--shadow-hard-lg); }

.timeline-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}
.btn-small {
    padding: 8px 16px;
    font-size: 0.8rem;
    border-radius: 0;
    text-transform: uppercase;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.1s;
    border: var(--border-thick);
    box-shadow: var(--shadow-hard-sm);
    display: inline-block;
}
.btn-ticket {
    background-color: var(--color-accent);
    color: var(--color-white);
}
.btn-ticket:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-hard);
}
.btn-info {
    background-color: var(--color-white);
    color: var(--color-black);
}
.btn-info:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-hard);
}

.musician-group {
    margin-bottom: 20px;
    border-radius: 0;
    background: var(--color-white);
    box-shadow: var(--shadow-hard);
    overflow: hidden;
    transition: transform 0.1s, box-shadow 0.1s;
    border: var(--border-thick);
}
.musician-group:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-hard-lg); }

.group-header {
    padding: 20px 25px; cursor: pointer; background: var(--color-white);
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: var(--border-thick);
}
.group-header h3 { font-size: 1.1rem; letter-spacing: 0.5px; }

/* --- CONTACT FORM SPECIFIEK --- */
form {
    background: var(--color-white); padding: 40px; border-radius: 0;
    box-shadow: var(--shadow-hard-lg);
    border: var(--border-thick);
}
.form-group { margin-bottom: 20px; }
input, textarea {
    width: 100%; padding: 15px; 
    border: var(--border-thick);
    background: var(--color-white);
    color: var(--color-black); font-family: inherit; font-size: 1rem; font-weight: 700;
    transition: all 0.1s; border-radius: 0;
    box-shadow: var(--shadow-hard-sm);
}
input:focus, textarea:focus {
    border-bottom-color: var(--accent-blue); background: #fff; outline: none;
}
button[type="submit"] { width: 100%; margin-top: 10px; }

/* --- SPONSORS SPECIFIEK --- */
.sponsor-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 40px; 
    align-items: center; 
    justify-items: center; 
    margin-top: 40px; 
}
@media (max-width: 992px) {
    .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .sponsor-grid { grid-template-columns: 1fr; }
}
.sponsor-logo {
    width: 100%; max-width: 140px; height: auto;
    filter: grayscale(100%); opacity: 0.6;
    transition: all 0.4s ease;
    cursor: pointer;
}
.sponsor-logo:hover {
    filter: grayscale(0%); opacity: 1; transform: scale(1.1);
}

/* --- ALGEMEEN --- */
.btn {
    display: inline-block; padding: 16px 32px;
    background: var(--text-dark); color: white;
    text-decoration: none; font-weight: 600; font-size: 0.9rem; letter-spacing: 1px;
    border-radius: 4px; transition: all 0.3s ease;
    border: 1px solid transparent;
}
.btn:hover {
    background: transparent; color: var(--text-dark); border-color: var(--text-dark);
    transform: translateY(-2px);
}

/* Mobile Menu Styles */
@media (max-width: 900px) {
    .sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        width: var(--sidebar-width);
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 300;
        background: var(--bg-cream);
        box-shadow: var(--shadow-hard-lg);
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 50px 30px;
        border-right: var(--border-thick);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .close-menu {
        display: block;
    }
    
    .overlay {
        display: block;
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 250;
        opacity: 0; 
        visibility: hidden; 
        transition: opacity 0.3s, visibility 0.3s;
        backdrop-filter: blur(2px);
    }
    
    .overlay.active {
        opacity: 1; 
        visibility: visible;
    }
    
    .mobile-header {
        display: flex;
    }
}