/* Çoklu Dil Seçici Stilleri */
.lang-switcher-wrap {
    position: relative;
    display: inline-block;
    float: right;
    margin: 4px 10px 0 10px;
    z-index: 99999;
}

.lang-btn {
    background: #2c3e50;
    color: #fff;
    border: 1px solid #34495e;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    outline: none;
}

.lang-btn:hover {
    background: #34495e;
    border-color: #4a6278;
}

.lang-flag {
    font-size: 16px;
    line-height: 1;
}

.lang-label {
    letter-spacing: 0.5px;
}

.lang-arrow {
    font-size: 10px;
    margin-left: 2px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    list-style: none;
    margin: 0;
    padding: 6px 0;
    min-width: 150px;
    display: none;
    z-index: 999999;
}

.lang-dropdown li {
    padding: 0;
    margin: 0;
}

.lang-dropdown li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    color: #333333 !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s;
}

.lang-dropdown li a:hover {
    background: #f1f5f9;
    color: #007bff !important;
}

.lang-dropdown li.active a {
    background: #e8f4fd;
    color: #007bff !important;
    font-weight: bold;
}

.lang-dropdown .flag-icon {
    font-size: 16px;
}

/* RTL (Arapça) Desteği */
html[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .main-nav a {
    float: right;
}

html[dir="rtl"] .search {
    float: left;
}

html[dir="rtl"] .lang-switcher-wrap {
    float: left;
}

html[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

/* Mobil Uyumluluk */
@media (max-width: 767px) {
    .lang-switcher-wrap {
        float: none;
        display: inline-block;
        margin: 5px;
    }
}
