/*
 * RTL Overrides for Evora Cleaning
 * Arabic RTL Layout Support
 */

/* Flip directional properties only for Arabic */
html[dir="rtl"] .hero-btns { direction: rtl; }
html[dir="rtl"] .hero-trust { direction: rtl; }
html[dir="rtl"] .trust-bar .container { direction: rtl; }
html[dir="rtl"] .why-grid { direction: rtl; }
html[dir="rtl"] .service-detail-grid { direction: rtl; }
html[dir="rtl"] .contact-grid { direction: rtl; }
html[dir="rtl"] .footer-grid { direction: rtl; }
html[dir="rtl"] .footer-bottom { direction: rtl; }
html[dir="rtl"] .cta-btns { direction: rtl; }
html[dir="rtl"] .process-grid { direction: rtl; }
html[dir="rtl"] .testimonials-grid { direction: rtl; }
html[dir="rtl"] .services-grid { direction: rtl; }

/* Flip margins and paddings */
html[dir="rtl"] .nav-phone { margin-left: 0; margin-right: 8px; }
html[dir="rtl"] .service-card li { padding-left: 0; padding-right: 8px; }

/* Flip check marks */
html[dir="rtl"] .service-card li::before { content: '✓'; }

/* Flip hero text alignment */
html[dir="rtl"] .hero .container { text-align: right; }
html[dir="rtl"] .hero-desc { text-align: right; }

/* Flip section headers */
html[dir="rtl"] .section-header { text-align: right; }
html[dir="rtl"] .section-label { text-align: right; }

/* Flip list items */
html[dir="rtl"] .why-feature { direction: rtl; }
html[dir="rtl"] .sidebar-feature { direction: rtl; }

/* Flip contact methods */
html[dir="rtl"] .contact-method { direction: rtl; }

/* Flip footer */
html[dir="rtl"] .footer-links { direction: rtl; }
html[dir="rtl"] .footer-contact-item { direction: rtl; }

/* Flip testimonials */
html[dir="rtl"] .testimonial-text { direction: rtl; text-align: right; }

/* Mobile nav slide from left instead of right */
@media (max-width: 1024px) {
    html[dir="rtl"] .main-nav {
        right: auto;
        left: -100%;
        box-shadow: 4px 0 20px rgba(0,0,0,0.1);
    }
    html[dir="rtl"] .main-nav.active { left: 0; }
    html[dir="rtl"] .menu-toggle.active span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 5px); }
    html[dir="rtl"] .menu-toggle.active span:nth-child(3) { transform: rotate(45deg) translate(-5px, -5px); }
}

/* Flip WhatsApp tooltip */
html[dir="rtl"] .whatsapp-tooltip {
    right: auto;
    left: 0;
}
html[dir="rtl"] .whatsapp-tooltip::after {
    right: auto;
    left: 20px;
}

/* Arabic font */
html[dir="rtl"] body {
    font-family: 'Inter', 'Segoe UI', 'Tahoma', 'Arial', sans-serif;
}

/* Flip animations */
html[dir="rtl"] @keyframes fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
