/* =================================================================
   HEADER & NAVIGATION
   ================================================================= */
header {
    background-color: #111;
    padding: 1rem 0;
    border-bottom: 2px solid #00ffcc;
}

header h1 {
    color: #00ffcc;
    margin: 0;
    font-size: 2.5em;
    text-align: center;
}

nav {
    position: relative;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    z-index: 10000;
}

@media (max-width: 768px) {
    .nav-links {
        /* ... existing styles ... */

        /* Fix 2: Ensure proper positioning */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: inherit;
    }

    .nav-links.active {
        display: flex;
        /* ... other active styles ... */
    }
}


.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ffcc;
    text-decoration: none;
}

header nav ul,
.nav-links {
    list-style: none;
    padding: 0;
    text-align: center;
    gap: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

header nav ul li {
    display: inline-block;
    margin: 0 15px;
}

header nav ul li a,
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 500;
    transition: all 0.3s;
}

header nav ul li a:hover,
.nav-links a:hover {
    color: #00ffcc;
    opacity: 0.8;
}