/* ==========================================================================
   1. MODERN DARK TEMA DEĞİŞKENLERİ
   ========================================================================== */
:root {
    --bg-dark: #050505; /* Saf siyah değil, çok derin bir füme/siyah */
    --surface: #111111;
    --surface-glass: rgba(20, 20, 20, 0.6);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --text-main: #FFFFFF;
    --text-muted: #A1A1AA;
    
    --accent: #8B5CF6; /* Neon Mor */
    --accent-hover: #7C3AED;
    --accent-gradient: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    
    --font-heading: 'Clash Display', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-pill: 100px;
    --radius-lg: 24px;
    --radius-md: 16px;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. GLOBAL SIFIRLAMA & TIPOGRAFİ
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   3. ARKA PLAN NEON YANSIMALARI (Mesh Gradient Efekti)
   ========================================================================== */
.glow-bg {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.glow-1 { top: -200px; left: -100px; background: #8B5CF6; }
.glow-2 { bottom: -200px; right: -100px; background: #ec4899; }

/* ==========================================================================
   4. HAVADA SÜZÜLEN CAM NAVİGASYON (Floating Glass Header)
   ========================================================================== */
.floating-header {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 24px;
}

.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    height: 70px;
    background: var(--surface-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-pill);
    padding: 0 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.brand-logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1px;
}

.brand-logo img { max-height: 32px; }

.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.nav-links a:hover { color: var(--text-main); }

.nav-actions { display: flex; align-items: center; gap: 16px; }

.btn-neon {
    background: var(--surface);
    border: 1px solid var(--border-glass);
    color: var(--text-main);
    padding: 10px 24px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.btn-neon:hover::before { opacity: 1; }
.btn-neon:hover { border-color: transparent; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 24px;
    cursor: pointer;
}

/* ==========================================================================
   5. HERO BÖLÜMÜ (Büyük Tipografi)
   ========================================================================== */
.main-content { padding-top: 150px; } /* Menü havada olduğu için boşluk */

.hero-modern {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.badge-pill {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-pill);
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.hero-huge-text {
    font-family: var(--font-heading);
    font-size: clamp(48px, 8vw, 96px); /* Ekrana göre otomatik büyür/küçülür */
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtext {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   6. BENTO GRID (Asimetrik Makale Dizilimi)
   ========================================================================== */
.bento-section { padding: 60px 0 120px; }

.section-title-modern {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 48px;
}

.section-title-modern h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
}

.section-title-modern .line {
    flex-grow: 1;
    height: 1px;
    background: var(--border-glass);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 350px; /* Her satırın standart yüksekliği */
    gap: 24px;
}

/* Asimetrik Yapının Kalbi: İlk öğeyi geniş ve yüksek yapıyoruz */
.item-0 { grid-column: span 2; grid-row: span 2; }
.item-1 { grid-column: span 1; grid-row: span 1; }
.item-2 { grid-column: span 1; grid-row: span 1; }
.item-3 { grid-column: span 1; grid-row: span 1; }
.item-4 { grid-column: span 2; grid-row: span 1; } /* Son öğeyi de geniş yapalım */

.bento-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border-glass);
    transition: var(--transition);
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.bento-img-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.bento-img-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Koyu tema hissiyatı için resmi karartıyoruz */
    transition: transform 0.7s ease;
}

.bento-card:hover .bento-img-wrapper img { transform: scale(1.05); opacity: 0.8; }

.glass-panel {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-glass);
}

.category-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--accent);
    color: var(--text-main);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
}

.bento-title {
    font-family: var(--font-heading);
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 8px;
}

.item-0 .bento-title { font-size: 36px; } /* Büyük kartta başlık daha büyük */

.bento-excerpt {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 2 satırdan sonrasını keser */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bento-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ==========================================================================
   7. MINIMALIST FOOTER
   ========================================================================== */
.footer-modern {
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 40px;
    background: #000;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand h2 { font-family: var(--font-heading); margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); }

.footer-links-group h4 { margin-bottom: 24px; font-weight: 600; }
.footer-links-group li { margin-bottom: 12px; }
.footer-links-group a { color: var(--text-muted); }
.footer-links-group a:hover { color: var(--text-main); }

.footer-bottom-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-size: 14px;
}

.social-icons { display: flex; gap: 16px; font-size: 20px; }
.social-icons a:hover { color: var(--text-main); }

/* ==========================================================================
   8. MOBİL UYUMLULUK
   ========================================================================== */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr; /* Mobilde her şey alt alta */
        grid-auto-rows: 400px;
    }
    .item-0, .item-1, .item-2, .item-3, .item-4 {
        grid-column: span 1;
        grid-row: span 1;
    }
    .item-0 .bento-title { font-size: 24px; }
    
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .btn-neon { display: none; }
    .mobile-menu-btn { display: block; }
    .floating-header { padding: 0 16px; top: 16px; }
    .glass-nav { padding: 0 16px; height: 60px; }
}

/* ==========================================================================
   9. BLOG DETAY SAYFASI (DARK TECH TEMA)
   ========================================================================== */
.post-single-header {
    text-align: center;
    padding: 60px 0 40px;
    margin-bottom: 40px;
}

.post-single-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    background: var(--text-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-single-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: var(--text-muted);
    font-size: 14px;
}

.post-single-layout {
    max-width: 800px;
    margin: 0 auto;
}

.post-featured-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid var(--border-glass);
}

.post-body {
    font-size: 18px;
    line-height: 1.8;
    color: #D4D4D8; /* Okunabilir açık gri */
    margin-bottom: 60px;
}

.post-body p { margin-bottom: 24px; }
.post-body h2, .post-body h3 {
    font-family: var(--font-heading);
    margin: 40px 0 16px;
    color: var(--text-main);
}

/* Paylaşım Alanı */
.post-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 60px;
}

.share-title { font-weight: 600; color: var(--text-main); }
.share-btn {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    color: var(--white); background: var(--surface);
    border: 1px solid var(--border-glass);
}
.share-btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }

/* ==========================================================================
   10. YORUMLAR VE FORM (GLASSMORPHISM)
   ========================================================================== */
.comments-section {
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    margin-bottom: 60px;
}

.section-title { font-family: var(--font-heading); font-size: 24px; margin-bottom: 32px; }

.comment-item {
    display: flex; gap: 20px;
    margin-bottom: 32px; padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.comment-avatar img { width: 56px; height: 56px; border-radius: 50%; }
.comment-author { font-size: 16px; font-weight: 600; color: var(--text-main); }
.comment-date { font-size: 13px; color: var(--text-muted); display: block; margin-bottom: 8px; }
.comment-text { color: #A1A1AA; }

/* Dark Input Form */
.premium-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--text-muted); font-size: 14px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 16px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    color: var(--text-main); font-family: var(--font-body);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}
@media (max-width: 768px) { .premium-form .form-row { grid-template-columns: 1fr; } }