/* blog-post.css - Individual blog post styles */

/* Blog Post Hero */
.blog-post-hero {
    padding: 60px 20px 40px 20px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(75, 0, 130, 0.2));
    position: relative;
}

.blog-post-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    margin: 0 10px;
    color: var(--accent-color);
    opacity: 0.6;
}

/* Post Meta */
.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.post-category {
    font-size: 12px;
    color: var(--primary-color);
    background: rgba(147, 112, 219, 0.2);
    padding: 6px 16px;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

.post-date {
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.reading-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--accent-color);
    opacity: 0.8;
}

/* Post Title */
.blog-post-hero h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(147, 112, 219, 0.3);
    line-height: 1.2;
    font-weight: 400;
}

.post-subtitle {
    font-size: 20px;
    color: #d0d0d0;
    font-style: italic;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Featured Image */
.featured-image {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(147, 112, 219, 0.2);
}

/* Blog Post Content */
.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 80px 20px;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.blog-post-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #e0e0e0;
}

.lead-paragraph {
    font-size: 22px !important;
    font-weight: 300;
    color: var(--accent-color) !important;
    margin-bottom: 35px !important;
    line-height: 1.7 !important;
}

.blog-post-content h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin: 50px 0 25px 0;
    color: var(--primary-color);
    font-weight: 400;
    line-height: 1.3;
}

.blog-post-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin: 35px 0 20px 0;
    color: var(--accent-color);
    font-weight: 400;
}

/* Mystical Quote Callout */
.mystical-quote {
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.3), rgba(147, 112, 219, 0.2));
    border-left: 4px solid var(--primary-color);
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 10px 10px 0;
    position: relative;
    backdrop-filter: blur(10px);
}

.mystical-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: var(--font-heading);
}

.mystical-quote p {
    font-family: var(--font-heading);
    font-size: 24px;
    font-style: italic;
    margin: 0 0 15px 0;
    color: var(--text-color);
    text-align: center;
    line-height: 1.4;
}

.mystical-quote cite {
    display: block;
    text-align: center;
    font-size: 14px;
    color: var(--accent-color);
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Key Points */
.key-points {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(147, 112, 219, 0.3);
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
}

.key-points h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.key-points ul {
    list-style: none;
    padding: 0;
}

.key-points li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #d0d0d0;
    line-height: 1.6;
}

.key-points li::before {
    content: '✧';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 14px;
}

/* Call to Action */
.call-to-action {
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.2), rgba(147, 112, 219, 0.1));
    border: 1px solid rgba(147, 112, 219, 0.3);
    border-radius: 15px;
    padding: 40px;
    margin: 50px 0;
    text-align: center;
}

.call-to-action p {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--accent-color);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(147, 112, 219, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(147, 112, 219, 0.4);
    color: white;
}

/* Related Posts */
.related-posts {
    background: rgba(0, 0, 0, 0.2);
    padding: 60px 0;
    margin-top: 60px;
}

.related-posts h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.related-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(147, 112, 219, 0.2);
}

.related-card:hover {
    transform: translateY(-5px);
}

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

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

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

.related-content {
    padding: 25px;
}

.related-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin: 0 0 15px 0;
    color: var(--text-color);
}

.related-content p {
    font-size: 14px;
    color: #d0d0d0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.related-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.related-link:hover {
    color: var(--accent-color);
}

/* Back to Blog */
.back-to-blog {
    padding: 40px 0;
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .blog-post-hero h1 {
        font-size: 32px;
    }
    
    .post-subtitle {
        font-size: 18px;
    }
    
    .post-meta {
        gap: 15px;
        flex-direction: column;
    }
    
    .featured-image img {
        height: 250px;
    }
    
    .blog-post-content p {
        font-size: 16px;
    }
    
    .lead-paragraph {
        font-size: 18px !important;
    }
    
    .blog-post-content h2 {
        font-size: 28px;
    }
    
    .mystical-quote p {
        font-size: 20px;
    }
    
    .call-to-action {
        padding: 30px 20px;
    }
}

@media screen and (max-width: 480px) {
    .blog-post-hero {
        padding: 40px 15px 30px 15px;
    }
    
    .blog-post-hero h1 {
        font-size: 28px;
    }
    
    .post-subtitle {
        font-size: 16px;
    }
    
    .featured-image {
        padding: 0 15px;
    }
    
    .blog-post-content {
        padding: 0 15px 60px 15px;
    }
    
    .content-wrapper {
        padding: 0 15px;
    }
    
    .mystical-quote {
        padding: 20px;
    }
    
    .key-points {
        padding: 20px;
    }
}