/* 影音长廊页面样式 */

/* 页面标题样式 */
.page-title {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/media-banner.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.page-title p {
    font-size: 18px;
    opacity: 0.9;
}

/* 视频展示区域样式 */
.video-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #333;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.video-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
}

.video-cover {
    position: relative;
    padding-top: 56.25%; /* 16:9 比例 */
    overflow: hidden;
}

.video-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
}

.play-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    border-left: 20px solid #333;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.video-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.duration {
    font-size: 12px;
    color: #999;
}

/* 音频展示区域样式 */
.audio-section {
    padding: 60px 0;
    background-color: #fff;
}

.audio-list {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.audio-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 20px;
}

.audio-info {
    flex: 1;
}

.audio-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #333;
}

.audio-info p {
    font-size: 14px;
    color: #666;
}

.audio-player {
    flex: 2;
    padding-left: 30px;
}

.audio-player audio {
    width: 100%;
}

/* 图片展示区域样式 */
.gallery-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
}

.gallery-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.gallery-info p {
    font-size: 14px;
    opacity: 0.9;
}

/* 响应式设计 */
@media screen and (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .audio-item {
        flex-direction: column;
        text-align: center;
    }

    .audio-player {
        padding-left: 0;
        margin-top: 20px;
    }
}

@media screen and (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .page-title h2 {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }
} 