:root {
    --nav-bg: rgba(15, 23, 42, 0.95);
    --primary-color: #0ea5e9;
    --text-color: #cbd5e1;
    --text-hover: #ffffff;
    --transition: 0.3s ease;
}

header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    height: 60px;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

#header-nav-bar {
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
    height: 100%;
    align-items: center;
}

#nav-menu li {
    height: 100%;
    display: flex;
    align-items: center;
}

#nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0;
    position: relative;
    transition: color var(--transition);
}

#nav-menu a:hover {
    color: var(--text-hover);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

#nav-menu a.active {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.4);
}

#nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    height: 2px;
    border-radius: 2px;
    transition: all var(--transition);
}

#nav-menu a.active::after {
    left: 0;
    width: 100%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

#nav-menu a:not(.active)::after {
    left: 50%;
    width: 0;
    transform: translateX(-50%);
    background: var(--text-hover);
}

#nav-menu a:not(.active):hover::after {
    width: 100%;
}
