/* Blog Specific Styles */

/* Blog Hero Section */
.blog-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.blog-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.blog-hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-email-capture {
    max-width: 500px;
    margin: 0 auto;
}

.blog-waitlist-form .form-group {
    flex-direction: column;
    gap: 1rem;
}

.blog-waitlist-form input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 20px;
}

.blog-waitlist-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.blog-waitlist-form input:focus {
    border-color: rgba(255, 255, 255, 0.5);
}

.blog-waitlist-form .btn-primary {
    background: white;
    color: #667eea;
    padding: 15px 30px;
    font-size: 1.1rem;
}

.blog-waitlist-form .btn-primary:hover {
    background: #f8f9fa;
}

.blog-waitlist-form .form-note {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
}

/* Featured Articles */
.featured-articles {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.featured-article {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.featured-article:hover {
    transform: translateY(-5px);
}

.featured-article .article-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.featured-article .article-content {
    padding: 2rem;
}

.article-category {
    background: #667eea;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-article h3 {
    margin: 1rem 0;
    font-size: 1.3rem;
}

.featured-article h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-article h3 a:hover {
    color: #667eea;
}

.featured-article p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #888;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* All Articles Section */
.all-articles {
    padding: 80px 0;
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 2px solid #e1e5e9;
    color: #666;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e1e5e9;
}

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

.article-card .article-image {
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.article-card .article-content {
    padding: 1.5rem;
}

.article-card h3 {
    margin: 0.5rem 0 1rem;
    font-size: 1.1rem;
}

.article-card h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card h3 a:hover {
    color: #667eea;
}

.article-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.article-card .article-meta {
    font-size: 0.8rem;
}

/* Blog CTA Section */
.blog-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.blog-cta .cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.blog-cta .cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.blog-cta .cta-form {
    max-width: 500px;
    margin: 0 auto;
}

.blog-cta .cta-form input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.blog-cta .cta-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.blog-cta .cta-form input:focus {
    border-color: rgba(255, 255, 255, 0.5);
}

.blog-cta .cta-form .btn-primary {
    background: white;
    color: #667eea;
}

.blog-cta .cta-form .btn-primary:hover {
    background: #f8f9fa;
}

.blog-cta .form-note {
    color: rgba(255, 255, 255, 0.8);
}

/* Navigation Active State */
.nav-menu a.active {
    color: #667eea;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero-content h1 {
        font-size: 2.5rem;
    }

    .blog-hero-content p {
        font-size: 1rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .category-filter {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 100px 0 60px;
    }

    .blog-hero-content h1 {
        font-size: 2rem;
    }

    .featured-article .article-content,
    .article-card .article-content {
        padding: 1.5rem;
    }

    .featured-article h3,
    .article-card h3 {
        font-size: 1.1rem;
    }
}

/* Animation for filtered articles */
.article-card {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease;
}

.article-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

/* Loading states */
.article-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success/Error messages for blog forms */
.blog-success-message,
.blog-error-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.blog-success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.blog-error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Print styles for articles */
@media print {
    .navbar,
    .blog-email-capture,
    .category-filter,
    .blog-cta,
    .footer {
        display: none;
    }

    .blog-hero {
        background: white;
        color: black;
    }

    .featured-article,
    .article-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
} 