/*======================================
            ROOMS SECTION
======================================*/

.rooms{

    padding:140px 8%;
    background:#111;

}

.rooms-grid{

    display:flex;

    flex-direction:column;

    gap:70px;

    margin-top:80px;

}
/*======================================
            ROOM CARD
======================================*/

.room-card{

    width:100%;

    display:grid;

    grid-template-columns:1.2fr 1fr;

    align-items:center;

    background:#1b1b1b;

    border-radius:28px;

    overflow:hidden;

    border:1px solid rgba(212,175,55,.15);

    transition:.45s ease;

    box-shadow:0 20px 45px rgba(0,0,0,.35);

}

.room-card:hover{

    transform:translateY(-12px);

    border-color:#D4AF37;

    box-shadow:
    0 25px 55px rgba(0,0,0,.45),
    0 0 25px rgba(212,175,55,.18);

}

/*======================================
            ROOM IMAGE
======================================*/

.room-image{

    height:460px;

    overflow:hidden;

}

.room-image img{

    width:100%;
    height:100%;
    object-fit:cover;

    transition:transform .6s ease;

}

.room-card:hover .room-image img{

    transform:scale(1.08);

}

/*======================================
            ROOM CONTENT
======================================*/

.room-content{

    padding:55px;

}

.room-stars{

    color:#D4AF37;

    font-size:20px;

    margin-bottom:18px;

    letter-spacing:3px;

}

.room-content h3{

    font-family:'Cinzel', serif;

    font-size:38px;

    color:#fff;

    margin-bottom:20px;

}

.room-content p{

    color:#cfcfcf;

    line-height:1.9;

    margin-bottom:28px;

}

/*======================================
        ROOM FEATURES
======================================*/

.room-features{

    list-style:none;

    margin-bottom:30px;

}

.room-features li{

    display:flex;

    align-items:center;

    gap:12px;

    color:#d8d8d8;

    margin-bottom:14px;

    font-size:16px;

}

.room-features i{

    width:32px;

    height:32px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(212,175,55,.12);

    color:#D4AF37;

    border-radius:50%;

    font-size:14px;

}

/*======================================
        PRICE & BUTTON
======================================*/

.room-bottom{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:25px;

    border-top:1px solid rgba(255,255,255,.08);

    padding-top:25px;

}

.room-price{

    font-size:42px;

    color:#D4AF37;

    font-family:'Cinzel', serif;

}

.room-price span{

    display:block;

    font-size:14px;

    color:#aaa;

    margin-top:4px;

    font-family:'Poppins', sans-serif;

}

.room-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:14px 28px;

    border-radius:50px;

    text-decoration:none;

    background:#D4AF37;

    color:#111;

    font-weight:600;

    transition:.35s ease;

}

.room-btn:hover{

    background:#fff;

    color:#111;

    transform:translateY(-3px);

    box-shadow:0 12px 30px rgba(212,175,55,.35);

}

.room-ribbon{

    position:absolute;

    top:20px;

    left:-45px;

    background:#D4AF37;

    color:#111;

    font-weight:700;

    padding:10px 55px;

    transform:rotate(-45deg);

    font-size:13px;

    letter-spacing:1px;

    box-shadow:0 8px 20px rgba(0,0,0,.35);

}

.room-image::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.55),
        transparent 60%
    );

}

/*==============================
        ROOM SPECS
==============================*/

.room-specs{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

    margin:30px 0;

}

.room-specs div{

    display:flex;

    align-items:center;

    gap:10px;

    color:#e4e4e4;

    font-size:15px;

}

.room-specs i{

    color:#D4AF37;

    width:18px;

}

.room-ribbon{

    position:absolute;

    top:25px;

    left:25px;

    background:#D4AF37;

    color:#111;

    padding:10px 18px;

    border-radius:30px;

    font-size:14px;

    font-weight:700;

    letter-spacing:1px;

}

/*======================================
        ROOM HOVER EFFECTS
======================================*/

.room-card:hover .room-content h3{

    color:#D4AF37;

    transition:.4s;

}

.room-card:hover .room-price{

    text-shadow:0 0 18px rgba(212,175,55,.45);

}

.room-card:hover .room-btn{

    transform:translateY(-4px);

    box-shadow:
    0 15px 35px rgba(212,175,55,.35);

}

.room-features li{

    transition:.35s;

}

.room-card:hover .room-features li{

    transform:translateX(8px);

}

.room-card{

    opacity:0;

    transform:translateY(70px);

    animation:roomFade .8s forwards;

}

.room-card:nth-child(2){

    animation-delay:.2s;

}

.room-card:nth-child(3){

    animation-delay:.4s;

}

@keyframes roomFade{

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@media(max-width:992px){

    .room-card{

        grid-template-columns:1fr;

    }

    .room-image{

        height:320px;

    }

}

/*======================================
        MOBILE ROOM CARD FIX
======================================*/

@media (max-width:768px){

    .rooms{
        padding:90px 20px;
    }

    .rooms-grid{
        display:flex;
        flex-direction:column;
        gap:35px;
        margin-top:45px;
        width:100%;
    }

    .room-card{
        width:100%;
        display:flex;
        flex-direction:column;
        grid-template-columns:none;
        border-radius:20px;
        overflow:hidden;
    }

    .room-image{
        position:relative;
        width:100%;
        height:460px;
        overflow:hidden;
        flex-shrink:0;
    }

    .room-image img{
        width:100%;
        height:100%;
        display:block;
        object-fit:cover;
    }

    .room-image::after{
        position:absolute;
        inset:0;
        z-index:1;
        pointer-events:none;
    }

    .room-ribbon{
        z-index:3;
        top:15px;
        left:15px;
        padding:8px 15px;
        font-size:12px;
    }

    .room-content{
        width:100%;
        padding:28px 22px;
        box-sizing:border-box;
    }

    .room-stars{
        font-size:17px;
        margin-bottom:12px;
    }

    .room-content h3{
        font-size:27px;
        line-height:1.3;
        margin-bottom:15px;
    }

    .room-content p{
        font-size:14px;
        line-height:1.75;
        margin-bottom:20px;
    }

    .room-specs{
        grid-template-columns:1fr 1fr;
        gap:12px;
        margin:22px 0;
    }

    .room-specs div{
        font-size:13px;
        gap:7px;
    }

    .room-features{
        margin-bottom:20px;
    }

    .room-features li{
        font-size:14px;
        gap:9px;
        margin-bottom:11px;
    }

    .room-features i{
        width:28px;
        height:28px;
        flex-shrink:0;
    }

    .room-bottom{
        flex-wrap:wrap;
        gap:18px;
        margin-top:20px;
        padding-top:20px;
    }

    .room-price{
        font-size:30px;
    }

    .room-btn{
        padding:12px 22px;
        font-size:14px;
    }

}


/*======================================
        SMALL MOBILE
======================================*/

@media (max-width:480px){

    .rooms{
        padding:75px 15px;
    }

    .rooms-grid{
        gap:28px;
        margin-top:35px;
    }

    .room-card{
        border-radius:18px;
    }

    .room-image{
        height:230px;
    }

    .room-content{
        padding:24px 18px;
    }

    .room-content h3{
        font-size:24px;
    }

    .room-content p{
        font-size:13px;
    }

    .room-specs{
        gap:10px;
    }

    .room-specs div{
        font-size:12px;
    }

    .room-price{
        font-size:27px;
    }

    .room-btn{
        width:100%;
        padding:13px 20px;
    }

}