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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f8f9fa;
}

/* 标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.underline {
    width: 60px;
    height: 4px;
    background-color: #3498db;
    margin: 0 auto;
    border-radius: 2px;
}

/* 导航栏 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

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

.nav-list a {
    font-size: 16px;
    font-weight: 500;
    color: #555;
}

.nav-list a:hover,
.nav-list a.active {
    color: #3498db;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* 英雄横幅区域 */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(52, 152, 219, 0.8)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 0;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.5s both;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3498db;
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    animation: fadeIn 1s ease 1s both;
}

.btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
}

/* 关于我们 */
.about-content {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.company-info-list {
    margin-top: 30px;
    background: #f8f9fa;
    padding: 20px 30px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

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

.company-info-list li:last-child {
    margin-bottom: 0;
}

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

.business-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.business-card .icon {
    font-size: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.business-card h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.business-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #666;
}

.business-list li::before {
    content: '•';
    color: #3498db;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

.business-card .note {
    font-size: 12px;
    color: #999;
    margin-top: 20px;
    text-align: center;
}

/* 联系我们 */
.contact-info {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.info-item {
    text-align: center;
    flex: 1;
    min-width: 250px;
}

.info-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.info-item h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.info-item p {
    color: #666;
}

/* 页脚 */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 40px 0;
}

.footer p {
    margin-bottom: 10px;
}

.icp-link {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.icp-link:hover {
    color: #fff;
    text-decoration: underline;
}

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

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-list {
        position: absolute;
        top: 80px;
        left: -100%;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
    }

    .nav-list.active {
        left: 0;
    }

    .hero-content h1 {
        font-size: 36px;
    }

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

    .section {
        padding: 50px 0;
    }
}
