/* =========================================================================
   BOŞTA DURMASIN - BLOG VE STANDART SAYFA (TEMA) TASARIMLARI (AYDINLIK VERSİYON)
   ========================================================================= */

/* 1. TEMA GENEL MAKYAJI VE PREMIUM LIGHT HEADER TASARIMI */
.site-description { display: none !important; }
body { background-color: #f8fafc; font-family: "Inter", sans-serif; }

/* --- 📱 YENİ MODERN HEADER (MOBİL UYUM) - PREMİUM LIGHT --- */
@media (max-width: 768px) {
    /* Kopya/istenmeyen tema elemanlarını kalıcı olarak sil */
    .mobile-menu-control-wrapper,
    .mobile-header-navigation,
    .main-navigation .menu-toggle:nth-of-type(n+2) {
        display: none !important;
    }

    /* Header barını daralt ve logoyu koru */
    .site-header .inside-header {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        padding: 10px 15px !important;
        position: relative;
    }

    /* Asıl Hamburger İkonumuz */
    .menu-toggle {
        display: block !important; 
        background: transparent !important;
        color: #0f172a !important; 
        border: 1px solid #cbd5e1 !important;
        border-radius: 6px !important;
        padding: 8px 12px !important;
        font-size: 16px !important;
        margin-left: auto; /* İkonu en sağa yasla */
    }

    /* Menü KAPALIYKEN tüm linkleri gizle */
    .main-navigation:not(.toggled) ul {
        display: none !important;
    }

    /* Menü AÇILDIĞINDA (.toggled eklendiğinde) linkleri göster */
    .main-navigation.toggled {
        width: 100% !important; 
    }
    
    .main-navigation.toggled .main-nav ul,
    .main-navigation.toggled ul {
        display: flex !important;
        flex-direction: column !important; 
        width: 100% !important;
        background-color: #ffffff !important; 
        margin-top: 15px !important;
        padding: 10px 0 !important;
        border-top: 1px solid #e2e8f0 !important;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05) !important;
    }

    /* Alt alta temiz liste görünümü */
    .main-navigation li {
        width: 100% !important;
        text-align: left !important;
        border-bottom: 1px solid #f1f5f9 !important; 
    }
    .main-navigation li:last-child {
        border-bottom: none !important;
    }

    /* Dokunma alanlarını genişlet */
    .main-navigation li a {
        padding: 16px 20px !important; 
        display: block !important;
        width: 100% !important;
        font-size: 16px !important;
    }

    /* Çağrı Butonunu (CTA) mobilde merkeze yay */
    .main-navigation li.bd-header-cta {
        margin-left: 0 !important;
        margin-top: 15px !important;
        padding: 0 15px 15px 15px !important;
    }
    .main-navigation li.bd-header-cta a {
        text-align: center !important;
        display: block !important;
        padding: 14px 20px !important; 
    }
}
/* --- HEADER BİTİŞ --- */

/* TEMEL İÇERİK STİLLERİ */
.inside-article { padding: 50px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: 1px solid #e2e8f0; margin-top: 40px; margin-bottom: 40px; background: #fff;}
a { color: #7B61FF; text-decoration: none; }
a:hover { color: #6042ef; text-decoration: underline; }
button, .button, input[type="submit"] { background-color: #0f172a; color: #fff; border-radius: 8px; padding: 12px 24px; font-weight: 600; border: none;}
button:hover, .button:hover, input[type="submit"]:hover { background-color: #1e293b; color: #fff;}

/* 2. FOOTER TASARIMI */
.site-info { background: #fff; border-top: 1px solid #e2e8f0; padding: 24px 0; }
.bd-standard-footer { display: flex; justify-content: center; align-items: center; gap: 30px; flex-wrap: wrap; max-width: 1200px; margin: auto; }
.bd-sf-copy { font-size: 13px; color: #64748b; font-weight: 500; }
.bd-sf-socials { display: flex; gap: 16px; align-items: center; }
.bd-sf-socials a { color: #64748b; display: flex; transition: color 0.2s; }
.bd-sf-socials a:hover { color: #7B61FF; }
.bd-sf-socials svg { width: 22px; height: 22px; fill: currentColor; }

/* 3. TEMADAN BAĞIMSIZ, TAM MERKEZİ ARAMA/FİLTRE (HERO) KUTUSU */
.bd-blog-hero-section { width: 100%; display: flex; justify-content: center; padding: 50px 20px 0 20px; background: transparent; }
.bd-blog-search-container { width: 100%; max-width: 850px; display: block; margin: 0 auto; }

/* Blog Ana Sayfa Butonu */
.bd-blog-top-nav { margin-bottom: 20px; display: flex; justify-content: center; }
.bd-blog-home-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #475569; background: #fff; padding: 10px 20px; border-radius: 30px; border: 1px solid #e2e8f0; transition: all 0.2s; box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.bd-blog-home-btn:hover { color: #7B61FF; border-color: #7B61FF; background: #f8fafc; text-decoration: none; transform: translateY(-2px); }

/* Arama Formu Konteynerı */
.bd-blog-search-form { display: flex; flex-direction: column; gap: 20px; background: #fff; border: 1px solid #e2e8f0; border-radius: 24px; padding: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); width: 100%; }

/* Arama Satırı */
.bd-search-row { display: flex; align-items: center; width: 100%; border-bottom: 1px solid #f1f5f9; padding-bottom: 16px; }
.bd-search-row svg { width: 24px; height: 24px; flex-shrink: 0; color: #64748b; }
.bd-search-row input { flex-grow: 1; border: none; background: transparent; padding: 12px 16px; font-size: 17px; color: #0f172a; outline: none; font-family: inherit; }
.bd-search-row button { background: #0f172a !important; color: #fff !important; border: none; border-radius: 40px !important; padding: 14px 36px !important; font-weight: 700; cursor: pointer; transition: 0.2s; font-size: 15px; line-height: 1 !important;}
.bd-search-row button:hover { background: #7B61FF !important; }

/* Filtre Açılır Menü Satırı */
.bd-filter-row { display: flex; gap: 16px; align-items: center; width: 100%; flex-wrap: wrap; }
.bd-filter-row select { flex: 1; min-width: 180px; padding: 14px 18px; border-radius: 12px; border: 1px solid #e2e8f0; background: #f8fafc; font-size: 15px; font-weight: 600; color: #0f172a; outline: none; cursor: pointer; transition: 0.2s; font-family: inherit; -webkit-appearance: none; -moz-appearance: none; appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l4 4 4-4'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 35px; }
.bd-filter-row select:focus { border-color: #7B61FF; background-color: #fff; box-shadow: 0 0 0 3px rgba(123, 97, 255, 0.1); }
.bd-clear-filters-btn { font-size: 14px; color: #ef4444; font-weight: 700; text-decoration: none; padding: 14px 24px; border-radius: 12px; background: rgba(239, 68, 68, 0.06); transition: 0.2s; text-align: center; }
.bd-clear-filters-btn:hover { background: rgba(239, 68, 68, 0.12); color: #dc2626; text-decoration: none; }

/* 4. BLOG GRID SİSTEMİ (Arşiv Listesi) */
body.post-type-archive-bd_blog #main,
body.search #main { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; align-items: stretch; padding: 10px 0 60px 0; }
body.post-type-archive-bd_blog .page-header,
body.search .page-header { grid-column: 1 / -1; text-align: center; border-bottom: none; margin-bottom: 20px; margin-top: 10px; padding-bottom: 0; background: transparent; }
body.post-type-archive-bd_blog .page-header h1,
body.search .page-header h1 { font-size: 2.5rem; color: #0f172a; font-weight: 800; }
body.post-type-archive-bd_blog #main article,
body.search #main article { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.02); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; margin-bottom: 0; }
body.post-type-archive-bd_blog #main article:hover,
body.search #main article:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
body.post-type-archive-bd_blog #main article .inside-article,
body.search #main article .inside-article { padding: 0 !important; margin: 0 !important; border: none !important; box-shadow: none !important; display: flex; flex-direction: column; height: 100%; background: transparent; }
.post-image { margin: 0; }
.post-image img { width: 100%; height: 220px; object-fit: cover; border-radius: 16px 16px 0 0; }
.entry-header { padding: 24px 24px 10px 24px; }
.entry-title { font-size: 1.3rem; margin: 0; font-weight: 700; line-height: 1.4; }
.entry-title a { color: #0f172a; } .entry-title a:hover { color: #7B61FF; }
.entry-summary { padding: 0 24px 24px 24px; flex-grow: 1; display: flex; flex-direction: column; }
.entry-summary p { color: #64748b; font-size: 0.95rem; line-height: 1.6; margin-bottom: 20px; }
.read-more-container { margin-top: auto; }
.read-more { background: #f8fafc; color: #0f172a; padding: 10px 16px; border-radius: 8px; font-weight: 600; display: inline-block; transition: 0.2s; border: 1px solid #e2e8f0; }
.read-more:hover { background: #7B61FF; color: #fff; border-color: #7B61FF; text-decoration: none; }

/* BÜYÜTÜLMÜŞ PREMIUM SAYFALAMA (PAGINATION) */
.nav-links, .paging-navigation { grid-column: 1 / -1; display: flex; justify-content: center; gap: 12px; margin-top: 50px; flex-wrap: wrap; }
.nav-links .page-numbers { padding: 12px 20px; border-radius: 12px; border: 1px solid #e2e8f0; background: #fff; color: #0f172a; font-size: 16px; font-weight: 700; transition: all 0.2s; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-width: 48px; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.nav-links .page-numbers:hover:not(.current):not(.dots) { background: #f1f5f9; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.nav-links .page-numbers.current { background: #7B61FF; color: #fff; border-color: #7B61FF; }
.nav-links .page-numbers.dots { border: none; background: transparent; box-shadow: none; padding: 12px 8px; }

/* 5. SİNGLE BLOG PREMIUM DETAY SAYFASI TASARIMI */
body.single-bd_blog .site-content { max-width: 960px !important; margin: 0 auto !important; padding: 20px 20px 60px 20px !important; }
body.single-bd_blog .inside-article { padding: 50px 60px !important; border-radius: 24px; box-shadow: 0 15px 35px rgba(0,0,0,0.02); background: #fff; border: 1px solid #e2e8f0; margin-top: 0px !important; }

/* Başlık ve Kategori Alanını Merkezleme */
body.single-bd_blog .entry-header { text-align: center !important; margin-bottom: 40px !important; display: flex; flex-direction: column; align-items: center; }
body.single-bd_blog .entry-title { font-size: 2.1rem !important; font-weight: 700 !important; color: #0f172a !important; line-height: 1.3 !important; text-align: center !important; margin: 15px 0 0 0 !important; letter-spacing: -0.5px; }

/* Dinamik Kategori Rozetleri */
.bd-single-meta-wrapper { display: flex; justify-content: center; width: 100%; margin-bottom: 5px; }
.bd-single-cats { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.bd-single-cat-badge { padding: 6px 16px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; background: rgba(123, 97, 255, 0.1); color: #7B61FF; letter-spacing: 0.5px; }

/* Görselleri (Kapak dahil) Kusursuz Merkezleme */
body.single-bd_blog .featured-image,
body.single-bd_blog .page-header-image-single,
body.single-bd_blog .post-image { display: flex !important; justify-content: center !important; align-items: center !important; margin: 0 auto 40px auto !important; float: none !important; clear: both !important; width: 100% !important; text-align: center !important; }
body.single-bd_blog .featured-image img,
body.single-bd_blog .page-header-image-single img,
body.single-bd_blog .post-image img { border-radius: 16px !important; box-shadow: 0 10px 30px rgba(0,0,0,0.04) !important; max-height: 480px; object-fit: cover; margin: 0 auto !important; width: 100%; }

/* Yazı İçi Görselleri Merkezleme */
body.single-bd_blog .entry-content img { display: block !important; margin: 35px auto !important; border-radius: 12px; box-shadow: 0 8px 20px rgba(0,0,0,0.03); max-width: 100%; height: auto; }

/* Tipografi Düzenlemeleri */
body.single-bd_blog .entry-content p { font-size: 1.12rem !important; line-height: 1.85 !important; color: #334155 !important; margin-bottom: 28px !important; text-align: left !important; }
body.single-bd_blog .entry-content h2 { font-size: 1.5rem !important; font-weight: 700 !important; color: #0f172a !important; margin-top: 45px !important; margin-bottom: 20px !important; letter-spacing: -0.3px; }
body.single-bd_blog .entry-content h3 { font-size: 1.25rem !important; font-weight: 600 !important; color: #0f172a !important; margin-top: 35px !important; margin-bottom: 15px !important; }

@media (max-width: 768px) {
    .bd-blog-hero-section { padding: 20px 10px 0 10px; }
    body.single-bd_blog .inside-article { padding: 30px 20px !important; border-radius: 16px; }
    body.single-bd_blog .entry-title { font-size: 1.6rem !important; }
    body.post-type-archive-bd_blog #main, body.search #main { grid-template-columns: 1fr !important; padding: 20px 10px; }
    .bd-filter-row select { flex: 1 1 100% !important; }
    .bd-clear-filters-btn { width: 100%; }
}

/* PROMPT MÜHENDİSİ DİNAMİK PLATFORM STİLLERİ */
.bd-prompt-field { margin-bottom: 20px; }
.bd-prompt-field label { display: block; font-weight: 700; color: #1e293b; margin-bottom: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
.bd-prompt-select { width: 100%; padding: 12px 16px; border-radius: 8px; border: 1px solid #cbd5e1; background: #f8fafc; font-size: 15px; font-weight: 600; color: #334155; outline: none; cursor: pointer; transition: all 0.3s; }
.bd-prompt-select:focus { border-color: #7B61FF; box-shadow: 0 0 0 3px rgba(123, 97, 255, 0.1); }

.bd-platforms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.bd-platform-btn { padding: 14px 10px; border: 2px solid #e2e8f0; border-radius: 10px; background: #fff; cursor: pointer; text-align: center; font-weight: 600; color: #64748b; font-size: 14px; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); user-select: none; }
.bd-platform-btn:hover:not(.active) { border-color: #cbd5e1; background: #f1f5f9; transform: translateY(-1px); }
.bd-platform-btn.active { border-color: #7B61FF; background: #f5f3ff; color: #7B61FF; box-shadow: 0 4px 12px rgba(123,97,255,0.15); }
        
/* TÜM SAYFA İÇİN YAĞ GİBİ KAYMA EFEKTİ */
html {
    scroll-behavior: smooth;
}

/* PROMPT MUHENDISI MOBİL HEADER YÜKSEKLİK VE BOŞLUK DÜZELTMESİ */
@media (max-width: 768px) {
    *:has(> #bd-prompt-alani) {
        max-height: 96vh !important; 
        overflow-y: auto !important; 
        -webkit-overflow-scrolling: touch !important; 
    }

    #bd-prompt-alani {
        width: 100% !important;
        margin-top: 5px !important;
        padding-top: 10px !important;
    }
}




