/* Styles pour la page solidarité */
.solidarite-page {
    background-color: #fff;
}

.solidarite-header {
    position: relative;
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('../images/solidarite-banner.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.solidarite-header .content {
    position: relative;
    z-index: 2;
}

.solidarite-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.solidarite-header p {
    font-size: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Section Mission */
.mission-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.stat-item .number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Section Vidéos */
.videos-section {
    padding: 5rem 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 1.5rem;
}

/* Section Événements */
.evenements-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.evenements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.evenement-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.evenement-card:hover {
    transform: translateY(-5px);
}

.evenement-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.evenement-info {
    padding: 1.5rem;
}

/* Section Soutien */
.soutien-section {
    padding: 5rem 0;
}

.soutien-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.option-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.option-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.btn-soutien {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.btn-soutien:hover {
    background: var(--primary-color-dark);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Ratio 16:9 */
    background: #000;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.video-meta i {
    margin-right: 0.5rem;
}

.category {
    background: #f0f0f0;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .solidarite-header h1 {
        font-size: 2.5rem;
    }

    .mission-content {
        grid-template-columns: 1fr;
    }

    .mission-stats {
        grid-template-columns: 1fr;
    }

    .videos-grid,
    .evenements-grid,
    .soutien-options {
        grid-template-columns: 1fr;
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    .solidarite-header h1 {
        font-size: 2.5rem;
    }

    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mission-stats {
        grid-template-columns: 1fr;
    }

    /* Ajustements pour les vidéos sur mobile */
    .videos-section {
        padding: 3rem 1rem;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-card {
        margin: 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .video-wrapper {
        position: relative;
        width: 100%;
        padding-top: 56.25%; /* Maintient le ratio 16:9 */
        background: #000;
        margin: 0;
    }

    .video-wrapper video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .video-info {
        padding: 1rem;
    }

    .video-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .video-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .video-meta span {
        display: flex;
        align-items: center;
    }

    .evenements-grid,
    .soutien-options {
        grid-template-columns: 1fr;
    }
}

/* Optimisations supplémentaires pour très petits écrans */
@media (max-width: 480px) {
    .video-wrapper {
        margin: 0 -1rem;
        width: calc(100% + 2rem);
        border-radius: 0;
    }

    .video-card {
        border-radius: 0;
        box-shadow: none;
        border-bottom: 1px solid #eee;
    }

    .video-info {
        padding: 1rem;
    }

    .video-meta {
        font-size: 0.8rem;
    }
}