/* Blog Page Styles */

.blog-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding-top: 100px;
    padding-bottom: 60px;
}

.blog-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
    line-height: 1.2;
}

.blog-hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 400;
}

/* Category Filters */
.blog-categories {
    padding: 40px 0;
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 80px;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.category-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.category-btn:hover {
    background: #e9ecef;
    color: #333;
    transform: translateY(-2px);
}

.category-btn.active {
    background: #333;
    color: #ffffff;
    border-color: #333;
}

.category-btn.active:hover {
    background: #222;
    transform: translateY(-2px);
}

/* Blog Posts Section */
.blog-posts {
    padding: 60px 0 100px;
    background: #ffffff;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.coming-soon-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 0;
}

.blog-post {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #333;
}

.post-category {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.post-category span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.post-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

.post-excerpt {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

.post-date {
    font-size: 0.9rem;
    color: #999;
}

.post-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #007AFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-link:hover {
    color: #0056CC;
}

/* Blog link in nav */
.nav-link.blog-link {
    color: #333;
    font-weight: 600;
}

.nav-link.blog-link.active {
    color: #007AFF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero {
        padding-top: 120px;
        min-height: 30vh;
        padding-bottom: 40px;
    }

    .blog-hero-title {
        font-size: 2.5rem;
    }

    .blog-hero-subtitle {
        font-size: 1rem;
    }

    .blog-categories {
        top: 70px;
        padding: 30px 0;
    }

    .category-filters {
        gap: 12px;
    }

    .category-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .blog-post {
        padding: 24px;
    }

    .post-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .blog-hero-title {
        font-size: 2rem;
    }

    .category-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .blog-post {
        padding: 20px;
    }

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Animation for posts */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-post {
    animation: fadeInUp 0.6s ease forwards;
}

