/* Blog Listing Page Styles */
.blog-section {
    margin-top: 80px;
    padding: 4rem 0;
    background-color: #f8f9fa;
    min-height: calc(100vh - 80px);
}

.blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    text-align: center;
}

.blog-subtitle {
    font-size: 1.1rem;
    color: #5a6c7d;
    text-align: center;
    margin-bottom: 3rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.blog-card-content {
    padding: 2rem;
}

.blog-date {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.blog-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.blog-tags .tag {
    background-color: #e8f4f8;
    color: #3498db;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.read-more-btn {
    background-color: #3498db;
    color: #ffffff;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'JetBrains Mono', monospace;
}

.read-more-btn:hover {
    background-color: #2980b9;
}

/* Blog Post Page Styles */
.blog-post {
    margin-top: 80px;
    padding: 4rem 0;
    background-color: #ffffff;
}

.blog-post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-post-header {
    margin-bottom: 3rem;
    text-align: center;
}

.blog-post-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 1.5rem;
}

.blog-post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #2c3e50;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.blog-post-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.blog-post-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-post-content blockquote {
    border-left: 4px solid #3498db;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #5a6c7d;
}

.blog-post-content ul, .blog-post-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
}

.back-to-blog {
    display: inline-block;
    margin-bottom: 2rem;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-to-blog:hover {
    color: #2980b9;
}

/* Footer Styles */
.blog-footer {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 3rem 0;
    margin-top: 4rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.footer-text {
    text-align: center;
    font-size: 0.9rem;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-post-title {
        font-size: 2rem;
    }
    
    .blog-post-content {
        font-size: 1rem;
    }
}
