/*
Theme Name: ORZAN Group - RTL Styles
Description: أنماط RTL للغة العربية
*/

/* ========== RTL GLOBAL ========== */
body.rtl {
    direction: rtl;
    unicode-bidi: embed;
    font-family: 'Cairo', 'Mulish', sans-serif;
}

body.rtl .entry-content,
body.rtl .entry-content p,
body.rtl .entry-content h1,
body.rtl .entry-content h2,
body.rtl .entry-content h3,
body.rtl .entry-content h4,
body.rtl .entry-content h5,
body.rtl .entry-content h6 {
    direction: rtl;
    text-align: right;
}

/* ========== HEADER RTL ========== */
body.rtl .ct-header .ct-header-button {
    margin-right: auto;
    margin-left: 0;
}

body.rtl .ct-header .ct-menu {
    padding-right: 0;
}

/* ========== HERO RTL ========== */
body.rtl .orzan-hero .hero-content {
    text-align: right;
}

body.rtl .orzan-hero .hero-buttons {
    justify-content: flex-start;
}

body.rtl .orzan-hero h1 {
    text-align: right;
}

body.rtl .orzan-hero p {
    text-align: right;
}

/* ========== SECTION TITLES RTL ========== */
body.rtl .section-title {
    text-align: center;
}

body.rtl .section-title h2::after {
    margin: 16px auto 0;
}

/* ========== SERVICES RTL ========== */
body.rtl .service-card {
    text-align: right;
}

body.rtl .service-card .service-link {
    flex-direction: row-reverse;
}

/* ========== ABOUT RTL ========== */
body.rtl .about-text {
    text-align: right;
}

body.rtl .about-text h6 {
    text-align: right;
}

body.rtl .about-text h2 {
    text-align: right;
}

body.rtl .about-feature {
    text-align: right;
}

body.rtl .about-image .experience-badge {
    right: auto;
    left: -20px;
}

/* ========== WHY CHOOSE US RTL ========== */
body.rtl .why-card {
    text-align: right;
}

/* ========== CONTACT RTL ========== */
body.rtl .contact-grid {
    direction: rtl;
}

body.rtl .contact-info {
    text-align: right;
}

body.rtl .contact-detail {
    flex-direction: row;
}

body.rtl .contact-form {
    text-align: right;
}

body.rtl .form-group label {
    text-align: right;
}

body.rtl .form-group input,
body.rtl .form-group textarea {
    text-align: right;
}

/* ========== FOOTER RTL ========== */
body.rtl .orzan-footer {
    text-align: right;
}

body.rtl .orzan-footer .footer-widget h4::after {
    left: auto;
    right: 0;
}

body.rtl .orzan-footer .footer-bottom {
    flex-direction: row-reverse;
}

/* ========== PAGE HEADER RTL ========== */
body.rtl .page-hero {
    text-align: center;
}

body.rtl .page-hero h1 {
    text-align: center;
}

body.rtl .page-hero p {
    text-align: center;
}

/* ========== STATS RTL ========== */
body.rtl .stats-grid {
    direction: rtl;
}

/* ========== BLOG RTL ========== */
body.rtl .blog-post {
    text-align: right;
}

body.rtl .post-meta {
    direction: rtl;
}

body.rtl .post-navigation {
    direction: rtl;
}

/* ========== SIDEBAR RTL ========== */
body.rtl .widget {
    text-align: right;
}

body.rtl .widget ul {
    padding-right: 0;
}

/* ========== COMMENTS RTL ========== */
body.rtl .comment-list {
    padding-right: 0;
}

body.rtl .comment-content {
    text-align: right;
}

/* ========== FORMS RTL ========== */
body.rtl .wpcf7-form {
    text-align: right;
}

body.rtl .wpcf7-form input,
body.rtl .wpcf7-form textarea {
    text-align: right;
}

/* ========== NAVIGATION RTL ========== */
body.rtl .ct-breadcrumbs {
    direction: rtl;
}

body.rtl .ct-breadcrumbs a {
    display: inline-block;
}

/* ========== SEARCH RTL ========== */
body.rtl .search-form {
    direction: rtl;
}

body.rtl .search-form input {
    text-align: right;
}

/* ========== PAGINATION RTL ========== */
body.rtl .ct-pagination {
    direction: rtl;
}

/* ========== LANGUAGE SWITCHER ========== */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 10px;
}

.lang-switch {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.lang-switch:hover {
    background: rgba(201, 169, 110, 0.15);
    color: #c9a96e !important;
}

.lang-switch.current-lang {
    background: rgba(201, 169, 110, 0.2);
    color: #c9a96e !important;
}

/* ========== RESPONSIVE RTL ========== */
@media (max-width: 768px) {
    body.rtl .about-image .experience-badge {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: -20px;
    }
    
    body.rtl .orzan-footer .footer-bottom {
        flex-direction: column;
    }
}
