/*
 * Arapça (RTL) düzeni — sadece dir="rtl" iken yüklenir.
 * Tema stilleri değiştirilmez; yalnızca kullanılan bölümler için yön kuralları eklenir.
 */

/* ---------- Font ---------- */
html[dir="rtl"] body,
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4, html[dir="rtl"] h5, html[dir="rtl"] h6,
html[dir="rtl"] p, html[dir="rtl"] a, html[dir="rtl"] li, html[dir="rtl"] strong, html[dir="rtl"] label,
html[dir="rtl"] input, html[dir="rtl"] textarea, html[dir="rtl"] button, html[dir="rtl"] .theme-btn {
    font-family: 'Cairo', 'Exo', sans-serif;
}

/* ---------- Genel ---------- */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .text-left { text-align: right !important; }
html[dir="rtl"] .text-right { text-align: left !important; }
html[dir="rtl"] .pull-left { float: right !important; }
html[dir="rtl"] .pull-right { float: left !important; }
html[dir="rtl"] ul.footer-list,
html[dir="rtl"] .sidebar-widget-two .list,
html[dir="rtl"] .servicce-two .list ul { padding-right: 0; }

/* ---------- Üst bar ---------- */
html[dir="rtl"] .header-top-two .top-left { float: right; }
html[dir="rtl"] .header-top-two .top-right { float: left; }
html[dir="rtl"] .header-top-two .top-left .header-info-list li { margin-right: 0; margin-left: 24px; }
html[dir="rtl"] .header-top-two .top-left .header-info-list li .icon { margin-right: 0; margin-left: 10px; }
html[dir="rtl"] .lang-switcher .lang-menu { right: auto; left: 0; }
html[dir="rtl"] .lang-switcher .lang-menu a { text-align: right; }
html[dir="rtl"] .lang-switcher .lang-menu a .fa-check { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .sticky-header .lang-switcher.sm { float: left; margin: 12px 15px 0 0; }

/* ---------- Header / Menü ---------- */
html[dir="rtl"] .main-header .header-upper .logo-box { float: right; }
html[dir="rtl"] .main-header .header-upper .nav-outer { float: left; }
html[dir="rtl"] .main-menu,
html[dir="rtl"] .main-menu .navbar-collapse { float: right; }
html[dir="rtl"] .main-menu .navigation > li { float: right; margin-right: 0; margin-left: 16px; }
html[dir="rtl"] .sticky-header .main-menu .navigation > li { margin-left: 0; margin-right: 30px; }
html[dir="rtl"] .main-menu .navigation > li > ul { left: auto; right: 0; text-align: right; }
html[dir="rtl"] .main-menu .navigation > li > ul:before { left: auto; right: 0; }
html[dir="rtl"] .main-menu .navigation > li > ul > li:hover > a { padding-left: 18px; padding-right: 20px; }
html[dir="rtl"] .main-menu .navbar-collapse > ul li.dropdown .dropdown-btn { right: auto; left: 10px; }
html[dir="rtl"] .main-header .header-upper .support-box { float: left; margin-left: 0; margin-right: 15px; text-align: left; }
html[dir="rtl"] .main-header .header-upper .support-box .support,
html[dir="rtl"] .main-header .header-upper .support-box .support-number { text-align: left; }
html[dir="rtl"] .main-header .header-upper .support-box .support .icon { margin-left: 0; margin-right: 4px; }
html[dir="rtl"] .sticky-header .logo { float: right; }
html[dir="rtl"] .sticky-header .right-col { float: left; }

/* ---------- Slider ---------- */
/* Owl Carousel konumlamayı LTR'ye göre hesaplar; sarmalayıcı LTR kalır, içerik RTL yazılır */
html[dir="rtl"] .banner-carousel { direction: ltr; }
html[dir="rtl"] .banner-section .content-box { direction: rtl; text-align: right; }
html[dir="rtl"] .main-slider .link-box .theme-btn,
html[dir="rtl"] .banner-section .link-box .theme-btn { margin-right: 0; margin-left: 20px; }
html[dir="rtl"] .banner-section .link-box .theme-btn:last-child { margin-left: 0; }

/* ---------- Ana sayfa bölümleri ---------- */
html[dir="rtl"] .about-us-25 .about-content,
html[dir="rtl"] .about-us-25 .sec-title-five { text-align: right; }
html[dir="rtl"] .about-us-25 .sec-title-five .title h2 { margin-left: 0; margin-right: -5px; left: auto; right: 5px; }
html[dir="rtl"] .about-us-25 .btn-box { text-align: right; }
html[dir="rtl"] .call-to-action-25 .content { text-align: right; }
html[dir="rtl"] .call-to-action-25 .content .lower-content { padding-left: 0; padding-right: 95px; }
html[dir="rtl"] .call-to-action-25 .content .lower-content .icon { left: auto; right: 0; }
html[dir="rtl"] .call-to-action-25 .image-box-two { left: auto; right: -100px; }
html[dir="rtl"] .call-to-action-25 .image-box-two img { float: right; }
html[dir="rtl"] .service-img-h6 .title-box { text-align: right; }
html[dir="rtl"] .blog-25 .inner-box .lower-content { text-align: right; }
html[dir="rtl"] .blog-25 ul.post-meta { margin-left: 0; margin-right: 8px; padding-right: 0; }
html[dir="rtl"] .blog-25 .inner-box .lower-content ul li { margin-left: 0; margin-right: -5px; }
html[dir="rtl"] .blog-25 .inner-box .lower-content ul li strong { margin-right: 6px; margin-left: 17px; }
html[dir="rtl"] .blog-25 .inner-box .lower-content ul li .fa { margin-left: 6px; }

/* ---------- Sayfa başlığı / breadcrumb ---------- */
html[dir="rtl"] .page-title-two li { margin-right: 0; margin-left: 10px; padding-right: 0; padding-left: 15px; }
html[dir="rtl"] .page-title-two li:after { right: auto; left: -2px; }
html[dir="rtl"] .page-title-two li:last-child { padding-left: 0; margin-left: 0; }

/* ---------- Hakkımızda ---------- */
html[dir="rtl"] .about-us-two .content { text-align: right; }
html[dir="rtl"] .services-depertment .item { text-align: right; }

/* ---------- Hizmet detay ---------- */
html[dir="rtl"] .why-choose-us-7 .description { text-align: right; }
html[dir="rtl"] .sidebar-widget-two.departments .list li a { text-align: right; }
html[dir="rtl"] .sidebar-widget-two.departments .list li span { float: left; margin-right: 0; margin-left: 25px; transform: rotate(180deg); }
html[dir="rtl"] .sidebar-widget-two.departments .list li:before { left: auto; right: 0; }
html[dir="rtl"] .sidebar-widget-two.departments .list li:after { left: auto; right: 20px; }
html[dir="rtl"] .why-choose-us-7 .emergency-call { text-align: right; padding: 45px 95px 45px 20px; }
html[dir="rtl"] .why-choose-us-7 .emergency-call .icon { left: auto; right: 20px; }
html[dir="rtl"] .why-choose-us-7 .sidebar-widget-two.departments .list li { padding: 20px 45px 20px 0; }
html[dir="rtl"] .book-appoinment .title h3:before { left: auto; right: 0; }

/* ---------- Blog ---------- */
html[dir="rtl"] .sidebar-page-container-two .news-block-one .inner-box .lower-content { text-align: right; }
html[dir="rtl"] .sidebar-page-container-two .news-block-one .inner-box .lower-content .info { padding-right: 0; }
html[dir="rtl"] .sidebar-page-container-two .news-block-one .inner-box .lower-content .info li { margin-right: 0; margin-left: 55px; }
html[dir="rtl"] .sidebar-page-container-two .news-block-one .inner-box .lower-content .info li i { margin-right: 0; margin-left: 5px; }
html[dir="rtl"] .sidebar-page-container-two .news-block-one .inner-box .lower-content blockquote { border-left: 0; border-right: 6px solid #00c5ff; margin-left: 0; margin-right: 30px; }
html[dir="rtl"] .sidebar-widget.popular-posts-two .post { padding: 0 90px 15px 0; text-align: right; }
html[dir="rtl"] .sidebar-widget.popular-posts-two .post .post-thumb { left: auto; right: 0; }
html[dir="rtl"] .latest-news-07 .inner-box .lower-content { text-align: center; }
html[dir="rtl"] .styled-pagination .inner-box li { margin-right: 0; margin-left: 8px; }

/* ---------- İletişim ---------- */
html[dir="rtl"] .contact-page-section .info-column .inner-column,
html[dir="rtl"] .contact-page-section .form-column .contact { text-align: right; }
html[dir="rtl"] .contact-page-section .contact-info-list .item .icon { left: auto; right: 0; }
html[dir="rtl"] .contact-page-section .contact-info-list .item .title h4 { padding-left: 0; padding-right: 100px; }
html[dir="rtl"] .contact-page-section .contact-info-list .item .text p { margin-left: 0; margin-right: 99px; }
html[dir="rtl"] .contact-page-section .form-column .form-group .icon span { right: auto; left: 0; }
html[dir="rtl"] .contact-page-section .form-column .contact .form-group input { padding: 0 25px 0 70px; text-align: right; direction: rtl; }
html[dir="rtl"] .contact-page-section .form-column .contact .form-group textarea { padding: 20px 15px 0 15px; text-align: right; direction: rtl; }
html[dir="rtl"] .book-appoinment .form-group input { text-align: right; direction: rtl; }

/* ---------- Footer ---------- */
html[dir="rtl"] .fotter-25 .footer-widget { text-align: right; }
html[dir="rtl"] .fotter-25 .footer-widget h2:before,
html[dir="rtl"] .fotter-25 .footer-widget h2:after { left: auto; right: 0; }
html[dir="rtl"] .fotter-bottom-25 .social-links { text-align: right; padding-right: 0; }
html[dir="rtl"] .fotter-bottom-25 .social-links li { margin-right: 0; margin-left: 10px; }
html[dir="rtl"] .fotter-bottom-25 .subscribe-form { margin-right: 0; margin-left: -65px; }
html[dir="rtl"] .fotter-bottom-25 .subscribe-form .form-group input { text-align: right; padding: 0 30px 0 230px; }
html[dir="rtl"] .fotter-bottom-25 .subscribe-form .form-group button { right: auto; left: -3px; }
html[dir="rtl"] .fotter-bottom-25 .footer-text p { text-align: left; }

/* ---------- Diğer ---------- */
html[dir="rtl"] .scroll-to-top { right: auto; left: 20px; }
html[dir="rtl"] .alert ul { padding-right: 20px; padding-left: 0; }

@media only screen and (max-width: 767px) {
    html[dir="rtl"] .lang-switcher .lang-menu { left: 50%; }
}

@media only screen and (max-width: 1100px) {
    html[dir="rtl"] .header-top-two .top-right { float: none; text-align: center; }
    html[dir="rtl"] .main-menu .navigation > li { float: none; margin-left: 0; }
    html[dir="rtl"] .main-menu .navigation > li > ul { text-align: right; }
    html[dir="rtl"] .fotter-bottom-25 .subscribe-form { margin-left: 0; }
    html[dir="rtl"] .fotter-bottom-25 .footer-text p { text-align: center; }
}
