/* Blog Page Styles */

/* Hero Section */
.blog-hero {
    background: linear-gradient(rgba(45, 27, 78, 0.85), rgba(45, 27, 78, 0.85)), url('../Images/Blog/HeroBg.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.blog-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #a3e635;
    margin-bottom: 0.5rem;
}

/* Blog Listing Section */
.blog-listing {
    background: url('../Images/Blog/BlogBg.png') center/cover no-repeat;
    padding: 3rem 2rem;
    min-height: 100vh;
}

.blog-listing .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Blog Card */
.blog-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.blog-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-new {
    background: #22c55e;
    color: #fff;
}

/* Blog Content */
.blog-content {
    padding: 1.5rem;
}

.blog-date {
    display: block;
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.blog-content h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    font-weight: 600;
}

.blog-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-hero {
        height: 250px;
    }
    
    .blog-hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
