/* =========================================================
   ROOMS PAGE
========================================================= */


/* =========================================================
   HERO
========================================================= */

.rooms_hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    background: url('../images/rooms/rooms-banner.jpg') center center / cover no-repeat;
}


.rooms_hero_overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( rgba(0, 0, 0, .55), rgba(0, 0, 0, .65) );
}


.rooms_hero .container {
    position: relative;
    z-index: 2;
}


.rooms_hero_content {
    color: #fff;
    padding: 100px 0 80px;
}


    .rooms_hero_content span {
        display: block;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 4px;
        margin-bottom: 15px;
    }


    .rooms_hero_content h1 {
        margin: 0 0 18px;
        font-size: 62px;
        font-weight: 700;
    }


    .rooms_hero_content p {
        max-width: 650px;
        margin: auto;
        font-size: 17px;
        line-height: 1.8;
        opacity: .92;
    }


/* =========================================================
   ROOMS SECTION
========================================================= */

.rooms_section {
    padding: 90px 0 100px;
    background: #f8f7f4;
}


.rooms_heading {
    max-width: 750px;
    margin: 0 auto 55px;
}


    .rooms_heading .section_subtitle {
        display: block;
        color: #8b4a3c;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 3px;
        margin-bottom: 12px;
    }


    .rooms_heading h2 {
        margin-bottom: 18px;
        font-size: 42px;
        font-weight: 700;
        color: #222;
    }


    .rooms_heading p {
        margin: 0;
        color: #777;
        font-size: 16px;
        line-height: 1.8;
    }


/* =========================================================
   ROOM CARD
========================================================= */

.room_card {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .07);
    transition: transform .3s ease, box-shadow .3s ease;
}


    .room_card:hover {
        transform: translateY(-7px);
        box-shadow: 0 20px 45px rgba(0, 0, 0, .12);
    }


/* =========================================================
   IMAGE
========================================================= */

.room_image {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: #ddd;
}


    .room_image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .5s ease;
    }


.room_card:hover .room_image img {
    transform: scale(1.06);
}


/* =========================================================
   STATUS
========================================================= */

.room_badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 7px 14px;
    border-radius: 30px;
    background: #2e8b57;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* =========================================================
   CONTENT
========================================================= */

.room_content {
    padding: 28px;
}


.room_title_row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}


.room_category {
    display: block;
    color: #8b4a3c;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
}


.room_title_row h3 {
    margin: 0;
    color: #222;
    font-size: 25px;
    font-weight: 700;
}


.room_price {
    text-align: right;
    white-space: nowrap;
}


    .room_price strong {
        color: #5c2926;
        font-size: 25px;
        font-weight: 700;
    }


    .room_price small {
        display: block;
        color: #888;
        font-size: 11px;
    }


/* =========================================================
   FEATURES
========================================================= */

.room_features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 17px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}


.room_feature {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #666;
    font-size: 13px;
}


    .room_feature i {
        color: #8b4a3c;
        font-size: 14px;
    }


/* =========================================================
   DESCRIPTION
========================================================= */

.room_description {
    margin: 20px 0;
    color: #777;
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   AMENITIES
========================================================= */

.room_amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}


    .room_amenities span {
        padding: 7px 10px;
        border-radius: 4px;
        background: #f5f3ef;
        color: #666;
        font-size: 11px;
    }


    .room_amenities i {
        margin-right: 4px;
        color: #8b4a3c;
    }


/* =========================================================
   ACTION
========================================================= */

.room_action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-top: 5px;
}


.room_book_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 150px;
    padding: 13px 22px;
    border-radius: 4px;
    background: #5c2926;
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all .3s ease;
}


    .room_book_btn:hover {
        background: #7a3c35;
        color: #fff;
        transform: translateY(-2px);
    }


    .room_book_btn i {
        transition: transform .3s ease;
    }


    .room_book_btn:hover i {
        transform: translateX(4px);
    }


.room_unavailable {
    display: inline-block;
    padding: 13px 18px;
    border-radius: 4px;
    background: #eee;
    color: #888;
    font-size: 12px;
}


/* =========================================================
   EMPTY
========================================================= */

.rooms_empty {
    max-width: 600px;
    margin: 30px auto 0;
    padding: 60px 30px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
}


    .rooms_empty i {
        color: #8b4a3c;
        font-size: 45px;
        margin-bottom: 20px;
    }


    .rooms_empty h3 {
        margin-bottom: 10px;
        font-size: 25px;
    }


    .rooms_empty p {
        color: #777;
        line-height: 1.7;
        margin-bottom: 25px;
    }


.rooms_contact_btn {
    display: inline-block;
    padding: 13px 25px;
    background: #5c2926;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .rooms_hero_content h1 {
        font-size: 50px;
    }

    .rooms_section {
        padding: 70px 0 80px;
    }

    .rooms_heading h2 {
        font-size: 36px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .rooms_hero {
        min-height: 380px;
    }

    .rooms_hero_content {
        padding: 80px 0 60px;
    }

        .rooms_hero_content h1 {
            font-size: 40px;
        }

        .rooms_hero_content p {
            font-size: 15px;
        }

    .rooms_section {
        padding: 60px 0;
    }

    .rooms_heading {
        margin-bottom: 40px;
    }

        .rooms_heading h2 {
            font-size: 31px;
        }

    .room_image {
        height: 230px;
    }

    .room_content {
        padding: 22px;
    }

    .room_title_row {
        flex-direction: column;
        gap: 10px;
    }

    .room_price {
        text-align: left;
    }

        .room_price small {
            display: inline;
            margin-left: 4px;
        }

    .room_action {
        flex-direction: column;
        align-items: stretch;
    }

    .room_book_btn {
        width: 100%;
    }

    .room_unavailable {
        text-align: center;
    }
}

/* =========================================================
   SHRUTI RESORT - ROOMS
   Premium Resort Room Cards
========================================================= */

.rooms_section {
    padding: 90px 0;
    background: #faf9f6;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.rooms_heading {
    max-width: 760px;
    margin: 0 auto 55px;
}

.section_subtitle {
    display: inline-block;
    margin-bottom: 12px;
    color: #b58b3a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.rooms_heading h2 {
    margin: 0 0 16px;
    color: #222;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
}

.rooms_heading p {
    max-width: 650px;
    margin: 0 auto;
    color: #777;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   ROOM GRID
========================================================= */

.room-grid {
    row-gap: 30px !important;
}


/* =========================================================
   ROOM CARD
========================================================= */

.room-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #eee8dc;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(35, 30, 20, 0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

    .room-card:hover {
        transform: translateY(-8px);
        border-color: #dfcda8;
        box-shadow: 0 20px 50px rgba(35, 30, 20, 0.13);
    }


/* =========================================================
   IMAGE
========================================================= */

.room-image-wrapper {
    position: relative;
    width: 100%;
    height: 285px;
    overflow: hidden;
    background: #eee;
}

.room-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
}

.room-card:hover .room-image {
    transform: scale(1.07);
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.room-image-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    pointer-events: none;
    background: linear-gradient( to top, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0) );
}


/* =========================================================
   STATUS BADGE
========================================================= */

.room-status {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

    .room-status i {
        font-size: 7px;
    }

    .room-status.available {
        color: #ffffff;
        background: rgba(39, 128, 78, 0.92);
    }

    .room-status.unavailable {
        color: #ffffff;
        background: rgba(120, 120, 120, 0.92);
    }


/* =========================================================
   ROOM CONTENT
========================================================= */

.room-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 26px 26px 25px;
}


/* =========================================================
   TITLE + PRICE
========================================================= */

.room-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.room-heading {
    min-width: 0;
}

.room-category {
    display: block;
    margin-bottom: 7px;
    color: #b58b3a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.room-heading h3 {
    margin: 0;
    color: #252525;
    font-family: inherit;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.room-price {
    flex-shrink: 0;
    text-align: right;
}

    .room-price strong {
        display: block;
        color: #222;
        font-size: 22px;
        font-weight: 800;
        line-height: 1;
    }

    .room-price span {
        display: block;
        margin-top: 6px;
        color: #999;
        font-size: 11px;
        letter-spacing: 0.3px;
    }


/* =========================================================
   FEATURES
========================================================= */

.room-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 17px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.room-feature {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

    .room-feature > i {
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: #b58b3a;
        background: #f8f4eb;
        font-size: 14px;
        transition: background 0.3s ease, transform 0.3s ease;
    }

.room-card:hover .room-feature > i {
    background: #f1e8d6;
    transform: translateY(-2px);
}

.room-feature div {
    min-width: 0;
}

.room-feature small {
    display: block;
    margin-bottom: 2px;
    color: #a0a0a0;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.room-feature span {
    display: block;
    color: #3c3c3c;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.room-description {
    min-height: 68px;
    margin: 18px 0 16px;
    color: #727272;
    font-size: 13px;
    line-height: 1.75;
}


/* =========================================================
   AMENITIES
========================================================= */

.room-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 23px;
}

    .room-amenities span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 7px 10px;
        border: 1px solid #eeeae2;
        border-radius: 6px;
        color: #656565;
        background: #fbfaf8;
        font-size: 10px;
        font-weight: 600;
        transition: border-color 0.25s ease, background 0.25s ease;
    }

        .room-amenities span:hover {
            border-color: #ddcba8;
            background: #f8f3e9;
        }

    .room-amenities i {
        color: #b58b3a;
        font-size: 11px;
    }


/* =========================================================
   BOOKING ACTION
========================================================= */

.room-action {
    margin-top: auto;
}


/* =========================================================
   BOOK NOW
========================================================= */

.room-book-btn {
    position: relative;
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    overflow: hidden;
    border-radius: 9px;
    color: #ffffff !important;
    background: #252525;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

    .room-book-btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,0.12), transparent );
        transition: left 0.55s ease;
    }

    .room-book-btn:hover::before {
        left: 100%;
    }

    .room-book-btn:hover {
        color: #ffffff !important;
        background: #b58b3a;
        box-shadow: 0 8px 20px rgba(181, 139, 58, 0.25);
    }

    .room-book-btn i {
        font-size: 15px;
        transition: transform 0.3s ease;
    }

    .room-book-btn:hover i {
        transform: translateX(5px);
    }


/* =========================================================
   UNAVAILABLE
========================================================= */

.room-unavailable {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid #e8e8e8;
    border-radius: 9px;
    color: #999;
    background: #f7f7f7;
    font-size: 12px;
    font-weight: 600;
}

    .room-unavailable i {
        font-size: 12px;
    }


/* =========================================================
   VIEW ALL BUTTON
========================================================= */

.rooms_contact_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 25px;
    border: 1px solid #b58b3a;
    border-radius: 8px;
    color: #8f6b27 !important;
    background: transparent;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
}

    .rooms_contact_btn:hover {
        color: #ffffff !important;
        background: #b58b3a;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(181, 139, 58, 0.2);
    }


/* =========================================================
   EMPTY ROOMS
========================================================= */

.rooms_empty {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 55px 30px;
    text-align: center;
    border: 1px solid #eee8dc;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

    .rooms_empty > i {
        display: inline-flex;
        width: 65px;
        height: 65px;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
        border-radius: 50%;
        color: #b58b3a;
        background: #f8f3e8;
        font-size: 26px;
    }

    .rooms_empty h3 {
        margin: 0 0 10px;
        color: #2a2a2a;
        font-size: 25px;
    }

    .rooms_empty p {
        margin: 0 0 25px;
        color: #777;
        font-size: 14px;
        line-height: 1.7;
    }


/* =========================================================
   BUTTON LOADING
========================================================= */

.room-book-btn.loading {
    pointer-events: none;
    opacity: 0.75;
}

    .room-book-btn.loading i {
        animation: roomArrowPulse 0.8s infinite alternate;
    }

@keyframes roomArrowPulse {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(5px);
    }
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1199px) {

    .rooms_section {
        padding: 75px 0;
    }

    .rooms_heading h2 {
        font-size: 38px;
    }

    .room-image-wrapper {
        height: 270px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .rooms_heading {
        margin-bottom: 40px;
    }

        .rooms_heading h2 {
            font-size: 34px;
        }

    .room-image-wrapper {
        height: 280px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .rooms_section {
        padding: 60px 0;
    }

    .rooms_heading {
        padding: 0 15px;
        margin-bottom: 35px;
    }

        .rooms_heading h2 {
            font-size: 30px;
        }

        .rooms_heading p {
            font-size: 14px;
        }

    .room-image-wrapper {
        height: 240px;
    }

    .room-content {
        padding: 22px 20px;
    }

    .room-title-row {
        gap: 12px;
    }

    .room-heading h3 {
        font-size: 21px;
    }

    .room-price strong {
        font-size: 20px;
    }

    .room-features {
        gap: 6px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .rooms_section {
        padding: 50px 0;
    }

    .rooms_heading h2 {
        font-size: 27px;
    }

    .section_subtitle {
        font-size: 10px;
        letter-spacing: 2.2px;
    }

    .room-image-wrapper {
        height: 215px;
    }

    .room-title-row {
        display: block;
    }

    .room-price {
        margin-top: 12px;
        text-align: left;
    }

        .room-price strong,
        .room-price span {
            display: inline;
        }

        .room-price span {
            margin-left: 4px;
        }

    .room-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .room-feature span {
        white-space: normal;
    }

    .room-description {
        min-height: auto;
    }

    .room-status {
        top: 12px;
        right: 12px;
        padding: 7px 11px;
        font-size: 10px;
    }
}