/* ========================================================= */
/* --- 3D SAHNE & ARKA PLAN YAPISI --- */
/* ========================================================= */

.galeri-3d-section {
    position: relative;
    width: 100%;
    padding: 100px 0 90px 0;
    background-color: #0b131c;
    overflow: hidden;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    perspective: 1200px;
}

/* Ambient Neon Işık Halkaları */
.galeri-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    opacity: 0.25;
}

.galeri-glow-orb.orb-1 {
    width: 450px;
    height: 450px;
    background: #c5a059;
    top: -100px;
    left: 10%;
}

.galeri-glow-orb.orb-2 {
    width: 500px;
    height: 500px;
    background: #1e3a5f;
    bottom: -150px;
    right: 5%;
}

.galeri-3d-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* ========================================================= */
/* --- BAŞLIK ALANI --- */
/* ========================================================= */

.galeri-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 55px auto;
}

.galeri-tagline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.galeri-tagline .gold-line {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c5a059, transparent);
}

.galeri-tagline .tag-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #c5a059;
    text-transform: uppercase;
}

.galeri-title {
    font-family: 'Playfair Display', serif;
    font-size: 46px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    line-height: 1.15;
}

.galeri-desc {
    font-size: 14px;
    color: #94a3b8;
    line-height: 1.6;
    font-weight: 300;
}

/* ========================================================= */
/* --- 3D COVERFLOW SLIDE KARTLARI --- */
/* ========================================================= */

.galeri-3d-stage {
    position: relative;
    width: 100%;
    padding-top: 20px;
}

.galeri3DSwiper {
    width: 100%;
    padding-bottom: 60px !important;
    overflow: visible !important;
}

.swiper-slide.galeri-3d-slide {
    width: 330px;
    height: 480px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.galeri-3d-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    background: rgba(21, 34, 50, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
}

.card-img-box {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #080d14;
}

.card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 12px;
    box-sizing: border-box;
    transition: transform 0.6s ease;
}

/* Yansıma Efekti */
.card-reflection {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        transparent 45%, 
        rgba(0, 0, 0, 0.4) 100%
    );
    pointer-events: none;
}

/* Hover & Active Card Overlay */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(0deg, rgba(11, 19, 28, 0.95) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    transform: translateY(15px);
    opacity: 0.85;
    transition: all 0.4s ease;
}

.swiper-slide-active .card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.zoom-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #c5a059;
    color: #0b131c;
    border: none;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 4px;
}

.zoom-btn:hover {
    background: #ffffff;
    color: #0b131c;
    transform: scale(1.05);
}

/* Active Slide Highlight */
.swiper-slide-active .galeri-3d-card {
    border-color: rgba(197, 160, 89, 0.8);
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.25), 0 30px 60px rgba(0, 0, 0, 0.8);
}

/* ========================================================= */
/* --- CONTROLS / BUTONLAR --- */
/* ========================================================= */

.galeri-3d-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

.galeri-3d-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: #c5a059;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.galeri-3d-btn:hover {
    background: #c5a059;
    color: #0b131c;
    border-color: #c5a059;
    transform: scale(1.1);
}

.galeri-3d-pagination {
    position: static !important;
    width: auto !important;
}

.galeri-3d-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: #c5a059;
    opacity: 0.3;
    transition: all 0.3s ease;
    margin: 0 5px !important;
}

.galeri-3d-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 28px;
    border-radius: 10px;
    background: #c5a059;
}

/* ========================================================= */
/* --- GLASSMORPHIC LIGHTBOX --- */
/* ========================================================= */

.galeri-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.galeri-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 15, 0.93);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 88vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid rgba(197, 160, 89, 0.4);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.lightbox-close, .lightbox-nav {
    position: absolute;
    z-index: 3;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.4);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close {
    top: 25px; right: 25px;
    width: 46px; height: 46px;
    font-size: 18px;
}

.lightbox-nav {
    top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px;
    font-size: 16px;
}

.lightbox-prev { left: 25px; }
.lightbox-next { right: 25px; }

.lightbox-close:hover, .lightbox-nav:hover {
    background: #c5a059;
    color: #0b131c;
}

/* ========================================================= */
/* --- UYARI BOX --- */
/* ========================================================= */

.galeri-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(197, 160, 89, 0.3);
    border-radius: 16px;
    color: #94a3b8;
}

.galeri-empty-state i {
    font-size: 44px;
    color: #c5a059;
    margin-bottom: 12px;
}

.galeri-empty-state code {
    background: rgba(197, 160, 89, 0.15);
    color: #c5a059;
    padding: 3px 8px;
    border-radius: 4px;
}

/* ========================================================= */
/* --- ANIMASYONLAR & RESPONSIVE --- */
/* ========================================================= */

.galeri-3d-section .animate-on-scroll {
    opacity: 0;
    transition: all 0.8s ease;
}

.galeri-3d-section .animate-on-scroll.fade-up {
    transform: translateY(30px);
}

.galeri-3d-section .animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 768px) {
    .galeri-3d-section {
        padding: 60px 0;
    }

    .galeri-title {
        font-size: 32px;
    }

    .swiper-slide.galeri-3d-slide {
        width: 250px;
        height: 380px;
    }

    .lightbox-nav {
        width: 38px; height: 38px;
    }

    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}