/* 关于我们页面样式 */
.about-hero {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #0a1929 0%, #1a2b3f 50%, #0d47a1 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/about/01.png');
    background-position: center;
    background-size: cover;
    opacity: 1;
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-align: center;
    display: none;
}

/* 实力建设 */
.about-stats-section {
    padding: 80px 0;
    background: #fff;
}

.about-stats-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 60px;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.about-stat-item {
    text-align: center;
}

.about-stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #e60012;
    margin-bottom: 10px;
    display: block;
}

.about-stat-label {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 关于我们介绍 */
.about-intro-section {
    padding: 100px 0;
    background: #f5f5f5;
}

.about-intro-content {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
}

.about-intro-left {
    flex: 0 0 400px;
    text-align: center;
}

.about-intro-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.about-intro-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.about-intro-right {
    flex: 1;
}

.about-intro-text {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 发展历程 */
.about-timeline-section {
    padding: 100px 0;
    background: #000000;
}

.about-timeline-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

/* 卡片容器：固定高度 + 绝对定位切换，彻底避免轮播闪烁 */
.timeline-cards-wrapper {
    max-width: 1400px;
    margin: 0 auto 60px;
    position: relative;
    overflow: hidden;
}

.timeline-cards-container {
    position: relative;
    min-height: 470px;
    height: 470px;
}

/* 两页始终存在、叠放，仅用透明度切换，不触发 reflow */
.timeline-cards {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 450px;
    gap: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.timeline-cards.active {
    position: absolute;
    opacity: 1;
    pointer-events: auto;
}

/* 至今卡片占两列 */
.timeline-card-span-2 {
    grid-column: span 2;
}

/* 卡片样式：固定高度与第一页一致，第二页三张卡同高 */
.timeline-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    height: 450px;
    min-height: 450px;
    max-height: 450px;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 290px;
    height: 2px;
    background: #e60012;
}

.timeline-card:hover {
    background: #e60012;
    color: #fff;
    border-radius: 8px;
}

.timeline-card.placeholder {
    background: transparent !important;
}

.timeline-card.placeholder::before {
    display: none;
}

.timeline-card-year {
    font-size: 48px;
    font-weight: 700;
    color: #e60012;
    margin-bottom: 20px;
}

.timeline-card:hover .timeline-card-year {
    color: #fff;
}

.timeline-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.4;
}

.timeline-card:hover .timeline-card-title {
    color: #fff;
}

/* 描述区域：从下往上优雅滑入，使用固定空间避免高度突变 */
.timeline-card-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin: 0;
    flex: 1;
    min-height: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(28px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-card:hover .timeline-card-desc {
    color: rgba(255, 255, 255, 0.95);
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 15px;
}

/* 时间轴导航 */
.timeline-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-top: 80px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.timeline-arrow {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #555;
    color: #888;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

.timeline-arrow:hover {
    border-color: #e60012;
    color: #e60012;
    background: rgba(230, 0, 18, 0.1);
}

/* 时间轴轨道 */
.timeline-track {
    position: relative;
    flex: 1;
    height: 50px;
    display: flex;
    align-items: center;
}

.timeline-line {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, #333 0%, #555 50%, #333 100%);
    z-index: 1;
}

.timeline-dots {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 50px;
}

.timeline-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding-top: 43px;
}

.timeline-dot::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #555;
    border: 2px solid #1a1a1a;
    transition: all 0.3s ease;
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-dot span {
    font-size: 14px;
    color: #888;
    font-weight: 400;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* 我们的优势 */
.about-advantages-section {
    padding: 100px 0;
    background: #f5f5f5;
}

.about-advantages-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    padding-bottom: 20px;
}

.about-advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.about-advantage-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.about-advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(230,0,18,0.15);
}

.about-advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-advantage-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}

.about-advantage-text {
    font-size: 16px;
    color: #666;
    line-height: 2;
    text-align: justify;
}

/* 仓储与物流 */
.about-warehouse-section {
    padding: 100px 0;
    background: url('../images/about/08.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-warehouse-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    padding-bottom: 20px;
}

.about-warehouse-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    gap: 40px;
}

.about-warehouse-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 200px;
}

.about-warehouse-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.about-warehouse-item:nth-child(2)::before {
    background: linear-gradient(to left, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.about-warehouse-content {
    padding: 40px;
    position: relative;
    z-index: 2;
    max-width: 65%;
}

.about-warehouse-item:nth-child(2) .about-warehouse-content {
    margin-left: auto;
    text-align: right;
}

.about-warehouse-item-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px 0;
}

.about-warehouse-item-text {
    font-size: 16px;
    color: #fff;
    line-height: 2;
    text-align: left;
}

.about-warehouse-item:nth-child(2) .about-warehouse-item-text {
    text-align: right;
}

/* 响应式 */
@media (max-width: 1200px) {
    .about-stats-grid {
        gap: 30px;
    }
    
    .about-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .about-intro-content {
        flex-direction: column;
        gap: 50px;
    }
    
    .about-intro-left {
        flex: none;
        width: 100%;
    }
    
    .about-advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .about-warehouse-item {
        min-height: 180px;
    }

    .about-warehouse-content {
        max-width: 100%;
    }

    .about-warehouse-item:nth-child(2) .about-warehouse-content {
        text-align: left;
    }

    .about-warehouse-item:nth-child(2) .about-warehouse-item-text {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 150px;
    }
    
    .about-hero h1 {
        font-size: 36px;
    }
    
    .about-stats-section,
    .about-intro-section,
    .about-timeline-section,
    .about-advantages-section,
    .about-warehouse-section {
        padding: 60px 0;
    }
    
    .about-stats-title,
    .about-stats-title,
    .about-timeline-title,
    .about-advantages-title,
    .about-warehouse-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .about-stat-number {
        font-size: 32px;
    }
    
    .about-intro-content {
        gap: 30px;
    }
    
    .timeline-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .timeline-card {
        min-height: auto;
    }
    
    /* 移动端默认显示所有内容 */
    .timeline-card-desc {
        max-height: none;
        opacity: 1;
        transform: translateY(0);
        margin-top: 15px;
    }
    
    .timeline-nav {
        flex-direction: column;
        gap: 30px;
    }
    
    .timeline-track {
        order: -1;
        width: 100%;
        max-width: 100%;
    }
    
    .timeline-arrow {
        width: 45px;
        height: 45px;
    }
    
    .timeline-dots {
        padding: 0 20px;
    }
    
    .timeline-dot span {
        font-size: 11px;
    }
    
    .timeline-dot.active span {
        font-size: 13px;
    }
    
    .about-advantages-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-warehouse-content {
        padding: 30px 25px;
    }
}
