﻿/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: #2980b9;
    transition: color 0.3s ease;
}

a:hover {
    color: #1a5889;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #2980b9;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #1a5889;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #2980b9;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    font-size: 22px;
    color: #2980b9;
    font-weight: bold;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #333;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:hover,
nav ul li a.active {
    color: #2980b9;
}

nav ul li a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2980b9;
}

/* 首页英雄区 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/hero-bg1.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 特性区域 */
.features {
    padding: 80px 0;
    background-color: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: #2980b9;
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.feature-item p {
    color: #666;
}

/* 行动召唤区 */
.cta {
    background: linear-gradient(90deg, #2980b9, #3498db);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background-color: #fff;
    color: #2980b9;
    font-weight: bold;
}

.cta .btn:hover {
    background-color: #f1f1f1;
}

/* 页面头部 */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/about-img.jpg') no-repeat center center/cover;
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.page-header h2 {
    font-size: 36px;
    font-weight: 700;
}

/* 关于我们页面样式 */
.about-content {
    padding: 80px 0;
    background-color: #fff;
}

.about-intro, .about-vision, .about-values, .team-section {
    margin-bottom: 60px;
}

.about-intro h2, .about-vision h2, .about-values h2, .team-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.about-intro h2:after, .about-vision h2:after, .about-values h2:after, .team-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #2980b9;
}

.about-intro p, .about-vision p, .team-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.value-item {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.value-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2980b9;
}

.value-item p {
    color: #666;
}

/* 服务页面样式 */
.services-overview {
    padding: 80px 0;
    background-color: #fff;
}

.section-intro {
    text-align: center;
    margin-bottom: 50px;
}

.section-intro h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
}

.section-intro p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 36px;
    margin-bottom: 20px;
    color: #2980b9;
}

.service-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
}

.service-item p {
    color: #666;
    margin-bottom: 15px;
}

.service-details {
    padding-left: 20px;
}

.service-details li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
    color: #666;
}

.service-details li:before {
    content: '•';
    color: #2980b9;
    position: absolute;
    left: 0;
}

.service-process {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.service-process h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    color: #333;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.step {
    flex: 0 0 calc(20% - 20px);
    text-align: center;
    position: relative;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 30px;
    right: -30px;
    width: 60px;
    height: 2px;
    background-color: #e0e0e0;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #2980b9;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.step-content p {
    font-size: 14px;
    color: #666;
}

/* 案例页面样式 */
.cases-overview {
    padding: 80px 0;
    background-color: #fff;
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.case-item {
    background-color: #f8f9fa;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.case-image1 {
    height: 200px;
    background-color: #e0e0e0;
    background-image: url('/images/product1-3.jpg');
    background-size: cover;
    background-position: center;
}

.case-image2 {
    height: 200px;
    background-color: #e0e0e0;
    background-image: url('/images/product2.jpg');
    background-size: cover;
    background-position: center;
}

.case-image3 {
    height: 200px;
    background-color: #e0e0e0;
    background-image: url('/images/product3.jpg');
    background-size: cover;
    background-position: center;
}

.case-image4 {
    height: 200px;
    background-color: #e0e0e0;
    background-image: url('/images/product4.jpg');
    background-size: cover;
    background-position: center;
}

.case-content {
    padding: 30px;
}

.case-content h3 {
    font-size: 24px;
    margin-bottom: 5px;
    color: #333;
}

.case-category {
    color: #2980b9;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.case-stats {
    display: flex;
    margin-bottom: 20px;
}

.stat {
    margin-right: 30px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #2980b9;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

.case-desc {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

.case-solution h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.case-solution ul {
    padding-left: 20px;
}

.case-solution ul li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
    color: #666;
}

.case-solution ul li:before {
    content: '•';
    color: #2980b9;
    position: absolute;
    left: 0;
}

.testimonials {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    color: #333;
}

.testimonial {
    background-color: #fff;
    border-radius: 6px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.testimonial-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 30px;
}

.testimonial-content:before {
    content: '"';
    font-size: 50px;
    color: #2980b9;
    position: absolute;
    left: 0;
    top: -10px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: bold;
    color: #333;
    font-size: 18px;
}

.author-position {
    color: #666;
    font-size: 14px;
}

/* 联系页面样式 */
.contact-info {
    padding: 80px 0;
    background-color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 50px;
}

.contact-details h2,
.contact-form-container h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
    position: relative;
    padding-bottom: 10px;
}

.contact-details h2:after,
.contact-form-container h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #2980b9;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 24px;
    margin-right: 20px;
    color: #2980b9;
}

.contact-text h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.contact-text p {
    color: #666;
}

.contact-form .form-group {
    margin-bottom: 20px;
    flex: 0 0 calc(50% - 10px);
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.full-width {
    flex: 0 0 100%;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn {
    margin-top: 10px;
}

.map-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
    color: #333;
}

.map-container {
    height: 400px;
    background-color: #e0e0e0;
    margin-bottom: 30px;
    border-radius: 6px;
    overflow: hidden;
}

.map-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 18px;
    color: #666;
}

.location-tips h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.location-tips ul li {
    margin-bottom: 10px;
    color: #666;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-info {
    flex: 0 0 60%;
}

.footer-info h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-info p {
    color: #ccc;
    margin-bottom: 8px;
}

.footer-links {
    flex: 0 0 30%;
}

.footer-links h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #2980b9;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.copyright p {
    font-size: 14px;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .process-steps {
        flex-direction: column;
    }

    .step {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }

    .step:not(:last-child):after {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    .logo {
        margin-bottom: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px 10px;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .feature-grid,
    .values-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-info,
    .footer-links {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .section-title,
    .section-intro h2,
    .cta h2,
    .page-header h2 {
        font-size: 28px;
    }

    .contact-form .form-group {
        flex: 0 0 100%;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }
}
