/* 通用内容页面样式 */

/* 页面头部 */
.page-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(196, 30, 58, 0.8), rgba(244, 164, 96, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-title {
    font-size: 4rem;
    color: var(--white);
    text-align: center;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.page-subtitle {
    font-size: 1.5rem;
    color: var(--white);
    text-align: center;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

/* 内容区域 */
.content-section {
    padding: 80px 0;
}

.intro-box {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-color);
    text-align: justify;
    margin-top: 30px;
}

/* 画廊网格 */
.gallery-section {
    padding: 80px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.gallery-item {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px 20px 20px;
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

.gallery-content {
    padding: 25px;
}

.gallery-content h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.gallery-content p {
    line-height: 1.8;
    color: var(--text-light);
}

/* 视频区域 */
.video-section {
    padding: 80px 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.video-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.video-placeholder {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #000;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: var(--transition);
}

.video-card:hover .video-placeholder img {
    opacity: 1;
    transform: scale(1.05);
}

.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%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.video-card:hover .play-button {
    background: var(--primary-color);
    color: var(--white);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card h4 {
    padding: 20px 20px 10px;
    text-align: center;
    color: var(--text-color);
    font-size: 1.2rem;
    margin: 0;
}

.video-card .video-desc {
    padding: 0 20px 20px;
    text-align: center;
    color: var(--primary-color);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

/* 列表样式 */
.content-list {
    max-width: 900px;
    margin: 0 auto;
}

.list-item {
    background: var(--white);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.list-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.list-item h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.list-item p {
    line-height: 1.8;
    color: var(--text-color);
}

/* 图片网格 */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.image-grid-item {
    position: relative;
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
}

.image-grid-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
    z-index: 10;
}

.image-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        height: 300px;
        background-attachment: scroll;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .image-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        height: 250px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .gallery-content {
        padding: 20px;
    }
    
    .gallery-content h4 {
        font-size: 1.3rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
}

