/* ================================
   ROOMS PAGE BASE
================================ */
body {
    background-color: #ffe8d6; /* light peach background */
    font-family: "Comic Neue", cursive, sans-serif;
}

.rooms-section {
    max-width: 1200px;
    margin: 120px auto 60px;
    padding: 0 20px;
}

/* ================================
   HEADER
================================ */
.rooms-header {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #853d19; /* brown */
}

.rooms-sub {
    text-align: center;
    font-size: 16px;
    color: #7a4a2f; /* brown */
    margin-bottom: 45px;
}

/* ================================
   GRID
================================ */
.room-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ================================
   ROOM CARD
================================ */
.room-card {
    background: #fff3ea; /* light peach card */
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    
}

/* stagger animation */
.room-card:nth-child(1) { animation-delay: 0.2s; }
.room-card:nth-child(2) { animation-delay: 0.4s; }
.room-card:nth-child(3) { animation-delay: 0.6s; }
.room-card:nth-child(4) { animation-delay: 0.8s; }

.room-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 14px 28px rgba(0,0,0,0.18);
}

/* ================================
   IMAGE PLACEHOLDER
================================ */
.room-img {
    width: 100%;
    height: 370px;
    overflow: hidden;
}

.room-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



/* ================================
   ROOM BODY
================================ */
.room-body {
    padding: 18px;
}

.room-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #4a2e1f;
}

.room-desc {
    font-size: 14px;
    color: #5f3f2d;
    margin-bottom: 10px;
}

.room-info {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}

.room-info li {
    font-size: 14px;
    margin-bottom: 4px;
}

/* ================================
   BUTTON
================================ */
.room-btn {
    display: block;
    text-align: center;
    padding: 10px;
    background: #f7a21a;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.25s;
}

.room-btn:hover {
    background: #e88d00;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
    .room-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .room-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   ANIMATION
================================ */
@keyframes roomReveal {
    0% {
        opacity: 0;
        transform: translateY(35px) scale(0.96);
    }
    60% {
        opacity: 1;
        transform: translateY(-6px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* ================================
   SUB ROOM BUTTONS
================================ */
.room-sub-buttons {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.room-btn.small {
    padding: 8px;
    font-size: 14px;
    background: #ff9d00; /* same mango */
    color: #fff;
}
/* ================================
   RIBBON BELT
================================ */
.room-ribbon {
    background: #8100bd; /* purple */
    color: #fff;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* ================================
   SUB ROOM BUTTON HOVER
================================ */
.room-btn.small:hover {
    background: #a15c01; /* darker mango */
}
/* ================================
   CENTER SINGLE ROOM BUTTON (1009, 1010)
================================ */
.room-sub-buttons.single {
    grid-template-columns: 1fr;
    justify-items: center;
}

.room-sub-buttons.single .room-btn {
    width: 60%;
}
/*fontload*/
.cursive {
    font-family: 'Dancing Script', cursive;
}
.room-price {
    font-size: 19px;
    font-weight: 700;
    margin-top: 10px;
    color: #d35400;
}

/* new css for room image sliding */
.room-img.slider {
    position: relative;
    height: 370px;
    overflow: hidden;
}

.room-img.slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.room-img.slider img.active {
    opacity: 1;
}

.room-img .prev,
.room-img .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 18px;
}

.room-img .prev { left: 8px; }
.room-img .next { right: 8px; }


