/* footprint.css - 历史足迹页面专用样式 */
.page-container {
    padding-top: 116px;
}

/* 英雄区域 */
.hero-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-overlay {
    background: linear-gradient(135deg, 
        rgba(52, 150, 224, 0.85) 0%, 
        rgba(0, 68, 148, 0.8) 50%, 
        rgba(0, 168, 232, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-icon {
    margin-bottom: 30px;
}

.hero-icon .iconfont {
    font-size: 4rem;
    opacity: 0.9;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 内容区块 */
.content-section {
    padding: 100px 0;
}

.bg-light {
    background: #f8f9fa;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.center {
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
}

.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    margin: 0 auto;
}

/* 合作伙伴区块 */
.partners-section {
    padding: 100px 0;
}

.partners-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 60px;
}

/* 历史图片 */
.history-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.history-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* 视频网格 - 一行2个 */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.video-thumbnail {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play:hover {
    background: var(--primary);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play:hover .iconfont {
    color: white;
}

.video-play .iconfont {
    font-size: 2rem;
    color: var(--primary);
    margin-left: 5px;
}

.video-info {
    padding: 25px;
}

.video-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #333;
}

.video-desc {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 合作伙伴三行滚动样式 - 只用于合作单位 */
.multi-row-partners {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.partners-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.partners-row {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 5px 0;
}

.partners-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: seamlessScroll 60s linear infinite;
}

.partner-item {
    flex-shrink: 0;
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.12);
}

.partner-item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

/* 合作单位 - 一行5个 */
#partners .partner-item {
    width: 180px;
    height: 100px;
}

#partners .partner-item img {
    max-height: 60px;
}

/* 合作媒体 - 静态网格布局 */
#media {
    background: #f8f9fa;
}

.media-static-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.media-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    width: 140px;
    height: 80px;
    margin: 0 auto;
}

.media-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.media-item img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
}

/* 无缝滚动动画 - 仅用于合作单位 */
@keyframes seamlessScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 鼠标悬停时暂停整个区块的动画 */
.multi-row-partners:hover .partners-track {
    animation-play-state: paused;
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .media-static-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 25px;
    }
}

@media (max-width: 1200px) {
    .multi-row-partners {
        max-width: 1200px;
    }
    
    #partners .partner-item {
        width: 160px;
        height: 90px;
    }
    
    .media-static-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
    
    .media-item {
        width: 150px;
        height: 70px;
        padding: 12px;
    }
    
    .media-item img {
        max-height: 45px;
    }
    
    .video-popup-content {
        width: 95%;
    }
}

@media (max-width: 992px) {
    .multi-row-partners {
        max-width: 768px;
    }
    
    #partners .partner-item {
        width: 150px;
        height: 85px;
    }
    
    .media-static-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .media-item {
        width: 140px;
        height: 65px;
        padding: 10px;
    }
    
    .media-item img {
        max-height: 40px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .history-image img {
        height: 400px;
    }
    
    .video-container video {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .multi-row-partners {
        max-width: 576px;
    }
    
    #partners .partner-item {
        width: 130px;
        height: 75px;
    }
    
    .media-static-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .media-item {
        width: 120px;
        height: 60px;
        padding: 8px;
    }
    
    .media-item img {
        max-height: 35px;
    }
    
    .hero-banner {
        height: 400px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .content-section {
        padding: 80px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .video-popup-content {
        width: 95%;
        max-width: 95%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-height: 85vh;
    }
    
    .video-container video {
        height: 300px;
    }
    
    .video-popup-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    .media-static-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .media-item {
        width: 130px;
        height: 65px;
    }
}

@media (max-width: 480px) {
    .multi-row-partners {
        max-width: 100%;
        padding: 0 15px;
    }
    
    #partners .partner-item {
        width: 120px;
        height: 70px;
        padding: 15px;
    }
    
    #partners .partner-item img {
        max-height: 50px;
    }
    
    .media-static-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .media-item {
        width: 110px;
        height: 55px;
        padding: 8px;
    }
    
    .media-item img {
        max-height: 30px;
    }
    
    .hero-banner {
        height: 300px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-icon .iconfont {
        font-size: 3rem;
    }
    
    .video-thumbnail {
        height: 200px;
    }
    
    .video-play {
        width: 60px;
        height: 60px;
    }
    
    .video-play .iconfont {
        font-size: 1.5rem;
    }
    
    .history-image img {
        height: 300px;
    }
    
    .video-popup-content {
        width: 98%;
        max-width: 98%;
        border-radius: 10px;
    }
    
    .video-container video {
        height: 250px;
    }
    
    .video-info-popup {
        padding: 20px 15px;
    }
    
    .video-info-popup h3 {
        font-size: 1.3rem;
    }
    
    .video-info-popup p {
        font-size: 0.9rem;
    }
}

/* 横屏手机特殊处理 */
@media (max-width: 768px) and (orientation: landscape) {
    .media-static-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .video-popup-content {
        max-height: 95vh;
    }
    
    .video-container video {
        height: 200px;
    }
}