/* ========================================
   Language Switcher for Landing Page
   ======================================== */

/* Navigation bar language switcher styling */
.language-switcher-nav {
    display: inline-block;
    margin: 0 10px;
}

.language-switcher-nav .language-switcher {
    display: inline-block;
    vertical-align: middle;
}

/* Landing page specific button style */
.language-btn-landing {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    padding: 8px 15px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
}

.language-btn-landing:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.language-btn-landing .lang-name {
    margin: 0 5px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .language-switcher-nav {
        display: block;
        width: 100%;
        text-align: center;
        margin: 10px 0;
        padding: 10px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .language-btn-landing {
        width: auto;
        margin: 0 auto;
    }

    .language-dropdown {
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }

    .language-dropdown.active {
        transform: translateX(-50%) translateY(0);
    }
}

/* Integration with navbar */
.navbar .language-switcher {
    position: relative;
}

.navbar .language-dropdown {
    top: calc(100% + 10px);
    z-index: 10000;
}
