/**
 * 绿鸟软件 - 服务页面专用样式
 * 
 * 本文件包含所有与服务页面相关的特定样式：
 * - 页面横幅
 * - 服务详情布局
 * - 服务特性网格
 * - 客户案例卡片
 * - 服务流程步骤
 * - 响应式设计调整
 */

/* 全局变量 */
:root {
    --primary-color: #2ecc71;
    --secondary-color: #27ae60;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --gray-color: #95a5a6;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* 页面横幅 */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 120px 0 60px;
    color: white;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease-out;
}

.page-banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 服务详情 */
.service-details {
    padding: 80px 0;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
    align-items: center;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-item.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.service-item.reverse .service-content {
    direction: ltr;
}

.service-image img {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    width: 100%;
}

.service-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.service-content p {
    margin-bottom: 30px;
    color: var(--gray-color);
}

.service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.feature {
    display: flex;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(46, 204, 113, 0.1);
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 20px;
    color: var(--primary-color);
}

.feature-text h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-text p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* 客户案例 */
.case-studies {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-10px);
}

.case-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.case-content p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* 服务流程 */
.service-process {
    padding: 80px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(46, 204, 113, 0.1);
    position: absolute;
    top: 20px;
    right: 20px;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step-content p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* Call To Action 区域样式 */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta .btn-primary {
    background-color: white;
    color: var(--primary-color);
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.cta .btn-primary:hover {
    background-color: var(--dark-color);
    color: white;
    transform: translateY(-3px);
}

/* 响应式调整 */
@media (max-width: 991px) {
    .service-item, .service-item.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        direction: ltr;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .service-content h2 {
        font-size: 1.8rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .feature {
        flex-direction: column;
    }
    
    .feature-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .page-banner p {
        font-size: 1rem;
    }
} 