﻿@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Inter:wght@400;500;600;700&display=swap');

/* ============ TEMA DEĞİŞKENLERİ ============ */
.bg-light {
    --bg: #fafaf9;
    --surface: #ffffff;
    --surface-2: #f5f5f4;
    --border: #e7e5e4;
    --border-2: #d6d3d1;
    --text: #1c1917;
    --text-2: #44403c;
    --text-3: #78716c;
    --text-4: #a8a29e;
    --accent: #1c1917;
    --shadow: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.06);
}

.bg-dark {
    --bg: #0c0a09;
    --surface: #1c1917;
    --surface-2: #292524;
    --border: rgba(255,255,255,0.08);
    --border-2: rgba(255,255,255,0.14);
    --text: #fafaf9;
    --text-2: #e7e5e4;
    --text-3: #a8a29e;
    --text-4: #78716c;
    --accent: #fafaf9;
    --shadow: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.5);
}

/* ============ BASE ============ */
.bg * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.bg {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    transition: background 0.25s, color 0.25s;
}

/* ============ HEADER ============ */
.bg-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.25s;
}

.bg-dark .bg-header {
    background: rgba(12,10,9,0.85);
}

.bg-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.bg-logo {
    font-family: 'Newsreader', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bg-logo-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text);
    margin-top: 4px;
}

.bg-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

    .bg-nav a {
        color: var(--text-3);
        text-decoration: none;
        font-size: 13px;
        font-weight: 500;
        padding: 7px 14px;
        border-radius: 6px;
        transition: color 0.15s, background 0.15s;
    }

        .bg-nav a:hover {
            color: var(--text);
            background: var(--surface-2);
        }

        .bg-nav a.on {
            color: var(--text);
            background: var(--surface-2);
        }

.bg-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bg-icon-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-2);
    transition: all 0.15s;
}

    .bg-icon-btn:hover {
        color: var(--text);
        border-color: var(--border-2);
    }

.bg-theme-icon-light {
    display: none;
}

.bg-theme-icon-dark {
    display: block;
}

.bg-dark .bg-theme-icon-light {
    display: block;
}

.bg-dark .bg-theme-icon-dark {
    display: none;
}

.bg-cta-btn {
    padding: 8px 18px;
    background: var(--text);
    color: var(--bg);
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
}

    .bg-cta-btn:hover {
        opacity: 0.85;
    }

/* Hamburger */
.bg-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 8px;
    cursor: pointer;
}

    .bg-hamburger span {
        display: block;
        width: 16px;
        height: 1.5px;
        background: var(--text-2);
        border-radius: 2px;
        transition: transform 0.2s, opacity 0.2s;
    }

    .bg-hamburger.open span:nth-child(1) {
        transform: translateY(5.5px) rotate(45deg);
    }

    .bg-hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .bg-hamburger.open span:nth-child(3) {
        transform: translateY(-5.5px) rotate(-45deg);
    }

.bg-drawer {
    display: none;
    flex-direction: column;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 8px 16px 16px;
    gap: 2px;
}

    .bg-drawer.open {
        display: flex;
    }

    .bg-drawer a {
        color: var(--text-2);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        padding: 11px 12px;
        border-radius: 6px;
    }

        .bg-drawer a:hover {
            background: var(--surface-2);
            color: var(--text);
        }

/* ============ HERO ============ */
.bg-hero-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 32px 32px;
}

.bg-hero-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 16px;
}

.bg-hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    margin-bottom: 16px;
}

.bg-hero-main {
    cursor: pointer;
}

.bg-hero-img {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-4);
    overflow: hidden;
}

.bg-hero-img-icon {
    font-size: 32px;
    opacity: 0.4;
}

.bg-hero-img-text {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.bg-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 14px;
    padding-bottom: 4px;
    border-bottom: 1.5px solid currentColor;
}

.bg-hero-title {
    font-family: 'Newsreader', serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.8px;
    color: var(--text);
    margin-bottom: 16px;
    transition: opacity 0.15s;
}

.bg-hero-main:hover .bg-hero-title {
    opacity: 0.7;
}

.bg-hero-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-3);
    margin-bottom: 20px;
    max-width: 560px;
}

.bg-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-3);
}

.bg-meta-avatar {
    width: 32px;
    height: 32px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--text-2);
    font-weight: 600;
}

.bg-meta-author {
    color: var(--text-2);
    font-weight: 600;
}

.bg-meta-dot {
    color: var(--text-4);
}

/* Hero secondary */
.bg-hero-side {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.bg-hero-side-item {
    cursor: pointer;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

    .bg-hero-side-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .bg-hero-side-item:hover .bg-hero-side-title {
        opacity: 0.7;
    }

.bg-hero-side-title {
    font-family: 'Newsreader', serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--text);
    letter-spacing: -0.3px;
    margin-bottom: 10px;
    transition: opacity 0.15s;
}

/* ============ SON YAZILAR ============ */
.bg-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 32px;
    border-top: 1px solid var(--border);
}

.bg-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 32px;
}

.bg-section-title {
    font-family: 'Newsreader', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.5px;
}

.bg-section-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-3);
    text-decoration: none;
}

    .bg-section-link:hover {
        color: var(--text);
    }

.bg-content-grid {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 64px;
}

/* Yazı listesi */
.bg-articles {
    display: flex;
    flex-direction: column;
}

.bg-article {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 32px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}

    .bg-article:first-child {
        padding-top: 0;
    }

    .bg-article:hover .bg-article-title {
        opacity: 0.7;
    }

.bg-article-body {
    display: flex;
    flex-direction: column;
}

.bg-article-tag {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 10px;
}

.bg-article-title {
    font-family: 'Newsreader', serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.3px;
    color: var(--text);
    margin-bottom: 8px;
    transition: opacity 0.15s;
}

.bg-article-excerpt {
    font-size: 14px;
    color: var(--text-3);
    line-height: 1.65;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bg-article-meta {
    margin-top: auto;
    font-size: 12px;
    color: var(--text-3);
}

.bg-article-img {
    aspect-ratio: 1.4/1;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-4);
}

.bg-article-img-icon {
    font-size: 24px;
    opacity: 0.4;
}

.bg-article-img-text {
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============ SIDEBAR ============ */
.bg-sidebar {
    display: flex;
    flex-direction: column;
    gap: 36px;
    position: sticky;
    top: 96px;
    align-self: start;
}

.bg-widget-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1.5px solid var(--text);
}

.bg-popular-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bg-popular-item {
    display: flex;
    gap: 14px;
    cursor: pointer;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

    .bg-popular-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .bg-popular-item:hover .bg-popular-title {
        opacity: 0.7;
    }

.bg-popular-num {
    font-family: 'Newsreader', serif;
    font-size: 28px;
    font-weight: 400;
    color: var(--text-4);
    line-height: 1;
    min-width: 28px;
}

.bg-popular-title {
    font-family: 'Newsreader', serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--text);
    letter-spacing: -0.2px;
    transition: opacity 0.15s;
}

.bg-cat-list {
    display: flex;
    flex-direction: column;
}

.bg-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}

    .bg-cat-item:last-child {
        border-bottom: none;
    }

    .bg-cat-item:hover .bg-cat-name {
        color: var(--text);
    }

.bg-cat-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
    transition: color 0.15s;
}

.bg-cat-count {
    font-size: 12px;
    color: var(--text-4);
}

.bg-newsletter {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
}

.bg-newsletter-title {
    font-family: 'Newsreader', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.3px;
    margin-bottom: 6px;
}

.bg-newsletter-desc {
    font-size: 12px;
    color: var(--text-3);
    line-height: 1.6;
    margin-bottom: 14px;
}

.bg-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .bg-newsletter-form input {
        padding: 10px 12px;
        border: 1px solid var(--border-2);
        background: var(--surface);
        border-radius: 6px;
        font-family: inherit;
        font-size: 13px;
        color: var(--text);
    }

        .bg-newsletter-form input:focus {
            outline: none;
            border-color: var(--text);
        }

        .bg-newsletter-form input::placeholder {
            color: var(--text-4);
        }

    .bg-newsletter-form button {
        padding: 10px;
        background: var(--text);
        color: var(--bg);
        border: none;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.3px;
        cursor: pointer;
        transition: opacity 0.15s;
    }

        .bg-newsletter-form button:hover {
            opacity: 0.85;
        }

/* ============ FOOTER ============ */
.bg-footer {
    border-top: 1px solid var(--border);
    margin-top: 48px;
    padding: 40px 32px 24px;
}

.bg-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-3);
}

.bg-footer-links {
    display: flex;
    gap: 20px;
}

    .bg-footer-links a {
        color: var(--text-3);
        text-decoration: none;
    }

        .bg-footer-links a:hover {
            color: var(--text);
        }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .bg-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bg-content-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .bg-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .bg-header-inner {
        padding: 0 16px;
    }

    .bg-nav {
        display: none;
    }

    .bg-cta-btn {
        display: none;
    }

    .bg-hamburger {
        display: flex;
    }

    .bg-hero-section {
        padding: 32px 16px 24px;
    }

    .bg-section {
        padding: 40px 16px;
    }

    .bg-hero-img {
        aspect-ratio: 16/10;
        margin-bottom: 16px;
    }

    .bg-article {
        grid-template-columns: 1fr 110px;
        gap: 16px;
        padding: 18px 0;
    }

    .bg-article-title {
        font-size: 18px;
    }

    .bg-article-excerpt {
        display: none;
    }

    .bg-footer {
        padding: 32px 16px 20px;
    }

    .bg-footer-inner {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .bg-hero-title {
        font-size: 24px;
    }

    .bg-hero-excerpt {
        font-size: 14px;
    }

    .bg-section-title {
        font-size: 22px;
    }

    .bg-article {
        grid-template-columns: 1fr;
    }

    .bg-article-img {
        display: none;
    }
}
