/* 1. HERO & VIDEO ALANI */
.video-section-wrapper {
    position: relative;
    height: 200vh;
    /* Scroll mesafesi için yükseklik */
    background-color: #000;
}

.sticky-video-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

#scrollVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    pointer-events: none;
}

.hero-text h1 {
    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: 200;
    letter-spacing: 15px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

/* 2. VİTRİN (ÜRÜN) ALANI */
.vitrin-section {
    position: relative;
    background: #fff;
    color: #1a1a1a;
    margin-top: -10vh;
    /* Videonon üzerine taşma efekti */
    border-radius: 60px 60px 0 0;
    padding: 100px 8%;
    z-index: 10;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.3);
}

.vitrin-header {
    text-align: center;
    margin-bottom: 60px;
}

.vitrin-header h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 5px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.vitrin-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 25%;
    width: 50%;
    height: 1px;
    background: #c5a059;
    /* Altın rengi detay */
}

/* 3. ÜRÜN GRID YAPISI */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding-top: 50px;
}

/* 4. ÜRÜN KARTLARI */
.product-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

/* 5. ETKİLEŞİMLİ RESİM ALANI VE BUTONLAR */
.image-slider {
    position: relative;
    height: 380px;
    background: #f9f9f9;
    cursor: pointer;
}

.p-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.p-img.active {
    opacity: 1;
}

/* SAĞ ÜST YARI SAYDAM BUTONLAR (APPLE STYLE) */
.card-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 5;
    opacity: 0;
    transition: 0.3s ease;
}

.product-card:hover .card-actions { opacity: 1; }

.action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    color: #000;
    font-size: 16px;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(255,255,255,0.9);
    transform: scale(1.1);
}

/* 6. ÜRÜN BİLGİLERİ */
.product-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 8px;
    font-weight: 500;
}

.product-info p {
    font-weight: 700;
    color: #c5a059;
    /* Altın rengi fiyat */
    font-size: 1.2rem;
    margin: 0;
}

/* 7. TÜMÜNÜ GÖR BUTONU */
.view-all-container {
    text-align: center;
    margin-top: 80px;
}

.view-all-btn {
    display: inline-block;
    padding: 15px 50px;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.4s ease;
}

.view-all-btn:hover {
    background: #000;
    color: #fff;
}

/* DETAIL MODAL STİLİ */
.detail-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 9999 !important;
}

.detail-modal {
    border-radius: 35px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.15);
}

.gallery-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: relative;
}

@media (max-width: 900px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .gallery-container { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .product-grid { grid-template-columns: 1fr; gap: 15px; }
    .vitrin-section { padding: 50px 20px; }
}

/* 8. MOBİL UYUM */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .vitrin-section {
        padding: 60px 5%;
    }

    .card-actions {
        opacity: 1;
    }

    /* Mobilde her zaman görünür olması daha iyi */
}

/* ==========================================================================
   4. APPLE STYLE AKSİYONLAR VE MODALLAR
   ========================================================================== */
.card-actions {
    position: absolute;
    top: 15px; right: 15px;
    display: flex; flex-direction: column;
    gap: 8px;
    z-index: 5;
    opacity: 0;
    transition: 0.3s ease;
}

.product-card:hover .card-actions { opacity: 1; }

.action-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.action-btn:hover { background: #fff; transform: scale(1.1); }

/* DETAY MODAL - GALERI STYI */
.detail-modal {
    width: 95%;
    max-width: 900px;
    height: auto;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
    border-radius: 35px;
    background: #fff;
    box-shadow: 0 40px 100px rgba(0,0,0,0.15);
}

.gallery-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: relative;
}

.gallery-close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.gallery-close-btn:hover {
    background: #fff;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* GALERİ GÖRÜNTÜSÜ */
.detail-gallery {
    padding: 30px;
    background: #f9f9f9;
    border-radius: 35px 0 0 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px;
    height: 380px;
    margin-bottom: 20px;
    border-radius: 25px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-detail-img:hover {
    transform: scale(1.02);
}

/* GALERİ NAVİGASYON BUTONLARI */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: #000;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 50;
}

.gallery-nav-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

/* THUMBNAIL ŞERIDI */
.thumb-strip {
    display: flex;
    gap: 12px;
    justify-content: center;
    width: 100%;
    overflow-x: auto;
    padding: 10px 0;
}

.thumb-img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
    flex-shrink: 0;
}

.thumb-img:hover {
    opacity: 1;
}

.thumb-img.active {
    border-color: #000;
    opacity: 1;
    transform: scale(1.05);
}

/* DETAY BİLGİLERİ */
.detail-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.detail-info .category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 15px;
}

.detail-info h2 {
    font-size: 28px;
    font-weight: 600;
    color: #000;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.detail-info .desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 15px 0;
}

.price-display {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin: 20px 0;
}

/* DETAY BUTONLARI */
.detail-buttons {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.btn-fav {
    flex: 0.8;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #000;
}

.btn-fav:hover {
    background: #fff;
    border-color: #d4af37;
    color: #d4af37;
}

.btn-fav.active {
    background: #d4af37;
    border-color: #d4af37;
    color: #fff;
}

.btn-update {
    flex: 1.2;
}