/* Blog Styles */

.blog-categories {
    padding: 40px 0;
    background: rgba(26, 26, 26, 0.5);
}

.category-filters {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 50px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: var(--gradient-red);
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

.blog-section {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.blog-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(220, 20, 60, 0.2);
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: 0 20px 60px rgba(220, 20, 60, 0.3);
}

.blog-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-red);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.blog-card-content {
    padding: 30px;
}

.blog-date {
    display: block;
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.blog-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-card h3 a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h3 a:hover {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-card p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-author,
.blog-views {
    font-size: 14px;
    color: var(--gray);
}

.read-more {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    transform: translateX(5px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 60px;
}

.page-btn {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 50px;
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover,
.page-btn.active {
    background: var(--gradient-red);
    border-color: var(--primary-red);
}

.page-dots {
    color: var(--gray);
    padding: 0 10px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
    border-top: 1px solid rgba(220, 20, 60, 0.2);
    border-bottom: 1px solid rgba(220, 20, 60, 0.2);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.newsletter-content p {
    color: var(--gray);
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(220, 20, 60, 0.3);
    border-radius: 50px;
    color: var(--white);
    font-size: 16px;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-red);
}

.newsletter-form button {
    white-space: nowrap;
}

/* Loading and Error States */
.loading,
.no-posts,
.error {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
    font-size: 18px;
}

.error {
    color: var(--primary-red);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .category-filters {
        gap: 10px;
    }

    .category-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .pagination {
        flex-wrap: wrap;
    }
}