/* Blog Detay Sayfası */

/* Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 60px;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    margin: 0 0.5rem;
    opacity: 0.6;
}

.blog-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.blog-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.meta-item i {
    color: rgba(255, 255, 255, 0.8);
}

/* Blog Content */
.blog-content {
    padding: 60px 0;
    background: #ffffff; /* Beyaz arka plan */
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
}

.blog-main {
    max-width: none;
}

/* Blog Post */
.blog-post {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.post-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: relative;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background: #f8f9fa;
}

.post-image:hover img {
    transform: scale(1.02);
}

.post-content {
    padding: 3rem;
}

.post-intro {
    background: #f1f5f9; /* Daha koyu gri */
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #334155; /* Daha koyu metin rengi */
    border-left: 4px solid #2563eb;
}

.post-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1f2937;
    margin: 2.5rem 0 1rem 0;
}

.post-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f2937;
    margin: 2rem 0 1rem 0;
}

.post-content p {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.post-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
    color: #374151;
}

blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: #f1f5f9; /* Daha koyu arka plan */
    border-left: 4px solid #2563eb;
    border-radius: 8px;
    font-style: italic;
    color: #334155; /* Daha koyu metin rengi */
}

.post-conclusion {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.post-conclusion h3 {
    margin-top: 0;
    color: #2563eb;
}

/* Post Footer */
.post-footer {
    padding: 2rem 3rem;
    background: #f8fafc; /* Daha belirgin arka plan */
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.post-tags h4,
.post-share h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.4rem 0.8rem;
    background: white;
    color: #2563eb;
    border: 1px solid #2563eb;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag:hover {
    background: #2563eb;
    color: white;
}

.share-links {
    display: flex;
    gap: 0.75rem;
}

.share-link {
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-link:hover {
    transform: translateY(-1px);
}

/* Brand colors */
.share-link.facebook { background: #1877F2; color: #fff; border-color: transparent; }
.share-link.twitter  { background: #000000; color: #fff; border-color: transparent; }
.share-link.linkedin { background: #0A66C2; color: #fff; border-color: transparent; }
.share-link.whatsapp { background: #25D366; color: #fff; border-color: transparent; }

.share-link.facebook:hover { filter: brightness(0.95); }
.share-link.twitter:hover  { filter: brightness(0.95); }
.share-link.linkedin:hover { filter: brightness(0.95); }
.share-link.whatsapp:hover { filter: brightness(0.95); }

/* Like Button */
.like-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #e74c3c;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.like-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.like-btn.liked {
    background: #e74c3c;
    color: white;
    animation: heartBeat 0.6s ease-in-out;
}

.like-btn.liked i {
    color: white;
}

.like-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.like-btn:hover i {
    transform: scale(1.1);
}

.like-btn.liked:hover i {
    transform: scale(1.2);
}

.like-btn span {
    min-width: 16px;
    text-align: center;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(0.95); }
    75% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .like-btn {
        top: 10px;
        right: 10px;
        padding: 7px 12px;
        font-size: 13px;
    }
    
    .like-btn i {
        font-size: 14px;
    }
}

/* Comment Form */
.comment-form {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.comment-form h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.comment-submit-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-submit-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.comment-submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Comments Section */
.comments-section {
    margin-top: 2rem;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.comments-header h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.comments-count {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.comment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-author {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.comment-date {
    color: #7f8c8d;
    font-size: 0.85rem;
}

.comment-content {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.no-comments {
    text-align: center;
    padding: 3rem 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #e9ecef;
}

.no-comments i {
    font-size: 3rem;
    color: #bdc3c7;
    margin-bottom: 1rem;
}

.no-comments p {
    color: #7f8c8d;
    font-size: 1rem;
    margin: 0;
}

/* Notification Toast */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 9999;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    max-width: 350px;
    border-left: 4px solid #10b981;
}

.notification-toast.show {
    transform: translateX(0);
}

.notification-toast.success {
    border-left-color: #10b981;
}

.notification-toast.error {
    border-left-color: #ef4444;
}

.notification-toast i {
    font-size: 1.25rem;
}

.notification-toast.success i {
    color: #10b981;
}

.notification-toast.error i {
    color: #ef4444;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.notification-message {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .comment-form {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .comment-form h3 {
        font-size: 1.2rem;
    }
    
    .comment-submit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .comments-section {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .comments-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .comment-card {
        padding: 1rem;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.author-section {
    margin-top: 2rem;
}

.author-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.author-info p {
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f3f4f6;
}

/* Related Posts */
.related-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-post {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.3s ease;
}

.related-post:hover {
    background: #f1f5f9; /* Daha belirgin hover rengi */
}

.related-post img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.related-content h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.related-content span {
    font-size: 0.8rem;
    color: #6b7280;
}


/* Responsive */
@media screen and (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .blog-hero {
        padding: 100px 0 40px;
    }

    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-meta {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .blog-content {
        padding: 40px 0;
    }

    .post-content {
        padding: 2rem 1.5rem;
    }

    .post-footer {
        flex-direction: column;
        padding: 1.5rem;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
    }

    .blog-sidebar {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .blog-header h1 {
        font-size: 1.8rem;
    }

    .post-content {
        padding: 1.5rem 1rem;
    }

    .post-content h2 {
        font-size: 1.5rem;
    }

    .post-content h3 {
        font-size: 1.2rem;
    }

    .post-footer {
        padding: 1rem;
    }
}
