/* 英雄区域样式 */
.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 50px;
}

.hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    width: 80%;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 24px;
}

/* 艺术门类样式 */
.art-categories {
    padding: 50px;
    background: #f9f9f9;
}

.art-categories h2 {
    text-align: center;
    color: #333;
    font-size: 32px;
    margin-bottom: 30px;
    position: relative;
}

.art-categories h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #c41230;
    margin: 15px auto;
}

/* 分类标签样式 */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 10px 30px;
    border: none;
    border-radius: 5px;
    background: #fff;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tab-btn:hover {
    background: #f0f0f0;
}

.tab-btn.active {
    background: #c41230;
    color: #fff;
}

/* 分类内容样式 */
.category-content {
    display: none;
    max-width: 1200px;
    margin: 0 auto;
}

.category-content.active {
    display: block;
}

.art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.art-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.art-item:hover {
    transform: translateY(-5px);
}

.art-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.art-info {
    padding: 20px;
}

.art-info h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
}

.art-info p {
    color: #666;
    line-height: 1.6;
}

/* 艺术鉴赏样式 */
.art-appreciation {
    padding: 50px;
}

.art-appreciation h2 {
    text-align: center;
    color: #333;
    font-size: 32px;
    margin-bottom: 50px;
    position: relative;
}

.art-appreciation h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #c41230;
    margin: 15px auto;
}

.appreciation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.appreciation-text h3 {
    color: #333;
    font-size: 28px;
    margin-bottom: 20px;
}

.appreciation-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.appreciation-features {
    list-style: none;
    padding: 0;
}

.appreciation-features li {
    color: #333;
    padding: 10px 0;
    position: relative;
    padding-left: 25px;
}

.appreciation-features li::before {
    content: '✓';
    color: #c41230;
    position: absolute;
    left: 0;
}

.appreciation-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

/* 精品欣赏样式 */
.art-gallery {
    padding: 50px;
    background: #f9f9f9;
}

.art-gallery h2 {
    text-align: center;
    color: #333;
    font-size: 32px;
    margin-bottom: 50px;
    position: relative;
}

.art-gallery h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #c41230;
    margin: 15px auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 14px;
    opacity: 0.8;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .hero-section {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .category-tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        width: calc(50% - 10px);
    }

    .appreciation-content {
        grid-template-columns: 1fr;
    }

    .appreciation-image {
        order: -1;
    }

    .art-categories,
    .art-appreciation,
    .art-gallery {
        padding: 30px 20px;
    }
} 