/* ========================================
   Blog Page Styles
   ======================================== */

/* Hero Section */
.blog-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(rgba(12, 79, 88, 0.6), rgba(12, 79, 88, 0.6)), 
                url('../assets/images/slide1.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 155px;
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 79, 88, 0.3);
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--pure-white);
}

.blog-hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.blog-breadcrumb {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.blog-breadcrumb a {
    color: var(--pure-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-breadcrumb a:hover {
    color: var(--bright-cyan-glow);
}

.blog-breadcrumb .separator {
    color: var(--pure-white);
}

.blog-breadcrumb span:last-child {
    color: var(--bright-cyan-glow);
}

/* Blog Content Section */
.blog-content-section {
    padding: 6rem 0;
    background: var(--light-gray);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Blog Post Card */
.blog-post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.blog-post-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .blog-post-image img {
    transform: scale(1.1);
}

.blog-post-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-post-meta i {
    color: var(--deep-teal);
}

.blog-author {
    color: var(--deep-teal);
    font-weight: 500;
}

.blog-post-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--deep-gray);
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-post-card:hover .blog-post-title {
    color: var(--deep-teal);
}

.blog-post-excerpt {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--deep-teal);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    gap: 1rem;
    color: var(--secondary-teal);
}

.btn-read-more i {
    transition: transform 0.3s ease;
}

.btn-read-more:hover i {
    transform: translateX(5px);
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 4rem;
}

.pagination-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background: white;
    color: var(--deep-gray);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pagination-btn:hover,
.pagination-btn.active {
    background: var(--deep-teal);
    color: white;
    border-color: var(--deep-teal);
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        height: 40vh;
        min-height: 300px;
        margin-top: 120px;
    }

    .blog-hero-title {
        font-size: 2.5rem;
    }

    .blog-breadcrumb {
        font-size: 0.95rem;
    }

    .blog-content-section {
        padding: 4rem 0;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-post-content {
        padding: 1.5rem;
    }

    .blog-post-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .blog-hero-title {
        font-size: 2rem;
    }

    .blog-breadcrumb {
        font-size: 0.9rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .blog-breadcrumb .separator {
        display: none;
    }

    .blog-post-meta {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .blog-post-image {
        height: 200px;
    }
}
