/* ============================================
   BLOG SECTION STYLES
   Gunerhan İnşaat Blog Integration
   ============================================ */

.blog-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0a0a0f 0%, #0f0f1a 100%);
    position: relative;
    overflow: hidden;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.blog-section .section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.blog-section .section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 15px;
    position: relative;
}

.blog-section .section-label::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.blog-section .section-heading {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    font-family: var(--font-display);
}

.blog-section .section-heading em {
    font-style: italic;
    color: #d4af37;
    font-weight: 600;
}

.blog-section .section-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* Blog Card */
.blog-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background: #0a0a0f;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(212, 175, 55, 0.9);
    color: #1a1a2e;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.blog-card-content {
    padding: 25px;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.blog-card-meta i {
    color: #d4af37;
    margin-right: 5px;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
    color: #d4af37;
}

.blog-card-excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #d4af37;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.blog-card-link i {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-link {
    gap: 12px;
}

.blog-card:hover .blog-card-link i {
    transform: translateX(4px);
}

/* View All Button */
.blog-cta {
    text-align: center;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.blog-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #d4af37 0%, #c9a22e 100%);
    color: #1a1a2e;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.blog-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    gap: 16px;
}

.blog-cta-button i {
    transition: transform 0.3s ease;
}

.blog-cta-button:hover i {
    transform: translateX(4px);
}

/* Partner Badge */
.partner-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
    text-align: center;
}

.partner-badge i {
    color: #d4af37;
}

.partner-badge > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .blog-section {
        padding: 80px 0;
    }

    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .blog-card-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 60px 0;
    }

    .blog-section .section-header {
        margin-bottom: 40px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-card-content {
        padding: 20px;
    }

    .blog-card-title {
        font-size: 18px;
    }

    .blog-cta {
        margin-top: 40px;
    }
}