/* ============================================
   酒店用品公司官网 - 全局样式
   主色调：深蓝 #1a365d / 深灰 #2d3748 + 白色
   辅助色：金色 #c9a227 / 暖灰 #a0aec0
   ============================================ */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #1a365d;
    --primary-gray: #2d3748;
    /* --accent-gold: #c9a227; */
    --accent-gold: #489d37;
    --accent-warm-gray: #a0aec0;
    --white: #ffffff;
    --light-bg: #f7fafc;
    --text-dark: #1a202c;
    --text-gray: #4a5568;
    --border-color: #e2e8f0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* 通用容器 */
.container {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b8941f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-dark);
}

.btn-dark {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-dark:hover {
    background-color: #152a4a;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* backdrop-filter: blur(10px); */
    transition: all 0.3s ease;
}

.navbar.is-scrolled {
    background-color: rgba(26, 54, 93, 0.98);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.lang-switch {
    position: relative;
}

.lang-switch-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background-color: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    transition: all 0.25s ease;
}

.lang-switch-btn:hover {
    border-color: rgba(201, 162, 39, 0.7);
    color: var(--accent-gold);
    background-color: rgba(201, 162, 39, 0.12);
}

.lang-switch-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 130px;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background-color: rgba(26, 54, 93, 0.98);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    display: none;
    z-index: 1200;
}

.lang-switch.is-open .lang-switch-menu {
    display: block;
}

.lang-switch-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 8px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    text-align: left;
    font-size: 14px;
}

.lang-switch-item:hover {
    background-color: rgba(255, 255, 255, 0.10);
}

.lang-switch-item.is-active {
    color: var(--accent-gold);
    background-color: rgba(201, 162, 39, 0.12);
}

.logo span {
    color: var(--accent-gold);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 120px;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 8px 2px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-gold);
    font-weight: bold;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.about-stats {
    margin-top: 46px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--white);
}

.about-stat {
    padding: 26px 18px;
    text-align: center;
    border-right: 1px solid var(--border-color);
}

.about-stat:last-child {
    border-right: none;
}

.stat-num {
    font-size: 34px;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-gray);
}
/* 公司优势 */
.advantages {
    padding: 50px 0;
    background-color: var(--light-bg);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #a9cc44 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 28px;
    color: var(--white);
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.advantage-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* 页面标题区域 */
.page-header {
    color: var(--white);
    padding: 150px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: var(--accent-warm-gray);
}

.page-header .breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

.page-header .breadcrumb a:hover {
    color: var(--accent-gold);
}

/* 区块标题 */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.section-header .line {
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 20px auto 0;
}

/* 页脚 */
.footer {
    background: url('../images/casebg.jpg') no-repeat;
    background-size: cover;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--accent-gold);
}

.footer-section p,
.footer-section a {
    color: var(--accent-warm-gray);
    text-decoration: none;
    font-size: 14px;
    line-height: 2;
    display: block;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: var(--accent-warm-gray);
    font-size: 14px;
}

.footer.footer-v2 {
    padding: 70px 0 30px;
}

.footer-v2-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-v2-left {
    flex: 0 0 420px;
    max-width: 520px;
}

.footer-v2-desc {
    margin-top: 18px;
    color: var(--accent-warm-gray);
    font-size: 14px;
    line-height: 1.9;
}

.footer-v2-contact {
    margin-top: 18px;
    color: var(--accent-warm-gray);
    font-size: 14px;
    line-height: 2;
}

.footer-v2-qrs {
    margin-top: 22px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-qr img {
    width: 110px;
    height: 110px;
    border-radius: 8px;
    background-color: var(--white);
    padding: 6px;
}

.footer-qr-label {
    color: var(--accent-warm-gray);
    font-size: 12px;
}

.footer-v2-right {
    flex: 1;
    min-width: 0;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}

.footer-nav-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--accent-gold);
}

.footer-v2 .footer-nav-col a {
    color: var(--accent-warm-gray);
    text-decoration: none;
    font-size: 14px;
    line-height: 2;
    display: block;
    transition: color 0.3s ease;
}

.footer-v2 .footer-nav-col a:hover {
    color: var(--white);
}

.footer.footer-v3 {
    padding: 42px 0 26px;
    background-image: url('../images/casebg.png'), url('../images/casebg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* .footer.footer-v3::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.78) 55%, rgba(0, 0, 0, 0.70) 100%);
    pointer-events: none;
} */

.footer.footer-v3 .container {
    position: relative;
    z-index: 1;
}

.footer-v3-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    margin-bottom: 26px;
}

.footer-v3-top-right {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.78);
    text-align: right;
}

.footer-v3-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.9fr 1.1fr;
    gap: 42px;
    align-items: start;
}

.footer-v3-about p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 2;
}

.footer-v3-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-content: start;
}

.footer-v3-link {
    height: 44px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.18);
    background-color: rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
}

.footer-v3-link:hover {
    border-color: rgba(201, 162, 39, 0.8);
    color: var(--accent-gold);
    background-color: rgba(201, 162, 39, 0.08);
    transform: translateY(-2px);
}

.footer-v3-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-v3-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-v3-contact-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background-color: rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.90);
    font-size: 14px;
    flex: 0 0 auto;
    line-height: 1;
}

.footer-v3-contact-text {
    padding-top: 6px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.7;
}

.footer-v3-qr {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 18px;
}

.footer-v3-qr-box img {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    background-color: var(--white);
    padding: 6px;
    display: block;
}

.footer-v3-qr-title {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 10px;
}

.footer-v3-search {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-v3-search-input {
    width: 240px;
    max-width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background-color: rgba(0, 0, 0, 0.16);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
    outline: none;
}

.footer-v3-search-btn {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.90);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.footer-v3-search-btn:hover {
    border-color: rgba(201, 162, 39, 0.7);
    color: var(--accent-gold);
}

.footer.footer-v3 .footer-bottom {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    text-align: left;
    color: rgba(255, 255, 255, 0.60);
}
/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.pagination a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--white);
}

/* 响应式 */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--primary-dark);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-v2-inner {
        flex-direction: column;
        gap: 40px;
    }

    .footer-v2-left {
        flex-basis: auto;
        max-width: none;
    }

    .footer-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-v3-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-v3-top-right {
        text-align: left;
    }

    .footer-v3-main {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .footer-v3-qr {
        justify-content: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .container {
        width: 92%;
        max-width: 92%;
        padding: 0;
    }
    .about-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .page-header h1 {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-v3-search {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-v3-search-input {
        width: 100%;
    }

    .footer-v3-qr {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 12px;
    }
    .advantages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .advantage-card {
        padding: 15px;
    }
}
