/* Blog-specific styles */

.blog-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 100px 0 60px;
    text-align: center;
}

.blog-header-content i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.blog-header-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.blog-header-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Blog Articles Section */
.blog-articles {
    padding: 80px 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.article-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.article-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.article-icon {
    font-size: 4rem;
    color: var(--white);
    opacity: 0.9;
}

.article-content {
    padding: 30px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.article-category {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-weight: 600;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
}

.article-title {
    margin-bottom: 15px;
}

.article-title a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.read-more:hover {
    gap: 8px;
}

/* Newsletter Section */
.newsletter {
    background: var(--light-bg);
    padding: 80px 0;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.newsletter-content p {
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--primary-color);
}

.newsletter-form button {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/* Active navigation link */
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-header-content h1 {
        font-size: 2.5rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .article-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .blog-header-content h1 {
        font-size: 2rem;
    }
    
    .article-content {
        padding: 20px;
    }
}