﻿/* blog-detail.php — sayfa özel stiller (Playfair + Inter site-head’den) */
:root {
            --prime-gold: #FFD700;
            --prime-dark: #1a1a1a;
            --primary-color: #0d6efd;
            --text-color: #374151;
            --heading-color: #111827;
        }
        
        /* Reading Progress Bar */
        .progress-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: transparent;
            z-index: 9999;
        }
        
        .progress-bar {
            height: 4px;
            background: var(--prime-gold);
            width: 0%;
            transition: width 0.1s;
        }

        body {
            background-color: #f9fafb;
            color: var(--text-color);
            font-family: 'Inter', sans-serif;
        }

        .blog-detail-article {
            background: #fff;
            border-radius: 24px;
            padding: 0;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
            overflow: hidden;
            margin-bottom: 40px;
        }
        
        .article-header {
            padding: 40px 40px 0 40px;
        }

        .blog-title {
            font-family: 'Playfair Display', serif;
            font-size: 3rem;
            font-weight: 800;
            color: var(--heading-color);
            line-height: 1.2;
            margin-bottom: 24px;
            letter-spacing: -0.02em;
        }

        .blog-meta-wrapper {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 30px;
            font-size: 0.95rem;
            color: #6b7280;
            border-bottom: 1px solid #f3f4f6;
            padding-bottom: 30px;
        }

        .blog-meta-item {
            display: inline-flex;
            align-items: center;
        }

        .blog-meta-item i {
            margin-right: 8px;
            color: var(--prime-gold);
        }
        
        .author-avatar-small {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: #e5e7eb;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            font-weight: 600;
            color: #4b5563;
            font-size: 0.8rem;
        }

        .featured-image-wrapper {
            position: relative;
            width: 100%;
            height: auto;
            margin-bottom: 0;
        }

        .featured-image-wrapper img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* Blog Content Typography */
        .blog-content {
            padding: 40px 50px;
            font-size: 1.2rem;
            line-height: 1.9;
            color: var(--text-color);
        }

        .blog-content p {
            margin-bottom: 1.8em;
        }
        
        .blog-content p:first-of-type::first-letter {
            float: left;
            font-family: 'Playfair Display', serif;
            font-size: 3.5rem;
            line-height: 0.8;
            font-weight: 700;
            padding-top: 4px;
            padding-right: 10px;
            color: var(--prime-dark);
        }

        .blog-content h2 {
            font-family: 'Playfair Display', serif;
            font-size: 2rem;
            font-weight: 700;
            color: var(--heading-color);
            margin-top: 2.5em;
            margin-bottom: 1em;
            letter-spacing: -0.01em;
            position: relative;
        }
        
        /* H2 sol tarafına çizgi ekle */
        .blog-content h2::before {
            content: '';
            position: absolute;
            left: -20px;
            top: 10px;
            bottom: 10px;
            width: 4px;
            background: var(--prime-gold);
            border-radius: 2px;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .blog-content h2:hover::before {
            opacity: 1;
        }

        .blog-content h3 {
            font-family: 'Playfair Display', serif;
            font-size: 1.6rem;
            font-weight: 600;
            color: var(--heading-color);
            margin-top: 2em;
            margin-bottom: 0.8em;
        }

        .blog-content ul, .blog-content ol {
            margin-bottom: 2em;
            padding-left: 1.5em;
        }

        .blog-content li {
            margin-bottom: 0.8em;
            padding-left: 0.5em;
        }
        
        .blog-content li::marker {
            color: var(--prime-gold);
            font-weight: bold;
        }

        .blog-content img {
            max-width: 100%;
            height: auto;
            border-radius: 16px;
            margin: 2em 0;
            box-shadow: 0 10px 25px rgba(0,0,0,0.05);
        }

        .blog-content blockquote {
            position: relative;
            padding: 40px;
            background: #fdfdfd;
            font-family: 'Playfair Display', serif;
            font-style: italic;
            font-size: 1.4rem;
            line-height: 1.6;
            color: #1f2937;
            margin: 3em 0;
            border-radius: 16px;
            border-left: none;
            text-align: center;
        }
        
        .blog-content blockquote::before {
            content: '\201C';
            font-family: serif;
            font-size: 80px;
            color: rgba(255, 215, 0, 0.2);
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            line-height: 1;
        }
        
        .blog-content strong {
            color: var(--heading-color);
            font-weight: 700;
        }
        
        .blog-content a {
            color: var(--primary-color);
            text-decoration: none;
            border-bottom: 2px solid rgba(13, 110, 253, 0.2);
            transition: all 0.2s;
            font-weight: 500;
        }
        
        .blog-content a:hover {
            background: rgba(13, 110, 253, 0.05);
            border-bottom-color: var(--primary-color);
            color: var(--primary-color);
        }

        .sidebar-widget {
            background: #fff;
            border-radius: 20px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
            border: 1px solid #f3f4f6;
            transition: transform 0.2s;
        }
        
        .sidebar-widget:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
        }

        .sidebar-widget h5 {
            font-family: 'Playfair Display', serif;
            font-weight: 700;
            font-size: 1.25rem;
            margin-bottom: 25px;
            color: var(--heading-color);
            position: relative;
            padding-bottom: 10px;
        }
        
        .sidebar-widget h5::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--prime-gold);
            border-radius: 2px;
        }
        
        /* Tags styling update */
        .tag-link {
            padding: 8px 16px;
            background: #fff;
            color: #4b5563;
            border: 1px solid #e5e7eb;
            border-radius: 100px;
            text-decoration: none;
            font-size: 0.8rem;
            font-weight: 500;
            transition: all 0.2s;
            display: inline-block;
        }

        .tag-link:hover {
            background: var(--prime-dark);
            color: #fff;
            border-color: var(--prime-dark);
        }
        
        .author-box {
            background: #f8fafc;
            border-radius: 16px;
            padding: 30px;
            display: flex;
            align-items: flex-start;
            margin-top: 60px;
            border: 1px solid #e2e8f0;
        }
        
        .author-avatar-large {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 2rem;
            margin-right: 25px;
            flex-shrink: 0;
            box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
        }
        
        /* Table of Contents */
        .toc-list {
            list-style: none;
            padding: 0;
            margin: 0;
            border-left: 2px solid #f3f4f6;
        }
        
        .toc-list li {
            margin-bottom: 10px;
        }
        
        .toc-list a {
            display: block;
            padding-left: 15px;
            color: #6b7280;
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.2s;
            position: relative;
        }
        
        .toc-list a::before {
            content: '';
            position: absolute;
            left: -2px;
            top: 0;
            height: 100%;
            width: 2px;
            background: transparent;
            transition: background 0.2s;
        }
        
        .toc-list a:hover, .toc-list a.active {
            color: var(--primary-color);
            font-weight: 500;
        }
        
        .toc-list a:hover::before, .toc-list a.active::before {
            background: var(--primary-color);
        }

        @media (max-width: 991px) {
            .blog-detail-article {
                border-radius: 0;
                box-shadow: none;
                background: transparent;
            }
            
            .article-header {
                padding: 0;
            }
            
            .blog-content {
                padding: 20px 0;
                font-size: 1.1rem;
            }
            
            .blog-title {
                font-size: 2rem;
            }
            
            .featured-image-wrapper {
                border-radius: 16px;
                overflow: hidden;
                margin-top: 20px;
            }
        }
