:root {
    --master-blue: #6dcaf3;
    --dark-blue: #1e3a4a;
    --light-blue: #f0faff;
    --navy: #1a1a2e;
    --white: #ffffff;
}

body { 
    font-family: 'Segoe UI', Arial, sans-serif; 
    margin: 0; 
    padding: 0; 
    color: #333; 
    line-height: 1.6;
}

/* NAVIGATION BASE */
.navbar {
    background: var(--navy);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-img { 
    height: 100px; /* Optimized for desktop balance */
    width: auto;
    display: block;
    transition: 0.3s;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-links li { position: relative; }

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-links a:hover { color: var(--master-blue); }

/* DROPDOWN LOGIC */
.dropdown-menu {
    display: none; 
    position: absolute;
    background-color: var(--navy);
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.nav-links li:hover .dropdown-menu { display: block; }

.dropdown-menu li a {
    padding: 12px 20px;
    text-transform: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* HERO & LAYOUT */
.hero-header {
    background-image: url('../images/header-bg.jpg'); 
    background-size: cover;
    background-position: center;
    height: 60vh; /* Reduced slightly to show content below fold */
    position: relative;
    color: white;
}

.hero-overlay {
    background: rgba(26, 58, 74, 0.5);
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center; text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* CONTENT BLOCKS */
.page-container {
    padding: 40px 5%;
    max-width: 1100px;
    margin: 0 auto;
}

.page-header {
    border-bottom: 3px solid var(--master-blue);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

/* RULES & BOXES */
.rules-list { list-style: none; padding: 0; }
.rules-list li {
    background: var(--light-blue);
    margin-bottom: 10px;
    padding: 15px;
    border-left: 5px solid var(--master-blue);
    border-radius: 0 5px 5px 0;
}

.warning-box {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    font-weight: bold;
}

/* TIMELINE (SCHEDULE) */
.timeline { position: relative; max-width: 800px; margin: 20px auto; }
.timeline-item {
    display: flex;
    margin-bottom: 25px;
    border-left: 4px solid var(--master-blue);
    padding-left: 25px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -10px; /* Centered on the 4px border */
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--navy);
    border: 3px solid var(--master-blue);
    border-radius: 50%;
}

.time { font-weight: bold; color: var(--dark-blue); min-width: 90px; }
.highlight-event { background: var(--light-blue); padding: 10px; border-radius: 5px; }

/* SPONSORS */
.sponsor-footer { 
    background: var(--light-blue); 
    padding: 60px 5%; 
    text-align: center; 
    border-top: 5px solid var(--master-blue);
    margin-top: 50px;
}
.logo-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px; }
.tier-main img { height: 200px; transition: 0.3s; }
.tier-support img { height: 110px; opacity: 0.7; }

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .navbar { flex-direction: column; padding: 15px 10px; }
    .logo-img { height: 70px; margin-bottom: 10px; }
    .nav-links { width: 100%; justify-content: center; flex-wrap: wrap; gap: 5px; }
    .nav-links a { padding: 8px 10px; font-size: 0.75rem; }
    
    .dropdown-menu {
        position: static; 
        width: 100%;
        background: var(--dark-blue);
        box-shadow: none;
    }

    .hero-header { height: 45vh; }
    .hero-content h1 { font-size: 1.8rem; }
    .tier-main img { height: 80px; }
    .tier-support img { height: 50px; }
}