/* Blog Post Page Styles */

/* Blog Post Header */
.blog-post-header {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    padding: 6rem 0 4rem;
    margin-top: 80px;
}

.blog-post-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.blog-category {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.blog-date,
.blog-time {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.blog-post-title {
    font-family: 'Creepster', cursive;
    font-size: 3.5rem;
    color: var(--text-light);
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.blog-post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1rem;
}

.author-title {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Social Share Bar */
.social-share-bar {
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 80px;
    z-index: 100;
}

.social-share-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-label {
    color: var(--text-gray);
    font-weight: 500;
}

.share-buttons {
    display: flex;
    gap: 1rem;
}

.share-button {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--text-light);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-button:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Blog Post Content */
.blog-post-content {
    padding: 4rem 0;
}

.blog-post-article {
    max-width: 800px;
    margin: 0 auto;
}

.blog-lead {
    font-size: 1.3rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 3rem;
    font-weight: 500;
    border-left: 4px solid var(--primary-color);
    padding-left: 2rem;
    font-style: italic;
}

.blog-post-article h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin: 3rem 0 1.5rem;
    line-height: 1.3;
}

.blog-post-article h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    line-height: 1.4;
}

.blog-post-article p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.blog-post-article ul,
.blog-post-article ol {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-post-article li {
    margin-bottom: 0.5rem;
}

.blog-post-article strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Blog CTA */
.blog-cta {
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 3rem;
    margin: 4rem 0;
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.blog-cta h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.blog-cta p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Blog Tags */
.blog-tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 3rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.tag {
    background: rgba(255, 107, 53, 0.1);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tag:hover {
    background: var(--secondary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Related Posts */
.related-posts {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.related-posts h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-post {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.related-post:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.related-post-thumbnail {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.related-post-content h4 {
    margin-bottom: 0.5rem;
}

.related-post-content h4 a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.related-post-content h4 a:hover {
    color: var(--primary-color);
}

.related-post-date {
    color: var(--text-gray);
    font-size: 0.8rem;
}

/* Table of Contents (Optional) */
.toc {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.toc h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.toc ul {
    list-style: none;
    padding: 0;
}

.toc li {
    margin-bottom: 0.5rem;
}

.toc a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.toc a:hover {
    color: var(--primary-color);
}

/* Code Blocks (if needed) */
.blog-post-article pre {
    background: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 2rem 0;
}

.blog-post-article code {
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary-color);
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.blog-post-article pre code {
    background: none;
    color: var(--text-light);
    padding: 0;
}

/* Blockquotes */
.blog-post-article blockquote {
    background: var(--card-bg);
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Responsive Design for Blog Posts */
@media (max-width: 768px) {
    .blog-post-title {
        font-size: 2.5rem;
    }
    
    .blog-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .blog-post-author {
        flex-direction: column;
        text-align: center;
    }
    
    .social-share-bar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .blog-lead {
        font-size: 1.1rem;
        padding-left: 1rem;
    }
    
    .blog-post-article h2 {
        font-size: 1.8rem;
    }
    
    .blog-post-article h3 {
        font-size: 1.3rem;
    }
    
    .blog-post-article p {
        font-size: 1rem;
    }
    
    .blog-cta {
        padding: 2rem;
    }
    
    .blog-cta h3 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .related-post {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .blog-post-title {
        font-size: 2rem;
    }
    
    .blog-lead {
        font-size: 1rem;
    }
    
    .blog-post-article h2 {
        font-size: 1.5rem;
    }
    
    .blog-post-article h3 {
        font-size: 1.2rem;
    }
    
    .blog-cta {
        padding: 1.5rem;
    }
    
    .tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
} 