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

/* Final Professional Room Card Layout */
.room-card {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 40px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.room-img-box {
    flex: 0 0 55%;
    max-width: 55%;
    height: 420px;
    background: #f8f6f2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Force Owl Carousel to respect flex container height */
.room-img-box .owl-carousel,
.room-img-box .owl-stage-outer,
.room-img-box .owl-stage,
.room-img-box .owl-item,
.room-img-box .item,
.room-img-box .item a {
    height: 100% !important;
    width: 100% !important;
}

.room-img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

/* Specific positioning to show the bed area clearly */
.super-deluxe-img {
    object-position: center 75% !important;
}

.standard-room-img {
    object-position: center center !important;
    object-fit: contain !important;
    background-color: #f8f6f2;
}

.deluxe-img {
    object-position: center center !important;
}

.room-details {
    flex: 0 0 45%;
    max-width: 45%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
}

.room-details h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #222;
    font-weight: 700;
    line-height: 1.2;
}

.room-bullet-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.room-bullet-list li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 0.92rem;
    color: #444;
}

.room-bullet-list li:last-child {
    border-bottom: none;
}

.room-bullet-list li i {
    color: #978667;
    font-size: 1.05rem;
    margin-right: 15px;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .room-card {
        flex-direction: column;
    }

    .room-img-box,
    .room-details {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .room-img-box {
        height: 300px;
        border-radius: 12px 12px 0 0;
    }

    .room-img-box img {
        width: 100% !important;
        height: auto !important;
        min-height: 100%;
        max-height: none !important;
        object-fit: cover !important;
    }

    .room-details {
        padding: 25px;
        border-radius: 0 0 12px 12px;
    }

    /* Fix for overlapping header on Book-Now page */
    .margin_120_0.mt-5 {
        padding-top: 260px !important;
        /* Adjusted for compact 2-row booking bar */
    }

    header.fixed_header {
        height: auto !important;
        padding-bottom: 10px;
        background-color: #fff !important;
        /* Solid background to prevent "mixing" */
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    }

    /* Adjust the booking bar row internal spacing on mobile */
    header.fixed_header .row.align-items-center.mt-3 {
        margin-top: 5px !important;
        padding: 5px !important;
    }

    /* Fix for zoomed images on Book-Now page */
    .room-image-container {
        height: 250px !important;
    }

    .room-image-container img.standard-room-img {
        object-fit: contain !important;
        /* Use contain for the standard room to show full bed if zoomed */
        background-color: #f8f6f2;
    }
}

/* Unified Room Layout for Book-Now.aspx to match Home Page */
.room-row {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 40px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.room-image-container {
    flex: 0 0 55%;
    max-width: 55%;
    height: 420px;
    background: #f8f6f2;
    overflow: hidden;
    position: relative;
}

.room-image-container .owl-carousel,
.room-image-container .owl-stage-outer,
.room-image-container .owl-stage,
.room-image-container .owl-item,
.room-image-container .item,
.room-image-container .item a {
    height: 100% !important;
}

.room-image-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

.room-details-container {
    flex: 0 0 45%;
    max-width: 45%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
}

.room-details-container h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #222;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .room-row {
        flex-direction: column;
    }

    .room-image-container,
    .room-details-container {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .room-image-container {
        height: 250px !important;
    }

    .room-details-container {
        padding: 25px;
    }
}

/* Testimonials mobile/tablet layout fixes to prevent clipping */
@media (max-width: 991px) {
    .parallax_section_1 {
        height: auto !important;
        min-height: auto !important;
        overflow: hidden !important;
        position: relative !important;
    }
    
    .parallax_section_1 .wrapper {
        position: relative !important;
        height: auto !important;
        width: 100% !important;
        padding: 60px 0 !important;
        background-color: rgba(0, 0, 0, 0.6) !important;
        display: block !important;
    }
}

@media (max-width: 767px) {
    .box_overlay {
        padding: 25px 20px !important;
        min-height: auto !important;
        background-color: rgba(36, 38, 45, 0.95) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .box_overlay .comment {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        color: #eaeaea !important;
    }

    .owl-carousel.nav-dots-orizontal .owl-dots {
        margin-top: 25px !important;
        position: relative !important;
        bottom: 0 !important;
    }
}

/* Premium Chingari Restaurant UI/UX styling */
.veg-badge {
    background-color: rgba(40, 167, 69, 0.08) !important;
    border: 1.5px solid #28a745 !important;
    color: #28a745 !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    align-items: center;
}

.veg-dot {
    width: 8px;
    height: 8px;
    background-color: #28a745;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.6);
    display: inline-block;
}

.restaurant-intro {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    color: #555 !important;
    margin-bottom: 20px !important;
}

.restaurant-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 38px;
    height: 38px;
    background-color: rgba(151, 134, 103, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #978667;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background-color: #978667;
    color: #fff;
}

.feature-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.feature-text strong {
    font-weight: 600;
    font-size: 0.95rem;
    color: #222;
    margin-bottom: 2px;
}

.feature-text span {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

/* Prevent text card from overlapping/mixing with the restaurant image carousel */
@media (min-width: 992px) {
    #restaurant .box_item_info {
        margin-left: 0px !important;
        transform: none !important; /* Disables any parallax dynamic horizontal translation */
    }
}