/* 
 * 速维管家 - 服务页面专用样式
 * 用于services.html页面的额外样式
 */

/* 页面标题区样式 */
.page-header {
    background: linear-gradient(120deg, rgba(0, 83, 162, 0.9), rgba(30, 136, 229, 0.8)), url('../images/service-header-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    text-align: center;
    padding: 70px 0 90px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.page-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to right bottom, transparent 49%, #ffffff 50%);
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: var(--padding-md);
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

.page-header h1::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 15px auto 0;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* 服务概述区样式 */
.service-overview {
    background-color: var(--light-bg);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--padding-xl);
    align-items: center;
}

.overview-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--padding-md);
}

.overview-text p {
    margin-bottom: var(--padding-md);
    line-height: 1.7;
}

.overview-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: var(--padding-lg);
}

.overview-features li {
    display: flex;
    align-items: center;
}

.overview-features li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.overview-image img {
    width: 100%;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow);
}

/* 服务分类样式 */
.service-categories {
    padding-bottom: var(--padding-xl);
}

.service-category {
    margin-bottom: var(--padding-xl);
    padding: var(--padding-lg);
    background-color: var(--light-bg);
    border-radius: var(--border-radius-md);
}

.category-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--padding-lg);
    align-items: center;
}

.category-content.reverse {
    grid-template-columns: 1.5fr 1fr;
}

.category-image img {
    width: 100%;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow);
}

.category-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: var(--padding-md);
    display: flex;
    align-items: center;
}

.category-text h3 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.category-text p {
    margin-bottom: var(--padding-md);
    line-height: 1.6;
}

.service-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--padding-md);
    margin-top: var(--padding-md);
}

.service-detail-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
}

.service-detail-item ul {
    list-style: disc;
    padding-left: 20px;
}

.service-detail-item ul li {
    margin-bottom: 8px;
    color: var(--text-color);
}

/* 服务流程样式 */
.service-process {
    background-color: var(--light-bg);
    padding: var(--padding-xl) 0;
}

.process-steps {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: calc(var(--padding-lg) + 10px);
    overflow-x: auto;
    padding: 10px 5px 20px;
}

.process-step {
    background-color: #ffffff;
    padding: 20px 10px 15px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow);
    text-align: center;
    flex: 0 0 auto;
    min-width: 120px;
    max-width: 150px;
    position: relative;
    transition: transform 0.3s;
    margin-top: 15px;
    border: 1px solid #eaeaea;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background-color: #FF8C00;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1rem;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.step-icon {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 12px 0;
}

.process-step h3 {
    margin-bottom: 6px;
    font-size: 1rem;
}

.process-step p {
    color: var(--gray-text);
    font-size: 0.8rem;
    line-height: 1.3;
}

/* 服务标准样式 */
.service-standards {
    padding: var(--padding-xl) 0;
}

.standards-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--padding-md);
}

.standard-card {
    background-color: var(--light-bg);
    padding: var(--padding-lg);
    border-radius: var(--border-radius-md);
    text-align: center;
    transition: all 0.3s;
}

.standard-card:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.standard-card:hover .standard-icon {
    background-color: var(--light-text);
    color: var(--primary-color);
}

.standard-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-text);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto var(--padding-md);
    font-size: 1.8rem;
    transition: all 0.3s;
}

.standard-card h3 {
    font-size: 1.3rem;
    margin-bottom: var(--padding-md);
}

.standard-card p {
    margin-bottom: 8px;
}

/* 常见问题样式 */
.faq {
    background-color: var(--light-bg);
    padding: var(--padding-xl) 0;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: #ffffff;
    border-radius: var(--border-radius-md);
    margin-bottom: var(--padding-md);
    overflow: hidden;
}

.faq-question {
    padding: var(--padding-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f0f7ff;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
}

.faq-toggle {
    color: var(--primary-color);
    font-size: 1rem;
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 var(--padding-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    padding: 0 var(--padding-md) var(--padding-md);
    max-height: 200px;
}

/* 服务CTA区域样式 */
.service-cta {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    text-align: center;
    padding: var(--padding-xl) 0;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: var(--padding-md);
}

.cta-content p {
    margin-bottom: var(--padding-lg);
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--padding-md);
}

/* 滑动提示样式 */
.scroll-hint {
    text-align: center;
    color: #777;
    font-size: 0.9rem;
    margin: 0 0 10px;
    display: none; /* 默认隐藏 */
}

/* 响应式设计 */
@media (max-width: 992px) {
    .overview-content,
    .category-content,
    .category-content.reverse {
        grid-template-columns: 1fr;
        gap: var(--padding-md);
    }

    .service-details {
        grid-template-columns: 1fr;
    }

    .process-steps {
        padding-bottom: 15px;
        margin-bottom: 10px;
        position: relative;
    }
    
    .process-steps::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 30px;
        background: linear-gradient(to right, rgba(240, 240, 240, 0), rgba(240, 240, 240, 0.8));
        pointer-events: none;
        z-index: 1;
    }

    .process-steps::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 30px;
        background: linear-gradient(to left, rgba(240, 240, 240, 0), rgba(240, 240, 240, 0.8));
        pointer-events: none;
        z-index: 1;
    }

    .process-step {
        min-width: 120px;
        padding: 20px 8px 15px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .scroll-hint {
        display: block; /* 在移动设备上显示 */
    }
}

@media (max-width: 768px) {
    .overview-features {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }

    .category-text h3 {
        font-size: 1.5rem;
    }
    
    .standards-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
} 