/* 页面主要内容样式 */
.art-main {
    max-width: 1200px;
    margin: calc(var(--header-height) + var(--nav-height) + 30px) auto 50px;
    padding: 0 15px;
}

/* 页面标题样式 */
.page-title {
    text-align: center;
    margin-bottom: 40px;
}

.page-title h2 {
    color: var(--primary-color);
    font-size: 36px;
    margin-bottom: 10px;
}

.page-title p {
    color: #666;
    font-size: 18px;
}

/* 艺术分类导航样式 */
.art-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.art-nav button {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: none;
    color: var(--primary-color);
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}

.art-nav button:hover,
.art-nav button.active {
    background-color: var(--primary-color);
    color: white;
}

/* 艺术作品展示样式 */
.art-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.art-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.art-item:hover {
    transform: translateY(-5px);
}

.art-image {
    position: relative;
    height: 300px;
}

.art-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.art-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.art-item:hover .art-hover {
    opacity: 1;
}

.art-hover h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.art-hover p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.view-details {
    padding: 8px 20px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.view-details:hover {
    background-color: #c19b2f;
}

/* 艺术家推荐样式 */
.artists {
    margin-bottom: 60px;
}

.artists h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.artist-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.artist-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.artist-card:hover {
    transform: translateY(-5px);
}

.artist-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.artist-info {
    padding: 20px;
}

.artist-info h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.artist-title {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.artist-desc {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.view-works {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.view-works:hover {
    background-color: #a00000;
}

/* 艺术展览样式 */
.exhibitions {
    margin-bottom: 60px;
}

.exhibitions h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.exhibition-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.exhibition-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.exhibition-card:hover {
    transform: translateY(-5px);
}

.exhibition-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.exhibition-info {
    padding: 20px;
}

.exhibition-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.exhibition-time,
.exhibition-location {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.exhibition-desc {
    color: #666;
    margin: 10px 0;
    line-height: 1.6;
}

.book-ticket {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.book-ticket:hover {
    background-color: #a00000;
}

/* 作品详情弹窗样式 */
.art-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    max-width: 800px;
    width: 90%;
    border-radius: 8px;
    position: relative;
    padding: 20px;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.modal-body img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.art-details {
    padding: 20px;
}

.art-details h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.art-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.art-info p {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .art-nav {
        gap: 10px;
    }

    .art-nav button {
        padding: 8px 15px;
        font-size: 14px;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .art-details {
        padding: 10px 0;
    }
} 