/* Language Switcher Styles */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    gap: 10px;
}

.lang-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.2);
    /* 20% opacity white */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    /* Default text color for dark backgrounds */
}

/* Adjust text color for light backgrounds or when scrolled if needed */
/* But user asked for specific background, assuming text should be readable. 
   If the header is transparent on a dark hero, white text is good.
   If on a white page, we might need dark text. 
   Let's add a shadow to text to ensure visibility on all backgrounds. */
.lang-btn {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.lang-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.lang-btn.active {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    text-shadow: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .lang-switcher {
        top: 15px;
        right: 60px;
        /* Make room for hamburger menu */
    }

    .lang-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
}