/* ═══════════════════════════════════════════════════════════════════
   LOTUS GRAND HOTEL DUBAI — RTL STYLESHEET (ARABIC)
   Supports Arabic typography, bidirectional layout mirroring,
   and luxury presentation in Arabic mode.
   ═══════════════════════════════════════════════════════════════════ */

/* ── Typography & Base RTL ───────────────────────────────────────── */
html[dir="rtl"],
body.rtl {
  direction: rtl !important;
  text-align: right;
  font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: normal !important;
}

body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl h4,
body.rtl h5,
body.rtl h6,
body.rtl .section-title,
body.rtl .logo-main,
body.rtl .gallery-card-title {
  font-family: 'Cairo', 'Tajawal', sans-serif !important;
  letter-spacing: 0 !important;
}

body.rtl .section-label,
body.rtl .logo-sub,
body.rtl .nav-link,
body.rtl .btn {
  letter-spacing: 0.02em !important;
}

/* ── Header & Navigation ─────────────────────────────────────────── */
body.rtl .site-header .header-inner {
  flex-direction: row;
}

body.rtl .nav-list {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

body.rtl .nav-list .sub-menu {
  right: 0 !important;
  left: auto !important;
  text-align: right;
}

body.rtl .header-actions {
  flex-direction: row;
}

body.rtl .header-phone i {
  margin-left: 4px;
  margin-right: 0;
}

body.rtl .lang-switcher {
  flex-direction: row;
}

body.rtl .menu-toggle {
  margin-left: 0;
  margin-right: 8px;
}

/* ── Buttons with Icons ──────────────────────────────────────────── */
body.rtl .btn i,
body.rtl a i,
body.rtl button i {
  margin-left: 6px;
  margin-right: 0;
}

body.rtl .btn-gold i,
body.rtl .btn-dark i,
body.rtl .btn-outline-white i {
  display: inline-block;
}

/* ── Hero & Badges ───────────────────────────────────────────────── */
body.rtl .hero-section {
  text-align: center;
}

body.rtl .hero-section .container {
  text-align: center;
}

/* ── Facility / Feature Cards ────────────────────────────────────── */
body.rtl .facility-card,
body.rtl .room-card,
body.rtl .amenity-item {
  text-align: right;
}

body.rtl .room-card .room-meta span i,
body.rtl .facility-item i {
  margin-left: 8px;
  margin-right: 0;
}

/* ── Gallery Layout (RTL) ────────────────────────────────────────── */
body.rtl .gallery-filter-btn {
  flex-direction: row;
}

body.rtl .gallery-filter-btn i {
  margin-left: 6px;
  margin-right: 0;
}

body.rtl .gallery-filter-btn .filter-count {
  margin-right: 6px;
  margin-left: 0;
}

body.rtl .gallery-card-badge {
  align-self: flex-start; /* in RTL flex-start is right */
}

body.rtl .gallery-card-content {
  flex-direction: row;
  text-align: right;
}

body.rtl .gallery-zoom-icon {
  margin-left: 12px;
  margin-right: 0;
}

/* Lightbox RTL Controls */
body.rtl .lb-close {
  left: 24px;
  right: auto;
}

body.rtl .lb-prev {
  right: 20px;
  left: auto;
  transform: translateY(-50%) scaleX(-1);
}

body.rtl .lb-next {
  left: 20px;
  right: auto;
  transform: translateY(-50%) scaleX(-1);
}

@media (max-width: 768px) {
  body.rtl .lb-close {
    left: 14px;
    right: auto;
  }
  body.rtl .lb-prev {
    right: 10px;
    left: auto;
  }
  body.rtl .lb-next {
    left: 10px;
    right: auto;
  }
}

/* ── Footer RTL ─────────────────────────────────────────────────── */
body.rtl .site-footer {
  text-align: right;
}

body.rtl .footer-grid {
  direction: rtl;
}

body.rtl .footer-nav,
body.rtl .footer-nearby ul,
body.rtl .location-landmarks ul {
  padding-right: 0 !important;
  list-style: none;
}

body.rtl .footer-nav li a i,
body.rtl .footer-nearby li i,
body.rtl .contact-item i {
  margin-left: 10px !important;
  margin-right: 0 !important;
}

body.rtl .footer-bottom-inner {
  flex-direction: row-reverse;
}

body.rtl .footer-legal a {
  margin-left: 18px;
  margin-right: 0;
}

/* ── Floating Buttons ────────────────────────────────────────────── */
body.rtl .whatsapp-float {
  left: 24px !important;
  right: auto !important;
}

body.rtl .back-to-top {
  right: 24px !important;
  left: auto !important;
}

/* ── Breadcrumb RTL ──────────────────────────────────────────────── */
body.rtl .breadcrumb span[aria-hidden="true"] {
  transform: scaleX(-1);
  display: inline-block;
}
