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

/* 全局样式 */
body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* 容器：居中适配 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部导航 */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 99;
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #165DFF;
}
.logo a{
    color: #165DFF;
    text-decoration: none;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    margin-left: 30px;
    font-size: 16px;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #165DFF;
}

/* 移动端导航隐藏 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
}

/*  banner区域 */
.banner {
    height: 500px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url("../img/banner.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
    text-align: center;
}

.banner-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.banner-btn {
    display: inline-block;
    padding: 12px 35px;
    background: #165DFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s;
}

.banner-btn:hover {
    background: #0047CC;
}

@media (max-width: 768px) {
    .banner {
        height: 350px;
    }
    .banner-content h1 {
        font-size: 28px;
    }
}

/* 产品展示区域 */
.product-section {
    padding: 80px 0;
    background: #fff;
}

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

.section-title h2 {
    font-size: 32px;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #165DFF;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: #666;
    margin-top: 15px;
    font-size: 16px;
}

/* 产品网格 */
.product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 15px;
    text-align: center;
}

.product-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
}

/* 移动端产品布局 */
@media (max-width: 992px) {
    .product-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .product-list {
        grid-template-columns: 1fr;
    }
}

/* 优势介绍 */
.advantage {
    padding: 80px 0;
    background: #f5f7fa;
}

.advantage-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    text-align: center;
}

.advantage-item {
    flex: 1;
    min-width: 250px;
    padding: 20px;
}

.advantage-item i {
    font-size: 40px;
    color: #165DFF;
    margin-bottom: 15px;
}

.advantage-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* 友情链接样式 */
.link-section {
    background: #fff;
    padding: 30px 0;
    border-top: 1px solid #eee;
}
.link-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}
.link-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.link-list li {
    display: inline-block;
}
.link-list a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}
.link-list a:hover {
    color: #165DFF;
}

/* 底部固定电话按钮 */
.fixed-tel {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #165DFF;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    font-size: 18px;
    font-weight: bold;
    z-index: 100;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fixed-tel i {
    margin-right: 10px;
    font-size: 20px;
}

.fixed-tel a {
    color: #fff;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

/* 页脚 */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-bottom: 60px;
}

footer p {
    font-size: 14px;
    color: #ccc;
}