/* Style global */
body {
    /* background-color: #000; */
    font-family: Arial, sans-serif;
    background: url('../img/bckgrd2.jpg') no-repeat center center fixed !important; 
    background-size: cover;
}


/* body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); 
    z-index: -1;
} */


nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 0;
    text-align: center;
    z-index: 1000;
	display: flex;
    justify-content: center; /* Centre les éléments horizontalement */
    align-items: center; /* Aligne les éléments verticalement */
    margin-bottom: 25px;
}
nav a img {
    /* display: flex; */
    justify-content: center; /* Centre les éléments horizontalement */
    align-items: center; /* Centre verticalement */
    gap: 15px; /* Ajoute un espace de 15px entre chaque élément */
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
	align-items: center; /* Aligne les éléments verticalement */
}
nav ul li {
    margin: 0 15px;
}
nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px;
    transition: all 0.3s;
}
nav ul li a:hover {
    background: white;
    color: black;
    padding: 10px;
}

.header-logo {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 90px; /* Ajuste cette valeur en fonction de la hauteur de ta nav */
    margin-bottom: 100px;
    object-fit: contain; /* Empêche toute coupe ou déformation */
    image-rendering: crisp-edges;  /* Améliore le rendu sur certains navigateurs */
    image-rendering: -webkit-optimize-contrast; /* Spécifique à Chrome */
    image-rendering: pixelated;  /* Parfois utile si l’image a des bords flous */
}


/* Section présentation */
.about-section, .partners-section {
    background-color: #fff;
    padding: 30px 20px;
    margin: 40px auto;
    border-radius: 10px;
    text-align: center;
    max-width: 80%;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
}

.about-section h1, .partners-section h1 {
    font-size: 3em;
    color: #333;
    margin-bottom: 15px;
}

.about-section h2, .partners-section h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 15px;
}

.about-section p {
    font-size: 1.1em;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}


.about-section a {
    text-decoration: none;
    color: #ff8103;
    
}

/* Section partenaires */
.partners-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}


.partners-logos {
    display: flex;
    justify-content: center; /* Centre les logos horizontalement */
    align-items: center; /* Aligne les logos verticalement */
    flex-wrap: wrap; /* Permet le retour à la ligne si besoin */
    gap: 20px; /* Espacement entre les logos */
    padding: 20px 0;
}

.partners-logos a {
    display: flex; /* Permet un meilleur alignement */
}

.partners-logos img {
    height: 80px; /* Hauteur fixe pour uniformiser les logos */
    width: auto; /* Ajustement automatique pour éviter la déformation */
    max-width: 150px; /* Empêche un logo trop large */
    object-fit: contain; /* Garde les proportions sans rogner */
}


.partners-logos img {
    /* height: auto; */
    /* filter: grayscale(100%); */
    transition: all 0.3s ease-in-out;
}

.partners-logos img:hover {
    /* filter: grayscale(0%); */
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .about-section h2, .partners-section h2 {
        font-size: 1.8em;
    }

    .about-section p {
        font-size: 1em;
    }

    .partners-logos img {
        max-width: 100px;
    }
}
