/* =============================================
   Active Club - RTL (Arabic) Overrides
   ============================================= */

/* Base RTL font family */
[dir="rtl"] body {
    font-family: 'Noto Sans Arabic', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    direction: rtl;
    text-align: right;
}

/* -----------------------------------------
   Header RTL
   ----------------------------------------- */
[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .lang-switch {
    margin-right: auto;
    margin-left: 15px;
}

/* -----------------------------------------
   Side Nav RTL (slide from right)
   ----------------------------------------- */
[dir="rtl"] .side-nav-panel {
    left: auto;
    right: -300px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

[dir="rtl"] .side-nav-panel.open {
    right: 0;
    left: auto;
}

[dir="rtl"] .side-nav-header {
    justify-content: flex-start;
}

[dir="rtl"] .side-nav-menu a {
    text-align: right;
}

[dir="rtl"] .side-nav-menu .btn-download {
    margin: 15px 25px;
}

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

[dir="rtl"] .hero-text-col {
    text-align: right;
}

[dir="rtl"] .hero-buttons {
    justify-content: flex-start;
}

/* -----------------------------------------
   Get Started RTL
   ----------------------------------------- */
[dir="rtl"] .get-started-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .get-started-text-col {
    text-align: center;
}

/* -----------------------------------------
   Brands RTL
   ----------------------------------------- */
[dir="rtl"] .brand-desc {
    text-align: right;
}

/* -----------------------------------------
   Contact RTL
   ----------------------------------------- */
[dir="rtl"] .contact-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact-text-col {
    text-align: right;
}

/* -----------------------------------------
   Footer RTL
   ----------------------------------------- */
[dir="rtl"] .footer-text {
    text-align: right;
}

[dir="rtl"] .footer-copyright {
    text-align: center;
}

/* -----------------------------------------
   Scroll to Top RTL
   ----------------------------------------- */
[dir="rtl"] .scroll-to-top {
    right: auto;
    left: 30px;
}

/* -----------------------------------------
   Page Banner RTL
   ----------------------------------------- */
[dir="rtl"] .breadcrumb-sep {
    margin: 0 8px;
}

/* -----------------------------------------
   Prose Content RTL
   ----------------------------------------- */
[dir="rtl"] .prose {
    text-align: right;
}

[dir="rtl"] .prose ol,
[dir="rtl"] .prose ul {
    margin: 15px 25px 20px 0;
    padding-right: 0;
}

[dir="rtl"] .prose ol ol {
    margin: 10px 20px 10px 0;
}

/* -----------------------------------------
   Accordion RTL
   ----------------------------------------- */
[dir="rtl"] .accordion-header {
    text-align: right;
    flex-direction: row-reverse;
}

[dir="rtl"] .accordion-icon {
    margin-left: 0;
    margin-right: 15px;
}

[dir="rtl"] .accordion-body {
    text-align: right;
}

[dir="rtl"] .accordion-body ul {
    margin: 10px 20px 10px 0;
}

/* -----------------------------------------
   Responsive RTL Overrides
   ----------------------------------------- */
@media (max-width: 991px) {
    [dir="rtl"] .hero-container,
    [dir="rtl"] .get-started-container,
    [dir="rtl"] .contact-container {
        flex-direction: column;
        text-align: center;
    }

    [dir="rtl"] .hero-text-col,
    [dir="rtl"] .contact-text-col {
        text-align: center;
    }

    [dir="rtl"] .hero-buttons {
        justify-content: center;
    }

    [dir="rtl"] .footer-text {
        text-align: right;
    }
}

@media (max-width: 767px) {
    [dir="rtl"] .scroll-to-top {
        left: 20px;
        right: auto;
    }
}
