/* =========================================
   FILE: /datphong/assets/css/style.css
   VERSION FINAL CHUẨN ĐẸP RESPONSIVE
========================================= */

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#f8f5f1;
    color:#333;
    line-height:1.6;
}

/* =========================================
HEADER
========================================= */

header{

    width:100%;

    background:#fff;

    padding:16px 28px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    box-shadow:0 2px 10px rgba(0,0,0,0.06);

    position:sticky;

    top:0;

    z-index:999;
}

.logo{

    font-size:34px;

    font-weight:bold;

    color:#9b6a43;

    letter-spacing:1px;
}

.phone{

    font-size:20px;

    font-weight:bold;

    color:#9b6a43;
}

/* =========================================
HERO BANNER
========================================= */

.hero{

    width:100%;

    padding:15px 20px;
}

.hero-wrapper{

    width:100%;

    height:430px;

    overflow:hidden;

    border-radius:24px;

    box-shadow:0 10px 30px rgba(0,0,0,0.10);

    background:#fff;
}

.hero-banner{

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center;

    display:block;
}

/* =========================================
ROOMS
========================================= */

.rooms{

    width:100%;

    padding:40px 20px;

    display:grid;

    grid-template-columns:repeat(4,minmax(0,1fr));

    gap:22px;
}

/* CARD */

.room-card{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 5px 20px rgba(0,0,0,0.06);

    transition:0.3s;
}

.room-card:hover{

    transform:translateY(-5px);

    box-shadow:0 10px 25px rgba(0,0,0,0.12);
}

/* ẢNH */

.room-card img{

    width:100%;

    height:230px;

    object-fit:cover;

    display:block;

    background:#eee;
}

/* CONTENT */

.room-content{

    padding:20px;
}

.room-content h2{

    font-size:22px;

    color:#8b5e3c;

    margin-bottom:10px;
}

.room-content p{

    color:#666;

    margin-bottom:20px;

    min-height:48px;

    font-size:15px;
}

/* BUTTON */

.btn{

    display:inline-block;

    width:100%;

    text-align:center;

    background:#d18c66;

    color:#fff;

    padding:13px;

    border-radius:12px;

    text-decoration:none;

    font-weight:bold;

    transition:0.3s;
}

.btn:hover{
    background:#b66d45;
}

/* =========================================
DETAIL PAGE
========================================= */

.detail{

    max-width:1200px;

    margin:auto;

    padding:50px 20px;
}

.detail h1{

    font-size:40px;

    color:#8b5e3c;

    margin-bottom:25px;
}

.detail-img{

    width:100%;

    border-radius:24px;

    margin-bottom:30px;

    box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.info p{

    margin-bottom:12px;

    font-size:16px;
}

/* =========================================
BOOKING FORM
========================================= */

.booking-form{

    background:#fff;

    padding:30px;

    border-radius:22px;

    box-shadow:0 5px 20px rgba(0,0,0,0.06);

    display:flex;

    flex-direction:column;

    gap:16px;
}

.booking-form input,
.booking-form textarea{

    width:100%;

    padding:15px;

    border:1px solid #ddd;

    border-radius:12px;

    font-size:16px;

    outline:none;
}

.booking-form input:focus,
.booking-form textarea:focus{

    border-color:#d18c66;
}

.booking-form textarea{

    min-height:120px;

    resize:vertical;
}

.booking-form button{

    background:#8b5e3c;

    color:#fff;

    border:none;

    padding:15px;

    border-radius:12px;

    font-size:16px;

    font-weight:bold;

    cursor:pointer;

    transition:0.3s;
}

.booking-form button:hover{

    background:#6f4528;
}

/* =========================================
FOOTER
========================================= */

footer{

    margin-top:50px;

    background:#fff;

    padding:30px;

    text-align:center;

    color:#777;

    border-top:1px solid #eee;
}

/* =========================================
TABLET
========================================= */

@media(max-width:1200px){

    .rooms{

        grid-template-columns:repeat(2,1fr);
    }

    .hero-wrapper{

        height:360px;
    }

}

/* =========================================
MOBILE
========================================= */

@media(max-width:768px){

    header{

        padding:14px 16px;
    }

    .logo{

        font-size:22px;
    }

    .phone{

        font-size:14px;
    }

    .hero{

        padding:10px;
    }

    .hero-wrapper{

        height:220px;

        border-radius:16px;
    }

    .rooms{

        grid-template-columns:repeat(2,1fr);

        gap:15px;

        padding:25px 12px;
    }

    .room-card img{

        height:140px;
    }

    .room-content{

        padding:14px;
    }

    .room-content h2{

        font-size:18px;
    }

    .room-content p{

        font-size:13px;

        min-height:38px;
    }

    .btn{

        font-size:13px;

        padding:10px;
    }

}

/* =========================================
MOBILE NHỎ
========================================= */

@media(max-width:480px){

    .rooms{

        grid-template-columns:1fr;
    }

    .hero-wrapper{

        height:180px;
    }

    .logo{

        font-size:18px;
    }

    .phone{

        font-size:12px;
    }

}