/* ===== PAGE ACTIONS ===== */

/* Navigation active */
nav ul li a.active {
    color: #2c5530;
    font-weight: bold;
    position: relative;
}

nav ul li a.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #2c5530;
}

/* Section filtres améliorée */
.filters-section {
    margin-bottom: 50px;
    margin-top: 50px;
}

.filters-section h2 {
    color: #2c5530;
    margin-bottom: 25px;
    text-align: center;
    font-size: 2em;
}

.filters {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group {
    margin-bottom: 0;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c5530;
    font-weight: 600;
}

.filter-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    font-size: 1em;
    transition: all 0.3s ease;
}

.filter-group select:focus {
    border-color: #2c5530;
    box-shadow: 0 0 0 2px rgba(44, 85, 48, 0.1);
    outline: none;
}

.filter-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    color: #2c5530;
    border: 2px solid #2c5530;
}

.btn-outline:hover {
    background: #2c5530;
    color: white;
}

/* Grille d'actions améliorée */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.action-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.action-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    z-index: 2;
}

.card-badge.upcoming {
    background: #4a7c59;
    color: white;
}

.card-badge.ongoing {
    background: #e1c17a;
    color: #2c5530;
}

.card-badge.past {
    background: #6c757d;
    color: white;
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.action-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    color: #2c5530;
    margin-bottom: 15px;
    font-size: 1.3em;
    line-height: 1.3;
}

.action-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9em;
}

.action-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-content p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 1.4em;
    font-weight: 700;
    color: #2c5530;
    display: block;
}

.stat-label {
    font-size: 0.8em;
    color: #666;
    margin-top: 4px;
}

/* Section bénévole améliorée */
.volunteer-section {
    background: linear-gradient(135deg, #e8f4ea 0%, #c8e6c9 100%);
    padding: 60px ;
    border-radius: 12px;
    margin-top: 40px;
    margin-bottom: 80px
}

.volunteer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.volunteer-content h2 {
    color: #2c5530;
    margin-bottom: 20px;
    font-size: 2.2em;
}

.volunteer-content p {
    color: #555;
    margin-bottom: 30px;
    font-size: 1.1em;
    line-height: 1.6;
}

.volunteer-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
}

.benefit-icon {
    font-size: 1.5em;
    flex-shrink: 0;
}

.benefit-text h4 {
    color: #2c5530;
    margin-bottom: 5px;
    font-size: 1.1em;
}

.benefit-text p {
    color: #666;
    margin: 0;
    font-size: 0.9em;
}

.volunteer-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.volunteer-form h3 {
    color: #2c5530;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.5em;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c5530;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2c5530;
    box-shadow: 0 0 0 2px rgba(44, 85, 48, 0.1);
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    margin-top: 10px;
}