/* Custom CSS for Rooms and Tariff Section Redesign */

.custom-rooms-section {
    padding: 40px 0 60px 0;
    width: 100%;
}

.custom-rooms-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.custom-room-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: transparent;
    margin-bottom: 20px;
}

.room-card-image-container {
    position: relative;
    width: 100%;
    margin-bottom: 50px;
    /* offset bottom overlap */
    overflow: visible;
}

.room-card-image {
    width: 100%;
    height: 280px;
    /* fixed height for consistent card sizing */
    object-fit: cover;
    display: block;
    border-radius: 0px;
}

.room-card-overlay-box {
    position: absolute;
    bottom: -100px;
    /* overlaps image bottom */
    left: 40px;
    right: 40px;
    background-color: #ffffff;
    padding: 20px 35px 20px 35px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
    border-radius: 0px;
    z-index: 2;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.room-card-title, #room-card-title {
    width: 100%;
    font-size: 24px;
    font-weight: 500;
    color: #2b2b2b;
    margin: 0 0 8px 0;
    line-height: 1.2;
    text-align: left;
}

.room-card-price, #room-card-price {
    width: 100%;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 0px;
    font-weight: 400;
    text-align: left;
}

.room-card-divider {
    width: 100%;
    height: 1px;
    background-color: #d1c7bd;
    /* subtle separator line matching theme */
    margin-bottom: 15px;
}

.room-card-button-container {
    margin-top: 10px;
    width: 100%;
}

.room-card-btn {
    width: 100%;
    display: inline-block;
    background-color: #84756e;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 28px;
    border: 2px solid #84756e;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 1px;
    /* Rectangular as in screenshot */
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.room-card-btn:hover {
    background-color: #ffffff;
    color: #84756e;
    border-color: #84756e;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .custom-rooms-container {
        flex-direction: column;
        gap: 50px;
        max-width: 600px;
        /* centered stacked layout on tablet/mobile */
    }

    .room-card-image {
        height: 320px;
        /* slightly taller on mobile/tablet for visual elegance */
    }
}

@media (max-width: 576px) {
    .custom-rooms-container {
        padding: 0 20px;
    }

    .room-card-image {
        height: 240px;
        /* adjust height for smaller mobile screens */
    }

    .room-card-overlay-box {
        left: 15px;
        right: 15px;
        padding: 20px 20px 15px 20px;
    }
}