/* Blog Page Specific Styles */

/* Blog Hero */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    padding: 120px 0 80px;
    text-align: center;
}

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.blog-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Featured Post */
.featured-post {
    padding: 80px 0;
    background: var(--text-light);
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.featured-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.2;
}

.featured-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 30px;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.post-category {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.post-date {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.post-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stat {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Blog Categories */
.blog-categories {
    padding: 80px 0;
    background: var(--bg-light);
}

.blog-categories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--text-light);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.category-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.post-count {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Latest Posts */
.latest-posts {
    padding: 80px 0;
    background: var(--text-light);
}

.latest-posts h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-dark);
}

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

.post-card {
    background: var(--text-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.post-image {
    position: relative;
    height: 200px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    font-size: 3rem;
    color: var(--text-light);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-light);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 3rem;
    color: var(--text-gray);
}

.post-content {
    padding: 30px;
}

.post-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
    line-height: 1.3;
}

.post-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-dark);
}

.load-more {
    text-align: center;
}

/* Newsletter Signup */
.newsletter-signup {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--text-light);
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.newsletter-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.newsletter-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.email-form {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.email-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.email-form button {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    background: var(--text-light);
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.email-form button:hover {
    background: var(--bg-light);
}

.newsletter-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* YouTube Channel */
.youtube-channel {
    padding: 80px 0;
    background: var(--bg-light);
}

.youtube-channel h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.channel-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.youtube-video {
    background: var(--text-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.youtube-video:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.youtube-video .video-container {
    margin-bottom: 0;
}

.youtube-video h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 20px 20px 10px;
    color: var(--text-dark);
    line-height: 1.3;
}

.youtube-video p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0 20px 20px;
}

.youtube-cta {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .featured-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .featured-text h2 {
        font-size: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .email-form {
        flex-direction: column;
    }
    
    .youtube-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 100px 0 60px;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .featured-post,
    .blog-categories,
    .latest-posts,
    .newsletter-signup,
    .youtube-channel {
        padding: 60px 0;
    }
    
    .featured-text h2,
    .blog-categories h2,
    .latest-posts h2,
    .newsletter-text h2,
    .youtube-channel h2 {
        font-size: 2rem;
    }
    
    .featured-text h2 {
        font-size: 1.75rem;
    }
    
    .post-content {
        padding: 20px;
    }
    
    .category-card {
        padding: 30px 20px;
    }
    
    .category-icon {
        font-size: 2.5rem;
    }
}
