/* 公司简介页面样式 */

/* 页面横幅 */
.page-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../static/images/banner-bg.jpg') no-repeat center center/cover;
    color: white;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    margin-top: 75px; /* 为固定导航栏留出空间 */
}

.banner-content {
    max-width: 800px;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-banner p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 公司介绍部分 */
.company-intro {
    padding: 5rem 2rem;
    background: white;
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
}

.intro-header {
    text-align: center;
    margin-bottom: 3rem;
}

.intro-header h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.separator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.separator span {
    height: 3px;
    width: 80px;
    background-color: #14c45d;
    display: block;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
}

.intro-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.intro-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.intro-image:hover img {
    transform: scale(1.05);
}

.intro-text {
    flex: 1;
}

.intro-text p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
}

.intro-text .highlight {
    font-size: 1.1rem;
    color: #333;
    border-left: 3px solid #14c45d;
    padding-left: 1rem;
    font-weight: 500;
}

/* 我们的优势部分 */
.our-advantages {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.advantages-container {
    max-width: 1200px;
    margin: 0 auto;
}

.advantages-header {
    text-align: center;
    margin-bottom: 3rem;
}

.advantages-header h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.advantage-icon {
    font-size: 2.5rem;
    color: #14c45d;
    margin-bottom: 1.5rem;
}

.advantage-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.advantage-card p {
    color: #666;
    line-height: 1.6;
}



/* 联系我们 CTA */
.contact-cta {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../static/images/contact-bg.jpg') no-repeat center center/cover;
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #14c45d;
    color: white;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background: #0e9c31;
    transform: translateY(-3px);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .intro-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .intro-image {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .services-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-banner h1 {
        font-size: 2.5rem;
    }
    
    .intro-header h2,
    .advantages-header h2,
    .services-header h2 {
        font-size: 2rem;
    }
    
    .service-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .service-icon {
        margin-bottom: 1rem;
    }
    
    .contact-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .advantage-card,
    .service-item {
        padding: 1.5rem;
    }
}

/* 移动端响应式设计 */
@media (max-width: 768px) {
    .hero {
        height: 40vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .company-intro {
        padding: 3rem 1rem;
    }
    
    .intro-header h2 {
        font-size: 1.8rem;
    }
    
    .intro-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .intro-image {
        order: 1;
    }
    
    .intro-text {
        order: 2;
    }
    
    .intro-image img {
        max-width: 100%;
        height: auto;
    }
    
    .contact-cta {
        padding: 3rem 1rem;
    }
    
    .cta-container h2 {
        font-size: 1.8rem;
    }
    
    .cta-container p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 35vh;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .company-intro {
        padding: 2rem 1rem;
    }
    
    .contact-cta {
        padding: 2rem 1rem;
    }
    
    .intro-header h2 {
        font-size: 1.5rem;
    }
    
    .cta-container h2 {
        font-size: 1.5rem;
    }
    
    .highlight {
        font-size: 1.1rem;
    }
    
    .intro-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* 触摸优化 */
@media (max-width: 768px) {
    .cta-button {
        min-height: 44px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
    
    /* 优化文本可读性 */
    .intro-text p {
        margin-bottom: 1rem;
    }
    
    .highlight {
        font-size: 1.2rem;
        line-height: 1.6;
    }
}