/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 展览信息区域样式 */
.exhibition-info {
    display: flex;
    margin-top: 80px;
    height: calc(100vh - 80px);
}

.exhibition-text {
    width: 30%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.exhibition-text h3 {
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.exhibition-text h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.exhibition-text h2 {
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.exhibition-date, .exhibition-location {
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.exhibition-image {
    width: 70%;
    height: 100%;
    overflow: hidden;
    padding-right: 21px;
    padding-left: 21px;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .exhibition-info {
        flex-direction: column;
    }

    .exhibition-text,
    .exhibition-image {
        width: 100%;
    }

    .exhibition-text {
        padding: 20px;
    }

    .nav-links {
        display: none;
    }
}


/* 轮播图样式 */
.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    display: block;
    opacity: 1;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
    display: block;
}
.exhibition-link {
    color: inherit;
    text-decoration: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0);
    color: rgba(0,0,0,0.6);
    border: none;
    font-size: 2rem;
    padding: 0 12px;
    cursor: pointer;
    z-index: 3;
    border-radius: 3px;
    transition: background 0.2s, opacity 0.3s ease;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.carousel .carousel-btn:hover {
    opacity: 1;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.1);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 4;
}
.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #bbb;
    cursor: pointer;
    transition: background 0.3s;
}
.carousel-dots .dot.active {
    background: #333;
}