/* ═══════════════════════════════════════════════════════════
   AquaRides — RTL overrides (loaded only when lang = ar)
   ═══════════════════════════════════════════════════════════ */

body, .l-theme { direction: rtl; text-align: right; }

/* Arabic-friendly typography */
body, .b-main-slider__title, .b-title-page, h1, h2, h3, h4, h5, h6,
.nav-link, .btn, input, select, textarea, button {
    font-family: "Tajawal", "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
}

/* Keep numbers, times, phones and codes left-to-right */
.ltr, [dir="ltr"], input[type="time"], input[type="date"],
input[type="tel"], input[type="email"], input[type="number"],
.dur-price, .fleet-price, .tp-endtime { direction: ltr; unicode-bidi: embed; }

/* Nav */
.nav, .navbar-nav, .header-main__nav { flex-direction: row-reverse; }
.nav .nav-item { text-align: right; }

/* Bootstrap float / spacing flips */
.pull-right { float: left !important; }
.pull-left  { float: right !important; }
.text-left  { text-align: right !important; }
.text-right { text-align: left !important; }
.ml-auto    { margin-left: 0 !important;  margin-right: auto !important; }
.mr-auto    { margin-right: 0 !important; margin-left: auto !important; }

/* Lists */
ul, ol { padding-right: 0; padding-left: 0; }
.list-unstyled { padding-right: 0; }

/* Breadcrumb arrows */
.breadcrumb { flex-direction: row-reverse; }
.breadcrumb-item + .breadcrumb-item::before { transform: scaleX(-1); }

/* About page: flip the alternating rows */
.feature-row.reverse .feature-media { order: 0; }
.feature-row .feature-media { order: 2; }
.feature-row.reverse .feature-body { order: 2; }
.feature-body { text-align: right; }
.vision-body  { text-align: right; }

/* Fleet cards */
.fleet-card__badges { right: auto; left: 12px; flex-direction: row-reverse; }
.fleet-meta, .dur-options, .tp-date-tabs { direction: rtl; }

/* Contact page grid: keep info first on the right */
.contact-grid { direction: rtl; }
.contact-item { flex-direction: row-reverse; text-align: right; }

/* Language switcher pill */
.lang-switch {
    display: inline-flex; align-items: center; gap: 5px;
    border: 1px solid rgba(255,255,255,.35); border-radius: 99px;
    padding: .22rem .8rem; font-size: .78rem; font-weight: 700;
    color: #fff; text-decoration: none; white-space: nowrap;
}
.lang-switch:hover { background: rgba(255,255,255,.14); color: #fff; text-decoration: none; }

@media (max-width: 991px) {
    .feature-row .feature-media,
    .feature-row.reverse .feature-media { order: 0; }
}

/* زر تبديل اللغة داخل القائمة الرئيسية */
.lang-switch_main { margin-left: 10px; margin-right: 0; }
