* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* 顶部栏 */
.top-bar {
    background: #333;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
}

.top-bar .phone {
    color: #e74c3c;
    font-weight: bold;
}

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

.header-main {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    color: #e74c3c;
}

.logo p {
    font-size: 12px;
    color: #666;
}

.header-contact {
    text-align: right;
}

.header-contact .tel {
    font-size: 24px;
    color: #e74c3c;
    font-weight: bold;
}

.header-contact p {
    font-size: 12px;
    color: #999;
}

/* 导航 */
nav {
    background: #e74c3c;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
}

nav li {
    position: relative;
}

nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    font-size: 16px;
    transition: background 0.3s;
}

nav a:hover, nav a.active {
    background: #c0392b;
}

/* 子菜单 */
nav li:hover .submenu {
    display: block;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 1000;
}

.submenu a {
    color: #333;
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
}

.submenu a:hover {
    background: #f5f5f5;
    color: #e74c3c;
}

/* Banner */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 80%;
}

.banner-overlay h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-overlay p {
    font-size: 20px;
    margin-bottom: 10px;
}

/* 统计 */
.stats {
    background: #2c3e50;
    color: #fff;
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    color: #e74c3c;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 16px;
}

/* 优势 */
.advantages {
    padding: 60px 0;
    background: #f8f8f8;
}

.advantages h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
}

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

.advantage-item {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.advantage-item h4 {
    color: #e74c3c;
    font-size: 20px;
    margin-bottom: 10px;
}

.advantage-item p {
    color: #666;
    font-size: 14px;
}

/* 产品展示 */
.products {
    padding: 60px 0;
}

.products h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

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

.product-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.product-item h4 {
    padding: 15px;
    text-align: center;
    color: #333;
}

/* 案例展示 */
.cases {
    padding: 60px 0;
    background: #f8f8f8;
}

.cases h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

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

.case-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.case-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-item h4 {
    padding: 15px;
    text-align: center;
    color: #333;
}

/* 新闻 */
.news {
    padding: 60px 0;
}

.news h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news-item h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
}

.news-item p {
    color: #666;
    font-size: 14px;
}

/* 底部 */
footer {
    background: #2c3e50;
    color: #fff;
    padding: 50px 0 20px;
}

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

.footer-item h4 {
    color: #e74c3c;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-item p {
    margin-bottom: 10px;
    color: #bdc3c7;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
    font-size: 12px;
}

/* 页面标题 */
.page-banner {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-banner h3 {
    font-size: 36px;
}

/* 内容区 */
.content {
    padding: 60px 0;
}

/* 表单 */
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
}

.submit-btn:hover {
    background: #c0392b;
}

/* 响应式 */
@media (max-width: 1024px) {
    .stats-grid,
    .advantage-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid,
    .advantage-grid,
    .product-grid,
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-main .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-contact {
        text-align: center;
    }
    
    nav a {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .banner {
        height: 300px;
    }
    
    .banner-overlay h2 {
        font-size: 28px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
