<!-- ============================================ -->
<!-- FICHIER: style.css -->
<!-- ============================================ -->

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: white;
    color: #000;
}
/* Logo dans le header */
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.header-logo {
    flex-shrink: 0;
}

.header-logo img {
    height: 60px;
    width: auto;
}

/* Photo principale au centre */
.main-photo {
    max-width: 80%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Responsive pour le header */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .header-logo img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .header-logo img {
        height: 40px;
    }
}
header {
    background-color: #000;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 0 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
}

nav a:hover,
nav a.active {
    color: #dc143c;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

h1 {
    color: #dc143c;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-align: center;
}

h2 {
    color: #dc143c;
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.logo-section {
    text-align: center;
    margin: 2rem 0;
}

.logo {
    width: 200px;
    height: 200px;
    background-color: #dc143c;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.responsive-img {
  max-width: 100%; /* Empêche l'image de dépasser la largeur de son parent */
  height: auto;    /* Maintient le ratio d'aspect */
  display: block;  /* Utile pour centrer ou gérer les marges */
}

.description {
    line-height: 1.8;
    text-align: justify;
    margin: 2rem 0;
    font-size: 1.1rem;
}

.activity-card {
    background-color: #f5f5f5;
    border-left: 4px solid #dc143c;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.activity-card h3 {
    color: #000;
    margin-bottom: 0.5rem;
}

.activity-date {
    color: #dc143c;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    aspect-ratio: 1;
    background-color: #f5f5f5;
    border: 3px solid #dc143c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #dc143c;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.sponsor-card {
    background-color: #000;
    color: white;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

.sponsor-card h3 {
    color: #dc143c;
    margin-bottom: 1rem;
}

.sponsor-card a {
    color: white;
    text-decoration: none;
    border-bottom: 2px solid #dc143c;
}

.sponsor-card a:hover {
    color: #dc143c;
}

footer {
    background-color: #000;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    nav {
        gap: 1rem;
        padding: 0 1rem;
    }

    nav a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .container {
        padding: 2rem 1rem;
    }

    .logo {
        width: 150px;
        height: 150px;
        font-size: 2rem;
    }

    .description {
        font-size: 1rem;
        text-align: left;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .gallery-item {
        font-size: 2rem;
    }

    .sponsors-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .activity-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    nav a {
        display: block;
        text-align: center;
        padding: 0.7rem;
    }

    .container {
        padding: 1.5rem 0.75rem;
    }

    .logo {
        width: 120px;
        height: 120px;
        font-size: 1.5rem;
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .activity-card h3 {
        font-size: 1.1rem;
    }

    footer {
        padding: 1.5rem 1rem;
        font-size: 0.9rem;
    }
}