/* Sadece Arapça Metinler İçin RTL - Layout Hiç Değişmez */

/* Arapça dil için body class - sadece metin yönlendirmesi */

/* Sadece metin elementleri RTL olacak */
body.arabic-text p,
body.arabic-text h1,
body.arabic-text h2,
body.arabic-text h3,
body.arabic-text h4,
body.arabic-text h5,
body.arabic-text h6,
body.arabic-text span.text-content,
body.arabic-text div.text-content {
    direction: rtl !important;
    text-align: right !important;
    unicode-bidi: bidi-override;
}

/* İçerik alanlarındaki metinler */
body.arabic-text .content-part,
body.arabic-text .blog-content,
body.arabic-text .article-content,
body.arabic-text .page-content,
body.arabic-text .post-content,
body.arabic-text .description,
body.arabic-text .excerpt,
body.arabic-text .summary {
    direction: rtl !important;
    text-align: right !important;
}

/* Liste elementleri - sadece içerik alanlarında */
body.arabic-text .content-part ul,
body.arabic-text .content-part ol,
body.arabic-text .content-part li,
body.arabic-text .blog-content ul,
body.arabic-text .blog-content ol,
body.arabic-text .blog-content li,
body.arabic-text .article-content ul,
body.arabic-text .article-content ol,
body.arabic-text .article-content li {
    direction: rtl !important;
    text-align: right !important;
}

/* Form elementleri - sadece metin girişi */
body.arabic-text input[type="text"],
body.arabic-text input[type="email"],
body.arabic-text input[type="password"],
body.arabic-text input[type="tel"],
body.arabic-text input[type="number"],
body.arabic-text textarea {
    direction: rtl !important;
    text-align: right !important;
}

/* Tablo içerikleri - sadece data hücreleri */
body.arabic-text table td p,
body.arabic-text table th p,
body.arabic-text .table-content {
    direction: rtl !important;
    text-align: right !important;
}

/* Card içerikleri - sadece metin kısımları */
body.arabic-text .card-text,
body.arabic-text .card-description,
body.arabic-text .card-body p,
body.arabic-text .card-content {
    direction: rtl !important;
    text-align: right !important;
}

/* Modal içerikleri */
body.arabic-text .modal-text,
body.arabic-text .modal-body p,
body.arabic-text .modal-content p {
    direction: rtl !important;
    text-align: right !important;
}

/* Breadcrumb metinleri */
body.arabic-text .breadcrumb-item,
body.arabic-text .breadcrumb span {
    direction: rtl !important;
    text-align: right !important;
}

/* Footer sadece metin kısımları */
body.arabic-text .footer p,
body.arabic-text .footer-text,
body.arabic-text .footer-content {
    direction: rtl !important;
    text-align: right !important;
}

/* Özel içerik sınıfları */
body.arabic-text .desc-department-part,
body.arabic-text .search-data-contain-part p,
body.arabic-text .item-services p,
body.arabic-text .services-item p {
    direction: rtl !important;
    text-align: right !important;
}

/* Slider içerik metinleri - sadece yazılar */
body.arabic-text .slider-content p,
body.arabic-text .slide-text,
body.arabic-text .banner-text p {
    direction: rtl !important;
    text-align: right !important;
}

/* Slider orta yazıları merkez hizalı kalacak */
body.arabic-text .slider-center,
body.arabic-text .slide-center,
body.arabic-text .banner-center,
body.arabic-text .carousel-caption,
body.arabic-text .slider .text-center,
body.arabic-text .slide .text-center,
body.arabic-text .banner .text-center,
body.arabic-text .hero-content,
body.arabic-text .hero-text,
body.arabic-text .slider-title,
body.arabic-text .slide-title,
body.arabic-text .carousel-item .text-center,
body.arabic-text .swiper-slide .text-center,
body.arabic-text .rs-discover-part,
body.arabic-text .rs-discover-part .title-part,
body.arabic-text .rs-discover-part .desc-part,
body.arabic-text .rs-discover-part .btn-part,
body.arabic-text .rs-discover-part h1,
body.arabic-text .rs-discover-part p {
    text-align: center !important;
    direction: ltr !important;
}

/* Doktor isimleri normal (soldan) yazılacak - Türkçe isimler */
body.arabic-text .doctor-name,
body.arabic-text .doctor-card .doctor-name,
body.arabic-text .person-name,
body.arabic-text .doctor-info h3,
body.arabic-text .doctor-card h3,
body.arabic-text .item-team-part .person-name,
body.arabic-text .normal-text .person-name,
body.arabic-text .doctor-title,
body.arabic-text .designation,
body.arabic-text .doctor-specialty,
body.arabic-text span.person-name {
    direction: ltr !important;
    text-align: center !important;
    unicode-bidi: bidi-override !important;
}

/* Tüm doktor kartları için genel kural */
body.arabic-text .item-team-part,
body.arabic-text .doctor-card,
body.arabic-text .normal-text {
    direction: ltr !important;
}

/* Doktor isimlerini içeren tüm span ve h3 elementleri */
body.arabic-text .item-team-part span,
body.arabic-text .item-team-part h3,
body.arabic-text .doctor-card span,
body.arabic-text .doctor-card h3,
body.arabic-text .normal-text span,
body.arabic-text .normal-text h3 {
    direction: ltr !important;
    unicode-bidi: bidi-override !important;
}

/* Çok spesifik doktor isim kuralları - En güçlü */
body.arabic-text .item-team-part .normal-text .person-name,
body.arabic-text .doctor-card .doctor-info .doctor-name,
body.arabic-text .item-team-inner .normal-text span.person-name,
body.arabic-text .doctor-info h3.doctor-name,
body.arabic-text .normal-text.text-center .person-name,
body.arabic-text .normal-text.text-center span {
    direction: ltr !important;
    unicode-bidi: bidi-override !important;
    text-align: center !important;
}

/* Tüm doktor container'ları LTR zorla */
body.arabic-text .item-team-inner,
body.arabic-text .doctor-info {
    direction: ltr !important;
}

/* En güçlü kural - Türkçe karakterler içeren tüm metinler */
body.arabic-text *[class*="person"],
body.arabic-text *[class*="doctor"],
body.arabic-text *[class*="name"] {
    direction: ltr !important;
    unicode-bidi: bidi-override !important;
}

/* Global override - Türkçe isimler için */
body.arabic-text span:not([lang="ar"]),
body.arabic-text h3:not([lang="ar"]),
body.arabic-text h4:not([lang="ar"]) {
    direction: ltr !important;
    unicode-bidi: normal !important;
}

/* Blog ve haber içerikleri */
body.arabic-text .blog-item .blog-full,
body.arabic-text .news-content,
body.arabic-text .post-excerpt {
    direction: rtl !important;
    text-align: right !important;
}

/* Genel metin sınıfları */
body.arabic-text .text-muted,
body.arabic-text .text-primary,
body.arabic-text .text-secondary,
body.arabic-text .lead {
    direction: rtl !important;
    text-align: right !important;
}

/* Önemli: Navbar, menu, header, logo, btn, slider, carousel, container, row, col elementleri değişmez */
