* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Arial, sans-serif;
    background-color: #FFFFFF;
    color: #333333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #1A3C34 0%, #2A5A4E 100%);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center; /* PC 端居中对齐 */
    padding: 0 20px;
    position: relative;
}
.nav-links {
    display: flex;
    align-items: center;
}
.nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    margin: 0 15px;
    font-size: 20px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}
.nav-links a:hover {
    color: #FFD700;
}
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #FFD700;
    bottom: -4px;
    left: 0;
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}
.language-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: 20px; /* 与导航链接保持间距 */
}
.language-switch button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, border 0.3s ease;
}
.language-switch button:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #FFD700;
}
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}
.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}
.section {
    padding: 20px;
    text-align: center;
    min-height: 100vh;
    overflow-x: hidden;
}
.section h1 {
    font-size: 48px;
    font-weight: 700;
    color: #1A3C34;
    margin-bottom: 40px;
    line-height: 1.2;
}
.video {
    margin: 40px 0;
    width: 100%;
}
.video video {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    text-align: justify;
    padding: 0 20px;
    color: #444444;
    line-height: 1.8;
}
.content p {
    margin-bottom: 20px;
}
.content a {
    color: #1A3C34;
    text-decoration: none;
    font-weight: 500;
}
.content a:hover {
    text-decoration: underline;
}
.address-link {
    display: block;
    margin: 30px auto;
    text-align: center;
    font-size: 16px;
    color: #1A3C34;
    text-decoration: none;
    font-weight: 500;
}
.address-link:hover {
    text-decoration: underline;
}
footer {
    padding: 20px;
    text-align: center;
    background-color: #F5F5F7;
    color: #666666;
    font-size: 14px;
}
.social-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.social-link img {
    vertical-align: middle;
}
.address-info {
    font-size: 14px;
    color: #666666;
}
.qr-codes {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
    /* 移除 flex-wrap: wrap，确保不换行 */
    flex-wrap: nowrap;
}

.qr-code-item {
    text-align: center;
    /* 确保每个二维码项宽度固定，避免挤压 */
    flex: 0 0 auto;
}

.qr-code-item img {
    max-width: 50px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.qr-code-item p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #333;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex; /* 手机端显示汉堡菜单 */
    }
    .nav-container {
        justify-content: space-between; /* 手机端恢复 space-between */
    }
    .nav-links {
        display: none; /* 默认隐藏导航链接 */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(90deg, #1A3C34 0%, #2A5A4E 100%);
        padding: 20px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    .nav-links.active {
        display: flex; /* 点击汉堡菜单后显示 */
    }
    .nav-links a {
        margin: 10px 0;
        font-size: 18px;
    }
    .nav-links a::after {
        display: none; /* 手机端移除下划线动画 */
    }
    .language-switch {
        margin-left: 0; /* 手机端调整间距 */
    }
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    .section {
        padding: 15px;
    }
    .section h1 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .video {
        margin: 30px 0;
    }
    .content {
        font-size: 16px;
        padding: 0 15px;
    }
    .content p {
        margin-bottom: 15px;
    }
    .address-link {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .nav-links a {
        font-size: 16px;
        margin: 8px 0;
    }
    .section h1 {
        font-size: 20px;
    }
    .content {
        font-size: 14px;
    }
    .language-switch button {
        font-size: 14px;
    }
    .address-link {
        font-size: 13px;
    }
    footer {
        font-size: 12px;
    }
    .social-links {
        flex-direction: column;
        gap: 5px;
    }
    .address-info {
        font-size: 12px;
    }
}
/* 针对小屏幕设备（例如宽度小于 768px） */
@media (max-width: 768px) {
    .qr-codes {
        overflow-x: auto;
        white-space: nowrap;
        padding: 0 10px;
    }

    .qr-code-item {
        display: inline-block;
    }

    .qr-code-item img {
        max-width: 40px; /* 移动端使用更小的尺寸 */
        width: 100%;
        height: auto;
    }

    .qr-code-item p {
        font-size: 12px;
    }
}