/* ================= 基础重置 ================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Microsoft YaHei', Arial, sans-serif; background-color: #fff; overflow-x: hidden; color: #333; }
a { text-decoration: none; color: #333; transition: color 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ================= 导航栏 (置顶) ================= */
.header {
    position: fixed; top: 0; left: 0; width: 100%; height: 90px;
    background-color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000; display: flex; align-items: center;
}
.header-container {
    width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo img { height: 60px; display: block; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-item { position: relative; padding: 30px 0; }
.nav-item > a { font-size: 16px; color: #333; font-weight: 500; padding-bottom: 5px; }
.nav-item.active > a { color: #d84e26; border-bottom: 2px solid #d84e26; }
.nav-item:hover > a { color: #d84e26; }

/* 下拉菜单 (PC 端悬停效果) */
.dropdown-menu {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #fff; min-width: 140px; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
    border-top: 2px solid #d84e26; text-align: center; border-radius: 0 0 4px 4px;
}
.nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu li a { display: block; padding: 12px 15px; font-size: 14px; color: #666; }
.dropdown-menu li a:hover { background-color: #f9f9f9; color: #d84e26; }

/* 搜索框 */
.search-box { display: flex; align-items: center; border: 1px solid #e0e0e0; border-radius: 4px; overflow: hidden; }
.search-box input { border: none; outline: none; padding: 8px 12px; width: 160px; font-size: 14px; color: #666; }
.search-box button { background-color: #f39c12; border: none; padding: 8px 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.search-box button svg { width: 16px; height: 16px; fill: white; }

/* 汉堡菜单按钮 */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 1001; padding: 10px; }
.hamburger span { display: block; width: 25px; height: 3px; background-color: #333; transition: all 0.3s ease; }

/* ================= 公共标题样式 (H UA MAI) ================= */
.section-title { display: flex; justify-content: center; align-items: center; margin-bottom: 60px; text-align: left; }
.title-icon { position: relative; margin-right: 15px; display: flex; align-items: flex-end; }
.title-icon .letter-h { font-size: 64px; font-weight: 600; color: #f39c12; line-height: 0.8; font-family: Arial, sans-serif; }
.title-text-group { display: flex; flex-direction: column; }
.title-en { font-size: 14px; color: #f39c12; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 5px; font-weight: bold; font-family: Arial, sans-serif; }
.title-cn { font-size: 32px; font-weight: bold; color: #333; letter-spacing: 1px; }

/* ================= 页脚模块 ================= */
.footer { background-color: #fff; padding: 60px 20px 30px; border-top: 1px solid #eee; }
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 40px; border-bottom: 1px solid #eee; gap: 40px; }
.footer-logo { flex-shrink: 0; }
.footer-logo img { height: 80px; }
.footer-contact { flex: 1; display: flex; flex-direction: column; gap: 15px; padding-left: 40px; }
.contact-item { display: flex; align-items: flex-start; font-size: 14px; color: #555; line-height: 1.6; }
.contact-item svg { width: 18px; height: 18px; fill: #888; margin-right: 10px; margin-top: 3px; flex-shrink: 0; }
.footer-qrcode { display: flex; align-items: center; gap: 15px; }
.qrcode-icon { width: 40px; height: 40px; background-color: #52c41a; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.qrcode-icon svg { width: 24px; height: 24px; fill: #fff; }
.qrcode-text { font-size: 14px; color: #555; line-height: 1.6; }
.qrcode-img { width: 100px; height: 100px; border: 1px solid #eee; padding: 5px; background: #fff; }
.footer-bottom { text-align: center; padding-top: 30px; }
.footer-company-en { font-size: 20px; font-weight: bold; color: #888; margin-bottom: 10px; font-family: Arial, sans-serif; }
.footer-copyright { font-size: 14px; color: #aaa; }

/* ================= 全局响应式 (针对公共模块) ================= */
@media screen and (max-width: 992px) {
    .nav-menu, .search-box { display: none; width: 100%; }
    .hamburger { display: flex; }
    .header-container { flex-wrap: wrap; }

    /* 移动端展开菜单 */
    .nav-menu.show {
        display: flex; flex-direction: column; align-items: flex-start; gap: 0;
        margin-top: 15px; border-top: 1px solid #eee; padding-top: 0; width: 100%;
        background-color: #fff; position: absolute; top: 90px; left: 0;
        padding-left: 20px; padding-right: 20px;
        max-height: calc(100vh - 90px); overflow-y: auto;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1); z-index: 999;
    }
    .nav-item { width: 100%; padding: 0; border-bottom: 1px solid #f0f0f0; position: relative; }
    .nav-item > a { display: block; padding: 15px 0; font-size: 16px; }
    .nav-item.active > a { border-bottom: none; }

    /* 移动端下拉菜单 */
    .dropdown-menu {
        position: static; transform: none; opacity: 1; visibility: visible;
        box-shadow: none; border-top: none; background-color: #f9f9f9;
        display: none; text-align: left; padding-left: 20px; transition: none;
    }
    /* 强制去掉移动端悬停产生的位移 */
    .nav-item:hover .dropdown-menu { transform: none; opacity: 1; visibility: visible; display: none; }
    .nav-item.open .dropdown-menu { display: block; }

    .nav-item.has-dropdown > a::after { content: '▼'; font-size: 10px; margin-left: 5px; display: inline-block; transition: transform 0.3s; color: #999; }
    .nav-item.open.has-dropdown > a::after { transform: rotate(180deg); color: #d84e26; }

    /* 汉堡按钮变 X */
    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .section-title { margin-bottom: 40px; }
    .title-icon .letter-h { font-size: 50px; }
    .title-cn { font-size: 26px; }

    /* 页脚 响应式 */
    .footer-top { flex-direction: column; align-items: center; text-align: center; gap: 30px; }
    .footer-contact { padding-left: 0; align-items: center; }
    .contact-item { justify-content: center; }
    .footer-qrcode { flex-direction: column; gap: 10px; }
}

@media screen and (max-width: 576px) {
    .footer-logo img { height: 60px; }
    .footer-company-en { font-size: 16px; }
}