/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background: #f9f9f9;
}

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

img {
    max-width: 100%;
    height: auto;
}

.w1200 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
.headerTop {
    background: #f8f8f8;
    padding: 10px 0;
    text-align: right;
    font-size: 14px;
}

.name {
    color: #666;
}

.nav {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.nav > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav h1 {
    width: 150px;
}

.navList {
    display: flex;
    align-items: center;
}

.navList a {
    padding: 10px 15px;
    margin: 0 5px;
    color: #333;
    transition: all 0.3s;
}

.navList a:hover {
    color: #1e88e5;
}

.home {
    font-weight: bold;
    color: #1e88e5 !important;
}

/* 汉堡菜单按钮 (移动端) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s;
}

/* 横幅区域 */
.banner {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #1e88e5, #0d47a1);
    color: white;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.bannerList {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 2;
}

.bannerList li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    margin: 0 5px;
    cursor: pointer;
}

.bannerList li.on {
    background: white;
}

.textList {
    width: 100%;
    z-index: 1;
}

.textList li {
    text-align: center;
    padding: 20px;
    display: none;
}

.textList li:first-child {
    display: block;
}

.textList h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.textList p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* 产品展示区域 */
.classic {
    padding: 60px 0;
    background: white;
}

.title {
    text-align: center;
    margin-bottom: 40px;
}

.title h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.title span {
    color: #888;
    font-size: 16px;
}

.max30 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.max30 dl {
    width: calc(33.333% - 20px);
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.max30 dl:hover {
    transform: translateY(-5px);
}

.max30 dt {
    overflow: hidden;
}

.max30 img {
    width: 100%;
    transition: transform 0.5s;
}

.max30 dl:hover img {
    transform: scale(1.05);
}

.max30 dd {
    padding: 20px;
}

.max30 h5 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #222;
}

.max30 p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 页脚 */
.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}

.footer a {
    color: #aaa;
    margin-left: 10px;
}

.footer a:hover {
    color: #fff;
}

/* 响应式设计 - 平板 */
@media (max-width: 992px) {
    .max30 dl {
        width: calc(50% - 15px);
    }
    
    .banner {
        height: 400px;
    }
    
    .textList h3 {
        font-size: 24px;
    }
    
    .textList p {
        font-size: 16px;
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .navList {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .navList.active {
        right: 0;
    }
    
    .navList a {
        width: 100%;
        padding: 15px 10px;
        margin: 5px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 30px;
        height: 30px;
        background: transparent;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: #333;
    }
    
    .max30 dl {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .banner {
        height: 300px;
    }
    
    .textList h3 {
        font-size: 20px;
    }
    
    .textList p {
        font-size: 14px;
    }
    
    .title h3 {
        font-size: 24px;
    }
    
    .title span {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .banner {
        height: 250px;
    }
    
    .textList li {
        padding: 10px;
    }
    
    .classic {
        padding: 40px 0;
    }
    
    .headerTop {
        text-align: center;
    }
}