/* 传统艺术页面样式 */
.art-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 大图展示区样式 */
.showcase {
    position: relative;
    height: 500px;
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
}

.showcase-slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}

.slide-info h2 {
    color: #FFD700;
    margin-bottom: 10px;
    font-size: 2em;
}

.showcase-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 0, 0, 0.5);
    color: #FFD700;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5em;
    transition: all 0.3s ease;
}

.showcase-nav button:hover {
    background: rgba(139, 0, 0, 0.8);
}

.showcase-nav .prev {
    left: 20px;
}

.showcase-nav .next {
    right: 20px;
}

/* 分类导航样式 */
.art-nav {
    margin-bottom: 40px;
    border-bottom: 2px solid #f0f0f0;
}

.art-nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}

.art-nav li {
    padding: 15px 30px;
    cursor: pointer;
    position: relative;
    color: #666;
    transition: all 0.3s ease;
}

.art-nav li::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #8B0000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.art-nav li:hover,
.art-nav li.active {
    color: #8B0000;
}

.art-nav li:hover::after,
.art-nav li.active::after {
    transform: scaleX(1);
}

/* 画廊样式 */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.art-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.art-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.art-item img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: all 0.5s ease;
}

.art-item:hover img {
    transform: scale(1.1);
}

.item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.art-item:hover .item-info {
    transform: translateY(0);
}

.item-info h3 {
    color: #FFD700;
    margin-bottom: 5px;
}

/* 作品详情浮层样式 */
.art-detail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.art-detail.active {
    display: flex;
}

.detail-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #8B0000;
    font-size: 2em;
    cursor: pointer;
    z-index: 1;
}

.detail-image {
    width: 60%;
    padding: 20px;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-info {
    width: 40%;
    padding: 40px;
    background: #f9f9f9;
}

.detail-info h2 {
    color: #8B0000;
    margin-bottom: 20px;
}

.detail-info .artist {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
}

.detail-info .description {
    line-height: 1.8;
    margin-bottom: 30px;
}

.detail-meta {
    display: flex;
    gap: 20px;
}

.detail-meta span {
    background: #f0f0f0;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9em;
    color: #666;
} 