/* ==========================================================================
   NORTHCITY BLOG & İÇERİK ŞABLONU STİL TANIMLARI
   ========================================================================== */

:root {
    --nc-blog-primary: #0f172a;
    --nc-blog-secondary: #1e293b;
    --nc-blog-accent: #00d4ff;
    --nc-blog-accent-hover: #00b4d8;
    --nc-blog-accent-orange: #ff6b35;
    --nc-blog-text-dark: #0f172a;
    --nc-blog-text-muted: #64748b;
    --nc-blog-border: #e2e8f0;
    --nc-blog-card-bg: #ffffff;
    --nc-blog-radius: 18px;
    --nc-blog-radius-sm: 10px;
    --nc-blog-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --nc-blog-shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --nc-blog-shadow-hover: 0 20px 35px -10px rgba(0, 212, 255, 0.2), 0 12px 16px -8px rgba(15, 23, 42, 0.08);
}

.nc-blog-page, .nc-single-post-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
    color: var(--nc-blog-text-dark);
    background-color: #f8fafc;
    min-height: 100vh;
}

.nc-blog-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   1. HERO BANNER
   ========================================================================== */
.nc-blog-hero {
    background: linear-gradient(135deg, #0b1120 0%, #0f172a 45%, #1e293b 85%, #1e3a8a 100%);
    color: #ffffff;
    padding: 70px 0 80px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nc-blog-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, rgba(37, 99, 235, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.nc-blog-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.nc-blog-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 212, 255, 0.35);
    color: var(--nc-blog-accent);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 999px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nc-blog-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 16px 0;
    letter-spacing: -1px;
    color: #ffffff;
}

.nc-blog-title span {
    background: linear-gradient(135deg, #00d4ff 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nc-blog-subtitle {
    font-size: 17px;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0 0 32px 0;
    max-width: 580px;
}

/* Blog Arama Çubuğu */
.nc-blog-search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 6px 8px 6px 18px;
    backdrop-filter: blur(10px);
    max-width: 520px;
    transition: all 0.25s ease;
}

.nc-blog-search-form:focus-within {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--nc-blog-accent);
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.2);
}

.nc-blog-search-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #ffffff !important;
    font-size: 15px;
    padding: 10px 0;
}

.nc-blog-search-input::placeholder {
    color: #94a3b8;
}

.nc-blog-search-btn {
    background: linear-gradient(135deg, #00d4ff 0%, #0077b6 100%);
    color: #0f172a;
    font-weight: 700;
    border: none;
    padding: 10px 22px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nc-blog-search-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 212, 255, 0.4);
}

/* Hero Sağ Görsel Kartı */
.nc-blog-hero-media {
    position: relative;
}

.nc-blog-hero-image-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 212, 255, 0.15);
    transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.nc-blog-hero-image-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 212, 255, 0.25);
}

.nc-blog-hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.nc-blog-hero-glass-tag {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 18px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #e2e8f0;
}

.nc-blog-hero-glass-tag strong {
    color: var(--nc-blog-accent);
}

/* ==========================================================================
   2. KATEGORİ FİLTRE BAR VE NAVİGASYON
   ========================================================================== */
.nc-blog-nav-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--nc-blog-border);
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: var(--nc-blog-shadow-sm);
}

.nc-blog-categories-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    overflow-x: auto;
    gap: 12px;
    scrollbar-width: none;
}

.nc-blog-categories-wrap::-webkit-scrollbar {
    display: none;
}

.nc-blog-cat-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nc-blog-cat-item a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nc-blog-cat-item a:hover {
    background: #e2e8f0;
    color: var(--nc-blog-primary);
}

.nc-blog-cat-item.active a {
    background: var(--nc-blog-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.nc-blog-stats-badge {
    font-size: 13px;
    font-weight: 600;
    color: var(--nc-blog-text-muted);
    white-space: nowrap;
}

/* ==========================================================================
   3. ANA İÇERİK VE GRID
   ========================================================================== */
.nc-blog-content-area {
    padding: 50px 0 80px 0;
}

/* Öne Çıkan Yazı Kartı */
.nc-featured-post-card {
    background: var(--nc-blog-card-bg);
    border: 1px solid var(--nc-blog-border);
    border-radius: var(--nc-blog-radius);
    box-shadow: var(--nc-blog-shadow-md);
    overflow: hidden;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    transition: all 0.3s ease;
}

.nc-featured-post-card:hover {
    box-shadow: var(--nc-blog-shadow-hover);
    transform: translateY(-3px);
    border-color: rgba(0, 212, 255, 0.4);
}

.nc-featured-img-wrap {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    background: #0f172a;
}

.nc-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nc-featured-post-card:hover .nc-featured-img {
    transform: scale(1.05);
}

.nc-featured-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--nc-blog-accent-orange);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.4);
}

.nc-featured-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nc-post-meta-top {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--nc-blog-text-muted);
    margin-bottom: 14px;
}

.nc-post-category-tag {
    background: rgba(0, 212, 255, 0.1);
    color: #0284c7;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.nc-post-category-tag:hover {
    background: rgba(0, 212, 255, 0.2);
}

.nc-featured-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 16px 0;
}

.nc-featured-title a {
    color: var(--nc-blog-text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nc-featured-title a:hover {
    color: #0284c7;
}

.nc-featured-excerpt {
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
    margin: 0 0 24px 0;
}

.nc-post-meta-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.nc-author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nc-author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.nc-author-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--nc-blog-text-dark);
}

.nc-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0284c7;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.nc-read-btn:hover {
    gap: 10px;
    color: #0369a1;
}

/* 3 Sütunlu Yazı Izgarası (Grid) */
.nc-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.nc-post-card {
    background: var(--nc-blog-card-bg);
    border: 1px solid var(--nc-blog-border);
    border-radius: var(--nc-blog-radius);
    box-shadow: var(--nc-blog-shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.nc-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--nc-blog-shadow-md);
    border-color: #cbd5e1;
}

.nc-post-thumb-wrap {
    position: relative;
    padding-top: 58%;
    overflow: hidden;
    background: #0f172a;
}

.nc-post-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.nc-post-card:hover .nc-post-thumb {
    transform: scale(1.06);
}

.nc-post-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nc-post-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 12px 0;
}

.nc-post-card-title a {
    color: var(--nc-blog-text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nc-post-card-title a:hover {
    color: #0284c7;
}

.nc-post-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 20px 0;
    flex: 1;
}

/* ==========================================================================
   4. BOŞ DURUM / HOŞ GELDİNİZ ALANI (EMPTY STATE / COMING SOON)
   ========================================================================== */
.nc-blog-empty-state {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    margin-bottom: 50px;
}

.nc-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: inline-block;
}

.nc-empty-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--nc-blog-primary);
    margin: 0 0 12px 0;
}

.nc-empty-desc {
    font-size: 16px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto 28px auto;
    line-height: 1.6;
}

.nc-empty-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.nc-empty-btn-primary {
    background: var(--nc-blog-primary);
    color: #ffffff;
    padding: 12px 26px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.nc-empty-btn-primary:hover {
    background: #1e3a8a;
    color: #ffffff;
}

.nc-empty-btn-secondary {
    background: #f1f5f9;
    color: #334155;
    padding: 12px 26px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.nc-empty-btn-secondary:hover {
    background: #e2e8f0;
}

/* ==========================================================================
   5. E-BÜLTEN BANDI (NEWSLETTER CTA)
   ========================================================================== */
.nc-blog-newsletter-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 24px;
    padding: 48px;
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--nc-blog-shadow-md);
}

.nc-blog-newsletter-banner::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.nc-nl-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #ffffff;
}

.nc-nl-desc {
    font-size: 15px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
}

.nc-nl-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.nc-nl-input-wrap {
    display: flex;
    gap: 10px;
    width: 100%;
}

.nc-nl-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    outline: none !important;
    box-sizing: border-box !important;
}

.nc-nl-input::placeholder {
    color: #94a3b8;
}

.nc-nl-btn {
    background: var(--nc-blog-accent);
    color: #0f172a;
    font-weight: 800;
    border: none;
    border-radius: 12px;
    padding: 14px 26px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nc-nl-btn:hover {
    background: #38bdf8;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.nc-nl-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

.nc-nl-msg {
    display: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.nc-nl-msg.is-success {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.nc-nl-msg.is-error {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ==========================================================================
   6. TEKİL YAZI (SINGLE POST) SAYFASI STİLLERİ
   ========================================================================== */
.nc-reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, #00d4ff, #ff6b35);
    z-index: 99999;
    transition: width 0.1s ease;
}

.nc-single-post-hero {
    background: linear-gradient(135deg, #0b1120 0%, #0f172a 100%);
    color: #ffffff;
    padding: 50px 0 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nc-single-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 24px;
}

.nc-single-breadcrumb a {
    color: #cbd5e1;
    text-decoration: none;
}

.nc-single-breadcrumb a:hover {
    color: var(--nc-blog-accent);
}

.nc-single-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px 0;
    color: #ffffff;
}

.nc-single-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #94a3b8;
    flex-wrap: wrap;
}

.nc-single-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nc-single-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 20px;
}

.nc-single-featured-image {
    margin: -40px auto 40px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--nc-blog-shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10;
}

.nc-single-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.nc-single-content {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--nc-blog-shadow-sm);
    border: 1px solid var(--nc-blog-border);
    margin-bottom: 50px;
    font-size: 18px;
    line-height: 1.8;
    color: #334155;
}

.nc-single-content h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--nc-blog-primary);
    margin: 40px 0 20px 0;
}

.nc-single-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--nc-blog-primary);
    margin: 30px 0 16px 0;
}

.nc-single-content p {
    margin-bottom: 24px;
}

.nc-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 30px 0;
}

.nc-single-content blockquote {
    border-left: 4px solid var(--nc-blog-accent);
    background: #f8fafc;
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    margin: 30px 0;
    font-style: italic;
    color: #1e293b;
}

/* Paylaşım ve Etiketler */
.nc-post-footer-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid var(--nc-blog-border);
    margin-top: 40px;
    flex-wrap: wrap;
    gap: 16px;
}

.nc-share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nc-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.2s ease;
}

.nc-share-btn:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

.nc-share-wp { background: #25d366; }
.nc-share-x { background: #000000; }
.nc-share-fb { background: #1877f2; }
.nc-share-copy { background: #64748b; cursor: pointer; border: none; }

/* ==========================================================================
   7. RESPONSIVE DÜZEN
   ========================================================================== */
@media (max-width: 1024px) {
    .nc-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nc-featured-post-card {
        grid-template-columns: 1fr;
    }
    .nc-featured-img-wrap {
        min-height: 260px;
    }
    .nc-blog-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 36px;
    }
    .nc-blog-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .nc-blog-search-form {
        margin-left: auto;
        margin-right: auto;
    }
    .nc-blog-hero-image-card {
        transform: none;
        max-width: 540px;
        margin: 0 auto;
    }
    .nc-blog-newsletter-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .nc-nl-form {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .nc-posts-grid {
        grid-template-columns: 1fr;
    }
    .nc-blog-title {
        font-size: 32px;
    }
    .nc-single-title {
        font-size: 28px;
    }
    .nc-single-content {
        padding: 24px 18px;
        font-size: 16px;
    }
    .nc-featured-body {
        padding: 24px;
    }
    .nc-blog-newsletter-banner {
        padding: 28px 20px;
    }
    .nc-nl-input-wrap {
        flex-direction: column;
    }
}
