/* Header Styles */
header {
    background-color: var(--header-bg);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--header-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.logo:hover {
    color: var(--header-text-hover);
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

/* Navigation Styles */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--header-text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--header-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--header-text-hover);
}

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

/* Utilities */
.utilities {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Login Link */
.login-link {
    color: var(--header-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 4px;
}

.login-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--header-text);
}

.login-link i {
    font-size: 1.1rem;
}

/* Language Selector */
.lang-selector {
    background: transparent;
    border: none;
    color: var(--header-text);
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.lang-selector:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 160px;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    margin-top: 0.5rem;
    overflow: hidden;
}

.dropdown-content.show {
    display: block;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background: var(--hover-bg);
    color: var(--primary-color);
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: none;
    color: var(--header-text);
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.theme-toggle i {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background-color: var(--header-bg);
        transition: all 0.3s ease;
        overflow-y: auto;
        z-index: 99;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav ul li a {
        display: block;
        padding: 1rem 0;
    }

    .utilities {
        gap: 0.5rem;
    }

    .login-link span {
        display: none;
    }

    .dropdown-content {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 15px 15px 0 0;
        margin: 0;
        padding: 0.5rem;
    }

    .dropdown-content a {
        text-align: center;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .dropdown-content a:last-child {
        border-bottom: none;
    }
}

/* Dark Theme Styles */
[data-theme="dark"] {
    /* Remove these sections as they're now handled by global CSS variables */
}

/* Light Theme Styles */
[data-theme="light"] {
    /* Remove these sections as they're now handled by global CSS variables */
} 