/* Footer général */
.footer {
    position: relative;
    background-size: cover;
    background-position: center;
    padding-top: 80px;
    padding-bottom: 10px;
    color: white;
    text-align: center;
    z-index: 2; /* L'élément principal doit être devant l'overlay */
}
.footer-text {
    text-align: center; /* Centre le texte si nécessaire */
    font-size: 14px; /* Ajustez la taille selon vos besoins */
}

.footer-text a {
    text-decoration: none; /* Supprime le soulignement */
    color: inherit; /* Utilise la couleur du texte environnant */
}
.footer .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Couleur noire avec transparence */
    z-index: 1; /* Place l'overlay entre l'image et le contenu */
}
/* Conteneur principal */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
    position:relative;
    z-index:3;
}
.footer-text {
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}

.footer-text span {
    display: inline-block; /* Traite le contenu comme une unité unique */
    white-space: nowrap; /* Empêche les sauts de ligne inutiles */
}

.footer-text a {
    text-decoration: none; /* Supprime le soulignement */
    color: inherit; /* Utilise la couleur du texte environnant */
}

@media (max-width: 480px) {
    .footer-text {
        font-size: 12px; /* Réduire légèrement la taille de la police pour les petits écrans */
    }

    .footer-text span {
        white-space: normal; /* Autorise les retours à la ligne naturels si nécessaire */
        word-wrap: break-word; /* Permet de casser proprement les mots sur de petits écrans */
    }
}

/* Section Logo et description */
.footer-logo-section {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.footer-logo {
    max-width: 120px;
    margin-bottom: 15px;
}

.footer-logo-section p {
    font-size: 14px;
    line-height: 1.6;
}

/* Navigation */
.footer-nav-section,
.footer-legal-section {
    flex: 1;
    min-width: 200px;
    text-align: center;
    margin:auto;
}

.footer-nav-section h3,
.footer-legal-section h3 {
    margin-bottom: 10px;
    font-size: 16px;
    text-transform: uppercase;
}

.footer-nav-section ul,
.footer-legal-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-section ul li,
.footer-legal-section ul li {
    margin-bottom: 10px;
}

.footer-nav-section ul li a,
.footer-legal-section ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.footer-nav-section ul li a:hover,
.footer-legal-section ul li a:hover {
    color: #5360d6; /* Couleur dorée pour le hover */
}

/* Bas de page */
.footer-bottom {
    text-align: center; /* Centrer horizontalement */
    font-family: 'Akatab', sans-serif;
    font-size: 14px;
    color: white;
    display:flex;
    width:80%;
    margin:auto;
    gap:40px;
    justify-content: center; /* Centrer horizontalement les enfants */
    align-items: center; /* Centrer verticalement les enfants */
    z-index:4;
    margin-top:30px;
    position:relative;
}

.footer-bottom p {
    margin: 0;
    line-height: 1.5;
    display:flex;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
    margin-left:4px;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #5360d6; /* Couleur dorée au survol */
}
/* Footer wrapper */
.footer-wrapper {
    position: relative;
    width: 100%;
    background-color: #000; /* Couleur de fond si l'image est désactivée */
    overflow: hidden; /* Cache tout débordement */
    z-index: 1; /* Ajustez si nécessaire */
}
