/* Room Details Page CSS */

.room-hero {
    position: relative;
    min-height: 430px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.room-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
}

.room-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 0 15px;
    margin-top: 50px;
}

.room-hero-content span {
    display: inline-block;
    margin-bottom: 12px;
    color: #cb8670;
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.room-hero-content h1 {
    color: #ffffff;
    font-size: 56px;
    font-weight: 600;
    margin-bottom: 18px;
}

.room-hero-content p {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 0;
}

.room-details-area {
    background: #ffffff;
}

.room-main-image {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.room-main-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.room-price-badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: #1b1b1b;
    color: #ffffff;
    padding: 12px 24px;
    border: 2px solid #cb8670;
    font-size: 17px;
}

.room-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.room-gallery-grid img {
    width: 100%;
    height: 145px;
    object-fit: cover;
    border-radius: 4px;
}

.room-info-card,
.room-description-box,
.booking-card,
.related-room-card {
    background: #ffffff;
    border: 1px solid #eeeeee;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.room-info-card {
    padding: 45px 40px;
}

.room-short-text,
.room-description-box p,
.booking-card p {
    color: #6d6d6d;
    font-size: 16px;
    line-height: 1.9;
}

.room-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 30px 0;
}

.room-highlights div {
    background: #f8f4f2;
    padding: 18px 12px;
    text-align: center;
    border-bottom: 3px solid #cb8670;
}

.room-highlights strong {
    display: block;
    color: #1b1b1b;
    font-size: 18px;
    margin-bottom: 6px;
}

.room-highlights span {
    color: #777777;
    font-size: 13px;
}

.room-info-card h5 {
    color: #1b1b1b;
    font-size: 22px;
    margin-bottom: 20px;
}

.room-facilities-list {
    columns: 2;
    list-style: none;
    padding: 0;
    margin: 0;
}

.room-facilities-list li {
    color: #5f5f5f;
    font-size: 15px;
    margin-bottom: 14px;
    break-inside: avoid;
}

.room-facilities-list .fa {
    color: #cb8670;
    margin-right: 8px;
}

.mt-80 {
    margin-top: 80px;
}

.mt-20 {
    margin-top: 20px;
}

.room-description-box,
.booking-card {
    padding: 40px;
    height: 100%;
}

.booking-card {
    background: #1b1b1b;
    color: #ffffff;
}

.booking-card h4 {
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 16px;
}

.booking-card p {
    color: #d7d7d7;
}

.booking-contact {
    display: block;
    color: #ffffff;
    margin-bottom: 12px;
    word-break: break-word;
}

.booking-contact:hover,
.booking-contact:focus {
    color: #cb8670;
}

.related-room-card {
    margin-bottom: 0px;
    overflow: hidden;
}

.related-room-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.related-room-content {
    padding: 25px;
    text-align: center;
}

.related-room-content h5 {
    font-size: 22px;
    margin-bottom: 8px;
}

.related-room-content p {
    color: #363636;
    margin-bottom: 12px;
}

.related-room-content a {
    color: #fff;
    font-weight: 600;
}

.related-room-content a:hover,
.related-room-content a:focus {
    color: #fff;
}

@media only screen and (max-width: 991px) {
    .room-main-image img {
        height: 420px;
    }

    .room-info-card {
        margin-top: 40px;
    }

    .room-hero-content h1 {
        font-size: 42px;
    }
}

@media only screen and (max-width: 767px) {
    .room-hero {
        min-height: 360px;
    }

    .room-hero-content h1 {
        font-size: 34px;
    }

    .room-hero-content p {
        font-size: 15px;
    }

    .room-main-image img {
        height: 320px;
    }

    .room-gallery-grid {
        grid-template-columns: 1fr;
    }

    .room-gallery-grid img {
        height: 210px;
    }

    .room-info-card,
    .room-description-box,
    .booking-card {
        padding: 28px 22px;
    }

    .room-highlights {
        grid-template-columns: 1fr;
    }

    .room-facilities-list {
        columns: 1;
    }
}

/* Room thumbnail slider */
.room-thumbnail-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

.room-thumbnail-window {
    overflow: hidden;
    width: 100%;
}

.room-thumbnail-track {
    display: flex;
    gap: 18px;
    transition: transform 0.35s ease;
    will-change: transform;
}

.room-thumb {
    flex: 0 0 calc((100% - 36px) / 3);
    height: 145px;
    border: 3px solid transparent;
    padding: 0;
    background: transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

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

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

.room-thumb.active {
    border-color: #cb8670;
}

.room-thumb-arrow {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #1b1b1b;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s ease;
    z-index: 2;
}

.room-thumb-arrow:hover:not(:disabled) {
    background: #cb8670;
}

.room-thumb-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

@media only screen and (max-width: 767px) {
    .room-thumbnail-slider {
        gap: 10px;
    }

    .room-thumb {
        flex: 0 0 100%;
        height: 210px;
    }

    .room-thumb-arrow {
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
}
