*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}
html{
    scroll-behavior: smooth;
}
body{
    color: #333;
    background: #f8f9fa;
    line-height: 1.7;
}
.container{
    width: 1200px;
    margin: 0 auto;
    max-width: 95%;
}
/* 头部导航 */
header{
    background: #0a2342;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.head-wrap{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo{
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
}
.logo span{
    color: #d4af37;
}
nav ul{
    display: flex;
    gap: 35px;
    list-style: none;
}
nav a{
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}
nav a:hover{
    color: #d4af37;
}
.menu-btn{
    display: none;
    font-size: 26px;
    cursor: pointer;
}
.mobile-nav{
    display: none;
    position: absolute;
    left: 0;
    top: 65px;
    width: 100%;
    background: #0a2342;
    padding: 20px;
    z-index: 9999;
}
.mobile-nav ul{
    list-style: none;
}
.mobile-nav li{
    margin: 12px 0;
}
.mobile-nav a{
    color: #fff;
    font-size: 17px;
    text-decoration: none;
}
/* Banner 核心修复，杜绝图片塌陷消失 */
.banner{
    width: 100%;
    height: 500px;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.banner img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 1;
    display: block;
    opacity: 1 !important;
    visibility: visible !important;
}
.banner::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 2;
}
.banner-text{
    position: relative;
    z-index: 3;
}
.banner-text h2{
    font-size: 48px;
    margin-bottom: 15px;
    letter-spacing: 3px;
}
.banner-text p{
    font-size: 20px;
    margin-bottom: 30px;
}
.btn-book{
    padding: 14px 40px;
    background: #d4af37;
    color: #0a2342;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    transition: 0.3s;
}
.btn-book:hover{
    background: #e6c35c;
}
/* 通用板块间距 */
.section{
    padding: 80px 0;
}
.title{
    text-align: center;
    margin-bottom: 60px;
}
.title h3{
    font-size: 36px;
    color: #0a2342;
    margin-bottom: 12px;
}
.title hr{
    width: 80px;
    height: 3px;
    background: #d4af37;
    margin: 0 auto;
    border: none;
}
/* 客房列表 */
.room-list{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}
.room-item{
    background: #fff;
    box-shadow: 0 5px 15px #eee;
    overflow: hidden;
    transition: transform 0.3s;
}
.room-item:hover{
    transform: translateY(-8px);
}
.room-img{
    width: 100%;
    height: 260px;
    min-height: 260px;
    overflow: hidden;
}
.room-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 1 !important;
    visibility: visible !important;
}
.room-info{
    padding: 25px;
}
.room-info h4{
    font-size: 20px;
    color: #0a2342;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}
.price-tag{
    color: #c8102e;
    font-size: 16px;
}
/* 酒店优势板块 */
.advantage{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}
.adv-item{
    text-align: center;
    padding: 30px;
    background: #fff;
    box-shadow: 0 3px 10px #eee;
    transition: 0.3s;
}
.adv-item:hover{
    box-shadow: 0 6px 18px #ddd;
}
/* 用户评价 */
.evaluate-box{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
    margin-top: 40px;
}
.eva-item{
    background: #fff;
    padding: 25px;
    box-shadow: 0 4px 12px #eee;
}
.eva-item img{
    width: 100%;
    height: 180px;
    min-height: 180px;
    object-fit: cover;
    margin-bottom: 15px;
    display: block;
    opacity: 1 !important;
    visibility: visible !important;
}
/* 侧边悬浮预约 */
.float-book{
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
}
.float-book a{
    display: block;
    background: #d4af37;
    color: #0a2342;
    text-decoration: none;
    padding: 12px 10px;
    text-align: center;
    margin-bottom: 10px;
    border-radius: 6px;
    font-weight: bold;
    width: 110px;
}
/* 返回顶部按钮 */
.back-top{
    position: fixed;
    right: 20px;
    bottom: 30px;
    width: 45px;
    height: 45px;
    background: #0a2342;
    color: #fff;
    text-align: center;
    line-height: 45px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    display: none;
    z-index: 9998;
}
/* 页脚 */
footer{
    background: #0a2342;
    color: #fff;
    padding: 60px 0 30px;
}
.foot-wrap{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}
.foot-item h4{
    margin-bottom: 15px;
    font-size: 20px;
}
.foot-item a{
    color: #ccc;
    text-decoration: none;
    line-height: 2;
}
.foot-item a:hover{
    color: #d4af37;
}
.foot-bottom{
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #203858;
    font-size: 14px;
}
.foot-bottom a{
    color: #d4af37;
    text-decoration: none;
}
/* 移动端适配 */
@media(max-width:992px){
    nav ul{display: none;}
    .menu-btn{display: block;}
    .room-list{grid-template-columns: repeat(2,1fr);}
    .advantage{grid-template-columns: repeat(2,1fr);}
    .evaluate-box{grid-template-columns: repeat(2,1fr);}
    .banner-text h2{font-size: 36px;}
}
@media(max-width:576px){
    .room-list{grid-template-columns: 1fr;}
    .advantage{grid-template-columns: 1fr;}
    .evaluate-box{grid-template-columns: 1fr;}
    .banner{height: 360px; min-height:360px;}
    .banner-text h2{font-size: 28px;}
    .float-book{right: 8px;}
}
