/* =====================================================
   BLOGS PAGE STYLES - The Software Showroom
   ===================================================== */

.blogs-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 60px 20px;
    text-align: center;
}

.blogs-title {
    font-size: 48px;
    font-weight: 700;
    color: #020617;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.blogs-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00D4D4, #6366F1);
    border-radius: 2px;
}

.blogs-description {
    font-size: 16px;
    color: #020617;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.7;
    font-weight: 400;
}

.blogs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    text-align: left;
}

.blog-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e0e0e0;
    position: relative;
    text-decoration: none;
    display: block;
    color: inherit;
}

.blog-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00D4D4, #5B8CFF, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0 0 12px 12px;
    z-index: 1;
}

.blog-card::after {
    display: none;
}

.blog-card:hover {
    transform: translateY(-3px);
    border-color: #00D4D4;
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #00D4D4 0%, #6366F1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.02);
}

.blog-image i {
    font-size: 64px;
    color: rgba(255, 255, 255, 0.3);
}

.blog-content {
    padding: 25px;
    position: relative;
    z-index: 2;
    text-align: left;
}

.blog-title {
    font-size: 22px;
    font-weight: 700;
    color: #020617;
    margin-bottom: 14px;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: #0f172a;
}

.blog-meta {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-excerpt {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.8;
    margin-bottom: 20px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #00D4D4 0%, #6366F1 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.blog-read-more::before {
    display: none;
}

.blog-read-more::after {
    display: none;
}

.blog-read-more:hover {
    transform: translateY(-2px);
}

.blog-read-more:hover i {
    transform: translateX(3px);
}

.blog-category {
    padding: 5px 12px;
    background: linear-gradient(135deg, #00D4D4 0%, #6366F1 100%);
    color: white;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    border: none;
}

.blog-card:hover .blog-category {
    opacity: 0.95;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6B7280;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6B7280;
}

.blog-views {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6B7280;
}

/* Empty State */
.blogs-empty {
    text-align: center;
    padding: 60px 20px;
}

.blogs-empty i {
    font-size: 64px;
    color: #00D4D4;
    margin-bottom: 20px;
    opacity: 0.5;
}

.blogs-empty h3 {
    font-size: 28px;
    color: #020617;
    margin-bottom: 15px;
}

.blogs-empty p {
    font-size: 16px;
    color: #6B7280;
    max-width: 500px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blogs-section {
        padding: 40px 20px 30px;
    }

    .blogs-title {
        font-size: 36px;
    }

    .blogs-description {
        font-size: 16px;
        margin: 0 auto 30px;
    }

    .blogs-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-content {
        padding: 25px;
    }

    .blog-title {
        font-size: 22px;
    }

    .blog-meta {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .blogs-section {
        padding: 30px 15px 20px;
    }

    .blogs-title {
        font-size: 32px;
    }

    .blogs-title::after {
        width: 60px;
        height: 3px;
    }

    .blogs-description {
        font-size: 14px;
        margin: 10px auto 20px;
    }

    .blog-image {
        height: 200px;
    }

    .blog-content {
        padding: 20px;
    }

    .blog-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .blog-meta {
        font-size: 12px;
        gap: 10px;
    }

    .blog-excerpt {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .blog-read-more {
        padding: 10px 20px;
        font-size: 13px;
    }
}
