/* ============================================================
   Sun Land Tours - RTL overrides for Arabic
   ============================================================ */

[dir="rtl"] .top-bar .container,
[dir="rtl"] .navbar .container,
[dir="rtl"] .hero-content,
[dir="rtl"] .destinations .container,
[dir="rtl"] .newsletter .container,
[dir="rtl"] .footer .container,
[dir="rtl"] .page-banner .container,
[dir="rtl"] .offers-section .container,
[dir="rtl"] .offer-details-section .container,
[dir="rtl"] .contact-section .container,
[dir="rtl"] .faq-section .container,
[dir="rtl"] .services-section .container,
[dir="rtl"] .privacy-section .container {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .nav-menu {
    margin-right: auto;
    margin-left: 0;
}

[dir="rtl"] .top-bar-info span i,
[dir="rtl"] .nav-menu a i,
[dir="rtl"] .mobile-bottom-item i,
[dir="rtl"] .btn i,
[dir="rtl"] .feature-item i {
    margin-right: 0;
    margin-left: 8px;
}

[dir="rtl"] .hero-buttons {
    justify-content: flex-end;
}

[dir="rtl"] .features-bar .container,
[dir="rtl"] .destinations-grid,
[dir="rtl"] .offers-grid,
[dir="rtl"] .services-grid,
[dir="rtl"] .contact-grid,
[dir="rtl"] .footer-grid,
[dir="rtl"] .stats-grid,
[dir="rtl"] .offer-details-grid {
    direction: rtl;
}

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

[dir="rtl"] .newsletter-form input {
    border-radius: 0 40px 40px 0;
}

[dir="rtl"] .newsletter-form button {
    border-radius: 40px 0 0 40px;
}

/* Footer */
[dir="rtl"] .footer-column h4::after {
    right: auto;
    left: 0;
}

/* Sidebar */
[dir="rtl"] .sidebar-menu a i {
    margin-right: 0;
    margin-left: 15px;
}

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

[dir="rtl"] .breadcrumb {
    justify-content: flex-end;
}

[dir="rtl"] .offer-booking-meta i {
    margin-right: 0;
    margin-left: 12px;
}

.language-switch {
    position: relative;
    cursor: pointer;
    user-select: none;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--night-blue);
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 140px;
    z-index: 1000;
    margin-top: 6px;
}

.language-switch:hover .lang-dropdown {
    display: block;
}

.language-switch.open .lang-dropdown {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 8px 16px;
    color: var(--sand);
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}

.lang-dropdown a:hover {
    background: rgba(200, 155, 60, 0.2);
    color: var(--gold);
}

/* Handled in style.css */

/* Alerts */
.alert {
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: rgba(0, 128, 0, 0.1);
    color: #2d7d2d;
    border: 1px solid rgba(0, 128, 0, 0.2);
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    color: #c0392b;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* Circuits / album (RTL) */
.circuit-stops { border-left: none; border-right: 2px dashed rgba(200, 155, 60, .5); padding-left: 0; padding-right: 20px; }
.circuit-stops li::before { left: auto; right: -26px; }
.circuit-stops li span { margin-right: 0; margin-left: 6px; }
.circuit-num { left: auto; right: 24px; }
.circuit-timeline::before { left: auto; right: 35px; }
.tl-card:hover { transform: translateX(-4px); }
.tl-card h3 i { margin-right: 0; margin-left: 6px; }
.album-zoom { right: auto; left: 12px; }
.album-filter em { margin-left: 0; margin-right: 4px; }
.aside-back i, .circuit-actions .fa-arrow-right, .lb-prev i, .lb-next i { transform: scaleX(-1); }
@media (max-width: 768px) { .circuit-timeline::before { right: 25px; } }

/* Livre d'or & presse (RTL) */
.gb-letter::before { right: auto; left: 22px; }
.gb-translation { border-left: none; border-right: 3px solid var(--gold); padding: 6px 16px 6px 0; }
.press-hero-text .breadcrumb { justify-content: flex-start; }
.press-stats-grid div + div { border-left: none; border-right: 1px solid var(--border); }
.press-badge { right: auto; left: -16px; }
.press-quote > i { left: auto; right: 26px; }
.home-press-item { padding: 0 18px 0 0; border-left: none; border-right: 4px solid var(--accent); }
@media (max-width: 768px) { .press-badge { left: 0; } }
.home-press .fa-arrow-right, .press-cta .fa-arrow-right, .home-circuits .fa-arrow-right { transform: scaleX(-1); }
