/* ========================================
   BLOG DETAY SAYFASI CSS
   Tüm sınıflar "bd-" öneki ile başlar
   ======================================== */

/* Breadcrumb */
.bd-breadcrumb {
    background-color: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.bd-breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.bd-breadcrumb-list a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s;
}

.bd-breadcrumb-list a:hover {
    color: #dc3545;
}

.bd-breadcrumb-list span {
    color: #6c757d;
}

.bd-breadcrumb-list .active {
    color: #333;
    font-weight: 500;
}

/* Ana İçerik Düzeni */
.bd-main-content {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.bd-content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* Blog Detay */
.bd-blog-detail {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.bd-blog-header {
    padding: 40px 40px 30px;
}

.bd-category-badge {
    display: inline-block;
    background: #dc3545;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}

.bd-blog-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 20px;
}

.bd-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    font-size: 14px;
    color: #6c757d;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8ecef;
}

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

.bd-blog-meta i {
    color: #dc3545;
}

.bd-featured-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.bd-blog-body {
    padding: 40px;
}

/* Blog İçerik Tipografisi */
.bd-blog-content {
    font-size: 17px;
    line-height: 1.8;
    color: #4a5568;
}

.bd-blog-content h2 {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin: 35px 0 20px;
}

.bd-blog-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin: 30px 0 15px;
}

.bd-blog-content p {
    margin-bottom: 20px;
}

.bd-blog-content ul,
.bd-blog-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.bd-blog-content li {
    margin-bottom: 10px;
}

.bd-blog-content blockquote {
    background: #f8f9fa;
    border-left: 5px solid #dc3545;
    padding: 20px 25px;
    margin: 30px 0;
    font-style: italic;
    font-size: 18px;
    color: #2c3e50;
}

.bd-blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 25px 0;
}

/* Etiketler */
.bd-blog-tags {
    padding: 30px 40px;
    border-top: 1px solid #e8ecef;
}

.bd-blog-tags h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.bd-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bd-tag {
    background: #e8f4fd;
    color: #0056b3;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}

.bd-tag:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
}

/* Paylaşım Butonları */
.bd-share-section {
    padding: 30px 40px;
    border-top: 1px solid #e8ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.bd-share-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.bd-share-buttons {
    display: flex;
    gap: 10px;
}

.bd-share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.bd-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.bd-share-btn.bd-facebook { background: #3b5998; }
.bd-share-btn.bd-twitter { background: #1da1f2; }
.bd-share-btn.bd-linkedin { background: #0077b5; }
.bd-share-btn.bd-whatsapp { background: #25d366; }

/* Yazar Bilgisi */
.bd-author-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin: 40px;
    display: flex;
    gap: 25px;
}

.bd-author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.bd-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bd-author-info {
    flex: 1;
}

.bd-author-name {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.bd-author-title {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 15px;
}

.bd-author-bio {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.6;
}

.bd-author-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.bd-author-social a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.bd-author-social a:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
}

/* İlgili Yazılar */
.bd-related-posts {
    padding: 40px;
}

.bd-section-title {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.bd-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #dc3545, #ff6b6b);
    border-radius: 2px;
}

.bd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.bd-related-card {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.bd-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.bd-related-image {
    height: 150px;
    overflow: hidden;
}

.bd-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.bd-related-card:hover .bd-related-image img {
    transform: scale(1.1);
}

.bd-related-content {
    padding: 20px;
}

.bd-related-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bd-related-date {
    font-size: 13px;
    color: #6c757d;
}

/* Yorumlar Bölümü */
.bd-comments-section {
    padding: 40px;
    border-top: 1px solid #e8ecef;
}

.bd-comment-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.bd-comment-form h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.bd-form-group {
    margin-bottom: 20px;
}

.bd-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 8px;
}

.bd-form-group input,
.bd-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e8ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.bd-form-group input:focus,
.bd-form-group textarea:focus {
    outline: none;
    border-color: #dc3545;
}

.bd-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.bd-btn-submit {
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
    color: white;
    padding: 12px 35px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.bd-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.bd-comments-list {
    margin-top: 30px;
}

.bd-comment {
    padding: 25px 0;
    border-bottom: 1px solid #e8ecef;
}

.bd-comment:last-child {
    border-bottom: none;
}

.bd-comment-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.bd-comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.bd-comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bd-comment-meta {
    flex: 1;
}

.bd-comment-author {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.bd-comment-date {
    font-size: 13px;
    color: #6c757d;
}

.bd-comment-content {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.6;
    margin-left: 65px;
}

.bd-comment-reply {
    display: inline-block;
    margin-left: 65px;
    margin-top: 10px;
    color: #dc3545;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.bd-comment-reply:hover {
    color: #c82333;
}

/* Sidebar */
.bd-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Widget Genel Stilleri */
.bd-widget {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.bd-widget-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.bd-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #dc3545, #ff6b6b);
    border-radius: 2px;
}

/* Arama Widget */
.bd-search-form {
    display: flex;
    gap: 10px;
}

.bd-search-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e8ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.bd-search-input:focus {
    outline: none;
    border-color: #dc3545;
}

.bd-search-button {
    background: #dc3545;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.bd-search-button:hover {
    background: #c82333;
}

/* Kategoriler Widget */
.bd-category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bd-category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: #4a5568;
}

.bd-category-item:hover {
    background: #e8f4fd;
    transform: translateX(5px);
    color: #0056b3;
}

.bd-category-name {
    font-size: 14px;
    font-weight: 500;
}

.bd-category-count {
    background: #dc3545;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

/* Popüler Yazılar Widget */
.bd-popular-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bd-popular-post {
    display: flex;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.bd-popular-post:hover {
    transform: translateX(5px);
}

.bd-popular-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.bd-popular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bd-popular-content {
    flex: 1;
}

.bd-popular-title {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bd-popular-date {
    font-size: 12px;
    color: #6c757d;
}

/* Newsletter Widget */
.bd-newsletter-widget {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    text-align: center;
}

.bd-newsletter-widget h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: white;
}

.bd-newsletter-widget p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.bd-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bd-newsletter-input {
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
}

.bd-newsletter-button {
    background: #dc3545;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.bd-newsletter-button:hover {
    background: #c82333;
}

/* Responsive Tasarım */
@media (max-width: 1024px) {
    .bd-content-grid {
        grid-template-columns: 1fr;
    }
    
    .bd-sidebar {
        position: static;
        margin-top: 40px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .bd-newsletter-widget {
        grid-column: span 2;
    }
    
    .bd-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bd-blog-title {
        font-size: 28px;
    }
    
    .bd-featured-image {
        height: 300px;
    }
    
    .bd-blog-header,
    .bd-blog-body {
        padding: 30px 20px;
    }
    
    .bd-author-box {
        flex-direction: column;
        text-align: center;
        margin: 30px 20px;
    }
    
    .bd-author-social {
        justify-content: center;
    }
    
    .bd-related-grid {
        grid-template-columns: 1fr;
    }
    
    .bd-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .bd-blog-title {
        font-size: 24px;
    }
    
    .bd-blog-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .bd-share-section {
        flex-direction: column;
        text-align: center;
    }
    
    .bd-share-buttons {
        justify-content: center;
    }
    
    .bd-comment-content {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .bd-comment-reply {
        margin-left: 0;
    }
    
    .bd-search-form {
        flex-direction: column;
    }
}