/**
 * AB Theme - RTL Styles
 *
 * @package AB_Theme
 */

/* RTL Adjustments */
html[dir="rtl"] {
    --font-primary: 'Cairo', sans-serif;
    --font-secondary: 'Tajawal', sans-serif;
}

/* Navigation */
html[dir="rtl"] .nav-links {
    margin-right: auto;
    margin-left: 0;
}

/* Hero */
html[dir="rtl"] .hero-buttons {
    flex-direction: row-reverse;
}

/* Process Steps */
html[dir="rtl"] .process-step {
    flex-direction: row-reverse;
}

html[dir="rtl"] .step-number {
    margin-right: 0;
    margin-left: auto;
}

/* Service Detail Cards */
html[dir="rtl"] .service-detail-card:nth-child(even) {
    direction: rtl;
}

html[dir="rtl"] .service-detail-card:nth-child(even) .service-detail-content {
    direction: rtl;
}

/* Back to Top */
html[dir="rtl"] .back-to-top {
    left: 20px;
    right: auto;
}

/* Footer */
html[dir="rtl"] .footer-grid {
    direction: rtl;
}

/* Mobile Menu */
html[dir="rtl"] .mobile-menu-links {
    text-align: right;
}

/* Blog Card */
html[dir="rtl"] .blog-card-meta {
    flex-direction: row-reverse;
}

/* Contact Methods */
html[dir="rtl"] .contact-method:hover {
    transform: translateX(-4px);
}

/* Portfolio Card */
html[dir="rtl"] .portfolio-card-overlay {
    text-align: right;
}

/* Value Cards */
html[dir="rtl"] .value-card {
    text-align: right;
}

/* Form Labels */
html[dir="rtl"] .form-group label {
    text-align: right;
}

/* NDA Articles */
html[dir="rtl"] .nda-article {
    flex-direction: row-reverse;
}

html[dir="rtl"] .nda-article-num {
    margin-right: 0;
    margin-left: 0;
}

/* Scoring Table */
html[dir="rtl"] .scoring-row {
    flex-direction: row-reverse;
}

html[dir="rtl"] .scoring-value {
    text-align: right;
}

/* Stage Cards */
html[dir="rtl"] .stage-list li {
    padding-right: 0;
    padding-left: 1.2rem;
}

html[dir="rtl"] .stage-list li::before {
    right: auto;
    left: 0;
}

/* Print Styles */
@media print {
    .navbar, .mobile-menu, .footer, .back-to-top, .nda-sidebar, .nda-actions, .page-hero, .preloader {
        display: none !important;
    }

    .nda-layout {
        grid-template-columns: 1fr;
    }

    .nda-document {
        border: none;
        background: white;
        color: black;
    }

    body {
        color: #333 !important;
        background: white !important;
    }
}
