/* Blog-specific styles */

/* Navigation active state */
.nav-links a.active {
    color: #1a1a1a;
    font-weight: 600;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

/* Blog Header */
.blog-header {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    text-align: center;
}

.blog-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #1a1a1a;
}

.blog-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.blog-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.blog-stats .stat {
    text-align: center;
}

.blog-stats .stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    display: block;
}

.blog-stats .stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Featured Post */
.featured-post {
    padding: 80px 0;
    background: #ffffff;
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: #f8f9fa;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.featured-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #1a1a1a;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-content {
    padding: 40px;
}

.featured-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.featured-title a {
    text-decoration: none;
    color: #1a1a1a;
    transition: color 0.2s;
}

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

.featured-excerpt {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Post Meta */
.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
}

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

.post-date, .post-read-time {
    color: #666;
    font-weight: 500;
}

/* Tags */
.featured-tags, .post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #e5e5e5;
    color: #666;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
}

.tag:hover {
    background: #d0d0d0;
    color: #333;
}

/* Blog Posts Section */
.blog-posts {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.section-header .section-subtitle {
    font-size: 18px;
    color: #666;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

/* Post Cards */
.post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.post-image {
    height: 240px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 32px;
}

.post-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.post-title a {
    text-decoration: none;
    color: #1a1a1a;
    transition: color 0.2s;
}

.post-title a:hover {
    color: #667eea;
}

.post-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.read-time {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}

.read-more:hover {
    color: #764ba2;
}

/* Load More Section */
.load-more-section {
    text-align: center;
}

.load-more-btn {
    background: white;
    border: 2px solid #e5e5e5;
    color: #1a1a1a;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.load-more-btn:hover {
    background: #f8f8f8;
    border-color: #d0d0d0;
    transform: translateY(-2px);
}

/* Newsletter Signup */
.newsletter-signup {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.newsletter-content p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

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

.newsletter-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
}

.newsletter-btn {
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.newsletter-disclaimer {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

/* Footer Updates */
.footer-links {
    display: flex;
    gap: 60px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.footer-section a {
    display: block;
    color: #666;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #1a1a1a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-title {
        font-size: 40px;
    }
    
    .blog-stats {
        gap: 40px;
    }
    
    .featured-card {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .featured-image {
        height: 300px;
    }
    
    .featured-content {
        padding: 32px 24px;
    }
    
    .featured-title {
        font-size: 24px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .blog-header {
        padding: 120px 0 60px;
    }
    
    .blog-title {
        font-size: 32px;
    }
    
    .blog-subtitle {
        font-size: 16px;
    }
    
    .blog-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .featured-post {
        padding: 60px 0;
    }
    
    .blog-posts {
        padding: 60px 0;
    }
    
    .section-header .section-title {
        font-size: 36px;
    }
    
    .post-content {
        padding: 24px;
    }
    
    .newsletter-signup {
        padding: 60px 0;
    }
    
    .newsletter-content h2 {
        font-size: 28px;
    }
}
