/* === BLOG.HTML SPECIFIC STYLES === */
/* Blog index page styles */

/* Main Blog Page Layout */
.blog-page {
    padding-top: 100px; /* Account for fixed header */
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.blog-header {
    background: linear-gradient(135deg, #914ac8 0%, #f2758b 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.blog-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.blog-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Blog Content Area */
.blog-content {
    padding: 80px 0;
}

.blog-intro {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.blog-intro h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.blog-intro p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Blog Posts Grid */
.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.blog-post-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.post-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .post-image {
    transform: scale(1.05);
}

.post-content {
    padding: 30px;
}

.post-category {
    display: inline-block;
    background: linear-gradient(45deg, #914ac8, #f2758b);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.post-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-summary {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    font-size: 0.9rem;
    color: #666;
}

.post-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-date i {
    color: var(--primary);
}

.read-time {
    display: flex;
    align-items: center;
    gap: 8px;
}

.read-time i {
    color: var(--accent);
}

.read-more-btn {
    display: inline-block;
    background: linear-gradient(45deg, #914ac8, #f2758b);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.read-more-btn:hover {
    background: linear-gradient(45deg, #7d3baf, #e8617a);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Blog Categories Section */
.blog-categories {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
}

.categories-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.category-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-item:hover {
    background: linear-gradient(45deg, #914ac8, #f2758b);
    color: white;
    transform: translateY(-3px);
}

.category-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary);
    transition: color 0.3s ease;
}

.category-item:hover .category-icon {
    color: white;
}

.category-name {
    font-weight: 600;
    margin-bottom: 8px;
}

.category-count {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #914ac8 0%, #f2758b 100%);
    color: white;
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    margin: 60px 0;
}

.newsletter-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.newsletter-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
}

.newsletter-btn {
    background: white;
    color: var(--primary);
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* SEO Content Section */
.seo-content {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.seo-content h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.seo-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

.seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}

.seo-link {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.seo-link:hover {
    background: linear-gradient(45deg, #914ac8, #f2758b);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-title {
        font-size: 2.5rem;
    }
    
    .blog-posts {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .newsletter-form {
        flex-direction: column;
        max-width: 300px;
    }
    
    .newsletter-section {
        padding: 40px 30px;
    }
    
    .post-content {
        padding: 25px;
    }
    
    .seo-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-header {
        padding: 60px 0 40px;
    }
    
    .blog-content {
        padding: 60px 0;
    }
    
    .blog-intro,
    .blog-categories,
    .seo-content {
        padding: 30px 20px;
    }
    
    .newsletter-section {
        padding: 30px 20px;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .post-title {
        font-size: 1.2rem;
    }
}
