/* Styles spécifiques à la page d'actualités */

.actualites-header {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=1400&q=80');
}

.header-badges {
    margin-top: 20px;
}

.header-badges .badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    margin: 0 5px;
    font-weight: 500;
    border-radius: 20px;
}

/* Filtres */
.news-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.filter-btn {
    background: var(--light-color);
    border: 2px solid transparent;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Actualités à la une */
.featured-news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.featured-news-card:hover {
    transform: translateY(-5px);
}

.featured-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.featured-news-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.featured-content {
    padding: 30px;
}

.meta-info {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.meta-info .category {
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.meta-info .date {
    color: #666;
    font-size: 0.9rem;
}

.featured-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.featured-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.featured-details .location {
    color: var(--primary-color);
    font-weight: 600;
}

/* Événements à venir */
.upcoming-events {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    height: 100%;
}

.event-list {
    margin-top: 20px;
}

.event-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
}

.event-item:hover {
    background: rgba(46, 139, 87, 0.05);
    padding-left: 10px;
}

.event-date {
    background: var(--light-color);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    min-width: 60px;
    margin-right: 15px;
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
}

.event-info h5 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.event-info p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Cartes d'actualités */
.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s;
    margin-bottom: 30px;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    line-height: 1.4;
}

.news-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.news-tags .badge {
    background: rgba(212, 175, 55, 0.1);
    color: var(--secondary-color);
    font-weight: 500;
    padding: 5px 10px;
    margin-left: 5px;
}

/* Newsletter */
.newsletter-form .input-group {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 25px;
    overflow: hidden;
}

.newsletter-form .form-control {
    border: none;
    padding: 15px 20px;
    border-radius: 25px 0 0 25px;
}

.newsletter-form .btn {
    border-radius: 0 25px 25px 0;
    padding: 15px 25px;
}

/* Pagination */
.pagination .page-item .page-link {
    border: none;
    margin: 0 5px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    font-weight: 600;
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    color: white;
}

.pagination .page-item .page-link:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

/* Animation pour le filtrage */
.news-item {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .featured-details {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .news-filters {
        padding: 15px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .news-image {
        height: 180px;
    }
    
    .featured-image {
        height: 200px;
    }
    
    .featured-content h3 {
        font-size: 1.5rem;
    }
    
    .news-filters {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding: 15px 10px;
    }
    
    .header-badges {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .header-badges .badge {
        margin: 5px 0;
        width: fit-content;
    }
}