/* 服务页面样式 */

/* 页面标题 */
.page-title {
    background: linear-gradient(45deg, #0066cc, #004d99);
    padding: 80px 0;
    color: #fff;
    text-align: center;
}

.page-title h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    color: #fff;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 服务概述 */
.service-overview {
    padding: 80px 0;
    background: transparent; /* 露出方案A灰蓝底 */
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #666;
    line-height: 1.6;
}

/* 服务卡片网格布局（固定 2x2；小屏改为单列） */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    align-items: stretch;
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.60);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    backdrop-filter: saturate(1.05) blur(2px);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* 服务流程 */
.service-process {
    padding: 80px 0;
    background: transparent;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

/* 添加连接线 */
.process-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.60);
    padding: 0 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    backdrop-filter: saturate(1.05) blur(2px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: #0066cc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
}

.process-step h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 服务详情 */
.service-detail {
    padding: 80px 0;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.service-detail:nth-child(even) {
    background: transparent;
}

.service-detail:nth-child(even) .service-content {
    flex-direction: row-reverse;
}

.service-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-text {
    flex: 1;
    padding: 2rem;
}

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

.service-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: #0066cc;
}

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

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

.service-features li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1rem;
    color: #666;
    font-size: 1.05rem;
}

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

.service-image {
    flex: 1;
    position: relative;
}

.service-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.btn-more {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-more:hover {
    background: #0052a3;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .process-steps::before {
        display: none;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    
    .process-step {
        width: 100%;
        max-width: 300px;
    }

    .service-content {
        flex-direction: column;
        gap: 2rem;
        padding: 0 15px;
    }

    .service-detail:nth-child(even) .service-content {
        flex-direction: column;
    }

    .service-text {
        padding: 1rem 0;
    }

    .service-text h2 {
        font-size: 1.8rem;
    }

    .service-text p {
        font-size: 1rem;
    }

    .service-features li {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .page-title {
        padding: 60px 0;
    }

    .page-title h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        font-size: 2rem;
    }

    .service-text h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    .process-step {
        padding: 1rem;
    }
}

/* 下拉菜单 */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    z-index: 1000;
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 15px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
}

.menu-thumbnail {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.menu-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-text {
    flex: 1;
}

.menu-text h4 {
    margin: 0 0 5px;
    font-size: 16px;
    color: #333;
}

.menu-text p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* 移动端样式优化 */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        display: none;
        min-width: auto;
        box-shadow: none;
        padding: 0;
        background: transparent;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 10px 20px;
    }

    .menu-thumbnail {
        width: 40px;
        height: 40px;
    }

    .menu-text h4 {
        font-size: 14px;
    }

    .menu-text p {
        font-size: 12px;
    }

    .service-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-content.reverse {
        direction: ltr;
    }

    .service-image {
        order: -1;
    }

    .service-text {
        text-align: center;
    }

    .service-features {
        display: inline-block;
        text-align: left;
    }

    .process-timeline::before {
        left: 20px;
    }

    .process-step {
        padding-left: 60px;
    }

    .step-icon {
        left: 0;
    }
}

/* 无障碍支持 */
@media (prefers-reduced-motion: reduce) {
    .service-card,
    .dropdown-menu,
    .btn-more {
        transition: none;
    }
}

/* 高对比度模式支持 */
@media (forced-colors: active) {
    .service-card,
    .advantage-item,
    .dropdown-menu {
        border: 1px solid ButtonText;
    }

    .service-icon i,
    .step-icon i {
        forced-color-adjust: none;
    }
}

/* 暗色主题支持 */
@media (prefers-color-scheme: dark) {
    .page-title {
        background-color: #2a2a2a;
    }

    .page-title h1,
    .breadcrumb a {
        color: #fff;
    }

    .breadcrumb {
        color: #ccc;
    }

    .service-card,
    .advantage-item,
    .dropdown-menu {
        background: #333;
    }

    .service-card h3,
    .advantage-item h3,
    .menu-text h4 {
        color: #fff;
    }

    .service-card p,
    .advantage-item p,
    .menu-text p {
        color: #ccc;
    }

    .dropdown-menu a:hover {
        background-color: #444;
    }
} 