.header-container {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, background 0.3s ease-in-out;
}

.transparent-header {
    background: rgba(255, 255, 255, 0);
    box-shadow: none;
}

.solid-header {
    background: #1F2932;
}

.transparent-header .language-menu {
    backdrop-filter: blur(10px); !important;
    box-shadow: none;
}

.solid-header .language-menu {
    background: #1F2932;
}

.hidden {
    transform: translateX(-50%) translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.language-dropdown {
    position: relative;
    display: inline-block;
    text-align: center;
}

.language-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    border-radius: 5px;
    display: none;
    z-index: 999;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.transparent-lang .language-menu {
    backdrop-filter: blur(10px) !important;
    box-shadow: none;
}

.language-dropdown:hover .language-menu {
    display: block;
}

.language-menu a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 5px;
    font-family: 'Roboto Condensed', sans-serif;
}

.account-img {
    
}
.account-img:hover {
    content: url("../images/icons/hover.png");
}

@media (max-width: 768px) {
    .mobile-header-disabled {
        display: none !important;
    }

    .mobile-header-enabled {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-content: center !important;
        max-width: 93% !important;
        margin-left: 3.5%;
        margin-right: 3.5%;
    }

    .mobile-header-enabled img[alt="err"] {
        width: 32px;
        height: 32px;
        cursor: pointer;
    }

    .language-menu {
        position: relative;
        background: white;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        padding: 0.5rem;
        z-index: 10;
    }

    .header-container {
        max-height: unset;
    }

    .mobile-header-height {
        height: 11.8%;
    }

    html, body {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    html::-webkit-scrollbar,
    body::-webkit-scrollbar {
        display: none;
    }
}

.mobile-header {
    color: white;
    position: fixed;
    width: 100%;
    z-index: 1001;
    height: 60%;
}

.mobile-logo {
    width: 32px;
    height: 32px;
}

.mobile-lang-selector {
    font-weight: 600;
    font-size: 1rem;
}

.menu-icon {
    width: 24px;
    height: 18px;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.mobile-menu {
    background: #1F2932;
    color: white;
    padding: 1rem;
    width: 100%;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-10%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mobile-lang-dropdown {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.3rem 0;
    color: white;
    text-decoration: none;
}

.mobile-nav-links a {
    display: block;
    padding: 0.5rem 0;
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

.mobile-menu-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: white;
    background: transparent;
    border: none;
    z-index: 9999;
}