﻿/* =========================================================
   BOOKING PAGE
========================================================= */

.booking_hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    background: url('../images/rooms/rooms-banner.jpg') center center / cover no-repeat;
}

.booking_hero_overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .58);
}

.booking_hero .container {
    position: relative;
    z-index: 2;
}

.booking_hero_content {
    color: #fff;
    padding: 90px 0 70px;
}

    .booking_hero_content span {
        display: block;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 4px;
        margin-bottom: 15px;
    }

    .booking_hero_content h1 {
        font-size: 58px;
        font-weight: 700;
        margin-bottom: 18px;
    }

    .booking_hero_content p {
        max-width: 650px;
        margin: auto;
        font-size: 16px;
        line-height: 1.8;
    }


/* =========================================================
   MAIN
========================================================= */

.booking_section {
    padding: 80px 0 100px;
    background: #f8f7f4;
}


/* =========================================================
   ROOM CARD
========================================================= */

.booking_room_card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
}

.booking_room_image {
    height: 320px;
    overflow: hidden;
}

    .booking_room_image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.booking_room_content {
    padding: 30px;
}

.booking_room_category {
    display: block;
    color: #8b4a3c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.booking_room_content h2 {
    margin: 0 0 15px;
    font-size: 30px;
    font-weight: 700;
}

.booking_room_price {
    margin-bottom: 25px;
}

    .booking_room_price strong {
        color: #5c2926;
        font-size: 28px;
    }

    .booking_room_price span {
        color: #888;
        font-size: 13px;
    }


/* =========================================================
   FEATURES
========================================================= */

.booking_room_features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

    .booking_room_features div {
        display: flex;
        align-items: center;
        gap: 9px;
        color: #666;
        font-size: 13px;
    }

    .booking_room_features i {
        width: 20px;
        color: #8b4a3c;
        text-align: center;
    }


/* =========================================================
   FORM CARD
========================================================= */

.booking_form_card {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
}

.booking_form_heading {
    margin-bottom: 35px;
}

    .booking_form_heading > span {
        color: #8b4a3c;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .booking_form_heading h2 {
        margin: 8px 0 12px;
        font-size: 32px;
        font-weight: 700;
    }

    .booking_form_heading p {
        margin: 0;
        color: #777;
        line-height: 1.7;
    }


/* =========================================================
   FORM SECTION
========================================================= */

.booking_form_section {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

    .booking_form_section h3 {
        margin-bottom: 25px;
        font-size: 20px;
        font-weight: 700;
    }

        .booking_form_section h3 i {
            margin-right: 8px;
            color: #8b4a3c;
        }

.booking_form_group {
    margin-bottom: 20px;
}

    .booking_form_group label {
        display: block;
        margin-bottom: 8px;
        color: #333;
        font-size: 13px;
        font-weight: 600;
    }

        .booking_form_group label span {
            color: #c0392b;
        }

.booking_input {
    width: 100%;
    min-height: 50px;
    border: 1px solid #ddd;
    background: #fff;
    padding: 12px 14px;
    border-radius: 5px;
    outline: none;
    color: #333;
    transition: .3s;
}

textarea.booking_input {
    min-height: 110px;
    resize: vertical;
}

.booking_input:focus {
    border-color: #8b4a3c;
    box-shadow: 0 0 0 3px rgba(139, 74, 60, .08);
}


/* =========================================================
   MESSAGE
========================================================= */

.booking_message {
    padding: 14px 18px;
    margin-bottom: 25px;
    border-radius: 5px;
    font-size: 13px;
    line-height: 1.6;
}

.booking_message_error {
    background: #fcebea;
    color: #a94442;
    border: 1px solid #f5c6cb;
}

.booking_message_success {
    background: #eaf7ed;
    color: #28743c;
    border: 1px solid #c3e6cb;
}


/* =========================================================
   TERMS
========================================================= */

.booking_terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

    .booking_terms input {
        margin-top: 4px;
    }


/* =========================================================
   SUBMIT
========================================================= */

.booking_submit_btn {
    width: 100%;
    border: 0;
    padding: 16px 25px;
    background: #5c2926;
    color: #fff;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}

    .booking_submit_btn:hover {
        background: #7a3c35;
        transform: translateY(-2px);
    }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .booking_hero_content h1 {
        font-size: 48px;
    }

    .booking_form_card {
        padding: 30px;
    }
}

@media (max-width: 767px) {

    .booking_hero {
        min-height: 350px;
    }

    .booking_hero_content {
        padding: 75px 0 60px;
    }

        .booking_hero_content h1 {
            font-size: 38px;
        }

    .booking_section {
        padding: 55px 0 70px;
    }

    .booking_room_image {
        height: 250px;
    }

    .booking_room_content {
        padding: 25px;
    }

    .booking_room_features {
        grid-template-columns: 1fr;
    }

    .booking_form_card {
        padding: 25px 20px;
    }

    .booking_form_heading h2 {
        font-size: 27px;
    }
}
/* =========================================================
   BOOKING ROOM IMAGE SLIDER
   ========================================================= */

.booking-room-slider {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #f4f4f4;
    border-radius: 0;
}


/* =========================================================
   TRACK
   ========================================================= */

.booking-room-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}


/* =========================================================
   SLIDE
   ========================================================= */

.booking-room-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}


/* =========================================================
   IMAGE
   ========================================================= */

.booking-room-slide-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* =========================================================
   PREVIOUS / NEXT BUTTONS
   ========================================================= */

.booking-room-slider-prev,
.booking-room-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}


.booking-room-slider-prev {
    left: 15px;
}


.booking-room-slider-next {
    right: 15px;
}


    .booking-room-slider-prev:hover,
    .booking-room-slider-next:hover {
        background: rgba(0, 0, 0, 0.8);
    }


    .booking-room-slider-prev:focus,
    .booking-room-slider-next:focus {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }


/* =========================================================
   DOTS
   ========================================================= */

.booking-room-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 15px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    z-index: 10;
}


.booking-room-slider-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}


    .booking-room-slider-dot.active {
        width: 24px;
        border-radius: 10px;
        background: #fff;
    }


    .booking-room-slider-dot:focus {
        outline: 2px solid #fff;
        outline-offset: 2px;
    }


/* =========================================================
   IMAGE COUNTER
   ========================================================= */

.booking-room-slider-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    min-width: 52px;
    padding: 6px 10px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    z-index: 10;
    backdrop-filter: blur(4px);
}


/* =========================================================
   SINGLE IMAGE
   ========================================================= */

.booking-room-slider.single-image
.booking-room-slider-prev,
.booking-room-slider.single-image
.booking-room-slider-next,
.booking-room-slider.single-image
.booking-room-slider-dots,
.booking-room-slider.single-image
.booking-room-slider-counter {
    display: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .booking-room-slider {
        height: 260px;
    }


    .booking-room-slider-prev,
    .booking-room-slider-next {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }


    .booking-room-slider-prev {
        left: 10px;
    }


    .booking-room-slider-next {
        right: 10px;
    }


    .booking-room-slider-dots {
        bottom: 10px;
    }


    .booking-room-slider-counter {
        top: 10px;
        right: 10px;
        font-size: 12px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .booking-room-slider-track {
        transition: none;
    }

    .booking-room-slider-prev,
    .booking-room-slider-next,
    .booking-room-slider-dot {
        transition: none;
    }
}
