/* ============================================
   LANGUAGE SWITCHER STYLES FOR POLYLANG
   Add to header or navigation
   ============================================ */

.language-switcher {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.language-switcher .lang-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

.language-switcher .lang-item {
    display: inline-block;
}

.language-switcher .lang-item a {
    display: inline-block;
    padding: 8px 15px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.language-switcher .lang-item a:hover {
    background: #007c91;
    color: #fff;
    transform: translateY(-2px);
}

.language-switcher .lang-item.active a {
    background: #007c91;
    color: #fff;
    border-color: #005f6f;
    box-shadow: 0 2px 8px rgba(0, 124, 145, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .language-switcher {
        margin-left: 0;
        margin-top: 15px;
        justify-content: center;
    }
    
    .language-switcher .lang-menu {
        gap: 8px;
    }
    
    .language-switcher .lang-item a {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* Alternative minimal style */
.language-switcher.minimal .lang-item a {
    background: transparent;
    color: #007c91;
    padding: 5px 10px;
    border: 1px solid #007c91;
}

.language-switcher.minimal .lang-item.active a {
    background: #007c91;
    color: #fff;
}

/* Flag style (if using flag images) */
.language-switcher.flags .lang-item a {
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-switcher.flags .lang-item a img {
    width: 20px;
    height: 15px;
    object-fit: cover;
}

