/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #3498db;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3498db;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    margin-top: 70px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contact-info {
    font-size: 1.5rem;
    margin: 20px 0;
    font-weight: bold;
}

.hero-btns {
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    margin: 0 10px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #3498db;
    transform: translateY(-2px);
}

/* 页面头部 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
}

/* 特色服务 */
.features {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* 为什么选择我们 */
.why-us {
    padding: 80px 0;
}

.why-us h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.why-us-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.why-us-text {
    flex: 1;
    min-width: 300px;
}

.why-us-text ul {
    list-style: none;
}

.why-us-text li {
    padding: 10px 0;
    font-size: 1.1rem;
}

.why-us-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.why-us-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 案例展示 */
.portfolio {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.portfolio h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(52, 152, 219, 0.9);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* 服务详情页面 */
.services-detail {
    padding: 80px 0;
}

.service-item {
    margin-bottom: 80px;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
}

.service-item h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.service-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.service-text {
    flex: 1;
    min-width: 300px;
}

.service-text h3 {
    margin: 25px 0 15px 0;
    color: #2c3e50;
}

.service-text ul {
    padding-left: 20px;
    margin: 15px 0;
}

.service-text li {
    margin-bottom: 8px;
}

.service-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.service-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 服务流程 */
.service-process {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.service-process h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

/* 价格方案 */
.pricing {
    padding: 80px 0;
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid #e9ecef;
}

.pricing-card.featured {
    border-color: #3498db;
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #3498db;
}

.pricing-card ul {
    list-style: none;
    margin: 20px 0;
}

.pricing-card li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.pricing-card li:last-child {
    border-bottom: none;
}

/* 关于我们页面 */
.about-company {
    padding: 80px 0;
}

.about-company h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 团队介绍 */
.team {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.team h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.team-member {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid #f8f9fa;
}

.team-member h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* 技术优势 */
.tech-advantages {
    padding: 80px 0;
}

.tech-advantages h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.advantage-item {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.advantage-item h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

/* 发展历程 */
.timeline {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.timeline h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.timeline-items {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-items::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #3498db;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
    padding: 20px;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-date {
    position: absolute;
    top: 20px;
    width: 120px;
    padding: 5px;
    background: #3498db;
    color: white;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: -140px;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -140px;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* 联系页面 */
.contact-info-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-item h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.contact-value {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #3498db;
}

/* 联系表单 */
.contact-form-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-form-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.contact-form-section p {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

.form-group.full-width {
    flex: none;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

/* 服务区域 */
.service-area {
    padding: 80px 0;
}

.service-area h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.area-list {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.area-list h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.area-list ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.area-list li {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    margin: 5px;
}

/* 地图区域 */
.map-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.map-placeholder {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.map-image {
    background: #e9ecef;
    padding: 20px;
    border-radius: 10px;
}

.map-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* 常见问题 */
.faq {
    padding: 80px 0;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.2rem;
}

/* CTA区域 */
.cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.contact-number {
    font-size: 2rem;
    font-weight: bold;
    margin: 20px 0;
}

/* 页脚 */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #3498db;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    border-top: 1px solid #34495e;
    padding-top: 20px;
    color: #bdc3c7;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-info {
        font-size: 1.2rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        margin: 5px 0;
    }

    .features h2,
    .why-us h2,
    .portfolio h2,
    .service-process h2,
    .pricing h2,
    .team h2,
    .tech-advantages h2,
    .timeline h2,
    .contact-form-section h2,
    .service-area h2,
    .faq h2,
    .cta h2 {
        font-size: 2rem;
    }

    .timeline-items::before {
        left: 30px;
    }

    .timeline-item {
        width: calc(100% - 60px);
        left: 60px !important;
    }

    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        right: auto;
        left: -130px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .service-content {
        flex-direction: column;
    }

    .about-content {
        flex-direction: column;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .page-header {
        padding: 100px 0 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .features h2,
    .why-us h2,
    .portfolio h2,
    .service-process h2,
    .pricing h2,
    .team h2,
    .tech-advantages h2,
    .timeline h2,
    .contact-form-section h2,
    .service-area h2,
    .faq h2,
    .cta h2 {
        font-size: 1.8rem;
    }

    .service-item h2 {
        font-size: 1.8rem;
    }

    .contact-number {
        font-size: 1.5rem;
    }
}