/* Language Switcher Styles */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.language-switcher a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.language-switcher a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.language-switcher a.active {
    background: rgba(255, 255, 255, 0.25);
    font-weight: 600;
}

/* CSS Flag Icons */
.flag-icon {
    display: inline-block;
    width: 20px;
    height: 15px;
    border-radius: 2px;
    margin-right: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.flag-uk {
    background: linear-gradient(to bottom, #012169 0%, #012169 25%, #ffffff 25%, #ffffff 50%, #C8102E 50%, #C8102E 75%, #ffffff 75%, #ffffff 100%);
    position: relative;
}

.flag-uk::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, #C8102E 30%, #C8102E 35%, transparent 35%, transparent 65%, #C8102E 65%, #C8102E 70%, transparent 70%);
}

.flag-tr {
    background: linear-gradient(to right, #E30A17 0%, #E30A17 33%, #ffffff 33%, #ffffff 100%);
    position: relative;
}

.flag-tr::after {
    content: '★';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #E30A17;
    font-size: 8px;
    font-weight: bold;
}

/* Mobile Language Switcher */
.mobile-language-switcher {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.mobile-language-switcher h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.mobile-language-switcher .language-options {
    display: flex;
    gap: 10px;
}

.mobile-language-switcher a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    flex: 1;
    justify-content: center;
}

.mobile-language-switcher a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.mobile-language-switcher a.active {
    background: #3498db;
}

.mobile-language-switcher .flag-icon {
    width: 24px;
    height: 18px;
    border-radius: 3px;
    margin-right: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

@media (max-width: 991px) {
    .language-switcher {
        display: none !important;
    }
}
