/* ================= ROOM HERO ================= */

.room-hero{
    position:relative;
    height:80vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
    background:url('/assets/images/rooms/hero.webp') center/cover no-repeat;
}

.room-hero::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        to bottom,
        rgba(20,15,10,0.65),
        rgba(42,33,24,0.85)
    );
}

.room-hero-content{
    position:relative;
    z-index:2;
    max-width:850px;
    padding:0 20px;
}

.room-hero-content h1{
    font-size:38px;
    margin-bottom:20px;
}

.room-hero-content p{
    opacity:.9;
    max-width:650px;
    margin:0 auto 25px;
}

/* ================= SECTION ================= */

.room-section{
    padding:120px 0;
    position:relative;
}

.room-section::before{
    content:"";
    position:absolute;
    top:0;
    left:50%;
    transform:translateX(-50%);
    width:80px;
    height:2px;
    background:linear-gradient(90deg, transparent, #C17A4C, transparent);
    opacity:.25;
}

.room-layout{
    display:flex;
    align-items:center;
    gap:70px;
}

.room-layout.reverse{
    flex-direction:row-reverse;
}

.alt-bg{
    background:linear-gradient(
        to bottom,
        #f8f4eb,
        #f3ece3
    );
}

/* ================= GALLERY ================= */

.room-gallery{
    flex:1;
}

/* MAIN IMAGE WRAPPER */
.room-main-image{
    width:100%;
    aspect-ratio:3/2;
    border-radius:26px;
    overflow:hidden;
    box-shadow:0 25px 80px rgba(0,0,0,0.08);
    margin-bottom:25px;
}

.room-main-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .6s ease;
}

.room-main-image:hover img{
    transform:scale(1.03);
}


/* THUMBNAIL SLIDER */
.room-slider{
    display:flex;
    gap:16px;
    overflow-x:auto;
    padding-bottom:5px;
    scroll-behavior:smooth;
}

.room-slider::-webkit-scrollbar{
    display:none;
}

.room-slider img{
    width:140px;
    height:95px;
    object-fit:cover;
    border-radius:16px;
    opacity:.75;
    transition:all .3s ease;
    border:2px solid transparent;
    cursor:pointer;
}

.room-slider img:hover{
    opacity:1;
    border:2px solid #C17A4C;
    transform:translateY(-3px);
}

/* ================= ROOM INFO ================= */

.room-info{
    flex:1;
}

.room-badge{
    display:inline-block;
    background:#f3e8dc;
    padding:6px 14px;
    border-radius:30px;
    font-size:12px;
    margin-bottom:18px;
    letter-spacing:.5px;
}

.room-info h2{
    font-size:32px;
    margin-bottom:22px;
    letter-spacing:.3px;
}

.room-badge{
    display:inline-block;
    background:rgba(193,122,76,0.08);
    color:#C17A4C;
    padding:8px 18px;
    border-radius:40px;
    font-size:12px;
    margin-bottom:20px;
    letter-spacing:1px;
    font-weight:600;
}

.room-meta{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin:25px 0 30px;
}

.room-meta span{
    background:white;
    padding:8px 16px;
    border-radius:30px;
    border:1px solid #eee;
    font-size:13px;
    box-shadow:0 5px 15px rgba(0,0,0,0.04);
}

.room-info p{
    color:#555;
    margin-bottom:30px;
    line-height:1.7;
}

/* ================= BUTTON ================= */

.room-info .btn-primary{
    padding:14px 32px;
    border-radius:50px;
    box-shadow:0 15px 40px rgba(193,122,76,0.35);
    transition:all .3s ease;
}

.room-info .btn-primary:hover{
    transform:translateY(-4px);
    box-shadow:0 25px 60px rgba(193,122,76,0.5);
}

/* ================= MINI CTA ================= */

.room-section:last-child{
    text-align:center;
}

.room-section:last-child h3{
    margin-bottom:15px;
}

/* ================= MOBILE ================= */

@media(max-width:992px){

    .room-layout{
        flex-direction:column;
        gap:45px;
    }

    .room-layout.reverse{
        flex-direction:column;
    }

    .room-info{
        text-align:center;
    }

    .room-meta{
        justify-content:center;
    }

    .room-info .btn-primary{
        width:100%;
        max-width:320px;
    }
}

@media(max-width:768px){

    .room-section{
        padding:75px 0;
    }

    .room-hero{
        height:60vh;
    }

    .room-hero-content h1{
        font-size:26px;
    }
}
@media(max-width:768px){

    .room-info h2{
        font-size:24px;
    }

    .room-gallery > img{
        border-radius:22px;
    }

    .room-slider img{
        width:120px;
        height:80px;
    }
}