/* 公司历史时间轴样式 - 左右切换设计 */
.history-section {
    padding: 80px 0;
    background: url('../img/hs-bg.jpg') center center no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
}



.history-container {
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.history-timeline-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
}

/* 箭头按钮 */
.timeline-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.5);
}

.timeline-arrow:hover {
    background: rgba(235, 92, 32, 0.2);
    border-color: rgba(235, 92, 32, 0.5);
    color: #ec6f01;
    transform: scale(1.1);
}

.timeline-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* 时间轴容器 */
.history-timeline {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding: 60px 0;
}

/* 时间轴横线 */
.timeline-line {
    position: absolute;
    top: 67px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        rgba(235, 92, 32, 0.3) 0%, 
        rgba(235, 92, 32, 0.8) 50%, 
        rgba(235, 92, 32, 0.3) 100%);
    z-index: 1;
}

/* 时间轴轨道 */
.timeline-track {
    display: flex;
    transition: transform 0.5s ease;
    position: relative;
}

/* 时间轴项目 */
.timeline-item {
    flex: 0 0 auto;
    width: 280px;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

/* 时间轴圆点 */
.timeline-dot {
    width: 14px;
    height: 14px;
    background: #ec6f01;
    border-radius: 50%;
    margin: 0 auto 18px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 5px rgba(235, 92, 32, 0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.4);
    box-shadow: 0 0 0 8px rgba(235, 92, 32, 0.3);
}

/* 年份 */
.timeline-year {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    font-family: 'Arial', sans-serif;
    letter-spacing: 1px;
}

/* 内容 */
.timeline-content {
    padding: 0 10px;
}

.timeline-content p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 8px 0;
    transition: color 0.3s ease;
}

.timeline-item:hover .timeline-content p {
    color: rgba(255, 255, 255, 0.95);
}

/* 移动端适配 */
@media screen and (max-width: 1024px) {
    .timeline-item {
        width: 240px;
    }
    
    .timeline-year {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .timeline-content p {
        font-size: 13px;
    }
    
    .timeline-line {
        top: 60px;
    }
}

@media screen and (max-width: 768px) {
    .history-section {
        padding: 60px 0;
    }
    
    .history-container {
        padding: 0 20px;
    }
    
    .history-timeline-wrapper {
        gap: 15px;
    }
    
    .timeline-arrow {
        width: 40px;
        height: 40px;
    }
    
    .timeline-arrow svg {
        width: 30px;
        height: 30px;
    }
    
    .history-timeline {
        padding: 40px 0;
    }
    
    .timeline-item {
        width: 200px;
        padding: 0 15px;
    }
    
    .timeline-dot {
        width: 12px;
        height: 12px;
        margin-bottom: 15px;
    }
    
    .timeline-year {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .timeline-content p {
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 6px;
    }
    
    .timeline-line {
        top: 47px;
    }
}

@media screen and (max-width: 480px) {
    .timeline-item {
        width: 180px;
        padding: 0 10px;
    }
    
    .timeline-year {
        font-size: 20px;
    }
    
    .timeline-content p {
        font-size: 11px;
    }
    
    .timeline-line {
        top: 43px;
    }
}
