/* ═══════════════════════════════════════════════════════════════════════════
   CORE CONSTRUCT — RTL (Right-to-Left) Overrides for Hebrew
   WordPress auto-loads this file when the site language is RTL
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Base Direction ─── */
body { direction: rtl; text-align: right; }

/* ─── Header ─── */
.header-inner { flex-direction: row-reverse; }
.main-nav { order: -1; }
.nav-list { flex-direction: row-reverse; }
.header-actions { flex-direction: row-reverse; }

/* ─── Hero ─── */
.hero-content { text-align: right; }
.hero-actions { justify-content: flex-start; }
.hero-stats { direction: rtl; }

/* ─── About ─── */
.about-grid { direction: rtl; }
.about-features { direction: rtl; }
.about-image-accent { right: auto; left: -16px; }
.about-experience-badge { left: auto; right: -20px; }

/* ─── Story ─── */
.story-grid { direction: rtl; }
.story-text { text-align: right; }

/* ─── Promise ─── */
.promise-card { text-align: center; }
.promise-card h3, .promise-card p { text-align: center; }

/* ─── Services ─── */
.service-cta { flex-direction: row-reverse; }
.service-card:hover .service-cta { gap: 12px; }

/* ─── Projects ─── */
.project-info { text-align: right; }
.project-tags { justify-content: flex-start; }

/* ─── Testimonials ─── */
.testimonial-quote { text-align: right; }
.testimonial-author { flex-direction: row-reverse; text-align: right; }
.review-avatar { margin-left: 0; }
.google-badge { flex-direction: row-reverse; }
.google-badge-info { align-items: flex-end; }

/* ─── Blog ─── */
.blog-body { text-align: right; }
.blog-type { left: auto; right: 12px; }
.blog-tags { justify-content: flex-start; }
.blog-social-links { justify-content: flex-start; }

/* ─── Modal ─── */
.modal-close { right: auto; left: 16px; }
.modal-body { text-align: right; }
.modal-body .project-tags { justify-content: flex-start; }

/* ─── Footer ─── */
.footer-grid { direction: rtl; }
.footer-contact li { flex-direction: row-reverse; text-align: right; }
.footer-social { justify-content: flex-start; }
.footer-bottom { flex-direction: row-reverse; }

/* ─── Contact FAB ─── */
.contact-fab { right: auto; left: 24px; align-items: flex-start; }
.fab-whatsapp:hover, .fab-email:hover { transform: translateX(4px); }

/* ─── Buttons ─── */
.btn { flex-direction: row-reverse; }

/* ─── Language Toggle ─── */
.lang-toggle { direction: ltr; }

/* ─── Carousel Buttons (swap arrows) ─── */
.carousel-btn svg { transform: scaleX(-1); }
.projects-prev svg, .projects-next svg,
.blog-prev svg, .blog-next svg { transform: scaleX(-1); }

/* ─── Mobile Nav ─── */
@media (max-width: 768px) {
    .main-nav { right: auto; left: 0; transform: translateX(-100%); }
    .main-nav.open { transform: translateX(0); }
    .nav-link { text-align: right; }
    .footer-bottom { flex-direction: column; }
}

/* ─── Section Headers ─── */
.section-header { text-align: right; }
.section-header[style*="text-align: center"] { text-align: center !important; }
.team-text { text-align: center; }
