/* ==============================================
   BLOG STYLES - Premium Design
   ============================================== */

/* Blog Section Background */
.blog-detail-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 60vh;
}

/* Blog Card */
.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
    display: block;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-placeholder i {
    font-size: 4rem;
    color: white;
    opacity: 0.7;
}

.blog-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #2563eb;
}

.blog-card-summary {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.blog-card-tags .badge {
    font-weight: 500;
    padding: 0.4em 0.8em;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.blog-card-link:hover {
    gap: 0.75rem;
}

/* ==============================================
   Blog Detail Page - Premium Article Style
   ============================================== */

.blog-detail {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}

.blog-detail-image {
    margin-bottom: 2rem;
}

.blog-detail-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.blog-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.blog-detail-tags .badge {
    font-size: 0.85rem;
    padding: 0.5em 1em;
    font-weight: 500;
}

/* Article Content - Black Text, Modern Typography */
.blog-detail-content {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #111827;
    /* Siyah yazı */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.blog-detail-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #2563eb;
    display: inline-block;
}

.blog-detail-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.blog-detail-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #334155;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.blog-detail-content p {
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.blog-detail-content strong {
    color: #0f172a;
    font-weight: 600;
}

.blog-detail-content ul,
.blog-detail-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: #1f2937;
}

.blog-detail-content li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.blog-detail-content li::marker {
    color: #2563eb;
}

.blog-detail-content a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 500;
}

.blog-detail-content a:hover {
    color: #1d4ed8;
}

.blog-detail-content blockquote {
    border-left: 4px solid #2563eb;
    padding: 1.5rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #334155;
}

.blog-detail-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1.5rem 0;
}

/* Share Section */
.blog-detail-share {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.blog-detail-share h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #374151;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-buttons .btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.share-buttons .btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Blog Navigation */
.blog-navigation {
    margin-top: 2rem;
}

.blog-navigation .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

/* ==============================================
   Blog Sidebar - Premium Style
   ============================================== */

.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
}

.sidebar-widget h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
    color: #1f2937;
}

.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-list li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.recent-posts-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-posts-list a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #374151;
    transition: all 0.3s ease;
}

.recent-posts-list a:hover {
    color: #2563eb;
}

.recent-posts-list a:hover .title {
    color: #2563eb;
}

.recent-posts-list img {
    width: 70px;
    height: 55px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.recent-posts-list .title {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #1f2937;
    transition: color 0.3s ease;
}

.recent-posts-list .date {
    display: block;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

/* CTA Widget - Clean White Style */
.sidebar-cta {
    background: #ffffff;
    color: #1f2937;
    border: 2px solid #e5e7eb;
}

.sidebar-cta h4 {
    color: #1f2937;
    border-bottom-color: #e5e7eb;
}

.sidebar-cta p {
    color: #4b5563;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.sidebar-cta .btn-success {
    background: #22c55e;
    border-color: #22c55e;
    font-weight: 600;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.sidebar-cta .btn-success:hover {
    background: #16a34a;
    border-color: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
}

/* Sidebar Links Hover - Gold/Brown Color */
.sidebar-widget .btn-outline-primary,
.blog-navigation .btn-outline-primary {
    border-color: #b4a078;
    color: #b4a078;
}

.sidebar-widget .btn-outline-primary:hover,
.blog-navigation .btn-outline-primary:hover {
    background-color: #b4a078;
    border-color: #b4a078;
    color: #ffffff;
}

/* Blog Meta in Page Header */
.blog-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ==============================================
   Responsive Design
   ============================================== */

@media (max-width: 991px) {
    .blog-sidebar {
        position: static;
        margin-top: 2rem;
    }

    .blog-detail {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .blog-card-image {
        height: 180px;
    }

    .blog-detail {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .blog-detail-content {
        font-size: 1rem;
        line-height: 1.8;
    }

    .blog-detail-content h2 {
        font-size: 1.5rem;
    }

    .blog-detail-content h3 {
        font-size: 1.25rem;
    }

    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .share-buttons .btn {
        width: 40px;
        height: 40px;
    }

    .sidebar-widget {
        padding: 1.25rem;
    }
}

/* Recent Post Placeholder */
.recent-post-placeholder {
    width: 70px;
    height: 55px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.recent-post-placeholder i {
    color: white;
    font-size: 1.25rem;
}

/* ==============================================
   Pagination Styles
   ============================================== */
.pagination {
    margin-top: 3rem;
    gap: 0.5rem;
}

.page-item .page-link {
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #4b5563;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.page-item.active .page-link {
    background: #2563eb;
    color: white;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
}

.page-item.disabled .page-link {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
}


/* Search & Filter */
.search-filter-form .input-group {
    background: white;
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.search-filter-form .form-control {
    border: none;
    background: transparent;
    padding-left: 1.5rem;
    font-size: 1.1rem;
}

.search-filter-form .form-control:focus {
    box-shadow: none;
}

.search-filter-form .form-select {
    border: none;
    border-left: 1px solid #e5e7eb;
    background-color: transparent;
    border-radius: 0;
    font-weight: 500;
    color: #4b5563;
}

.search-filter-form .form-select:focus {
    box-shadow: none;
}

.search-filter-form .btn {
    border-radius: 50px;
    padding-left: 2rem;
    padding-right: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0.25rem;
}