/* Blog Page Styles */
@import url('variables.css');

/* Hero Section */
.hero-section-blog {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background-blog {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -2;
}

.hero-overlay-blog {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 60, 114, 0.8);
    z-index: -1;
}

.hero-pattern-blog {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-content-blog {
    position: relative;
    z-index: 1;
    color: white;
}

.hero-badge-blog {
    margin-bottom: 1.5rem;
}

.badge-text-blog {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title-blog {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.title-line-blog {
    display: block;
    color: white;
}

.title-highlight-blog {
    display: block;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description-blog {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions-blog {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn-primary-blog {
    background: var(--gradient-secondary);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.hero-btn-primary-blog:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    color: white;
}

.hero-btn-secondary-blog {
    border: 2px solid white;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
}

.hero-btn-secondary-blog:hover {
    background: white;
    color: var(--primary-navy);
    transform: translateY(-2px);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Featured Posts */
.featured-post-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.featured-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.post-image {
    position: relative;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient-secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
}

.post-content {
    padding: 2rem;
}

.post-content h3,
.post-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.post-date,
.post-author,
.post-read-time {
    display: flex;
    align-items: center;
}

.post-meta i {
    margin-right: 0.25rem;
    color: var(--primary-gold);
}

.post-content .btn {
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Category Cards */
.category-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-gold);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.category-icon i {
    font-size: 1.5rem;
    color: white;
}

.category-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.post-count {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Blog Post Cards */
.blog-post-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-post-card .post-image img {
    height: 200px;
}

.blog-post-card .post-content {
    padding: 1.5rem;
}

.blog-post-card .post-content h4 {
    font-size: 1.2rem;
}

.blog-post-card .post-meta {
    margin-bottom: 1rem;
}

/* Newsletter Section */
.newsletter-card {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2c5aa0 100%);
    padding: 3rem;
    border-radius: 25px;
    color: white;
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.3);
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.newsletter-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.newsletter-card h3 i {
    color: var(--primary-gold);
}

.newsletter-card p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.newsletter-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.newsletter-features .feature-tag {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.newsletter-features .feature-tag i {
    color: var(--primary-gold);
}

.newsletter-form .input-group {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
}

.newsletter-form .form-control {
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.newsletter-form .btn {
    background: var(--gradient-secondary);
    border: none;
    color: white;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.newsletter-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    color: white;
}

/* Topic Cards */
.topic-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-gold);
}

.topic-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.topic-icon i {
    font-size: 1.8rem;
    color: white;
}

.topic-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.topic-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.topic-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.topic-link:hover {
    color: var(--primary-navy);
    transform: translateX(5px);
}

/* CTA Section */
.cta-card {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #2c5aa0 100%);
    padding: 3rem;
    border-radius: 25px;
    color: white;
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-card h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.cta-card p {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-card .btn {
    background: var(--gradient-secondary);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.cta-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title-blog {
        font-size: 2.5rem;
    }
    
    .hero-actions-blog {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .newsletter-card,
    .cta-card {
        padding: 2rem;
    }
    
    .newsletter-features {
        flex-direction: column;
    }
    
    .newsletter-features .feature-tag {
        text-align: center;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title-blog {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .newsletter-card,
    .cta-card {
        padding: 1.5rem;
    }
    
    .newsletter-card h3,
    .cta-card h3 {
        font-size: 1.5rem;
    }
    
    .post-content {
        padding: 1.5rem;
    }
    
    .blog-post-card .post-content {
        padding: 1rem;
    }
    
    .category-card,
    .topic-card {
        padding: 1.5rem;
    }
}
