/* Header */
.site-header {
    background-color: rgba(11, 16, 21, 0.95); /* Semi-transparent dark */
    border-bottom: 1px solid var(--border);
    padding: 0 var(--spacing-lg);
    height: 80px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    height: 100%;
}

.logo a {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    white-space: nowrap;
    height: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo img {
    height: 50px; /* Force logo size */
    width: auto;
    object-fit: contain;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    height: 100%;
}

.nav-link {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: rgba(0, 220, 255, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -26px; /* Align with header bottom */
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.2s;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--secondary);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    border-top: 2px solid var(--primary);
    z-index: 1000;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.dropdown-content a {
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-left: 2px solid transparent;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary);
    border-left-color: var(--primary);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}
