/* =========================================================
   DE-CAMP PREMIUM - PRODUCT DETAIL STYLES
   ========================================================= */

body { padding-top: 0 !important; background-color: var(--light-bg); color: var(--text-main); overflow-x: hidden; }

/* --- 1. SİNEMATİK HERO --- */
.model-hero { position: relative; height: 100vh; width: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; background-color: #000; }
.hero-bg-img { position: absolute; top: 0; left: 0; width: 100%; height: 110%; object-fit: cover; opacity: 0.6; z-index: 1; transition: transform 0.1s linear; }
.hero-gradient { position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; background: linear-gradient(to top, #111412 0%, transparent 100%); z-index: 2; }
.hero-content { position: relative; z-index: 3; text-align: center; margin-top: 80px; animation: fadeUpReveal 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.hero-category { font-size: 1rem; letter-spacing: 4px; text-transform: uppercase; color: var(--accent-color); font-weight: 800; margin-bottom: 20px; display: block; }
.hero-model-name { font-size: clamp(3.5rem, 8vw, 6.5rem); font-weight: 900; color: #ffffff; letter-spacing: -1px; text-shadow: 0 10px 40px rgba(0,0,0,0.6); margin-bottom: 40px; line-height: 1.1; }

.btn-hero-build { background-color: var(--accent-color); color: #fff; padding: 20px 50px; border-radius: 50px; font-size: 1.1rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; border: none; transition: var(--transition-smooth); display: inline-flex; align-items: center; box-shadow: 0 15px 30px rgba(200, 90, 50, 0.3); }
.btn-hero-build:hover { background-color: #fff; color: var(--accent-color); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(200, 90, 50, 0.4); }

/* --- 2. İNTERAKTİF VİTRİN (DONANIM: GÖRSEL SOLDA - BİLGİ SAĞDA) --- */
.premium-interactive-showcase {
    background-color: var(--light-bg);
    padding: 40px 0 30px;
    margin-top: -80px; 
    position: relative;
    z-index: 10;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}

.showcase-card {
    display: flex;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    height: 480px;
}

.showcase-left {
    flex: 1.1; 
    display: flex;
    flex-direction: column;
    background: var(--light-bg);
    border-right: 1px solid var(--border-color);
    
    /* MİMARIN ZIRHI: Flexbox'ın kontrolsüz büyümesini KESİN engeller */
    min-width: 0; 
}

.showcase-main-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #000;
}


.showcase-nav-arrows { position: absolute; bottom: 15px; right: 15px; display: flex; gap: 8px; z-index: 5; }
.nav-btn {
    width: 35px; height: 35px; border-radius: 50%; 
    background: var(--glass-bg); border: 1px solid rgba(255,255,255,0.4);
    color: var(--primary-color); font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition-smooth); backdrop-filter: blur(5px);
}
.nav-btn:hover { background: var(--primary-color); color: #fff; }

.showcase-thumbnails {
    display: flex;
    gap: 10px;
    padding: 12px 15px;
    background: #ffffff;
    overflow-x: auto;
    scrollbar-width: none; 
    
    /* İKİNCİ ZIRH: Dışarı taşmak yerine kendi içinde kalmasını garantiler */
    width: 100%; 
    max-width: 100%;
}
.showcase-thumbnails::-webkit-scrollbar { display: none; }

.thumb-item {
    width: 75px; height: 50px; border-radius: 6px;
    object-fit: cover; cursor: pointer;
    opacity: 0.4; transition: var(--transition-smooth);
    border: 2px solid transparent; flex-shrink: 0;
}
.thumb-item.active, .thumb-item:hover {
    opacity: 1; border-color: var(--accent-color);
}

.showcase-right {
    flex: 1;
    padding: 30px 40px; 
    display: flex; flex-direction: column; justify-content: center;
    position: relative; background: #ffffff;
}

.showcase-content-wrapper { position: relative; flex-grow: 1; display: flex; align-items: center; }


.slide-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.slide-icon-wrapper {
    width: 45px; height: 45px; border-radius: 12px; 
    background: rgba(22, 84, 56, 0.08); 
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--accent-color);
}
.slide-title { font-size: 1.5rem; font-weight: 800; color: var(--primary-color); margin: 0; letter-spacing: -0.5px; border-bottom:solid; border-color:var(--primary-color); }

.scrollable-content {
    font-size: 1rem; line-height: 1.6; color: var(--text-main);
    max-height: 310px; overflow-y: auto; padding-right: 15px; font-weight: 400;
}
.scrollable-content::-webkit-scrollbar { width: 4px; }
.scrollable-content::-webkit-scrollbar-track { background: var(--light-bg); border-radius: 10px; }
.scrollable-content::-webkit-scrollbar-thumb { background: rgba(22, 84, 56, 0.3); border-radius: 10px; }
.scrollable-content::-webkit-scrollbar-thumb:hover { background: var(--primary-color); }


/* --- 3. BLUEPRINTS: AYNA TASARIMI (BİLGİ SOLDA - GÖRSEL SAĞDA) --- */

/* =========================================================
   MİMARIN DOKUNUŞU: BLUEPRINTS KESİN HİZALAMA VE OVERLAP
   ========================================================= */

/* 1. Görsellerin Üst Üste Binmesi (Taşmayı Engeller) */
.bp-image-side .showcase-main-image {
    position: relative;
    width: 100%;
    height: 100%; /* Kutu yüksekliğine tam oturur */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   MİMARIN DOKUNUŞU: YATAY SÜRÜKLENME (SLIDE) CSS ZEMİNİ
   ========================================================= */
.showcase-image-item, .bp-image-item {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; visibility: hidden;
    /* Eski 'scale' ve 'opacity' transition ayarları silindi. 
       Artık tüm kayma (slide) fiziğini JavaScript Motoru yönetecek! */
}

.showcase-image-item.active, .bp-image-item.active { 
    opacity: 1; visibility: visible; 
}

/* 2. Yazıların Üst Üste Binmesi (Yan yana dizilmeyi KESİN engeller) */
.bp-info-side .showcase-content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* =========================================================
   MİMARIN DOKUNUŞU: YAZILAR İÇİN YATAY (HORIZONTAL) VAGON ZEMİNİ
   ========================================================= */
.showcase-text-item, .bp-text-item {
    position: absolute; 
    top: 0 !important; 
    left: 0; 
    width: 100%;
    opacity: 0; 
    visibility: hidden;
    /* Eski Yukarı/Aşağı (translateY) ve CSS geçişlerini (transition) tamamen SİLDİK.
       Artık hareketleri JS Fizik Motoru yönetecek! */
    transform: none; 
    transition: none; 
    margin-top: 15px;
}

.showcase-text-item.active, .bp-text-item.active {
    opacity: 1; 
    visibility: visible; 
    position: relative; /* Sadece aktif olan yazı sayfada yer kaplar */
    transform: none !important; 
}

.premium-blueprint-showcase {
    background-color: var(--light-bg);
    padding: 25px 0 50px 0;
    border-top: 1px solid var(--border-color);
}

.section-header-compact { margin-bottom: 20px; }
.section-title-mini { font-size: 1.5rem; font-weight: 900; color: var(--primary-color); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }
.title-line { width: 50px; height: 3px; background: var(--accent-color); border-radius: 2px; }

.bp-card-reversed {
    display: flex !important;
    flex-direction: row !important; /* MİMARIN DOKUNUŞU: 'row-reverse' silindi, artık Bilgi Solda, Resim Sağda duracak */
    height: 420px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
}

.bp-info-side {
    flex: 1;
    padding: 30px 45px;
    border-left: none; /* Sol çizgi iptal edildi */
    border-right: 1px solid var(--border-color); /* Çizgi sağ tarafa alındı (Çünkü resim sağda) */
}

.bp-icon-box { background: rgba(200, 90, 50, 0.08) !important; color: var(--accent-color) !important; }

.bp-image-side {
    flex: 1.2;
    display: flex;
    flex-direction: column;
}

.blueprint-bg { background: #fcfcfc !important; }
.blueprint-bg img { 
    padding: 30px; 
    object-fit: contain !important; 
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.08)); 
}

.bp-thumb-list { padding: 10px !important; background: #fff; gap: 8px; justify-content: center;}
.bp-thumb-node {
    width: 80px !important; height: 55px !important;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    opacity: 0.4; transition: var(--transition-smooth); cursor: pointer;
    border: none !important;
}
.bp-thumb-node i { font-size: 1.1rem; color: var(--primary-color); }
.bp-thumb-node span { font-size: 0.6rem; font-weight: 800; text-transform: uppercase; margin-top: 3px; }
.bp-thumb-node.active, .bp-thumb-node:hover { opacity: 1; background: var(--light-bg); border-radius: 8px; color: var(--accent-color); }
.bp-thumb-node.active i, .bp-thumb-node:hover i { color: var(--accent-color); }

/* MOBİL TASARIM (Ortak - Her Şey Alt Alta) */
@media (max-width: 991px) {
    .showcase-card { flex-direction: column; height: auto; min-height: 500px; }
    .showcase-left { min-height: 300px; border-right: none; border-bottom: 1px solid var(--border-color); }
    .showcase-right { padding: 30px 25px; }
    
    .bp-card-reversed { flex-direction: column !important; height: auto !important; }
    .bp-info-side { border-left: none; border-right: none; padding: 30px 25px; order: 2; }
    .bp-image-side { order: 1; min-height: 350px; border-bottom: 1px solid var(--border-color); }
    .btn-hero-build{scale:0.8}
}

/* --- 4. ULTIMATE CTA --- */
.ultimate-cta-section { position: relative; background-color: var(--primary-color); overflow: hidden; padding: 20px 0; display: flex; align-items: center; justify-content: center; height: fit-content; }
.marquee-container { position: absolute; top: 50%; left: 0; transform: translateY(-50%); width: 100vw; overflow: hidden; z-index: 1; opacity: 0.1; pointer-events: none; }
.marquee-text { font-size: 15vw; font-weight: 900; white-space: nowrap; color: transparent; -webkit-text-stroke: 2px #ffffff; animation: marquee-scroll 40s linear infinite; text-transform: uppercase; letter-spacing: -2px; }
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.glass-cta-card { position: relative; z-index: 2; background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 30px; padding: 30px 30px; text-align: center; max-width: 700px; width: 70%; box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1); transition: transform 0.5s ease;  }
.glass-cta-card:hover { transform: translateY(-10px); }

@keyframes fadeUpReveal { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================================
   MİMARIN DOKUNUŞU: TÜM VİTRİNLERİ YUKARI HİZALAMA (STANDARTİZASYON)
   ========================================================= */

/* Hem üstteki donanım hem de alttaki blueprints kutusunun ortalama huyunu iptal eder */
.showcase-content-wrapper {
    align-items: flex-start !important; 
}

/* Her iki bölümdeki aktif yazıları merkeze çekmek yerine tepeye kilitler */
.showcase-text-item.active,
.bp-text-item.active {
    top: 0 !important; 
    transform: none !important; 
    margin-top: 0px; /* İki vitrin için de milimetrik ve eşit üst boşluk */
}

/* =========================================================
   MİMARIN DOKUNUŞU: KATMAN ÇATIŞMASI ÇÖZÜLMÜŞ LIGHTBOX
   ========================================================= */

/* Modalı ve karartılmış arka planı Header'ın (9999) üzerine çıkarıyoruz */
.premium-lightbox-modal {
    z-index: 10001 !important;
}

/* Karartma perdesi ayarı */
.modal-backdrop.show {
    z-index: 10000 !important;
    opacity: 0.96 !important;
    background-color: #050806 !important;
}

.premium-lightbox-modal .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
    position: relative;
}

/* SAĞ ÜST ÇARPI BUTONU (Lüks Tasarım) */
.absolute-close-btn {
    position: fixed; /* Ekrana sabitler */
    top: 30px;
    right: 30px;
    z-index: 10002; /* En üstün de üstü */
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.absolute-close-btn:hover {
    background: var(--danger-color); /* Hata rengine döner */
    transform: rotate(90deg) scale(1.1);
    border-color: transparent;
}

#lightboxImage {
    max-height: 90vh;
    width: auto;
    max-width: 95vw;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}

/* =========================================================
   MİMARIN DOKUNUŞU: RESİMLERİ KUTUYA SIĞDIRMA ZIRHI
   ========================================================= */

/* 1. Normal Galeri ve Donanım Resimleri (Keserek Sığdır) */
.showcase-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
}

/* 2. Blueprints Teknik Çizimleri (Ezmeden/Kesmeden İçine Oturt) */
.bp-image-item img {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    padding: 30px;
}