/* 📌 Blog Detay Sayfası Stilleri */
#blog-detail-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}

/* 📌 Başlık */
#blog-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

/* 📌 Blog Resmi */
#blog-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* 📌 Blog İçeriği */
#blog-content {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    text-align: justify;
}

/* 📌 Meta Bilgiler */
#blog-meta {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    color: #777;
}

/* 📌 Mobil Uyumluluk */
@media (max-width: 768px) {
    #blog-detail-container {
        width: 90%;
        padding: 15px;
    }

    #blog-title {
        font-size: 28px;
    }

    #blog-content {
        font-size: 16px;
    }
}

/* Yorumlar Bölümü */
/* Yorumlar Bölümü */
#comments-section {
    margin-top: 60px;
    padding: 0;
    border-top: none;
    background-color: transparent;
}

#comments-section h2 {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#comments-section h2::before {
    content: "💬";
    font-size: 24px;
}

/* Yorum Listesi */
#comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Yorum Kartı - Modern */
.comment {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.comment:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border-bottom: 1px solid #f8fafc;
    padding-bottom: 12px;
}

.comment-name {
    font-weight: 700;
    color: #334155;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-date {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    padding: 4px 10px;
    background: #f8fafc;
    border-radius: 20px;
}

.comment-text {
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
}

/* Yorum Formu - Chat Tarzı */
#commentForm {
    margin-top: 50px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
}

#commentForm h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
}

#commentForm input,
#commentForm textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    font-size: 15px;
    background: #f8fafc;
    transition: all 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
    /* Padding taşmasını önle */
}

#commentForm input:focus,
#commentForm textarea:focus {
    border-color: #3b82f6;
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

#commentForm textarea {
    min-height: 120px;
    resize: vertical;
}

#commentForm button {
    margin-top: 10px;
    align-self: flex-end;
    /* Sağa yasla */
    padding: 12px 32px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

#commentForm button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4);
}



/* Old legacy styles removed */

/* ========================
   DARK MODE OVERRIDES
======================== */
body.dark-mode #blog-detail-container {
    background: #1e293b;
    color: #f1f5f9;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode #blog-title {
    color: #f8fafc;
}

body.dark-mode #blog-content {
    color: #cbd5e1;
}

body.dark-mode #blog-meta {
    color: #94a3b8;
}

body.dark-mode #comments-section {
    background-color: #1e293b;
    border-top-color: #334155;
    color: #f1f5f9;
}

body.dark-mode #comments-section h2 {
    color: #f1f5f9;
}

body.dark-mode .comment {
    background-color: #334155;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    color: #f1f5f9;
}

body.dark-mode .comment-name {
    color: #e2e8f0;
}

body.dark-mode .comment-text {
    color: #cbd5e1;
}

body.dark-mode .comment-date {
    color: #94a3b8;
}

body.dark-mode #commentForm {
    background-color: #334155;
    border-color: #475569;
}

body.dark-mode #commentForm h3 {
    color: #f1f5f9;
}

body.dark-mode #commentForm input,
body.dark-mode #commentForm textarea {
    background-color: #1e293b;
    border-color: #475569;
    color: #f1f5f9;
}

body.dark-mode #commentForm input::placeholder,
body.dark-mode #commentForm textarea::placeholder {
    color: #94a3b8;
}

/* ========================
   SHARE BUTTONS
======================== */
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    /* Ensure responsiveness */
    gap: 15px;
    margin: 30px 0;
    justify-content: flex-start;
    /* Align left */
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.share-label {
    font-weight: 600;
    color: #555;
    font-size: 16px;
    margin-right: 5px;
}

.share-btn {
    padding: 12px 20px;
    border-radius: 50px;
    /* Fully rounded */
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy effect */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.share-btn svg {
    fill: currentColor;
    transition: transform 0.3s;
}

.share-btn:hover {
    opacity: 1;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.share-btn:hover svg {
    transform: scale(1.2);
    /* Icon pop */
}

/* Brand Colors with Gradients */
.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.twitter {
    background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
}

.linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005582 100%);
}

/* Dark Mode Support */
body.dark-mode .share-buttons {
    border-top-color: #334155;
}


body.dark-mode .share-label {
    color: #cbd5e1;
}

/* 📌 Mobil Uyumluluk (Share Buttons) - Ensure this is LAST */
@media (max-width: 768px) {
    .share-buttons {
        gap: 6px !important;
        margin: 10px 0 !important;
    }

    .share-btn {
        padding: 6px 12px !important;
        font-size: 11px !important;
        border-radius: 50px !important;
        /* Keep rounded look but smaller */
        height: auto !important;
        width: fit-content !important;
    }

    .share-btn svg {
        width: 14px !important;
        height: 14px !important;
    }

    .share-label {
        font-size: 13px !important;
        margin-bottom: 5px !important;
        width: 100%;
    }
}