/* services.css - 服务内容页面样式 */

/* 页面标题样式 */
.page-header {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    color: #666;
}

/* 服务概述样式 */
.services-overview {
    text-align: center;
    padding: 40px 0;
    margin-bottom: 60px;
}

.services-overview h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.services-overview h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #007bff;
}

.services-overview p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 服务区块通用样式 */
.service-section {
    padding: 80px 0;
    border-bottom: 1px solid #eaeaea;
}

.service-section:last-child {
    border-bottom: none;
}

.service-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.service-content.reverse {
    flex-direction: row-reverse;
}

.service-text {
    flex: 1;
    min-width: 300px;
}

.service-text h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.service-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #007bff;
}

.service-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-text ul {
    margin-bottom: 30px;
}

.service-text li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    color: #666;
    font-size: 1.05rem;
}

.service-text li i {
    color: #007bff;
    margin-right: 10px;
    margin-top: 5px;
    flex-shrink: 0;
}

.service-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.service-image img:hover {
    transform: scale(1.02);
}

/* 服务流程样式 */
.service-process {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.service-process h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.service-process h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #007bff;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    position: relative;
}

/* 连接线 - 桌面版 */
@media (min-width: 768px) {
    .process-steps::before {
        content: '';
        position: absolute;
        top: 50px;
        left: 10%;
        right: 10%;
        height: 2px;
        background-color: #eaeaea;
        z-index: 0;
    }
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 100px;
    height: 100px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.process-step h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 10px;
}

.process-step p {
    color: #666;
    font-size: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .service-content,
    .service-content.reverse {
        flex-direction: column;
    }
    
    .service-text h2,
    .services-overview h2,
    .service-process h2 {
        font-size: 1.8rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .step-number {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 40px 0;
    }
    
    .service-section,
    .service-process {
        padding: 60px 0;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
}