/* Hero Section */
.articles-hero {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.articles-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(9, 179, 34, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.articles-hero .container {
    position: relative;
    z-index: 2;
}

.articles-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.articles-hero h1 span {
    color: #09b322;
    position: relative;
}

.articles-hero h1 span::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #09b322;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.articles-hero:hover h1 span::after {
    transform: scaleX(1);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item .counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: #09b322;
    display: block;
    margin-bottom: 0.5rem;
}

.hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: #09b322;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(9, 179, 34, 0.3);
}

.experience-badge span {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

/* Catégories Section */
.categories-section {
    padding: 2rem 0;
    background: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.categories-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    background: transparent;
    color: #666;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: #09b322;
    color: white;
    transform: translateY(-2px);
}

/* Articles Grid Section */
.articles-grid {
    padding: 80px 0;
    background: #f8f9fa;
}

.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.article-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(9, 179, 34, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.article-date {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

.article-content {
    padding: 1.5rem;
}

.article-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
    transition: color 0.3s ease;
}

.article-card:hover .article-content h3 {
    color: #09b322;
}

.article-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-read-more {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #09b322;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background: #07a01d;
    transform: translateY(-2px);
    color: white;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 3rem;
}

.pagination .page-link {
    color: #09b322;
    border: none;
    margin: 0 0.2rem;
    border-radius: 50px;
    padding: 0.8rem 1.2rem;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background: #09b322;
    color: white;
}

.pagination .page-link:hover {
    background: rgba(9, 179, 34, 0.1);
    transform: translateY(-2px);
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #09b322 0%, #07a01d 100%);
    color: white;
}

.newsletter-wrapper {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.newsletter-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-form .input-group {
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.newsletter-form .form-control {
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
}

.newsletter-form .btn-primary {
    background: #09b322;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.newsletter-form .btn-primary:hover {
    background: #07a01d;
    transform: translateY(-2px);
}

/* Search Box */
.search-box {
    position: relative;
    margin-left: 1rem;
}

.search-box input {
    padding: 0.8rem 1.5rem;
    padding-right: 3rem;
    border: 2px solid #eee;
    border-radius: 50px;
    width: 250px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: #09b322;
    outline: none;
    box-shadow: 0 0 0 3px rgba(9, 179, 34, 0.1);
}

.search-box i {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

/* Responsive Design */
@media (max-width: 991px) {
    .articles-hero {
        padding: 80px 0;
    }

    .articles-hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .categories-wrapper {
        flex-wrap: wrap;
    }

    .category-btn {
        margin-bottom: 0.5rem;
    }

    .search-box {
        margin: 1rem 0;
        width: 100%;
    }

    .search-box input {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .articles-hero h1 {
        font-size: 2rem;
    }

    .stat-item {
        padding: 1rem;
    }

    .stat-item .counter {
        font-size: 2rem;
    }

    .experience-badge {
        padding: 0.5rem 1rem;
    }

    .experience-badge span {
        font-size: 1.5rem;
    }

    .newsletter-wrapper {
        padding: 2rem;
    }

    .newsletter-wrapper h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .articles-hero {
        padding: 60px 0;
    }

    .articles-hero h1 {
        font-size: 1.8rem;
    }

    .hero-stats {
        margin-top: 2rem;
    }

    .stat-item {
        margin-bottom: 1rem;
    }

    .article-content {
        padding: 1rem;
    }

    .article-content h3 {
        font-size: 1.1rem;
    }

    .newsletter-wrapper {
        padding: 1.5rem;
    }

    .newsletter-wrapper h2 {
        font-size: 1.8rem;
    }
} 