/* Simple Language Switcher - Inside header */
.language-switcher {
    position: relative;
    z-index: 1000;
}

.language-btn {
    background: white;
    border: 2px solid #D4A574;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    transform: scale(1);
}

/* Scale down on scroll - matches logo behavior */
.global-header.scrolled .language-btn {
    transform: scale(0.85);
    padding: 5px 8px;
    font-size: 13px;
}

.language-btn:hover {
    background: #D4A574;
    color: white;
}

.language-btn.open {
    background: #D4A574;
    color: white;
}

.dropdown-arrow {
    width: 10px;
    height: 10px;
    transition: transform 0.2s ease;
}

.language-btn.open .dropdown-arrow {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 2px solid #D4A574;
    border-radius: 6px;
    margin-top: 4px;
    min-width: 120px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 10000;
}

.language-menu.open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important;
}


.language-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.language-item:hover {
    background: rgba(212, 165, 116, 0.1);
}

.language-item.current {
    background: rgba(212, 165, 116, 0.2);
    font-weight: 600;
}

.language-code {
    font-weight: 700;
    color: #D4A574;
    min-width: 20px;
}

.language-name {
    color: #666;
}