/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');

/* ===== RESET ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    height: 100%;
    background-color: #000;
    color: #fff;
    font-family: 'Helvetica Neue', Helvetica, sans-serif;
    overflow: hidden;
}

/* ===== LAYOUT ===== */
.split-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* ===== LEFT PANEL ===== */
.left-panel {
    width: 40%;
    height: 100vh;
    padding: 50px 40px;
    border-right: 1px solid #333;
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    background-color: #000;
    z-index: 100;
}

.fixed-content {
    flex: 1;
}

.header-info h2 {
    font-family: 'Michroma', sans-serif;
    font-size: 3.4rem;
    font-weight: 400;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.header-info p {
    font-size: 1rem;
    line-height: 1.7;
    color: #aaa;
}

.index-nav {
    margin-top: 44px;
}

.index-nav h3 {
    font-family: 'Michroma', sans-serif;
    font-size: 3.4rem;
    font-weight: 400;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

/* ===== TAB BUTTONS ===== */
.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tab-btn {
    background: none;
    border: 1px solid #fff;
    color: #fff;
    padding: 7px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.82rem;
    font-family: inherit;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
}

.tab-btn:hover,
.tab-btn.active {
    background-color: #fff;
    color: #000;
}

/* ===== SIDE GIF ===== */
.side-gif-container {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
}

.side-gif {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ===== RIGHT PANEL ===== */
.right-panel {
    margin-left: 40%;
    width: 60%;
    height: 100vh;
    padding: 50px 50px 80px;
    overflow-y: auto;
    overflow-x: hidden;
}

.right-panel::-webkit-scrollbar { width: 3px; }
.right-panel::-webkit-scrollbar-track { background: #000; }
.right-panel::-webkit-scrollbar-thumb { background: #444; border-radius: 2px; }

/* ===== TAB CONTENT ===== */
.tab-content {
    display: none;
    opacity: 0;
}

.tab-content.active {
    display: block;
    animation: fadeUp 0.35s ease forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== SHARED ELEMENTS ===== */
.content-label {
    display: inline-block;
    border: 1px solid #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.section-title {
    font-family: 'Michroma', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.artist-divider {
    border: none;
    border-top: 1px solid #333;
    margin-bottom: 20px;
}

/* ===== INTRODUCTION ===== */
.intro-text {
    font-size: 0.88rem;
    line-height: 2;
    color: #bbb;
}

/* ===== WORKS ===== */
.artist-works-block {
    margin-bottom: 60px;
}

.artist-name {
    font-family: Helvetica, sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.works-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background-color: #1a1a1a;
    display: block;
    transition: opacity 0.2s ease;
}

.works-grid img:hover {
    opacity: 0.75;
}

/* ===== CURATION CARDS ===== */
.curation-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 18px;
    cursor: pointer;
    height: 400px;
}

.curation-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.4s ease;
}

.curation-card:hover .curation-card-img {
    opacity: 0.75;
    transform: scale(1.03);
}

.curation-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.6) 100%);
    border-radius: 14px;
    pointer-events: none;
}

.curation-artist-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 0.78rem;
    background: rgba(0,0,0,0.35);
    pointer-events: none;
}

.curation-arrow {
    position: absolute;
    bottom: 16px;
    right: 20px;
    font-size: 1.1rem;
    color: #fff;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.curation-card:hover .curation-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* ===== EXHIBITION ===== */
.exhibition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.exhibition-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background-color: #111;
    display: block;
    transition: opacity 0.2s ease;
}

.exhibition-grid img:hover {
    opacity: 0.75;
}

.video-container {
    width: 100%;
    background: #111;
    border-radius: 8px;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== CURATOR OVERLAY ===== */
.curator-overlay {
    position: fixed;
    inset: 0;
    background-color: #000;
    z-index: 500;
    display: flex;
    flex-direction: column;
    padding: 40px 60px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    overflow-y: auto;
}

.curator-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.overlay-close {
    align-self: flex-end;
    background: none;
    border: 1px solid #555;
    color: #aaa;
    padding: 6px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.78rem;
    font-family: inherit;
    letter-spacing: 1px;
    margin-bottom: 40px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.overlay-close:hover {
    border-color: #fff;
    color: #fff;
}

.overlay-inner {
    display: flex;
    gap: 60px;
    flex: 1;
    min-height: 0;
}

.overlay-left {
    width: 40%;
    flex-shrink: 0;
}

.overlay-artist-tag {
    display: inline-block;
    border: 1px solid #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    margin-bottom: 20px;
}

.overlay-title {
    font-family: 'Michroma', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

.overlay-text {
    font-size: 0.85rem;
    line-height: 2;
    color: #bbb;
}

.overlay-right {
    flex: 1;
    overflow-y: auto;
}

.overlay-right::-webkit-scrollbar { width: 3px; }
.overlay-right::-webkit-scrollbar-track { background: #000; }
.overlay-right::-webkit-scrollbar-thumb { background: #444; }

.overlay-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.overlay-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background-color: #1a1a1a;
    display: block;
}

/* ===== WORKS 호버 캡션 — third.css 맨 아래에 추가 ===== */
 
.work-item {
    position: relative;
    overflow: hidden;
}
 
.work-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}
 
.work-caption {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 16px;
    text-align: center;
}
 
.work-item:hover .work-caption {
    opacity: 1;
}
 
.work-item:hover img {
    opacity: 0.35;
}
 
.caption-title {
    font-family: 'Michroma', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: 0.06em;
}
 
.caption-info {
    font-size: 0.72rem;
    color: #fff;
    line-height: 1.8;
}
 