:root {
    --primary: #e63946; /* Red */
    --dark: #1a1a1a;
    --darker: #0f0f0f;
    --light: #f1f1f1;
    --text-grey: #a8a8a8;
}

/* --- 1. GLOBAL RESET & BODY --- */
* {
    box-sizing: border-box;
}

body {
    background-color: var(--darker);
    color: var(--light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; transition: 0.3s; }
a:hover { color: #fff; }

h1, h2, h3, h4 { margin-top: 0; }

/* --- 2. NAVIGATION --- */
nav {
    background: var(--dark);
    padding: 0 2rem;
    height: 70px;
    border-bottom: 2px solid var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

nav .brand img { height: 50px; width: auto; margin-right: 15px; }

/* Desktop Menu Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    align-items: center;
}

.nav-links li { position: relative; }

.nav-links a {
    text-decoration: none;
    color: #ccc;
    font-size: 0.95rem;
    padding: 10px;
    transition: color 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: white;
}

/* --- 3. DROPDOWNS --- */
.dropdown-content {
    display: none; /* Hidden by default */
    position: absolute;
    background-color: #252525;
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 2000;
    border: 1px solid #444;
    border-top: 2px solid var(--primary);
    top: 40px; 
    left: 0;
    border-radius: 0 0 4px 4px;
}

/* Show class added by JS */
.dropdown-content.show { display: block; }

.dropdown-content a {
    display: block;
    padding: 12px 16px;
    border-bottom: 1px solid #333;
    color: #ccc;
}

.dropdown-content a:hover {
    background-color: #333;
    color: var(--primary);
}

/* --- 4. HERO & COUNTDOWN --- */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('hero-bg.jpg'); 
    background-size: cover;
    background-position: center;
}

.hero h1 { font-size: 3rem; margin-bottom: 0.5rem; text-transform: uppercase; line-height: 1.1; }
.hero .dates { font-size: 1.5rem; color: var(--primary); font-weight: bold; letter-spacing: 1px; }

#countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.timer-box {
    background: rgba(26, 26, 26, 0.8);
    padding: 15px 25px;
    border: 1px solid var(--primary);
    min-width: 90px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}
.timer-box span { display: block; font-size: 2.2rem; font-weight: bold; color: white; }
.timer-box label { font-size: 0.8rem; text-transform: uppercase; color: var(--text-grey); letter-spacing: 1px; }

/* --- 5. STAFF GRID --- */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.staff-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}

.staff-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.staff-photo {
    width: 100%;
    aspect-ratio: 3 / 4; 
    background: #111;
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid var(--primary);
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.staff-card:hover .staff-photo img { transform: scale(1.05); }

.staff-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.staff-name { margin: 0; color: white; font-size: 1.4rem; font-weight: bold; }

.staff-title {
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 600;
}

.staff-bio { color: #ccc; font-size: 0.9rem; line-height: 1.5; }

.group-header {
    width: 100%;
    border-bottom: 1px solid #444;
    margin: 60px 0 30px 0;
    padding-bottom: 10px;
    color: #eee;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- 6. FORMS & UI --- */
.container, .admin-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 20px; 
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: #ccc; font-weight: 500; }

/* Unified Input Styles */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="password"],
input[type="url"],
input[type="tel"],
textarea, 
select {
    width: 100%;
    padding: 12px;
    background: #252525;
    border: 1px solid #444;
    color: white;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    background: #2a2a2a;
}

button, .btn {
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.2s;
    display: inline-block;
    text-align: center;
}

button:hover, .btn:hover { background: white; color: var(--dark); }

table { width: 100%; border-collapse: collapse; }
th { text-align: left; padding: 10px; border-bottom: 2px solid #444; color: var(--primary); }
td { padding: 10px; border-bottom: 1px solid #333; }

footer {
    background: var(--dark);
    text-align: center;
    padding: 30px 20px;
    margin-top: auto;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: var(--text-grey);
}

/* --- 7. MOBILE HELPERS --- */
.menu-toggle { display: none; cursor: pointer; font-size: 1.5rem; color: white; margin-left: auto; }
.mobile-only { display: none; }

@media (max-width: 900px) {
    nav { height: auto; flex-wrap: wrap; padding: 10px 20px; }
    
    .menu-toggle { display: block; }
    .desktop-only { display: none; }
    .mobile-only { display: block; }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: left;
        margin-top: 15px;
        align-items: flex-start;
        gap: 0;
    }

    .nav-links.show-mobile { display: flex; }

    .nav-links li { width: 100%; border-top: 1px solid #333; }
    .nav-links a { display: block; padding: 15px 0; width: 100%; }

    /* Mobile Dropdown: Accordion Style */
    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--primary);
        background: #1a1a1a;
        margin-left: 10px;
    }
    .dropdown-content a { padding-left: 20px; font-size: 0.9rem; }
}