/**
 * ZirvePOS - RTL (Sağdan Sola) Stil Dosyası
 * Arapça dil desteği için
 */

/* Genel RTL ayarları */
body[dir="rtl"] {
    text-align: right;
}

/* Navbar */
body[dir="rtl"] .navbar-inner {
    flex-direction: row-reverse;
}

body[dir="rtl"] .navbar-nav {
    flex-direction: row-reverse;
}

body[dir="rtl"] .lang-switcher {
    margin-left: 0;
    margin-right: 10px;
}

body[dir="rtl"] .navbar-cta {
    margin-left: 0;
    margin-right: 15px;
}

/* Hero */
body[dir="rtl"] .hero-content {
    text-align: right;
}

body[dir="rtl"] .hero-actions {
    flex-direction: row-reverse;
}

body[dir="rtl"] .hero-stats {
    flex-direction: row-reverse;
}

body[dir="rtl"] .hero-image-badge.badge-1 {
    bottom: 20px;
    left: auto;
    right: -20px;
}

body[dir="rtl"] .hero-image-badge.badge-2 {
    top: 20px;
    right: auto;
    left: -20px;
}

/* Section header */
body[dir="rtl"] .section-header h2::after {
    margin: 15px auto 0;
}

/* Feature cards */
body[dir="rtl"] .feature-card {
    text-align: right;
}

/* Steps */
body[dir="rtl"] .steps-grid::before {
    left: 20%;
    right: 20%;
    transform: scaleX(-1);
}

/* Contact */
body[dir="rtl"] .contact-grid {
    direction: rtl;
}

body[dir="rtl"] .contact-info-item {
    flex-direction: row-reverse;
    text-align: right;
}

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

body[dir="rtl"] .form-row {
    direction: rtl;
}

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

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

body[dir="rtl"] .footer-col h4::after {
    left: auto;
    right: 0;
}

body[dir="rtl"] .footer-links a {
    flex-direction: row-reverse;
}

body[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

body[dir="rtl"] .footer-links a i {
    transform: scaleX(-1);
}

body[dir="rtl"] .footer-contact-item {
    flex-direction: row-reverse;
    text-align: right;
}

body[dir="rtl"] .footer-bottom {
    flex-direction: row-reverse;
}

/* Breadcrumb */
body[dir="rtl"] .breadcrumb {
    flex-direction: row-reverse;
}

body[dir="rtl"] .breadcrumb i {
    transform: scaleX(-1);
}

/* Buttons */
body[dir="rtl"] .btn {
    flex-direction: row-reverse;
}

/* Pricing */
body[dir="rtl"] .pricing-badge {
    right: auto;
    left: 20px;
}

body[dir="rtl"] .pricing-features li {
    flex-direction: row-reverse;
}

/* Testimonials */
body[dir="rtl"] .testimonial-card::before {
    right: auto;
    left: 25px;
}

body[dir="rtl"] .testimonial-author {
    flex-direction: row-reverse;
}

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

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

/* Mobile menu */
@media (max-width: 768px) {
    body[dir="rtl"] .navbar-nav.open {
        text-align: right;
    }
    
    body[dir="rtl"] .navbar-inner {
        flex-direction: row-reverse;
    }
    
    body[dir="rtl"] .hero-content {
        text-align: center;
    }
    
    body[dir="rtl"] .hero-actions {
        justify-content: center;
    }
    
    body[dir="rtl"] .hero-stats {
        justify-content: center;
    }
}

/* About page */
body[dir="rtl"] .about-content-grid {
    direction: rtl;
}

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

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

/* Admin panel RTL */
body[dir="rtl"] .admin-sidebar {
    right: 0;
    left: auto;
}

body[dir="rtl"] .admin-main {
    margin-right: 260px;
    margin-left: 0;
}

body[dir="rtl"] .sidebar-nav a {
    flex-direction: row-reverse;
    text-align: right;
}

body[dir="rtl"] .admin-header {
    flex-direction: row-reverse;
}

/* Arabic font improvements */
body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3,
body[dir="rtl"] h4,
body[dir="rtl"] h5,
body[dir="rtl"] h6 {
    font-family: 'Noto Sans Arabic', 'Cairo', 'Tajawal', sans-serif;
    font-weight: 700;
}

body[dir="rtl"] p,
body[dir="rtl"] span,
body[dir="rtl"] a,
body[dir="rtl"] li,
body[dir="rtl"] button,
body[dir="rtl"] input,
body[dir="rtl"] textarea {
    font-family: 'Noto Sans Arabic', 'Cairo', 'Tajawal', sans-serif;
}
