/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本样式 */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* 导航栏样式 */
.navbar {
    background-color: #2c3e50;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区样式 */
.hero {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
}

/* 通用板块样式 */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

/* 公司简介样式 */
.about {
    background-color: #fff;
}

.about-content {
    display: flex;
    gap: 30px;
}

.about-info {
    flex: 1;
}

.about-info p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #3498db;
}

.about-info ul {
    list-style-type: none;
}

.about-info li {
    margin-bottom: 15px;
    font-size: 16px;
}

/* 业务范围样式 */
.business {
    background-color: #f9f9f9;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.business-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.business-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #3498db;
}

.business-item p {
    font-size: 16px;
    line-height: 1.6;
}

/* 产品服务样式 */
.services {
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.service-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #3498db;
}

.service-item p {
    font-size: 16px;
    line-height: 1.6;
}

/* 联系方式样式 */
.contact {
    background-color: #f9f9f9;
}

.contact-content {
    display: flex;
    gap: 30px;
}

.contact-info {
    flex: 1;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #3498db;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* 页脚样式 */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer p {
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #2c3e50;
        padding: 20px 0;
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    section h2 {
        font-size: 28px;
    }

    .about-content, .contact-content {
        flex-direction: column;
    }

    .business-grid, .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    section {
        padding: 50px 0;
    }

    section h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .business-item, .service-item, .contact-info {
        padding: 20px;
    }
}

/* 滚动动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.business-item, .service-item {
    animation: fadeInUp 0.6s ease;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}