/* ================================================
   UÇAR PREMİUM TEKEL — Blog Stil Dosyası
   Dark Luxury Theme | Black & Gold
   ================================================ */

/* ---- Blog Page Hero ---- */
.blog-hero {
    background: linear-gradient(180deg, var(--black-1) 0%, var(--black) 100%);
    padding-top: calc(var(--topbar-h) + var(--navbar-h) + 60px);
    padding-bottom: 60px;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.blog-hero .section-tag {
    margin-bottom: 16px;
}

.blog-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 18px;
    line-height: 1.2;
}

.blog-hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Blog Grid ---- */
.blog-section {
    padding: 70px 0;
    background: var(--black);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* ---- Blog Card ---- */
.blog-card {
    background: var(--black-2);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.blog-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold);
}

.blog-card-img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    display: block;
    background: #000000;
}

.blog-card-img-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--black-3) 0%, var(--black-4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    border-bottom: 1px solid var(--glass-border);
}

.blog-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card-meta i {
    color: var(--gold);
    font-size: 11px;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.2s;
}

.blog-card:hover .blog-card-title {
    color: var(--gold);
}

.blog-card-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--glass-border);
}

.blog-card-read {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.blog-card:hover .blog-card-read {
    gap: 10px;
}

/* ---- Blog Empty State ---- */
.blog-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
    grid-column: 1/-1;
}

.blog-empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
}

.blog-empty h3 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* ============================================================
   BLOG DETAY SAYFASI
   ============================================================ */

.blog-detail-hero {
    padding-top: calc(var(--topbar-h) + var(--navbar-h) + 60px);
    padding-bottom: 50px;
    background: var(--black-1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
    position: relative;
    overflow: hidden;
}

.blog-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.04) 0%, transparent 65%);
    pointer-events: none;
}

.blog-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.blog-detail-breadcrumb a {
    color: var(--gold);
    text-decoration: none;
    transition: opacity 0.2s;
}

.blog-detail-breadcrumb a:hover {
    opacity: 0.8;
}

.blog-detail-breadcrumb i {
    font-size: 10px;
    color: rgba(212, 175, 55, 0.4);
}

.blog-detail-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    margin-bottom: 20px;
    max-width: 860px;
}

.blog-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.blog-detail-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-detail-meta i {
    color: var(--gold);
}

/* ---- Detail Body Layout ---- */
.blog-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
    padding: 60px 0 80px;
    align-items: start;
}

/* ---- Featured Image ---- */
.blog-detail-cover {
    width: 100%;
    height: 480px;
    object-fit: contain;
    border-radius: var(--border-radius-lg);
    margin-bottom: 40px;
    border: 1px solid var(--glass-border);
    display: block;
    background: #000000;
}

/* ---- Article Content ---- */
.blog-article-content {
    color: var(--text-light);
    line-height: 1.85;
    font-size: 15.5px;
}

.blog-article-content h1,
.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin: 32px 0 14px;
    line-height: 1.3;
}

.blog-article-content h2 { font-size: 1.6rem; }
.blog-article-content h3 { font-size: 1.3rem; }
.blog-article-content h4 { font-size: 1.1rem; color: var(--gold); }

.blog-article-content p {
    margin-bottom: 18px;
}

.blog-article-content ul,
.blog-article-content ol {
    padding-left: 22px;
    margin-bottom: 18px;
}

.blog-article-content li {
    margin-bottom: 8px;
}

.blog-article-content ul li::marker {
    color: var(--gold);
}

.blog-article-content a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-article-content blockquote {
    border-left: 3px solid var(--gold);
    padding: 16px 20px;
    margin: 24px 0;
    background: rgba(212, 175, 55, 0.04);
    border-radius: 0 8px 8px 0;
    color: var(--text-muted);
    font-style: italic;
}

.blog-article-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ---- Share Box ---- */
.blog-share {
    margin-top: 40px;
    padding: 24px;
    background: var(--black-2);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
}

.blog-share h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.blog-share-btns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none;
}

.share-btn-wa {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.share-btn-wa:hover {
    background: rgba(37, 211, 102, 0.2);
}

.share-btn-copy {
    background: rgba(212, 175, 55, 0.07);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.share-btn-copy:hover {
    background: rgba(212, 175, 55, 0.15);
}

/* ---- Sidebar ---- */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: calc(var(--topbar-h) + var(--navbar-h) + 20px);
}

.sidebar-box {
    background: var(--black-2);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.sidebar-box-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--glass-border);
    font-weight: 600;
    font-size: 14px;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-box-body {
    padding: 20px;
}

/* Sidebar - CTA WhatsApp */
.sidebar-cta {
    background: linear-gradient(135deg, rgba(212,175,55,0.1) 0%, rgba(212,175,55,0.03) 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: var(--border-radius);
    padding: 28px 22px;
    text-align: center;
}

.sidebar-cta-icon {
    font-size: 48px;
    margin-bottom: 14px;
    display: block;
}

.sidebar-cta h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.sidebar-cta p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Sidebar - Related Posts */
.sidebar-post-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.sidebar-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-post-item:hover .sidebar-post-title {
    color: var(--gold);
}

.sidebar-post-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 6px;
    object-fit: cover;
    background: var(--black-3);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.sidebar-post-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.4;
    transition: color 0.2s;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-post-date {
    font-size: 11.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ---- Blog Back Button ---- */
.blog-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.2s;
    text-decoration: none;
    margin-bottom: 30px;
}

.blog-nav-btn:hover {
    color: var(--gold);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }
    .blog-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .blog-hero {
        padding: 80px 0 40px;
    }
    .blog-hero-title {
        font-size: 1.8rem;
    }
    .blog-hero-desc {
        font-size: 0.95rem;
    }
    .blog-detail-hero {
        padding: 80px 0 30px;
        text-align: center; /* Kahraman bölümündeki başlığı ortalar */
    }
    .blog-detail-breadcrumb {
        justify-content: center; /* Breadcrumb linklerini ortalar */
        font-size: 12px;
        margin-bottom: 18px;
    }
    .blog-detail-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }
    .blog-detail-meta {
        justify-content: center; /* Tarih, saat, okunma bilgilerini ortalar */
        gap: 10px;
        font-size: 11.5px;
    }
    .blog-detail-layout {
        padding: 20px 0 50px;
        gap: 30px;
    }
    .blog-nav-btn {
        display: flex;
        justify-content: center;
        margin: 0 auto 25px; /* Listeye dön butonunu mobilde ortalar */
        width: fit-content;
    }
    .blog-detail-cover {
        height: 240px;
        margin-bottom: 25px;
    }
    .blog-article-content {
        font-size: 14.5px;
        line-height: 1.75;
        text-align: center; /* Makale içeriğindeki tüm paragrafları ve başlıkları ortalar */
    }
    .blog-article-content h2 {
        font-size: 1.3rem;
        margin: 24px 0 10px;
        text-align: center;
    }
    .blog-article-content h3 {
        font-size: 1.15rem;
        text-align: center;
    }
    .blog-article-content ul,
    .blog-article-content ol {
        padding-left: 0;
        list-style-position: inside; /* Listelerin madde işaretlerini ortalanmış metinle hizalar */
        text-align: center;
    }
    .blog-article-content li {
        text-align: center;
    }
    .blog-share {
        padding: 16px;
    }
    .blog-share-btns {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .share-btn {
        padding: 10px 8px;
        font-size: 12px;
        justify-content: center;
    }
}
