* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
html, body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============ PC端布局 - 固定头部/导航/页脚，中间滚动 ============ */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 页头+导航 - 吸顶跟随 */
.site-top {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
}

/* 页头 */
.site-header {
    flex-shrink: 0;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.header-left a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    transition: color 0.3s;
}

.header-left a:hover {
    color: #b8860b;
}

.header-left .icon {
    font-size: 14px;
}

.header-right {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* 导航 */
.site-nav {
    flex-shrink: 0;
    background: #fff;
    z-index: 99;
}

.nav-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.nav-item {
    padding: 55px 40px;
    font-size: 16px;
    color: #666;
    transition: color 0.3s;
    cursor: pointer;
    white-space: nowrap;
}

.nav-item:hover {
    color: #b8860b;
}

.nav-item.active {
    color: #b8860b;
    font-weight: bold;
}

.nav-logo {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo img {
    height: 105px;
    max-width: 160px;
    object-fit: contain;
}

/* 主内容区域 */
.main-content {
    flex: 1;
}

/* 图片画廊 */
.gallery-section {
    padding: 0;
}

.gallery-item {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 页脚 */
.site-footer {
    flex-shrink: 0;
    background: #181818;
    color: #fff;
    padding: 30px 40px;
    text-align: center;
    z-index: 98;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content p {
    font-size: 14px;
    line-height: 2;
    color: #ccc;
}

.footer-content .footer-title {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}

.footer-content img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

/* ============ 移动端固定底部预定按钮 ============ */
.mobile-book-btn {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #181818;
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    width: 100%;
    transition: background 0.3s;
}

.mobile-book-btn:hover {
    background: #2a2a2a;
}

/* ============ 滚动条美化 ============ */
body::-webkit-scrollbar {
    width: 6px;
}

body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

body::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* ============ 平板适配 (768px - 1024px) ============ */
@media (max-width: 1024px) and (min-width: 769px) {
    .header-inner {
        padding: 8px 20px;
    }

    .header-left {
        font-size: 12px;
        gap: 12px;
    }

    .header-right {
        font-size: 14px;
    }

    .nav-item {
        padding: 40px 25px;
        font-size: 14px;
    }

    .nav-logo img {
        height: 80px;
    }
}

/* ============ 移动端适配 (<=768px) ============ */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        overflow-y: auto;
        height: auto;
    }

    .page-wrapper {
        min-height: 100vh;
        overflow: visible;
        overflow-x: hidden;
    }

    .site-top {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
        background: #fff;
        overflow-x: hidden;
    }

    .site-header {
        background: #fff;
    }

    .header-inner {
        padding: 8px 15px;
    }

    .header-left {
        font-size: 11px;
        gap: 10px;
    }

    .header-left .icon {
        display: none;
    }

    .header-right {
        font-size: 13px;
    }

    .site-nav {
        overflow: hidden;
        overflow-x: hidden;
        width: 100%;
    }

    .nav-inner {
        width: 100%;
        max-width: none;
        padding: 0 6px;
    }

    .nav-item {
        flex: 1 1 0;
        min-width: 0;
        padding: 20px 4px;
        font-size: 11px;
        text-align: center;
    }

    .nav-logo {
        flex: 0 0 58px;
        padding: 8px 4px;
    }

    .nav-logo img {
        height: 46px;
        max-width: 50px;
    }

    .main-content {
        flex: none;
        overflow: visible;
        padding-top: 120px;
    }

    .site-footer {
        padding: 20px 15px;
    }

    .site-footer::after {
        content: '';
        display: block;
        height: 56px;
        background: #181818;
    }

    .footer-content p {
        font-size: 11px;
        line-height: 1.8;
    }

    .footer-content .footer-title {
        font-size: 16px;
    }

    .mobile-book-btn {
        display: block;
    }
}

/* ============ 小屏手机 (<=480px) ============ */
@media (max-width: 480px) {
    .header-inner {
        padding: 6px 10px;
    }

    .header-left {
        font-size: 10px;
        gap: 8px;
    }

    .header-right {
        font-size: 12px;
    }

    .nav-inner {
        padding: 0 4px;
    }

    .nav-item {
        padding: 16px 2px;
        font-size: 10px;
    }

    .nav-logo {
        flex-basis: 50px;
        padding: 6px 2px;
    }

    .nav-logo img {
        height: 40px;
        max-width: 44px;
    }

    .gallery-item img {
        min-height: 200px;
    }
}
