.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: transparent;
    transition: background 0.5s, box-shadow 0.5s;
}
.nav-link {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    padding: 6px 12px;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
}
.nav-link:hover, .nav-btn:hover {
    color: #F1C232;
}
.nav-btn {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: color 0.2s;
}
.nav-dropdown-group {
    position: relative;
}
.nav-dropdown {
    display: none;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: 40px;
    background: #8B1921;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 8px 12px;
    z-index: 20;
    min-width: 220px;
    max-height: 384px;
    overflow-y: auto;
}
.nav-dropdown-link {
    color: #fff;
    font-size: 14px;
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
    display: block;
}
.nav-dropdown-link:hover {
    color: #F1C232;
    background: #751116;
}
.nav-dropdown.show {
    display: flex;
}
.lang-dropdown-parent {
    display: flex;
    align-items: center;
    margin-left: 16px;
    position: relative;
}
.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #8B1921;
    border: 2px solid transparent;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: background 0.2s, border 0.2s;
}
.lang-btn:hover {
    background: #a01e27;
    border-color: #F1C232;
}
.lang-flag {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
}
.lang-dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 40px;
    background: #8B1921;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 8px 12px;
    z-index: 30;
    min-width: 80px;
    flex-direction: column;
    gap: 4px;
    animation: fadeIn 0.25s cubic-bezier(0.4,0,0.2,1);
}
.lang-dropdown-menu.show {
    display: flex;
}
.lang-dropdown-link {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 4px;
    background: #8B1921;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
}
.lang-dropdown-link:hover {
    background: #a01e27;
}
.lang-text {
    font-size: 14px;
    color: #fff;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}