/* 
 * RTL Stylesheet for Hebrew Version
 * This stylesheet overrides the original LTR styles to support RTL layout
 */

/* General RTL Overrides */
body {
    direction: rtl;
    text-align: right;
}


/* Apply Hebrew font to specific elements */
body, h1, h2, h3, h4, h5, h6, p, a, button, input, select, textarea {
    font-family: 'Assistant', sans-serif;
}

main {
    overflow-x: hidden;
}

p,ul {
    font-size: 1.2rem;
}

small{
    font-size: 1rem!important;
}

.lead {
  font-size: 1.4rem;
}



/* Elegant headers */
.hero .wrapper h3 span {
    display: block;
    font-family: 'Heebo', sans-serif;
    font-weight: 200;
}

.hero .wrapper h3 span:nth-child(2) {
    font-weight: 700;
}

.parallax_section_1 h2 {
    font-family: 'Heebo', sans-serif;
    font-weight: 100;
}

.marquee .track .content {
    font-family: 'Heebo', sans-serif;
    font-weight: 100;
}

.pinned_over_content h2 {
    font-family: 'Heebo', sans-serif;
    font-weight: 100;
}

nav ul li a {
    font-family: 'Heebo', sans-serif;
    font-size: 16px;
    font-weight: 500;
}

#mainNav {
    float: left;
}

/* Small fonts */
.facilities ul li {
    font-weight: 300;
}

.intro em {
    font-family: 'Heebo';
    font-size: 14px;
    font-weight: 700;
}

/* Video background and centered content fixes */
.jarallax-img, 
.hero,
.hero .wrapper {
    direction: ltr !important;
}

/* Header and Navigation Adjustments */
header nav ul li:first-child {
    margin-right: 0;
    margin-left: 15px;
}

.hamburger_2.open_close_menu.float-end {
    float: left !important;
}

.col-md-3.col-5 {
    text-align: right;
}

.col-md-9.col-7 {
    text-align: left;
}

/* Parallax image */

.parallax_wrapper .img_over {
    left: auto;
    right: -25%;
}

@media (max-width: 991px) {
    .parallax_wrapper {
      padding-left: 0;
      padding-right: 25%;
    }
}

@media (max-width: 991px) {
    .parallax_wrapper .img_over {
      left: auto;
      right: 0;
    }
}

/* Keep carousel direction LTR for proper sliding behavior */
.owl-carousel {
    direction: ltr;
}


/* Testimonials */
.box_overlay {
    display: flex;
    flex-direction: row-reverse; 
    align-items: center;
    padding: 30px;
    position: relative;
    background-color: rgba(0, 0, 0, 0.75);
    border-radius: 5px;
}

.box_overlay .pic {
    flex: 0 0 auto; 
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    position: static; 
}

.box_overlay .pic figure {
    width: 140px;
    height: auto;
}

.box_overlay .pic h4 {
    position: static; 
    margin: 5px 0 0 0;
    text-align: center;
    width: 100%;
}

.box_overlay .comment {
    flex: 1;
    border-left: none;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding-right: 20px;
    text-align: right;
    position: static;
}

@media (max-width: 767px) {
    .box_overlay {
        flex-direction: column;
        padding: 20px;
    }
    
    .box_overlay .pic {
        flex-direction: column;
        margin: 0 0 20px 0;
    }

    .box_overlay .pic figure {
        width: 100px;
    }
    
    .box_overlay .comment {
        border-right: none;
        padding-right: 0;
        text-align: center;
    }
}


/* Rooms */
.row_list_version_2 .box_item_info {
    margin: 0 -100px 0 0;
}

.row_list_version_2.inverted .box_item_info {
    margin: 0 0 0 -100px;
}
@media (max-width: 1199px) {
    .row_list_version_2.inverted .box_item_info {
        margin: -50px 30px 0 30px;
    }
}

@media (max-width: 1199px) {
    .row_list_version_2 .box_item_info {
        margin: -50px 30px 0 30px;
    }
}


/* Facilities */

.box_item_info .facilities ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-start; /* Aligns items to the left */
}

.box_item_info .facilities ul li {
    display: flex;
    margin: 0;
    align-items: center;
}

.box_item_info .facilities ul li:nth-child(2) {
    margin-right: 25px;
}

@media only screen and (max-width: 991px) {
    .box_item_info .facilities ul li {
        margin: 0 0 10px 0;
    }
}


.box_item_info .facilities ul li i {
    margin-right: 0;
    margin-left: 10px;
}

.accordion .card-header h5 a i.indicator {
    float: left;
}

/* Mobile menu adjustments for RTL */
@media only screen and (max-width: 991px) {
    .main-menu {
        left: -100%;
        right: auto;
        transform: translateX(-100%);
    }
    
    .main-menu.show {
        left: 0;
        right: auto;
        transform: translateX(0);
    }
    
    .closebt {
        right: auto;
        left: 10px;
    }
    .main-menu #mainNav ul {
        text-align: right;
    }
}


/* Marqee adjustments for RTL */

.marquee {
    direction: ltr; /* Keep LTR direction for animation */
}

.marquee .track {
    animation-direction: reverse;
}

.phone_element a i {
    margin-right: 0;
    margin-left: 15px;
}

.form-control {
    text-align: right;
}

@media only screen and (max-width: 991px) {
    .marquee {
        height: 40px;
    }
    .marquee .track {
        font-size: 44px;
    }

    .marquee .track .content {
        font-weight: 400;
    }
}
