/* Bootstrap 5 ile Blog Detay Tasarım İyileştirmeleri */

/* Blog Detay Ana Konteyner */
.blog-detail {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Blog İçerik Kartı */
.blog-detail_block {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    border: none;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

/* Blog Resmi */
.blog-detail_image {
    position: relative;
    overflow: hidden;
}

.blog-detail_image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-detail_block:hover .blog-detail_image img {
    transform: scale(1.02);
}

/* Blog İçeriği */
.blog-detail_content {
    padding: 2rem;
    background: #ffffff;
}

/* Yazar Kutusu Bootstrap 5 Stili */
.blog-detail_author-box {
    background: var(--secondary-color);
    border-radius: 15px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    color: white;
}

.blog-detail_author-box h6 {
    margin: 0;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-detail_date {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

/* Ana Başlık */
.blog-detail_heading {
    color: #212529;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #4169e1;
    padding-bottom: 0.5rem;
}

/* Metin İçeriği */
.blog-detail_text {
    color: #495057;
    line-height: 1.7;
}

.blog-detail_text p {
    margin-bottom: 1.25rem;
    color: #495057;
}

/* Alt Başlıklar Bootstrap 5 Stili */
.blog-detail_text h4 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    padding: 0.75rem 1rem;
    background: var(--secondary-color);
    border-left: 4px solid #4169e1;
    border-radius: 10px;
}

.blog-detail_text h5 {
    color: #495057;
    font-weight: 600;
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem 0;
    padding: 0.75rem 1rem;
    background: rgba(65, 105, 225, 0.1);
    border-left: 3px solid #4169e1;
    border-radius: 8px;
}

/* Liste Stilleri Bootstrap 5 */
.blog-detail_text ul {
    margin: 1rem 0;
    padding-left: 0;
    list-style: none;
}

.blog-detail_text ul li {
    position: relative;
    padding: 0.75rem 1rem 0.75rem 3rem;
    margin-bottom: 0.5rem;
    background: rgba(65, 105, 225, 0.05);
    border-radius: 10px;
    border-left: 3px solid #4169e1;
    transition: all 0.2s ease;
    color: #495057;
}

.blog-detail_text ul li:hover {
    background: rgba(65, 105, 225, 0.1);
    transform: translateX(5px);
}

.blog-detail_text ul li::before {
    content: "✓";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #4169e1;
    font-weight: bold;
    font-size: 1.1rem;
}

.blog-detail_text ul li strong {
    color: #212529;
    font-weight: 600;
}

/* Bootstrap 5 Tablo Stilleri */
.table-responsive {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

.table {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #495057;
}

.table thead th {
    background: var(--secondary-color);
    color: white;
    font-weight: 600;
    border: none;
    padding: 1rem 0.75rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.table tbody td {
    padding: 0.875rem 0.75rem;
    vertical-align: middle;
    border-color: #dee2e6;
    text-align: center;
    color: #495057;
    background: #ffffff;
}

.table-striped tbody tr:nth-of-type(odd) td {
    background-color: rgba(65, 105, 225, 0.03);
}

.table tbody tr:hover td {
    background-color: rgba(65, 105, 225, 0.08);
}

/* Bootstrap 5 Blockquote */
.blog-detail_text blockquote {
    background: rgba(65, 105, 225, 0.1);
    border: none;
    border-left: 4px solid #4169e1;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    position: relative;
}

.blog-detail_text blockquote::before {
    content: '"';
    position: absolute;
    top: -5px;
    left: 15px;
    font-size: 3rem;
    color: #4169e1;
    opacity: 0.3;
    line-height: 1;
}

.blog-detail_text blockquote p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 1rem;
    font-weight: 500;
}

.blog-detail_text blockquote cite {
    display: block;
    text-align: right;
    font-size: 0.9rem;
    color: #4169e1;
    font-weight: 600;
    margin-top: 1rem;
}

/* Alt Kısım (Etiketler ve Paylaşım) */
.blog-detail_bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #dee2e6;
}

.blog-detail_tags {
    margin-bottom: 1rem;
}

.blog-detail_tags span {
    font-weight: 600;
    color: #495057;
    margin-right: 0.75rem;
    font-size: 0.9rem;
}

.blog-detail_tags a {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    margin: 0.25rem 0.25rem 0.25rem 0;
    background: #e9ecef;
    color: #495057;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #ced4da;
}

.blog-detail_tags a:hover {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    transform: translateY(-1px);
}

.blog-detail_share span {
    font-weight: 600;
    color: #495057;
    margin-right: 0.75rem;
    font-size: 0.9rem;
}

.blog-detail_share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: #f8f9fa;
    color: #6c757d;
    text-decoration: none;
    border-radius: 50%;
    margin: 0 0.25rem;
    transition: all 0.2s ease;
    border: 1px solid #dee2e6;
}

.blog-detail_share a:hover {
    background: #0d6efd;
    color: white;
    border-color: #0d6efd;
    transform: translateY(-2px);
}

/* Sidebar Bootstrap 5 Stilleri */
.sidebar-widget {
    background: #ffffff;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}

.sidebar-widget_title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4169e1;
}

/* Arama Kutusu Bootstrap 5 */
.search-box .form-group {
    position: relative;
    margin-bottom: 0;
}

.search-box input[type="search"] {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 2px solid #ced4da;
    border-radius: 25px;
    font-size: 0.9rem;
    background: #f8f9fa;
    color: #495057;
    transition: all 0.2s ease;
}

.search-box input[type="search"]:focus {
    outline: none;
    border-color: #4169e1;
    background: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(65, 105, 225, 0.25);
}

.search-box input[type="search"]::placeholder {
    color: #6c757d;
}

.search-box button {
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    background: #4169e1;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-box button:hover {
    background: #5a7ae6;
    transform: translateY(-50%) scale(1.05);
}

/* Son Yazılar Bootstrap 5 */
.recent-posts .post {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.recent-posts .post:last-child {
    border-bottom: none;
}

.recent-posts .post:hover {
    background: #f8f9fa;
    margin: 0 -1rem;
    padding: 1rem;
    border-radius: 8px;
}

.recent-posts .post .thumb {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    border-radius: 8px;
    overflow: hidden;
}

.recent-posts .post .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-posts .post h6 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 600;
}

.recent-posts .post h6 a {
    color: #495057;
    text-decoration: none;
    transition: color 0.2s ease;
}

.recent-posts .post h6 a:hover {
    color: #4169e1;
}

.recent-posts .post .post-date {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Kategoriler Bootstrap 5 */
.categories .blog-cat {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories .blog-cat li {
    margin-bottom: 0.5rem;
}

.categories .blog-cat li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
    border: 1px solid #e9ecef;
}

.categories .blog-cat li a:hover {
    background: #4169e1;
    color: white;
    border-color: #4169e1;
    transform: translateX(3px);
}

.categories .blog-cat li a span {
    background: #dee2e6;
    color: #6c757d;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.categories .blog-cat li a:hover span {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Responsive Bootstrap 5 */
@media (max-width: 991.98px) {
    .sidebar-column .inner-column {
        margin-top: 2rem;
    }
    
    .blog-detail_heading {
        font-size: 1.75rem;
    }
    
    .blog-detail_content {
        padding: 1.5rem;
    }
    
    .blog-detail_bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 575.98px) {
    .blog-detail_image img {
        height: 200px;
    }
    
    .blog-detail_heading {
        font-size: 1.5rem;
    }
    
    .blog-detail_content {
        padding: 1rem;
    }
    
    .blog-detail_text h4 {
        font-size: 1.25rem;
        padding: 0.5rem 0.75rem;
    }
    
    .blog-detail_text h5 {
        font-size: 1.1rem;
    }
    
    .table thead th,
    .table tbody td {
        padding: 0.5rem 0.25rem;
        font-size: 0.8rem;
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-detail_block {
    animation: fadeInUp 0.5s ease-out;
}

.sidebar-widget {
    animation: fadeInUp 0.5s ease-out;
    animation-delay: 0.1s;
    animation-fill-mode: both;
}

.sidebar-widget:nth-child(2) {
    animation-delay: 0.2s;
}

.sidebar-widget:nth-child(3) {
    animation-delay: 0.3s;
}
