/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/

/* ═══════════════════════════════════════════════════════════════
   BOOKING MODAL - Elite Design
   ═══════════════════════════════════════════════════════════════ */

.booking-modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(151, 134, 103, 0.08);
    background: #fff;
}

/* Header */
.booking-modal-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-bottom: none;
    padding: 28px 35px;
    position: relative;
}

.booking-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 35px;
    right: 35px;
    height: 3px;
    background: linear-gradient(90deg, #978667, #c4a96a, #978667);
    border-radius: 3px 3px 0 0;
}

.booking-modal-header .modal-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.3px;
}

.booking-modal-header .modal-subtitle {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
    margin: 6px 0 0;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.booking-modal-header .btn-close-white {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.booking-modal-header .btn-close-white:hover {
    opacity: 1;
}

/* Body */
.booking-modal-body {
    padding: 35px;
    background: #fff;
}

/* Form Elements */
.booking-modal-body .form-floating {
    position: relative;
}

.booking-modal-body .form-floating > .form-control,
.booking-modal-body .form-floating > .form-select {
    height: 56px;
    min-height: 56px;
    border: 1.5px solid #e5e2dd;
    border-radius: 10px;
    padding: 22px 16px 8px;
    font-size: 14px;
    color: #333;
    background-color: #fafaf9;
    transition: all 0.3s ease;
    -webkit-appearance: none;
}

.booking-modal-body .form-floating > textarea.form-control {
    height: 90px !important;
    min-height: 90px;
}

.booking-modal-body .form-floating > .form-control:hover,
.booking-modal-body .form-floating > .form-select:hover {
    border-color: #c4b99a;
    background-color: #fff;
}

.booking-modal-body .form-floating > .form-control:focus,
.booking-modal-body .form-floating > .form-select:focus {
    border-color: #978667;
    box-shadow: 0 0 0 3px rgba(151, 134, 103, 0.12);
    background-color: #fff;
    outline: none;
}

/* Labels */
.booking-modal-body .form-floating > label {
    color: #999;
    font-size: 14px;
    padding: 16px;
    transition: all 0.2s ease;
    pointer-events: none;
}

.booking-modal-body .form-floating > .form-control:focus ~ label,
.booking-modal-body .form-floating > .form-control:not(:placeholder-shown) ~ label,
.booking-modal-body .form-floating > .form-select ~ label {
    color: #978667;
    font-size: 12px;
    font-weight: 500;
    transform: scale(0.85) translateY(-0.6rem) translateX(0.15rem);
}

/* Section Divider */
.booking-modal-body hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e5e2dd, transparent);
    margin: 8px 0 20px;
}

/* Row Spacing */
.booking-modal-body .row {
    --bs-gutter-x: 16px;
}

.booking-modal-body .mb-3 {
    margin-bottom: 18px !important;
}

/* Buttons */
.booking-modal-body .text-end {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: nowrap;
}

.booking-modal-body .btn_1 {
    display: inline-flex !important;
    padding: 12px 30px;
    font-size: 13px;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.35s ease;
    white-space: nowrap;
}

.booking-modal-body .btn_1:not(.outline) {
    box-shadow: 0 4px 15px rgba(151, 134, 103, 0.3);
}

.booking-modal-body .btn_1:not(.outline):hover {
    box-shadow: 0 6px 20px rgba(151, 134, 103, 0.45);
    transform: translateY(-1px);
}

.booking-modal-body .btn_1.outline {
    border-width: 1.5px;
}


.booking-modal-body .btn_1.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    gap: 6px;
    align-items: center;
}

.booking-modal-body .btn_1.btn-whatsapp:hover {
    background: #1ebe57;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    transform: translateY(-1px);
    color: #fff;
}

.booking-modal-body .btn_1.btn-whatsapp i {
    font-size: 15px;
}

.booking-modal-buttons {
    display: flex;
    gap: 10px;
    padding-top: 5px;
    width: 100%;
}

.booking-modal-buttons .btn_1 {
    flex: 1 1 0;
    padding: 12px 8px;
    font-size: 12px;
    letter-spacing: 0.3px;
    text-align: center;
    justify-content: center;
}


/* Error Message */
.booking-modal-body .error_message {
    background: linear-gradient(135deg, #fff5f5, #fff0f0);
    color: #c0392b;
    padding: 14px 20px;
    border-radius: 10px;
    border-left: 4px solid #e74c3c;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Success Page */
.booking-modal-body #success_page {
    text-align: center;
    padding: 40px 20px;
}

.booking-modal-body #success_page h5 {
    color: #1a1a2e;
    font-size: 20px;
    font-weight: 600;
    margin-top: 18px;
}

.booking-modal-body #success_page h5 span {
    display: block;
    font-size: 14px;
    color: #888;
    font-weight: 400;
    margin-top: 6px;
}

/* reCAPTCHA */
.booking-modal-body .g-recaptcha {
    transform: scale(0.92);
    transform-origin: 0 0;
}

/* Footer Area */
.booking-modal-body > form > .row:last-child {
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid #f0ede8;
}

/* Modal Backdrop */
.modal-backdrop.show {
    opacity: 0.65;
    backdrop-filter: blur(4px);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .booking-modal-content {
        border-radius: 12px;
        margin: 10px;
    }
    .booking-modal-header {
        padding: 22px 24px;
    }
    .booking-modal-header::after {
        left: 24px;
        right: 24px;
    }
    .booking-modal-header .modal-title {
        font-size: 18px;
    }
    .booking-modal-header .modal-subtitle {
        font-size: 12px;
    }
    .booking-modal-body {
        padding: 24px;
    }
    .booking-modal-body .form-floating > .form-control,
    .booking-modal-body .form-floating > .form-select {
        height: 52px;
        min-height: 52px;
    }
    .booking-modal-body .btn_1 {
        padding: 11px 22px;
        font-size: 12px;
    }
    .booking-modal-body .g-recaptcha {
        transform: scale(0.82);
    }
}

@media (max-width: 480px) {
    .booking-modal-body {
        padding: 20px 18px;
    }
    .booking-modal-header {
        padding: 18px 20px;
    }
    .booking-modal-buttons {
        gap: 6px;
    }
    .booking-modal-buttons .btn_1 {
        padding: 10px 4px;
        font-size: 10px;
        letter-spacing: 0;
    }
}

/* ═══════════════════════════════════════════════════════════════
   RTL (Arabic) Support
   Text-only: font + text direction on translated elements.
   Layout (grid, flex, float, positions) stays untouched.
   ═══════════════════════════════════════════════════════════════ */

body.rtl {
    font-family: 'Noto Sans Arabic', 'Montserrat', sans-serif;
}

body.rtl [data-i18n] {
    direction: rtl;
    unicode-bidi: isolate;
}

body.rtl [data-i18n-placeholder] {
    direction: rtl;
}

body.rtl .contacts_wrapper h4[data-i18n],
body.rtl .contacts_wrapper p[data-i18n] {
    text-align: right;
}

body.rtl .intro [data-i18n],
body.rtl .intro p[data-i18n],
body.rtl .intro .title [data-i18n] {
    text-align: right;
}

body.rtl .title [data-i18n] {
    text-align: right;
}

body.rtl .title.text-center [data-i18n] {
    text-align: center;
}

body.rtl .text-center [data-i18n] {
    text-align: center;
}

body.rtl .box_facilities [data-i18n] {
    text-align: center;
}

body.rtl .phone_element [data-i18n] {
    text-align: left;
}

body.rtl .accordion [data-i18n] {
    text-align: right;
}

body.rtl .card-body [data-i18n] {
    text-align: right;
}

body.rtl .comment[data-i18n] {
    direction: rtl;
    unicode-bidi: isolate;
    text-align: right;
}

body.rtl .pic h4[data-i18n] {
    direction: rtl;
    unicode-bidi: isolate;
}

body.rtl .copy [data-i18n] {
    direction: rtl;
    unicode-bidi: isolate;
}

body.rtl .booking-modal-body label[data-i18n] {
    text-align: left;
}

body.rtl .booking-modal-body .form-control,
body.rtl .booking-modal-body .form-select {
    text-align: left;
}

body.rtl .contacts_wrapper .form-floating label[data-i18n] {
    text-align: left;
}

body.rtl .contacts_wrapper .form-control {
    text-align: left;
}

body.rtl .hero .wrapper [data-i18n] {
    text-align: center;
}


/* ═══════════════════════════════════════════════════════════════
   LANGUAGE SWITCHER - Fixed Side Tab
   ═══════════════════════════════════════════════════════════════ */

.lang_wp {
    position: fixed !important;
    right: 0 !important;
    top: 30% !important;
    bottom: auto !important;
    left: auto !important;
    transform: translateY(-50%);
    z-index: 99999;
}

.lang_tab {
    position: relative;
}

.lang_tab_current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #978667 0%, #978667 100%);
    border-radius: 10px 0 0 10px;
    padding: 7px 10px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(151, 134, 103, 0.3);
    border-right: none;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.lang_tab_current:hover {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    box-shadow: -6px 0 30px rgba(0, 0, 0, 0.35);
    padding-left: 18px;
}

.lang_tab_current i {
    font-size: 18px;
    color: #fff;
}

.lang_tab_current span {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Dropdown */
.lang_tab_dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 160px;
    background: #fff;
    border-radius: 12px 0 0 12px;
    box-shadow: -4px 8px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.04);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.96);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    overflow: hidden;
}

.lang_tab_dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.lang_tab_item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 18px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.lang_tab_item:hover {
    background: #f5f3ef;
    color: #16213e;
}

.lang_tab_item.active {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
}

.lang_tab_item.active:hover {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    color: #fff;
}

.lang_tab_code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(151, 134, 103, 0.15);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #16213e;
    flex-shrink: 0;
}

.lang_tab_item.active .lang_tab_code {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

@media (max-width: 768px) {
    .lang_tab_current {
        padding: 10px 10px;
    }
    .lang_tab_current i {
        font-size: 16px;
    }
    .lang_tab_current span {
        font-size: 11px;
    }
    .lang_tab_dropdown {
        min-width: 140px;
    }
    .lang_tab_item {
        padding: 10px 14px;
        font-size: 13px;
    }
}
