/* Blog Hero Section */
.blog-hero {
    min-height: 50vh;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark) 0%, #0D0D24 100%);
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

/* Category Filter */
.category-filter {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 80px;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    background: transparent;
    color: var(--light);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--light);
}

/* Blog Grid Section */
.blog-grid-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #0D0D24 0%, var(--dark) 100%);
}

.category-section {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.1);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--light);
    line-height: 1.4;
}

.blog-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--secondary);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 4rem 0 2rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }

    .blog-card {
        margin-bottom: 1rem;
    }

    .article-preview {
        height: 400px;
        padding: 1.5rem;
    }

    .filter-container {
        flex-wrap: wrap;
        justify-content: center;
        padding: 1rem;
    }

    .filter-btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
        margin: 0.25rem;
    }

    .blog-content {
        padding: 1rem;
    }
} 