﻿/* Rooms Page Custom Styling matching modern card reference design */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&display=swap');

/* Equal Top and Bottom Spacing */
.services-two.rooms-custom-wrapper {
    margin-top: -91px !important;
    padding-top: 65px !important;
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
}

/* Adjust footer spacing on rooms page so bottom gap matches top gap */
body .footer-hotel-dark .hotel-get-touch {
    padding-top: 30px !important;
    padding-bottom: 50px !important;
}

@media (min-width: 992px) {
    .rooms-grid-row {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .rooms-grid-row:before,
    .rooms-grid-row:after {
        display: none !important;
    }
    .room-card-col {
        width: 33.33333333% !important;
        float: left !important;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .rooms-grid-row {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .rooms-grid-row:before,
    .rooms-grid-row:after {
        display: none !important;
    }
    .room-card-col {
        width: 50% !important;
        float: left !important;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}

.rooms-custom-wrapper .rooms-grid-row {
    margin-bottom: 0 !important;
}

.rooms-custom-wrapper .room-card-col {
    margin-bottom: 35px !important;
}

.room-card {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.13);
}

.room-thumb {
    width: 100%;
    height: 230px;
    overflow: hidden;
    position: relative;
    background-color: #f3f4f6;
}

.room-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

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

.room-card:hover .room-thumb img {
    transform: scale(1.05);
}

.room-content {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    padding: 24px 22px 26px 22px;
    text-align: left;
}

.room-title {
    margin: 0 0 10px 0;
    font-size: 21px;
    line-height: 28px;
    font-weight: 700;
    font-family: 'Playfair Display', Georgia, serif;
    color: #111827;
}

.room-title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.25s ease;
}

.room-title a:hover {
    color: #E9B947;
}

.room-desc {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

@media (max-width: 767px) {
    .sub-banner {
        height: 340px !important;
        min-height: 340px !important;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .sub-banner > .container {
        position: relative;
        z-index: 3;
        width: 100%;
    }
    .sub-banner .banner-img {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
    }
    .sub-banner .detail {
        position: relative !important;
        top: auto !important;
        left: auto;
        right: auto;
        transform: none !important;
        width: 100% !important;
        margin: 0 !important;
        z-index: 3;
        text-align: center;
        padding: 0 15px !important;
        box-sizing: border-box;
    }
    .sub-banner .detail h1 {
        font-size: 22px !important;
        line-height: 1.2 !important;
        margin-bottom: 6px !important;
        color: #fff !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
    }
    .sub-banner .detail span.sub-title-text {
        display: none !important;
    }
    .sub-banner .detail ul {
        display: block !important;
        float: none !important;
        margin: 8px 0 0 0 !important;
        padding: 0 !important;
        text-align: center;
        font-size: 11px;
    }
    .sub-banner .detail ul li {
        float: none !important;
        display: inline-block;
        background: none !important;
        padding: 0 5px !important;
        font-size: 11px !important;
    }
    .sub-banner .detail ul li a {
        font-size: 11px !important;
    }
    .services-two.rooms-custom-wrapper {
        margin-top: -50px !important;
        padding-top: 65px !important;
        padding-bottom: 0px !important;
    }
    body .footer-hotel-dark .hotel-get-touch {
        padding-top: 15px !important;
    }
    .rooms-custom-wrapper .room-card-col {
        margin-bottom: 25px !important;
    }
    .room-thumb {
        height: 210px;
    }
    .room-content {
        padding: 18px 16px 20px 16px;
    }
}
