/* ================================================================
   BGM BİLİŞİM - 3'LÜ GRID ULTRA PREMIUM BLOG FİNAL CSS
   ================================================================ */

/* 1. GENEL YAPI VE DİKİŞSİZ LACİVERT ARKA PLAN */
.bgm-blog-main-wrapper { 
    background-color: #102652 !important; 
    padding: 140px 0 100px 0; 
    font-family: 'Inter', sans-serif;
}
.container-fluid { 
    max-width: 1450px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* 2. HEADER (BAŞLIK ALANI) */
.blog-hero-header { text-align: center; margin-bottom: 70px; }
.premium-badge-box { 
    display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 25px; 
}
.gold-line { width: 50px; height: 2px; background: #ffcc00; display: inline-block; }
.badge-text { color: #ffcc00; font-size: 13px; font-weight: 900; letter-spacing: 3px; }
.premium-main-title { font-size: 56px; color: #fff; font-weight: 900; margin-bottom: 20px; }
.gradient-text { background: linear-gradient(45deg, #ffcc00, #ffec85); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.premium-hero-desc { color: #8e9aaf; font-size: 18px; max-width: 700px; margin: 0 auto; line-height: 1.7; }

/* 3. ANA LAYOUT (SOL 3'LÜ GRID + SAĞ SIDEBAR) */
.blog-content-layout {
    display: grid; 
    grid-template-columns: 1fr 360px; /* Sağ menü genişliği */
    gap: 40px;
    align-items: start;
}

/* 4. SOL ALAN: 3'LÜ KART AKIŞI */
.blog-articles-stream {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Tane yan yana dizer, sığmazsa alta atar */
    gap: 30px;
}

/* 🚀 5. ULTRA PREMIUM HOVER KARTLARI (NETFLIX STİLİ) 🚀 */
.bgm-grid-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    height: 450px; /* Kart yüksekliği */
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #0b1a38;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.bgm-grid-card img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.7s ease; 
}

/* Üzerindeki Karartma (Overlay) */
.card-overlay {
    position: absolute; 
    inset: 0;
    background: linear-gradient(to top, rgba(16, 38, 82, 0.95) 10%, rgba(16, 38, 82, 0.2) 60%, transparent);
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end;
    padding: 35px 30px; 
    transition: background 0.5s ease;
}

/* Sol Üstteki Kategori Etiketi */
.card-tag { 
    position: absolute; top: 25px; left: 25px; 
    background: #ffcc00; color: #102652; 
    padding: 6px 18px; border-radius: 50px; 
    font-weight: 900; font-size: 11px; letter-spacing: 1px;
}

/* İçerik Konteyneri */
.card-hover-content { 
    display: flex; 
    flex-direction: column; 
    gap: 12px;
}

/* Her Zaman Görünenler (Tarih ve Başlık) */
.card-date { color: #ffcc00; font-size: 12px; font-weight: 800; }
.card-hover-content h3 { color: #fff; font-size: 22px; font-weight: 800; line-height: 1.3; margin: 0; transition: 0.3s; }

/* 🌟 GİZLİ OLAN VE HOVER İLE AÇILAN ALANLAR (Açıklama ve Buton) 🌟 */
.card-desc { 
    color: #94a3b8; font-size: 14px; line-height: 1.6; margin: 0;
    max-height: 0; opacity: 0; visibility: hidden; 
    transform: translateY(20px); transition: all 0.4s ease; 
}
.premium-card-btn { 
    color: #ffcc00; font-weight: 900; font-size: 14px; text-decoration: none; 
    display: flex; align-items: center; gap: 8px; margin-top: 5px;
    max-height: 0; opacity: 0; visibility: hidden; 
    transform: translateY(20px); transition: all 0.4s ease; 
}

/* 🔥 KARTIN ÜZERİNE GELİNDİĞİNDE OLACAKLAR (HOVER MAGIC) 🔥 */
.bgm-grid-card:hover img { transform: scale(1.15); }
.bgm-grid-card:hover .card-overlay { background: rgba(16, 38, 82, 0.95); } /* Tam kararır */
.bgm-grid-card:hover .card-desc, 
.bgm-grid-card:hover .premium-card-btn { 
    max-height: 150px; /* Alan açılır */
    opacity: 1; visibility: visible; 
    transform: translateY(0); 
}
.premium-card-btn:hover { gap: 15px; color: #fff; } /* Buton içi hover */


/* 6. SAĞ SIDEBAR (ARAMA & POPÜLER YAZILAR) */
.bgm-sidebar { display: flex; flex-direction: column; gap: 35px; }

.sidebar-box { 
    background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.06); 
    padding: 35px; border-radius: 35px; backdrop-filter: blur(10px);
}
.sidebar-title { color: #fff; font-size: 18px; margin-bottom: 25px; border-left: 4px solid #ffcc00; padding-left: 15px; font-weight: 800; }

/* Arama Kutusu */
.sidebar-search { display: flex; background: #fff; border-radius: 50px; padding: 6px 18px; }
.sidebar-search input { flex: 1; border: none; outline: none; padding: 10px 5px; font-weight: 700; color: #102652; font-size: 15px; }
.sidebar-search button { background: none; border: none; color: #102652; font-size: 22px; cursor: pointer; transition: 0.3s; }
.sidebar-search button:hover { color: #ffcc00; transform: scale(1.1); }

/* Popüler İçerikler (Numarasız, Ok Simgeli) */
.popular-posts { display: flex; flex-direction: column; gap: 15px; }
.pop-card { 
    display: flex; align-items: flex-start; gap: 12px; text-decoration: none; 
    padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.05); transition: 0.3s;
}
.pop-card:last-child { border-bottom: none; padding-bottom: 0; }
.pop-icon { color: #ffcc00; font-size: 22px; margin-top: 1px; transition: 0.3s; }
.pop-card p { color: #fff; font-weight: 700; font-size: 15px; line-height: 1.5; margin: 0; transition: 0.3s; }
.pop-card:hover .pop-icon { transform: translateX(5px); }
.pop-card:hover p { color: #ffcc00; }

/* 7. 🚨 ANİMASYONLU HAREKETE GEÇİN KUTUSU (CTA) 🚨 */
.animated-cta {
    background: linear-gradient(135deg, #ffcc00, #ffea70); 
    padding: 45px 35px; border-radius: 35px; text-align: center; color: #102652;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.2);
    animation: cta-pulse-glow 2.5s infinite; /* Nefes alma animasyonu */
}

@keyframes cta-pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0.5); }
    70% { box-shadow: 0 0 0 20px rgba(255, 204, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 204, 0, 0); }
}

.animated-cta i.bx-rocket { font-size: 50px; margin-bottom: 15px; display: block; }
.animated-cta h3 { font-weight: 900; font-size: 26px; margin-bottom: 10px; }
.animated-cta p { font-size: 14px; font-weight: 700; margin-bottom: 30px; opacity: 0.85; line-height: 1.5; }

/* Çift Buton (Arama & WhatsApp) */
.cta-action-group { display: flex; flex-direction: column; gap: 15px; }
.bgm-action-btn { 
    display: flex; align-items: center; justify-content: center; gap: 10px; 
    padding: 14px 20px; border-radius: 50px; text-decoration: none; 
    font-weight: 900; font-size: 15px; transition: all 0.3s ease;
}
.call-btn { background: #102652; color: #fff; }
.call-btn:hover { background: #0b1a38; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.wa-btn { background: #25D366; color: #fff; }
.wa-btn:hover { background: #1ebd5a; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); }

/* 8. MOBİL UYUMLULUK (RESPONSIVE) */
@media (max-width: 1300px) {
    .blog-articles-stream { grid-template-columns: repeat(2, 1fr); } /* Ekran küçülünce 2'li olur */
}
@media (max-width: 991px) {
    .blog-content-layout { grid-template-columns: 1fr; } /* Sidebar alta düşer */
    .blog-articles-stream { grid-template-columns: 1fr; } /* Mobil telefonda 1'li olur */
    .bgm-grid-card { height: 400px; }
    .premium-main-title { font-size: 42px; }
}