/* =========================================================
   DE-CAMP PREMIUM - CATEGORY SHOWCASE STYLES
   Ortak Kullanım: Expedition, Off-Road, Pickup
   ========================================================= */

/* --- 1. KATEGORİ HERO ALANI --- */
.category-hero {
    position: relative;
    min-height: 90vh; /* Ekranın %90'ını kaplar */
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
    overflow: hidden;
}

.category-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Üst kısımdaki menü okunabilsin diye hafif koyu degrade */
.hero-header-protector {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, transparent 100%);
    z-index: 2;
}

/* Premium Breadcrumb (Cam Efekti) */
.premium-breadcrumb {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.premium-breadcrumb a { color: var(--primary-color); text-decoration: none; transition: 0.3s; }
.premium-breadcrumb a:hover { color: var(--accent-color); }
.premium-breadcrumb .separator { font-size: 0.7rem; color: #999; }
.premium-breadcrumb .current { color: #666; }

/* Hero Kayan Kart (Floating Card) */
.hero-floating-card {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 24px;
    max-width: 550px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    animation: slideUpFade 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-stats-row {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-stats-row h4 { margin: 0; font-weight: 900; color: var(--primary-color); font-size: 1.6rem; }
.hero-stats-row small { color: #888; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.75rem; }

/* --- 2. YATAY KAYDIRMALI VİTRİN (SCROLLING SHOWCASE) --- */
.scrolling-showcase {
    padding: 30px 0;
    background-color: var(--light-bg, #f9f9f9);
    overflow: hidden;
}

.scrolling-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px calc((100vw - 1320px) / 2); /* Konteyner dışına taşma ama ortalamayı bozma */
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox için kaydırma çubuğunu gizle */
    -webkit-overflow-scrolling: touch;
}
.scrolling-wrapper::-webkit-scrollbar { display: none; } /* Chrome/Safari gizle */

/* Vitrin Kartları */
.scrolling-card {
    flex: 0 0 380px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s;
    scroll-snap-align: center;
}

.scrolling-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 50px rgba(22, 84, 56, 0.1);
}

.scrolling-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.scrolling-card-content { padding: 30px; }
.scrolling-card-content h3 { font-size: 1.6rem; font-weight: 800; color: var(--primary-color); margin-bottom: 12px; }
.scrolling-card-content p { color: #666; font-size: 1rem; margin-bottom: 25px; line-height: 1.6; }
.scrolling-card-action { font-weight: 800; color: var(--accent-color); text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; display: flex; align-items: center; }
.scrolling-card:hover .scrolling-card-action { color: var(--primary-color); }

/* --- 3. DERGİ STİLİ EDİTÖRYAL BÖLÜM (R&D LAB) --- */
.editorial-section { padding: 20px 0; background-color: #ffffff; }
.ed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.ed-image-wrapper { position: relative; padding-bottom: 40px; }
.ed-image-main { width: 85%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); }
.ed-image-sub {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    border-radius: 20px;
    border: 4px solid #3B444B; /* Üst üste binme efekti için beyaz çerçeve */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.ed-text-wrapper h2 { font-size: 3.2rem; font-weight: 800; line-height: 1.1; margin-bottom: 30px; color: #1a1a1a; letter-spacing: -1.5px; }
.ed-text-wrapper p { font-size: 1.15rem; color: #555; line-height: 1.8; margin-bottom: 20px; }

/* --- 4. YETENEKLER/ÖZELLİKLER (CAPABILITIES) --- */
.capabilities-section { padding: 20px 0 40px 0; background-color: #f4f6f5; }

.capability-card {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
}

.capability-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(22, 84, 56, 0.08);
    border-color: rgba(22, 84, 56, 0.15);
}

.capability-icon {
    font-size: 3.5rem;
    color: var(--accent-color);
    margin-bottom: 25px;
    transition: transform 0.4s;
}
.capability-card:hover .capability-icon { transform: scale(1.1); color: var(--primary-color); }

.capability-card h4 { font-weight: 800; margin-bottom: 15px; color: #1a1a1a; font-size: 1.4rem; }
.capability-card p { color: #666; line-height: 1.7; font-size: 1.05rem; margin: 0; }

/* --- 5. ALT HAREKETE GEÇİRİCİ ALAN (BOTTOM CTA) --- */
.bottom-cta-section {
    position: relative;
    padding: 25px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color:var(--primary-color);
}

.bottom-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.7); /* Görseli hafif karartarak metni belirginleştir */
}

.bottom-cta-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 70px 50px;
    border-radius: 30px;
    max-width: 650px;
    margin: 0 20px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.2);
}

.bottom-cta-content h2 { font-size: 2.8rem; font-weight: 800; margin-bottom: 20px; color: var(--primary-color); letter-spacing: -1px; }

/* --- ANIMASYONLAR --- */
@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   DE-CAMP PREMIUM - ULTIMATE CATEGORY MOBILE ARMOR
   ========================================================= */

/* --- TABLET VE YATAY TELEFON ORTAK (991px ve altı) --- */
@media (max-width: 991px) {
    /* Hero Alanı: Kapak fotoğrafı devasa kalmasın */
    .category-hero { 
        min-height: auto; 
        padding-top: 150px; 
        padding-bottom: 50px;
    }
    .hero-floating-card { 
        padding: 40px 30px; 
        margin: 0 10px; 
    }
    
    /* Editöryal Kısım (R&D Lab): Yan yana düzeni alt alta al */
    .ed-grid { 
        grid-template-columns: 1fr; 
        gap: 50px; 
    }
    .ed-text-wrapper { 
        order: -1; /* MİMARIN DOKUNUŞU: Mobilde yazılar her zaman resimlerin ÜSTÜNDE çıksın */
        text-align: center;
    }
    .ed-text-wrapper h2 {
        font-size: 2.5rem;
    }
    .ed-image-wrapper {
        max-width: 550px;
        margin: 0 auto; /* Resimleri ortala */
    }
}

/* --- TELEFONLAR (767px ve altı) --- */
@media (max-width: 767px) {
    
    /* 1. HERO KARTI OPTİMİZASYONU */
    .hero-floating-card { padding: 30px 20px; }
    .hero-floating-card h1 { 
        font-size: clamp(2.2rem, 8vw, 2.6rem) !important; 
    }
    .hero-floating-card p {
        font-size: 1rem !important;
    }
    
    /* İstatistikleri yan yana şık bir grid'e oturt */
    .hero-stats-row { 
        flex-wrap: wrap; 
        gap: 20px; 
        justify-content: space-between; 
        margin-top: 25px;
        padding-top: 20px;
    }
    .hero-stats-row div { width: 45%; } /* İki istatistik yanyana, biri alta düşer */

    /* 2. BUTONLARI PARMAK DOSTU (TAM GENİŞLİK) YAP */
    .hero-floating-card .d-flex.gap-3 {
        flex-direction: column;
        gap: 15px !important;
    }
    .hero-floating-card .btn { width: 100%; text-align: center; }

    /* 3. KAYDIRMALI VİTRİN (NATIVE APP HİSSİ) */
    .scrolling-wrapper { 
        padding-left: 15px; 
        padding-right: 15px; 
        gap: 15px; 
    }
    .scrolling-card { 
        flex: 0 0 85vw; /* Sabit 300px yerine ekranın %85'ini kaplar. Geri kalan %15 sonraki aracı gösterir (Kullanıcıyı kaydırmaya teşvik eder) */
    }
    .scrolling-card img { height: 220px; }
    .scrolling-card-content { padding: 20px; }
    .scrolling-card-content h3 { font-size: 1.3rem; }

    /* 4. EDİTÖRYAL ÜST ÜSTE BİNEN RESİMLER (TAŞMA ENGELİ) */
    .ed-image-main { width: 90%; }
    .ed-image-sub { 
        width: 60%; 
        border-width: 6px; /* Mobilde devasa beyaz çerçeveyi incelttik */
        right: 0; /* Ekranı sağdan patlatmasını kesin olarak engelledik */
    }



    /* 5. YETENEKLER (CAPABILITIES) */
    .capability-card { padding: 30px 20px; }
    .capability-icon { font-size: 2.5rem; margin-bottom: 15px; }
    .capability-card h4 { font-size: 1.2rem; }

    /* 6. ALT HAREKETE GEÇİRİCİ (BOTTOM CTA) */
    .bottom-cta-section { padding: 0px 0; }
    .bottom-cta-content { 
        padding: 40px 20px; 
        margin: 0 15px; 
        border-radius: 20px;
    }
    .bottom-cta-content h2 { font-size: 1.8rem; }
    .bottom-cta-content p { font-size: 1rem !important; margin-bottom: 25px !important; }
    .bottom-cta-content .btn { width: 100%; text-align: center; }
}