/* --- CSS Reset & Variables --- */
:root {
    /* The Rebellion Palette */
    --color-charcoal: #1A1A1A;
    --color-black-deep: #0a0a0a; /* For footers/darker areas */
    --color-rebellion-red: #9B0000;
    --color-red-hover: #c90000;
    --color-sticker-yellow: #FFD700;
    --color-yellow-hover: #ffe44d;
    --color-text-light: #f0f0f0;

    /* Typography & Layout */
    --font-headline: 'Impact', 'Oswald', sans-serif; /* Temporary gritty fallback */
    --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --container-width: 1100px;
    --border-thickness: 3px;
}

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

html, body {
    height: 100%;
    font-family: var(--font-body);
    background-color: var(--color-charcoal);
    color: var(--color-text-light);
    line-height: 1.6;
}

/* A subtle noise texture for grit (optional - add image later) */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
    /* background-image: url('../images/placeholders/noise.png'); */
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--font-headline);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; color: var(--color-sticker-yellow); }
h2 { font-size: 2rem; }
a { text-decoration: none; color: var(--color-sticker-yellow); transition: 0.3s; }
a:hover { color: var(--color-rebellion-red); }

/* --- Layout Classes --- */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2rem 0;
}

/* The "Sticker Box" Aesthetic */
.sticker-box {
    background-color: var(--color-charcoal);
    border: var(--border-thickness) solid var(--color-sticker-yellow);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 3px 3px 0px rgba(0,0,0,0.5); /* Subtle depth */
}

/* --- Header & Nav --- */
header {
    background-color: var(--color-black-deep);
    border-bottom: var(--border-thickness) solid var(--color-rebellion-red);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-sticker-yellow);
}
.logo span { color: var(--color-rebellion-red); }

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav ul li a {
    font-weight: bold;
    padding-bottom: 5px;
}

/* Highlight active page */
nav ul li a.active {
    border-bottom: 2px solid var(--color-rebellion-red);
    color: var(--color-text-light);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-headline);
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-red {
    background-color: var(--color-rebellion-red);
    color: var(--color-text-light);
}
.btn-red:hover { background-color: var(--color-red-hover); }

.btn-yellow {
    background-color: var(--color-sticker-yellow);
    color: var(--color-charcoal);
}
.btn-yellow:hover { background-color: var(--color-yellow-hover); }

/* --- Footer --- */
footer {
    background-color: var(--color-black-deep);
    border-top: 1px solid #333;
    padding: 3rem 0;
    margin-top: auto; /* Pushes footer to bottom of short pages */
    text-align: center;
    font-size: 0.9rem;
    color: #999;
}

.eu-fortress {
    margin-top: 1rem;
    color: var(--color-sticker-yellow);
    font-weight: bold;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
/* =========================================
   Cookie Consent Banner ("Rebellion Alert")
   ========================================= */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-charcoal);
    /* A thick yellow top border makes it look like a physical sticker */
    border-top: 4px solid var(--color-sticker-yellow);
    padding: 1.5rem;
    /* Hidden by default. JavaScript will turn this to 'block' if needed. */
    display: none; 
    z-index: 9999; /* Ensure it sits on top of everything */
    box-shadow: 0 -4px 15px rgba(0,0,0,0.5); /* Heavy shadow for depth */
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-text h3 {
    color: var(--color-sticker-yellow);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.cookie-text p {
    font-size: 0.95rem;
    color: #ccc;
}

/* Desktop layout for banner */
@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .cookie-text {
        flex: 1; /* Takes up available space */
        padding-right: 3rem;
    }
    .cookie-buttons {
        display: flex;
        gap: 1rem;
        flex-shrink: 0; /* Prevents buttons from squishing */
    }
}

/* Mobile layout adjustments for banner */
@media (max-width: 767px) {
     .cookie-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }
    /* Make buttons full width on mobile for easier tapping */
    .cookie-buttons .btn {
        width: 100%;
        text-align: center;
    }
}
/* --- Contact Form Styles --- */
.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--color-sticker-yellow);
    font-family: var(--font-headline);
    letter-spacing: 1px;
}

/* Inputs and Textareas */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: #252525; /* Slightly lighter than background */
    border: 2px solid #444; /* Subtle border by default */
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: 0.3s;
}

/* Focus state - Make it pop with Rebellion Red */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-rebellion-red);
    background-color: #333;
}

/* Checkbox styling adjustments */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    background-color: #222;
    padding: 1rem;
    border: 1px solid #333;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.3rem; /* Align with top line of text */
    accent-color: var(--color-rebellion-red); /* Makes the checkmark red in modern browsers */
}
/* --- Member Verification Page --- */
.member-card-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.member-card-img {
    width: 100%;
    height: auto;
    /* Give it a physical feel with a deep shadow */
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.8);
    border: 3px solid #d4cba8; /* Match the off-white border of the image */
    border-radius: 8px;
    margin-bottom: 2rem;
    transform: rotate(-1deg); /* A slight jaunty tilt */
    transition: transform 0.3s ease;
}

.member-card-img:hover {
   transform: rotate(0deg) scale(1.02); /* Straighten and pop slightly on hover */
}

/* The hidden section that appears after verification */
#post-verification-actions {
    display: none; /* Hidden by default */
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px dashed #444;
    animation: fadeIn 0.5s ease-in-out;
}

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

.verified-text {
    color: var(--color-sticker-yellow);
    font-family: var(--font-headline);
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
/* --- MOBILE MENU UPGRADE --- */

/* 1. Default Desktop State: Hide the Hamburger */
#mobile-toggle {
    display: none;
}

/* 2. Mobile State */
@media (max-width: 768px) {
    
    /* Keep Logo and Burger side-by-side */
    .nav-container {
        flex-direction: row; 
        justify-content: space-between;
        align-items: center;
    }

    /* Style the Hamburger Button */
    #mobile-toggle {
        display: block;
        background: none;
        border: 2px solid var(--color-sticker-yellow);
        color: var(--color-sticker-yellow);
        font-size: 1.5rem;
        padding: 0.3rem 0.6rem;
        cursor: pointer;
        border-radius: 4px;
        transition: 0.3s;
    }
    
    #mobile-toggle:hover {
        background-color: var(--color-sticker-yellow);
        color: var(--color-black-deep);
    }

    /* The Mobile Dropdown Menu */
    nav ul {
        display: none; /* Hidden by default */
        flex-direction: column;
        width: 100%;
        position: absolute; /* Take it out of flow */
        top: 100%; /* Push it to the bottom of the header */
        left: 0;
        background-color: var(--color-charcoal);
        border-bottom: 4px solid var(--color-sticker-yellow);
        border-top: 1px solid #333;
        padding: 0;
        z-index: 1000; /* Ensure it sits on top of everything */
        box-shadow: 0 10px 30px rgba(0,0,0,0.9);
    }

    nav ul li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #333;
    }

    nav ul li a {
        display: block;
        padding: 1.2rem 0;
        font-size: 1.1rem;
    }
    
    nav ul li a:hover {
        background-color: #222;
        padding-left: 10px; /* Slight movement on hover */
    }

    /* The 'Active' class (Added by JS when clicked) */
    nav ul.nav-open {
        display: flex;
        animation: slideDown 0.3s ease-out forwards;
    }
}

/* Simple animation for the menu opening */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}