/* =========================================================
   DE-CAMP PREMIUM - LIFESTYLE JOURNAL (BLOG) STYLES
   ========================================================= */

/* --- BLOG LİSTELEME (KARTLAR) --- */
.blog-section { padding: 30px 0 30px 0; background-color: var(--light-bg); position: relative; z-index: 4; border-top-left-radius: 50px;border-top-right-radius: 50px;margin-top: -80px;}
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 50px; }

.blog-card { 
    background: #ffffff; border-radius: 20px; overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.02); border: 1px solid rgba(0,0,0,0.04); 
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); 
    display: flex; flex-direction: column; text-decoration: none !important; color: inherit; 
}
.blog-card:hover { 
    transform: translateY(-12px); 
    box-shadow: 0 40px 80px rgba(22, 84, 56, 0.08); 
    border-color: rgba(22, 84, 56, 0.15); 
}

.blog-img-wrapper { position: relative; height: 260px; overflow: hidden; }
.blog-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.blog-card:hover .blog-img-wrapper img { transform: scale(1.08); }

/* Kategori/Rozet */
.blog-category-badge {
    position: absolute; bottom: 20px; left: 20px; 
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); 
    color: var(--primary-color); padding: 8px 18px; border-radius: 50px; 
    font-size: 0.75rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
}

.blog-info { padding: 35px 30px; display: flex; flex-direction: column; flex-grow: 1; }
.blog-date { font-size: 0.85rem; font-weight: 700; color: rgba(0,0,0,0.4); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.blog-title { font-size: 1.5rem; font-weight: 800; color: var(--primary-color); margin-bottom: 15px; line-height: 1.4; letter-spacing: -0.5px; }
.blog-excerpt { font-size: 1rem; color: rgba(0,0,0,0.6); line-height: 1.7; margin-bottom: 30px; flex-grow: 1; }

.blog-action { 
    border-top: 1px solid rgba(0,0,0,0.05); padding-top: 20px; 
    font-weight: 800; color: var(--accent-color); text-transform: uppercase; 
    letter-spacing: 1px; font-size: 0.9rem; display: flex; align-items: center; justify-content: space-between; 
}
.blog-card:hover .blog-action { color: var(--primary-color); }

/* --- BLOG DETAY (MAKALE) MİZANPAJI --- */
.article-canvas { 
    background-color: #ffffff; border-top-left-radius: 50px; border-top-right-radius: 50px; 
    margin-top: -80px; position: relative; z-index: 5; box-shadow: 0 -20px 50px rgba(0,0,0,0.1); padding: 25px 0; 
}
.article-container { max-width: 800px; margin: 0 auto; } /* Okunabilirlik için daraltılmış tasarım */

.article-meta-bar { 
    display: flex; align-items: center; justify-content: space-between; 
    border-bottom: 1px solid rgba(0,0,0,0.3); padding-bottom: 10px; margin-bottom: 10px; 
}
.meta-date { font-size: 0.9rem; font-weight: 700; color: rgba(0,0,0,0.5); text-transform: uppercase; letter-spacing: 2px; }

.article-content { font-size: 1.25rem; line-height: 2; color: rgba(0,0,0,0.75); font-weight: 400; }
.article-content p { margin-bottom: 30px; }
.article-content h2, .article-content h3 { color: var(--primary-color); font-weight: 800; margin-top: 60px; margin-bottom: 25px; line-height: 1.3; }
.article-content img { width: 100%; border-radius: 20px; margin: 40px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

/* Dergi Stili Baş Harf (Drop Cap) */
.article-content > p:first-of-type::first-letter {
    font-size: 4.5rem; font-weight: 900; color: var(--accent-color); 
    float: left; margin-right: 15px; line-height: 1; padding-top: 5px; font-family: 'Cinzel Decorative', serif;
}

/* --- MAKALE İÇİ GALERİ (PREMIUM GRID) --- */
.article-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Ekran boyutuna göre otomatik sütun */
    gap: 30px;
    margin-top: 60px;
}

.article-gallery img {
    width: 100%;
    height: 280px; /* Resimleri aynı hizada tutmak için sabit yükseklik */
    object-fit: cover; /* Resmi bozmadan/ezmeden kırparak sığdırır */
    border-radius: 20px; /* Mevcut tasarımla uyumlu oval köşeler */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
    cursor: pointer;
}

.article-gallery img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(22, 84, 56, 0.1); /* Ana renginle uyumlu gölge */
}

/* =========================================================
   DE-CAMP PREMIUM - BLOG MOBILE ARMOR
   ========================================================= */

@media (max-width: 991px) {
    /* Mobilde içerik kaymasını engellemek için */
    .event-hero, .detail-hero, .hero-showcase, .blog-hero {
        margin-top: -70px !important;
        padding-top: 70px !important;
    }

    body { padding-top: 70px; }
    
    .display-4, .display-5, .hero-title, .cinematic-title { 
        font-size: clamp(2rem, 8vw, 2.5rem) !important; 
        line-height: 1.2 !important; 
    }
    
    .hero-subtitle, .lead, .product-overview { font-size: 1rem !important; }

    /* Devasa beyaz boşlukları daralt */
    .contact-canvas, .book-canvas, .product-detail-canvas, .event-canvas, .article-canvas {
        margin-top: -40px !important; 
        padding: 50px 15px !important; 
        border-top-left-radius: 30px !important;
        border-top-right-radius: 30px !important;
    }

    /* Izgara sistemlerini tek sütuna düşür */
    .bento-grid, .spec-bento-grid, .team-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .dropdown-menu { 
        background: transparent !important; 
        border: none !important; 
        box-shadow: none !important; 
        padding-left: 15px; 
    }
    .dropdown-item, .dropdown-item-premium { 
        color: rgba(255,255,255,0.8) !important; 
    }
    
    /* Butonlar parmak dostu olsun */
    .btn-accent, .btn-magnetic-glass, .btn-submit-glass { 
        width: 100% !important; 
        text-align: center; 
        margin-top: 10px; 
    }
    
    .hero-showcase, .event-hero, .detail-hero { 
        height: 60vh !important; 
        min-height: 400px; 
    }
}

/* Küçük Telefonlar (576px ve altı) */
@media (max-width: 576px) {
    .container { padding-left: 20px; padding-right: 20px; }
    
    .bento-card, .spec-bento, .equipment-box, .contact-form-card, .bento-info-card { 
        padding: 20px !important; 
    }
    
    .config-options-area { padding: 30px 15px 150px 15px !important; }
}

/* =========================================================
   MİMARIN DOKUNUŞU: MOBİLDE KARTLARI SIKILAŞTIRMA (İÇERİK KORUMALI)
   ========================================================= */
@media (max-width: 991px) {
    
    /* 1. Resim yüksekliğini masaüstündeki 260px'ten 150px'e indir */
    .blog-img-wrapper { 
        height: 150px !important; 
    }
    
    /* 2. Etiketi (Badge) küçült ve köşeye daha çok yaklaştır */
    .blog-category-badge { 
        bottom: 8px !important; 
        left: 8px !important; 
        padding: 5px 10px !important; 
        font-size: 0.65rem !important; 
    }
    
    /* 3. Kartın içindeki devasa boşlukları daralt */
    .blog-info { 
        padding: 15px !important; 
    }
    
    /* 4. Yazıları (Başlık ve Açıklama) mobilde ezilmeyecek boyuta çek */
    .blog-title { 
        font-size: 1.1rem !important; 
        margin-bottom: 8px !important; 
        line-height: 1.3 !important; 
    }
    
    .blog-excerpt { 
        font-size: 0.85rem !important; 
        margin-bottom: 12px !important; 
        line-height: 1.4 !important; 
    }
    
    /* 5. Alt çizgiyi ve butonu (Read Article) daralt */
    .blog-action { 
        padding-top: 10px !important; 
        font-size: 0.8rem !important; 
    }
}

/* 1. BLOG BAŞLIĞI KESİCİ (Maksimum 2 Satır) */
.blog-title {
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    
    line-height: 1.4;
    min-height: 2.8em; 
    max-height: 2.8em; /* Alt satırdan harf sızmasını engeller */
    margin-bottom: 10px;
}

/* 2. BLOG AÇIKLAMASI KESİCİ (Maksimum 3 Satır) */
.blog-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    
    line-height: 1.5;
    min-height: 4.5em; 
    max-height: 4.5em; /* Kutuyu milimetrik olarak sabitler */
    margin-bottom: 15px;
}