/**
 * 业务流程设计区块样式
 * Business Process Block Styles
 */

.business-process-block {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.business-process-block .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.process-header {
    text-align: left;
    margin-bottom: 60px;
}

.process-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 16px;
    line-height: 1.2;
}

.process-subtitle {
    font-size: 1.125rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* 主要内容区域 */
.process-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* 左侧Tab标签区域 */
.process-tabs {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
}

.process-tab {
    display: flex;
    align-items: center;
    padding: 24px 0;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e9ecef;
    position: relative;
}

.process-tab:hover {
    background: rgba(0, 149, 123, 0.02);
}

.process-tab.active {
    background: rgba(0, 149, 123, 0.05);
    border-left: 4px solid #00957b;
    padding-left: 16px;
}

.tab-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00957b;
    margin-right: 24px;
    min-width: 70px;
    text-align: left;
    transition: color 0.3s ease;
    line-height: 1;
}

.process-tab.active .tab-number {
    color: #00957b;
}

.process-tab:last-child {
    border-bottom: none;
}

.tab-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tab-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.process-tab.active .tab-title {
    color: #00957b;
}

.tab-description {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.process-tab.active .tab-description {
    color: #6c757d;
}

.tab-arrow {
    margin-left: 20px;
    color: #00957b;
    transition: all 0.3s ease;
    opacity: 0.7;
    font-size: 1.1rem;
    transform: translateX(-14px);
}

.process-tab.active .tab-arrow {
    color: #00957b;
    opacity: 1;
    transform: translateX(-14px);
}

/* 右侧图片显示区域 */
.process-images {
    position: relative;
    height: 500px;
}

.process-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-image.active {
    opacity: 1;
}

.process-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .business-process-block {
        padding: 60px 0;
    }
    
    .process-content {
        gap: 40px;
    }
    
    .process-images {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .business-process-block {
        padding: 40px 0;
    }
    
    .business-process-block .container {
        padding: 0 16px;
    }
    
    .process-header {
        margin-bottom: 40px;
        text-align: left;
    }
    
    .process-title {
        font-size: 2rem;
    }
    
    .process-subtitle {
        font-size: 1rem;
    }
    
    .process-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .process-tabs {
        gap: 16px;
    }
    
    .process-tab {
        padding: 20px;
    }
    
    .tab-number {
        font-size: 1.5rem;
        margin-right: 16px;
        min-width: 50px;
    }
    
    .tab-title {
        font-size: 1.125rem;
    }
    
    .tab-description {
        font-size: 0.8125rem;
    }
    
    .process-images {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .process-tab {
        padding: 16px;
        flex-direction: column;
        text-align: center;
    }
    
    .tab-number {
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .tab-arrow {
        margin-left: 0;
        margin-top: 12px;
        transform: rotate(90deg);
    }
    
    .process-tab.active .tab-arrow {
        transform: rotate(90deg) translateX(4px);
    }
    
    .process-images {
        height: 250px;
    }
}

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

.business-process-block.animate-in .process-header,
.business-process-block.animate-in .process-tab,
.business-process-block.animate-in .process-images {
    animation: fadeInUp 0.6s ease forwards;
}

.business-process-block.animate-in .process-tab:nth-child(1) {
    animation-delay: 0.1s;
}

.business-process-block.animate-in .process-tab:nth-child(2) {
    animation-delay: 0.2s;
}

.business-process-block.animate-in .process-tab:nth-child(3) {
    animation-delay: 0.3s;
}

.business-process-block.animate-in .process-tab:nth-child(4) {
    animation-delay: 0.4s;
}

.business-process-block.animate-in .process-images {
    animation-delay: 0.5s;
}

/* 打印样式 */
@media print {
    .business-process-block {
        background: #ffffff;
        padding: 20px 0;
    }
    
    .process-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-tab {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .process-images {
        height: 300px;
        box-shadow: none;
    }
}