/* Blog Page Specific Styles */
.blog-header {
    background-color: #2c3e50;
    color: white;
    padding: 4rem 5%;
    text-align: center;
}

.blog-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Blog Filters */
.blog-filters {
    padding: 2rem 5%;
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.search-bar {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.search-bar input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: #3498db;
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 25px;
    background-color: #eee;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #3498db;
    color: white;
}

/* Blog Grid */
.blog-main {
    padding: 2rem 5%;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    padding: 0.3rem 1rem;
    background-color: #3498db;
    color: white;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9rem;
    margin: 1rem 0;
}

.read-more {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #2980b9;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover,
.page-btn.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.page-btn.next {
    padding: 0.5rem 1.5rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2rem;
    }

    .category-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        width: 100%;
        text-align: center;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
} 