/* ============================================================
   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);
}
