/* ==========================================================
   Al Nokhba Theme — rtl.css
   RTL-specific overrides for Arabic layout
   ========================================================== */

html[dir="rtl"] body {
  font-feature-settings: "ss01", "cv11";
}

/* Header */
html[dir="rtl"] .header-logo { flex-direction: row-reverse; }
html[dir="rtl"] .brand-text  { text-align: right; }

/* Services grid — reorder columns for RTL */
@media (min-width: 768px) {
  html[dir="rtl"] .service-row {
    grid-template-columns: 2fr 1fr 2rem auto;
  }
}

/* Footer */
html[dir="rtl"] .footer-brand  { flex-direction: row-reverse; }
html[dir="rtl"] .footer-social { justify-content: flex-start; }
@media (min-width: 768px) {
  html[dir="rtl"] .footer-social { justify-content: flex-end; }
}

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

/* Form fields — Arabic text goes right-to-left */
html[dir="rtl"] .field input,
html[dir="rtl"] .field textarea,
html[dir="rtl"] .field select {
  text-align: right;
  direction: rtl;
}

/* Guarantee grid centred text (already centred, keep) */

/* Trust section — align start for Arabic */
html[dir="rtl"] .trust-item { text-align: end; }
@media (min-width: 768px) {
  html[dir="rtl"] .trust-item { text-align: start; }
}
