/* Header and Navigation - Simplified */

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 20px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.logo-dot {
    width: 6px;
    height: 6px;
    background: #00d4ff;
    border-radius: 50%;
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 18px;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
    background-color: #00d4ff;
    color: white;
}

/* Header Controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.language-toggle {
    flex-shrink: 0;
}

.lang-btn {
    background: #00d4ff;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.2s ease;
}

.lang-btn:hover {
    opacity: 0.8;
}

.lang-btn .flag {
    font-size: 0.85rem;
}

.lang-btn .lang-text {
    font-size: 0.75rem;
    font-weight: 600;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 14px;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: #00d4ff;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
    width: 28px;
    height: 20px;
    justify-content: space-between;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    header {
        padding: 12px 15px;
    }

    nav {
        height: 45px;
    }

    .logo {
        font-size: 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        border-radius: 0 0 15px 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-top: none;
        gap: 5px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
    }

    .nav-links a {
        display: block;
        text-align: center;
        padding: 12px 20px;
        width: 100%;
        border-radius: 8px;
    }

    .header-controls {
        gap: 8px;
    }

    .lang-btn {
        padding: 5px 8px;
        font-size: 0.75rem;
    }

    .lang-btn .flag {
        font-size: 0.8rem;
    }

    .lang-btn .lang-text {
        font-size: 0.7rem;
    }

    .theme-toggle {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 12px;
    }

    .logo {
        font-size: 18px;
    }

    .header-controls {
        gap: 6px;
    }

    .lang-btn {
        padding: 4px 6px;
        gap: 3px;
    }

    .theme-toggle {
        width: 28px;
        height: 28px;
    }
}