/* Blog Detail Styles */
.blog-detail-header {
    padding: 60px 0 60px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.blog-detail-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.blog-header-content {
    position: relative;
    z-index: 2;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.blog-category {
    background: var(--accent-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-reading-time {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    /*margin-bottom: 30px;*/
    color: white;
}

.blog-author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

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

.author-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    font-weight: 600;
    color: white;
    font-size: 16px;
}

.blog-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Blog Content Section */
.blog-content-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.blog-article {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.blog-featured-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

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

.blog-featured-image:hover img {
    transform: scale(1.05);
}

.article-content {
    padding: 40px;
}

.article-content h3 {
    color: #1a1a2e;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 30px 0 20px;
    line-height: 1.3;
}

.article-content h4 {
    color: #1a1a2e;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 25px 0 15px;
}

.article-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.article-content li strong {
    color: #1a1a2e;
    font-weight: 600;
}

.article-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid var(--accent-color);
    padding: 20px 30px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    position: relative;
}

.article-content blockquote p {
    color: #1a1a2e;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.article-content blockquote::before {
    content: '"';
    font-size: 60px;
    color: var(--accent-color);
    position: absolute;
    top: -10px;
    left: 15px;
    font-family: serif;
}

/* Blog Tags */
.blog-tags {
    padding: 30px 40px;
    border-top: 1px solid #eee;
}

.blog-tags h5 {
    color: #1a1a2e;
    font-weight: 600;
    margin-bottom: 15px;
}

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

.tag-item {
    background: #f8f9fa;
    color: #666;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.tag-item:hover {
    background: var(--main-color);
    color: white;
    text-decoration: none;
    border-color: var(--main-color);
    transform: translateY(-2px);
}

/* Social Share */
.blog-share {
    padding: 30px 40px;
    border-top: 1px solid #eee;
    padding-bottom: 50px;
}

.blog-share h5 {
    color: #1a1a2e;
    font-weight: 600;
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid;
}

.share-btn.facebook {
    color: #1877f2;
    border-color: #1877f2;
}

.share-btn.facebook:hover {
    background: #1877f2;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.share-btn.twitter {
    color: #1da1f2;
    border-color: #1da1f2;
}

.share-btn.twitter:hover {
    background: #1da1f2;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.share-btn.linkedin {
    color: #0077b5;
    border-color: #0077b5;
}

.share-btn.linkedin:hover {
    background: #0077b5;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.share-btn.whatsapp {
    color: #25d366;
    border-color: #25d366;
}

.share-btn.whatsapp:hover {
    background: #25d366;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Author Bio */
.author-bio {
    padding: 40px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.author-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.author-info h4 {
    color: #1a1a2e;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.author-info p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.author-social {
    display: flex;
    gap: 10px;
}

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

.social-link:hover {
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Related Posts Section */
.related-posts-section {
    padding: 80px 0;
    background: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-title {
        font-size: 2rem;
    }

    .blog-meta {
        flex-direction: column;
        gap: 10px;
    }

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

    .share-buttons {
        justify-content: center;
    }

    .article-content {
        padding: 30px 20px;
    }

    .blog-tags,
    .blog-share {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .blog-detail-header {
        padding: 100px 0 40px;
    }

    .blog-title {
        font-size: 1.8rem;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        justify-content: center;
    }
}
