/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #1a73e8;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #1a73e8;
}

/* 首页横幅 */
.hero {
    height: 500px;
    background: linear-gradient(135deg, #1a73e8 0%, #4285f4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 70px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #fff;
    color: #1a73e8;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* 通用区块 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1a73e8;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #1a73e8;
    margin: 15px auto 0;
}

/* 关于我们 */
.about {
    background-color: #f8f9fa;
}

.about-intro {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
}

/* 服务项目 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 40px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 案例展示 */
.cases {
    background-color: #f8f9fa;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.case-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.case-item h4 {
    padding: 20px 20px 10px;
    font-size: 18px;
    color: #333;
}

.case-item p {
    padding: 0 20px 20px;
    font-size: 14px;
    color: #666;
}

/* 联系我们 */
.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    padding: 20px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item strong {
    display: inline-block;
    width: 80px;
    color: #1a73e8;
}

/* 页脚 */
.footer {
    background-color: #222;
    color: #ccc;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
}

.footer-note {
    font-size: 12px;
    line-height: 1.8;
    color: #999;
    max-width: 900px;
    margin: 20px auto 0;
    text-align: left;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
        font-size: 14px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .service-grid,
    .case-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }
}