/* === css/header.css === */

:root {
    --primary-white: #FFFFFF;
    --light-grey-text: #EAEAEA;
    --black: #0a0a0a;
}

/* --- Header Styles (Glassmorphism) --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 5%;
    background: rgba(10, 10, 10, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-bottom: 1px solid transparent;
    border-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0)) 1;
    border-image-slice: 1;
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}


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

.logo a {
    display: inline-block;
    font-size: 1.9em;
    font-weight: 700;
    color: var(--primary-white);
    text-decoration: none;
    letter-spacing: 1.5px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo a:hover {
    transform: scale(1.05);
}

/* Updated class name from header.html */
.logo .glow-white {
    color: var(--primary-white);
    /* Neon White Effect */
    text-shadow:
            0 0 5px rgba(255, 255, 255, 0.8),
            0 0 10px rgba(255, 255, 255, 0.6),
            0 0 20px rgba(255, 255, 255, 0.2);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.main-nav .nav-link {
    color: var(--primary-white);
    text-decoration: none;
    font-size: 1.05em;
    padding: 8px 12px;
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease, background-color 0.3s ease;
    border-radius: 5px;
    letter-spacing: 0.5px;
    z-index: 1;
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-white);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateX(-50%);
    z-index: -1;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--primary-white);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    width: calc(100% - 16px);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .main-nav {
        justify-content: center;
    }

    .logo a {
        font-size: 1.6em;
    }

    .main-nav ul {
        display: none;
    }
}