/*
 * Site geneli ek stiller (tema dosyaları değiştirilmez)
 */

/* ---------- Dil seçici ---------- */
.lang-switcher {
    position: relative;
    display: inline-block;
    font-family: 'Exo', sans-serif;
}
.lang-switcher .lang-current {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 7px 0;
    padding: 6px 14px;
    border: 1px solid #00c5ff;
    border-radius: 30px;
    background: #fff;
    color: #001659;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition: background 250ms ease, color 250ms ease;
}
.lang-switcher .lang-current .fa-globe { color: #00c5ff; font-size: 16px; }
.lang-switcher .lang-current .lang-code { display: none; }
.lang-switcher .lang-current .fa-angle-down { font-size: 14px; transition: transform 250ms ease; }
.lang-switcher:hover .lang-current,
.lang-switcher.open .lang-current { background: #00c5ff; color: #fff; }
.lang-switcher:hover .lang-current .fa-globe,
.lang-switcher.open .lang-current .fa-globe { color: #fff; }
.lang-switcher.open .lang-current .fa-angle-down { transform: rotate(180deg); }

.lang-switcher .lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    min-width: 190px;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #fff;
    border-top: 3px solid #00c5ff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 250ms ease;
}
.lang-switcher:hover .lang-menu,
.lang-switcher.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-switcher .lang-menu li { margin: 0; }
.lang-switcher .lang-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    white-space: nowrap;
    transition: background 200ms ease, color 200ms ease;
}
.lang-switcher .lang-menu a .code {
    min-width: 26px;
    font-size: 11px;
    font-weight: 700;
    color: #00c5ff;
    letter-spacing: 0.5px;
}
.lang-switcher .lang-menu a .fa-check { margin-left: auto; color: #8cc641; font-size: 12px; }
.lang-switcher .lang-menu a:hover { background: #f2fbff; color: #001659; }
.lang-switcher .lang-menu li.active a { color: #001659; font-weight: 700; }
.lang-switcher .lang-menu a[dir="rtl"] { direction: ltr; }

/* Sticky header'da kompakt */
.sticky-header .lang-switcher.sm { float: right; margin: 12px 0 0 15px; }
.sticky-header .lang-switcher.sm .lang-current { margin: 0; padding: 4px 10px; font-size: 13px; }
.sticky-header .lang-switcher.sm .lang-name { display: none; }
.sticky-header .lang-switcher.sm .lang-code { display: inline; }

/* Mobil */
@media only screen and (max-width: 1100px) {
    .header-top-two .top-right { width: 100%; text-align: center; }
    .header-top-two .lang-switcher .lang-current { margin: 6px 0; }
}
@media only screen and (max-width: 767px) {
    .lang-switcher .lang-menu { right: auto; left: 50%; transform: translate(-50%, 8px); }
    .lang-switcher:hover .lang-menu,
    .lang-switcher.open .lang-menu { transform: translate(-50%, 0); }
    .sticky-header .lang-switcher.sm { display: none; }
}

/* Rusça: başlık fontu Exo Kiril desteklemediği için Exo 2 */
html[lang="ru"] h1, html[lang="ru"] h2, html[lang="ru"] h3, html[lang="ru"] h4, html[lang="ru"] h5, html[lang="ru"] h6,
html[lang="ru"] .theme-btn, html[lang="ru"] .main-menu .navigation > li > a {
    font-family: 'Exo 2', 'Exo', sans-serif;
}

/* Hizmet açılır menüsü */
.main-menu .navigation > li.dropdown > ul {
    min-width: 260px;
}
/* Tema responsive.css'i ≤1699px için ul.navigation'a overflow:hidden veriyor (mobil akordeon için);
   masaüstünde açılır menüyü kırpıyor. Masaüstünde taşmaya izin ver. */
@media (min-width: 1101px) {
    .main-menu .navbar-collapse > .navigation { overflow: visible !important; }
    .main-menu .navigation > li > ul > li { padding-left: 0; }
}
/* Mobil menü: alt menü açılınca kesilmesin */
@media (max-width: 1100px) {
    .main-menu .navbar-collapse.collapse.show { max-height: 75vh; overflow-y: auto; }
}

/* Hizmetler sayfası kategori çubuğu */
.service-categories-bar {
    margin: -20px 0 35px;
    padding: 0;
    list-style: none;
    text-align: center;
}
.service-categories-bar li { display: inline-block; margin: 5px 4px; }
.service-categories-bar a {
    display: inline-block;
    padding: 9px 22px;
    border: 1px solid #00c5ff;
    border-radius: 30px;
    color: #001659;
    font-size: 14px;
    font-weight: 600;
    transition: all 250ms ease;
}
.service-categories-bar a:hover,
.service-categories-bar li.active a { background: #00c5ff; color: #fff; }

/* ---------- Editörden eklenen içerik görselleri (hizmet / blog / hakkımızda) ---------- */
.why-choose-us-7 .description .text img,
.sidebar-page-container-two .news-block-one .text img,
.about-us-two .content .text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    margin: 10px 0 20px;
}
/* Editörde sola/sağa hizalanan görseller: metin yanına akar */
.why-choose-us-7 .description .text img[style*="float:left"],
.why-choose-us-7 .description .text img[style*="float: left"],
.sidebar-page-container-two .news-block-one .text img[style*="float:left"],
.sidebar-page-container-two .news-block-one .text img[style*="float: left"],
.about-us-two .content .text img[style*="float:left"],
.about-us-two .content .text img[style*="float: left"] { margin: 5px 25px 15px 0; }
.why-choose-us-7 .description .text img[style*="float:right"],
.why-choose-us-7 .description .text img[style*="float: right"],
.sidebar-page-container-two .news-block-one .text img[style*="float:right"],
.sidebar-page-container-two .news-block-one .text img[style*="float: right"],
.about-us-two .content .text img[style*="float:right"],
.about-us-two .content .text img[style*="float: right"] { margin: 5px 0 15px 25px; }
/* Tek başına paragrafta duran görsel ortalanır */
.why-choose-us-7 .description .text p > img:only-child,
.sidebar-page-container-two .news-block-one .text p > img:only-child,
.about-us-two .content .text p > img:only-child { display: block; margin-left: auto; margin-right: auto; }
.why-choose-us-7 .description .text p > img:only-child[style*="float"],
.sidebar-page-container-two .news-block-one .text p > img:only-child[style*="float"],
.about-us-two .content .text p > img:only-child[style*="float"] { display: inline; }
.why-choose-us-7 .description .text::after,
.sidebar-page-container-two .news-block-one .text::after,
.about-us-two .content .text::after { content: ""; display: table; clear: both; }
@media only screen and (max-width: 767px) {
    .why-choose-us-7 .description .text img[style*="float"],
    .sidebar-page-container-two .news-block-one .text img[style*="float"],
    .about-us-two .content .text img[style*="float"] { float: none !important; display: block; margin: 10px auto 20px; }
}
