/* Blog Styles */

.blog-section {
    padding: 2rem 0;
    min-height: calc(100vh - 160px);
}

.blog-section h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.blog-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blog-posts {
    display: grid;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.blog-post {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-left: 5px solid #3498db;
}

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

.blog-post h2 {
    margin-bottom: 1rem;
}

.blog-post h2 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-post h2 a:hover {
    color: #3498db;
}

.post-meta {
    color: #95a5a6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-excerpt {
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-block;
    background: linear-gradient(to right, #3498db, #8e44ad);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.read-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Individual Blog Post Styles */
.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.blog-post-content h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.blog-post-content .post-meta {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ecf0f1;
}

.blog-post-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #34495e;
}

.blog-post-content h2 {
    color: #2c3e50;
    margin: 2rem 0 1rem;
}

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

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

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

.back-to-blog:hover {
    color: #8e44ad;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-section {
        padding: 1rem 0;
    }
    
    .blog-post {
        padding: 1.5rem;
    }
    
    .blog-post-content {
        padding: 1.5rem;
    }
}