/* 服务页面样式表
* 基于Bootstrap 5定制
* 设计色彩: 蓝色, 黑色, 灰色, 白色
* 字体: 思源黑体, 微软雅黑
*/

/* 服务页面主容器 */
.services-main {
    min-height: 100vh;
    background: #f8f9fa;
}

/* 服务页面横幅样式 */
.services-hero {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.services-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.services-hero .hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* 核心服务总览区 */
.services-overview {
    padding: 80px 0;
    background: #f8f9fa;
}

/* 服务卡片样式 */
.service-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    margin-bottom: 0;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #0056b3);
    transition: left 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #0d6efd;
}

.service-card:hover::before {
    left: 0;
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
}

.service-description {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 0;
    font-size: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: #495057;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0d6efd;
    font-weight: bold;
}

.service-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #0d6efd;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-cta:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 991px) {
    .services-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .services-hero .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .services-overview {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .services-hero .hero-title {
        font-size: 2rem;
    }
    
    .services-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .services-hero {
        padding: 100px 0 60px;
    }
    
    .services-overview {
        padding: 40px 0;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-icon {
        font-size: 3rem;
    }
    
    .service-title {
        font-size: 1.25rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

/* 延迟动画效果 */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

/* 服务卡片展开提示 */
.service-expand-hint {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-expand-hint {
    color: #0d6efd;
}

.expand-icon {
    transition: transform 0.3s ease;
}

.service-card.active .expand-icon {
    transform: rotate(180deg);
}

.service-card.active {
    border-color: #0d6efd;
    background: linear-gradient(135deg, #f8f9ff 0%, #e9ecef 100%);
}

/* 服务详情面板容器 */
.service-details-container {
    margin-top: 2rem;
}

/* 服务详情面板 */
.service-detail-panel {
    background: #fff;
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-detail-panel.active {
    opacity: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 详情内容 */
.detail-content {
    padding: 3rem 2rem;
}

.detail-header {
    margin-bottom: 2rem;
    text-align: center;
}

.detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0;
}

.detail-icon {
    font-size: 2.5rem;
}

.detail-body {
    max-width: 900px;
    margin: 0 auto;
}

.detail-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 2rem;
    text-align: justify;
}

/* 子服务列表 */
.detail-subservices {
    margin-bottom: 2rem;
}

.subservices-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 1.5rem;
}

.subservices-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.subservices-list li {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    border-left: 4px solid #0d6efd;
    color: #495057;
    font-weight: 500;
    transition: all 0.3s ease;
}

.subservices-list li:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

/* 咨询按钮 */
.detail-cta {
    text-align: center;
    margin-top: 2rem;
}

.consult-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.consult-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
}

.consult-btn .btn-icon {
    font-size: 1.2rem;
}

/* 响应式设计调整 */
@media (max-width: 768px) {
    .detail-content {
        padding: 2rem 1rem;
    }
    
    .detail-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .detail-icon {
        font-size: 2rem;
    }
    
    .detail-description {
        font-size: 1rem;
    }
    
    .subservices-title {
        font-size: 1.25rem;
    }
    
    .subservices-list {
        grid-template-columns: 1fr;
    }
    
    .consult-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* 服务流程区块 */
.service-process-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.service-process-section .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
}

.service-process-section .section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 3rem;
}

/* 流程时间轴 */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
    z-index: 1;
}

.step-content {
    flex: 1;
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.75rem;
}

.step-description {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.step-connector {
    position: absolute;
    left: 40px;
    top: 80px;
    width: 2px;
    height: 2rem;
    background: linear-gradient(180deg, #0d6efd 0%, #e9ecef 100%);
}

/* 响应式设计调整 - 服务流程 */
@media (max-width: 768px) {
    .service-process-section {
        padding: 60px 0;
    }
    
    .service-process-section .section-title {
        font-size: 2rem;
    }
    
    .service-process-section .section-subtitle {
        font-size: 1rem;
    }
    
    .process-timeline {
        gap: 1.5rem;
    }
    
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 1.25rem;
    }
    
    .step-content {
        width: 100%;
        padding: 1.25rem;
    }
    
    .step-icon {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .step-title {
        font-size: 1.25rem;
    }
    
    .step-description {
        font-size: 0.9rem;
    }
    
    .step-connector {
        display: none;
    }
}