/* SERGİ & MODAL STİLLERİ */
.gallery-container {
    display: flex;
    flex-wrap: nowrap;
    height: 100vh;
}

.art-panel {
    width: 100vw;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

/* --- KAPSAYICI (Wrapper) --- */

/* 1. Kapsayıcı Link (<a> etiketi) */
.art-wrapper a.glightbox {
    display: block;
    text-decoration: none;
    outline: none;
    color: #444;
}

/* 2. Görsel Konteyneri */
.image-container {
    height: auto;
    width: auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* 3. Görselin Kendisi (EN ÖNEMLİ KISIM) */
.art-image {
    height: 60vh;
    width: auto;
    max-width: 85vw;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

/* 4. Gizli Künye Alanı (Sayfada görünmesin, sadece Lightbox'ta çıksın) */
.glightbox-desc {
    display: none !important;
}

/* --- KÜNYE KARTI (INFO BOX) --- */
.art-info-card {
    width: 100%;
    box-sizing: border-box;
    background-color: #fff;
    color: #000;
    padding: 25px;
    padding-left: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-bottom: 2px solid #ddd;
    text-align: left;
    position: relative;
    line-height: normal;
}

/* Kartın soluna "Müze Şeridi" gibi dekoratif bir çizgi */
.art-info-card::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 25px;
    bottom: 25px;
    width: 3px;
    background-color: #000;
}

/* Padding'i ona göre ayarlayalım */
.art-info-card {
    padding-left: 20px;
}


/* Tipografi */
.art-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    text-transform: capitalize;
    letter-spacing: 1px;
    color: #111 !important;
}

.art-artist {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

.art-meta {
    color: #444;
}

.art-desc {
    font-size: 0.8rem;
    color: #444;
    margin: 0;
    max-width: 65%;
    line-height: 1.4;
}


/* --- DİĞER DETAYLAR --- */
.sold-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #b91c1c;
    color: white;
    padding: 5px 12px;
    font-weight: bold;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

/* Parallax Hizalamaları (Resim+Kart Birlikte Oynar) */
.panel-up .art-wrapper {
    margin-top: -60px;
}

.panel-down .art-wrapper {
    margin-top: 60px;
}

.panel-mid .art-wrapper {
    margin-top: 0;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .image-container {
        height: 50vh;
    }

    .art-wrapper {
        width: auto;
        max-width: 85vw;
    }

    .art-image {
        height: 40vh;
    }

    .art-info-card {
        padding: 20px;
    }

    .art-title {
        font-size: 1.2rem;
    }
}

/* --- MOBİL UYUMLULUK (NATIVE HORIZONTAL SCROLL) --- */
@media (max-width: 768px) {

    /* 1. Konteyneri serbest bırak */
    .gallery-container {
        width: auto !important;
        height: 100vh;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
    }

    /* 2. Panellerin davranışı */
    .art-panel {
        width: 100vw;
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    /* 3. Parallax efektini mobilde sıfırla (Performans ve düzen için) */
    .panel-up .art-wrapper,
    .panel-down .art-wrapper,
    .panel-mid .art-wrapper {
        margin-top: 0 !important;
    }

    .art-wrapper {
        width: 85vw;
    }

    /* Scroll çubuğunu gizle (Estetik için) */
    .gallery-container::-webkit-scrollbar {
        display: none;
    }
}

/* --- SCROLL HINT GENEL --- */
.scroll-hint-wrapper {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 100;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.scroll-hint-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.hint-text {
    font-family: var(--body-font);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
}

/* =========================================
   1. MASAÜSTÜ (MOUSE) TASARIMI
   ========================================= */
.mouse-icon {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    position: relative;
    display: block;
}

.wheel {
    width: 4px;
    height: 6px;
    background-color: #fff;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouseScroll 1.5s infinite;
}

@keyframes mouseScroll {
    0% {
        opacity: 1;
        top: 6px;
    }

    100% {
        opacity: 0;
        top: 20px;
    }
}

/* =========================================
   2. MOBİL (EL/PARMAK) TASARIMI
   ========================================= */
.hand-icon {
    display: none;
    width: 40px;
    height: 40px;
    position: relative;
}

/* Parmak Şekli (Basit bir daire/oval) */
.finger {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: swipeAnim 2s infinite ease-in-out;
}

/* Parmak Dokunma Efekti (Halka) */
.finger::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
    opacity: 0.8;
}


/* Sanatçı Yazısı Kutusunun Ana Stili */
.artist-note-wrapper {
    max-width: 700px;
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: #333333;
    text-align: left;
    margin: 20px;
}

/* Başlık Stili */
.artist-note-wrapper .note-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #111111;
    margin-bottom: 25px;
}

/* Metin Stili */
.artist-note-wrapper .note-manifesto {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 30px;
}

/* İmza Stili */
.artist-note-wrapper .note-signature {
    color: #666;
    font-size: 1rem;
    font-style: italic;
    text-align: right;
    display: block;
    margin-top: 20px;
}

@media (max-width:768px) {
    .artist-note-wrapper .note-manifesto {
        font-size: .8rem;
    }
}

/* Yatay Kaydırma Animasyonu (Swipe) */
@keyframes swipeAnim {
    0% {
        transform: translate(-50%, -50%) translateX(10px);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) translateX(-20px);
        opacity: 0;
    }

}


/* =========================================
   MEDYA SORGUSU (DEĞİŞİM ANI)
   ========================================= */
@media (max-width: 768px) {
    .mouse-icon {
        display: none;
    }

    .hand-icon {
        display: block;
    }

    .hint-text {
        font-size: 0.7rem;
    }
}


/* Serginin sonunda çıkan buton paneli */
.end-of-exhibition-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.return-hall-wrapper {
    background-color: #2a2a2a;
    padding: 50px 40px;
    border-radius: 10px;
    max-width: 500px;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.return-title {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 300;
}

.return-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #ccc;
}

.return-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #555;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.return-button:hover {
    background-color: #777;
}

/* static/css/exhibition.css */

/* --- VIDEO PLAY IKONU --- */
.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 1);
    /* Yarı saydam siyah */
    border-radius: 50%;
    border: 2px solid var(--gold-color);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: none;
    /* Tıklamayı engellemesin, linke geçirsin */
}

/* Üçgen (Play Sembolü) */
.play-triangle {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 18px solid var(--gold-color);
    /* Beyaz üçgen */
    margin-left: 4px;
    /* Görsel olarak ortalamak için */
}

/* Mouse ile üzerine gelince efekt */
.art-wrapper:hover .video-play-icon {
    background-color: var(--gold-color);
    /* Youtube kırmızısı */
    border-color: #000;
    transform: translate(-50%, -50%) scale(1.1);
}
.art-wrapper:hover .play-triangle {
    border-left: 18px solid #000;

}


/* .plyr__control--overlaid {
    background-color: var(--gold-color) !important;
} */