/* ================================
   YILDIZCAM - Modern Blog Design
   ================================ */

/* Blog Hero */
.blog-hero {
    padding: calc(var(--header-height) + 80px) 0 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    text-align: center;
}

.blog-hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 1rem;
}

.blog-hero__subtitle {
    font-size: clamp(1.125rem, 3vw, 1.375rem);
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Blog Section */
.blog-section {
    background: var(--bg-lighter);
}

/* Blog Grid */
.blog__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
}

.blog__card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.blog__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

/* Blog Image */
.blog__image {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.blog__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog__card:hover .blog__image img {
    transform: scale(1.05);
}

/* Category Badge */
.blog__category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow);
}

/* Blog Content */
.blog__content {
    padding: 2rem;
}

/* Blog Meta */
.blog__meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-lighter);
    font-size: 0.875rem;
}

.blog__date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.blog__date svg {
    width: 16px;
    height: 16px;
}

.blog__read-time {
    font-weight: 600;
}

.blog__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: var(--transition);
}

.blog__card:hover .blog__title {
    color: var(--primary-color);
}

.blog__excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .blog-hero {
        padding: calc(var(--header-height) + 60px) 0 50px;
    }

    .blog__grid {
        grid-template-columns: 1fr;
    }

    .blog__image {
        height: 220px;
    }

    .blog__content {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .blog__meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .blog__title {
        font-size: 1.25rem;
    }
}
