body {
    background: black;
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('../img/bckgrd.jpg');
    background-attachment: fixed;
    background-size: cover;
}

.contact-container .contact-title h2{
    color:#fff;
}

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 */
    object-fit: contain; /* Empêche toute coupe ou déformation */
}


.header-logo2 {
    width: 50%;
    max-width: 50%;
    height: auto;
    display: block;
    margin-top: 5px;
    margin: 30px auto 0; /* Centrage horizontal avec auto */
    object-fit: contain;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: pixelated;
}



.event-banner {
    position: fixed;
    left: 0;
    right: 0;
    /*position: relative;*/
    background-color: #007BFF;
    color: #ffffff;
    font-size: 1em;
    padding: 12px 20px;
    text-align: center;
    font-weight: 500;
    font-family: 'Segoe UI', sans-serif;
    /*display: flex;*/
    align-items: center;
    flex-wrap: wrap;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    /*justify-content: center;*/
    justify-content: space-between;
    gap: 15px;
    z-index: 999;
}

.event-link {
    color: white;
    text-decoration: none;
    flex: 1;
}

.close-banner {
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0 10px;
    line-height: 1;
    user-select: none;
}

.close-banner:hover {
    opacity: 0.7;
}

 Responsive 
@media screen and (max-width: 768px) {
    .event-banner {
        font-size: 0.95em;
        padding: 10px 15px;
        flex-direction: column;
        align-items: flex-start;
        /*top: 70px;  ajusté pour mobile si nav plus haute */
    }

    .close-banner {
        margin-top: 8px;
        align-self: flex-end;
    }
}



/* .carousel {
    width: 100%;
    height: 300px;
    margin-top: 60px;
    display: flex;
    overflow: hidden;
    position: relative;
}
.slide {
    min-width: 100%;
    transition: transform 0.5s ease-in-out;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

.about-container {
    max-width: 800px;
    margin: auto;
    font-size: 0.9em;
    color: black;
    border: 2px solid #f2b139;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(255, 215, 0, 0.3);
    padding: 30px 20px;
    text-align: center;
    padding-top: 20px;
    background-color: rgba(249, 249, 250, 0.827);
}

.artist-bio {
    text-align: center;
    color: black;
}

.artist-bio h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.artist-bio p {
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}



.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}


.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Permet de recadrer et d'éviter les distorsions */
    border-radius: 10px; /* Applique l'arrondi aussi à l'image */
    display: block;
    transition: transform 0.3s ease-in-out;


    width: 100%;
    height: 100%; /* Remplit tout l'espace */
    object-fit: cover; /* Recadre l’image pour éviter la déformation */
    /* border-radius: 10px 10px 0 0; */
}


.gallery-item {
    position: relative;
    overflow: hidden; /* Évite tout débordement */
    cursor: pointer;
    text-align: center;
    width: 100%; /*S'assure que l'élément s'adapte bien*/
    flex-direction: column; /* Organise les éléments en colonne */
    justify-content: flex-start; /* Alignement en haut */
    padding-bottom: 10px; /* Ajoute de l’espace sous l’image */
    justify-content: flex-end; /* Place les éléments en bas */
    aspect-ratio: 1 / 1; /*Garantit une hauteur égale à la largeur pour des items carrés */
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.gallery-item {
    display: flex;
    /* flex-direction: column; */
}

.gallery-item .title {
    width: 100%; /* S'étend sur toute la largeur de l'élément parent */
    text-align: center; /* Centre le texte */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.6); /* Fond semi-transparent pour une meilleure lisibilité */
    color: white; /* Assure un bon contraste */
    font-size: 14px;
    word-wrap: break-word; /* Permet de couper les mots longs */
    white-space: normal; /* Empêche le texte de rester sur une seule ligne */
    min-height: 50px; /* Assure un espace suffisant pour le texte */
    max-width: 100%; /* Empêche tout dépassement */
}

.gallery-item .title a {
    color: white;
    font-size:16px;
}

.social-title-icons {
  display: flex;
  gap: 10px; /* espace entre les icônes */
  align-items: center;
  margin-top: 5px;
}

.social-title-icons img {
  width: 32px; /* taille ajustée */
  height: auto;
  display: block;
}


.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajuste la vidéo pour qu'elle remplisse son conteneur */
    border-radius: 10px;
}


.gallery-item h3 {
    margin-top: 10px;
    font-size: 16px;
    color: white;
    text-align: center;
    max-width: 90%;
    word-wrap: break-word;
}



.gallery-item:hover img {
    transform: scale(1.1);
}
/* .title {
    padding: 10px;
    background: rgba(255, 255, 255, 0.8);
    color: black;
    font-size: 16px;
    text-align: center;
} */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: orange;
    color: black;
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    transition: background 0.3s;
    display: none;
    text-align: center;
    line-height: 50px;
    z-index: 100;
}
#backToTop:hover {
    background: darkorange;
}
.modal {
    display: none; /* La modal est cachée par défaut */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 80%;
    max-height: 80%;
}
.modal-content {
    display: block;
    max-width: 90%;
    max-height: 80vh;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: white;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
	z-index: -1;
}


/*CSS lié au formulaire de contact*/
.contact-container {
    width: 50%;
    margin: 50px auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    color: #fff;
    text-align: center;
}

.contact-container h1 {
    margin-bottom: 20px;
}

.contact-container label {
    display: block;
    text-align: left;
    margin: 10px 0 5px;
}

.contact-container input,
.contact-container textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-bottom: 15px;
}

.contact-container button {
    background: #ff9900;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.contact-container button:hover {
    background: #e68a00;
}


.contact-container input,
.contact-container textarea,
.contact-container select {
    width: 100%;
    box-sizing: border-box; /* Empêche le dépassement à cause du padding */
    margin: 10px 0; /* Espacement entre les champs */
    padding: 10px;
    border: none;
    border-radius: 4px;
}



.hidden {
    display: none;
    color: green;
    margin-top: 15px;
    font-weight: bold;
}


.email-message {
    color: #ffffff; /* Texte en blanc pour contraster avec le fond noir */
    background-color: rgba(0, 0, 0, 0.7); /* Fond semi-transparent pour une meilleure lisibilité */
    padding: 15px; /* Espacement autour du texte */
    border-radius: 5px; /* Coins arrondis */
    font-size: 16px; /* Taille du texte */
    font-family: Arial, sans-serif; /* Police simple et lisible */
    text-align: center; /* Centrer le texte */
    margin-bottom: 20px; /* Marge sous le message */
}

.email-message a {
    color: #f39c12; /* Couleur du lien (or) */
    text-decoration: none; /* Enlever le soulignement par défaut */
}

.email-message a:hover {
    text-decoration: underline; /* Ajouter un soulignement au survol pour le lien */
}




.footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 16px;
    position: relative;
    bottom: 0;
    width: 100%;
	z-index: -1;
    margin-top: 100px;
    font-family: 'Arial', sans-serif;
}


.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
}

/* Ajout des barres verticales */
.footer-container > div {
    flex: 1;
    padding: 20px;
    position: relative;
}

.footer-container > div:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 15%;
    right: 0;
    width: 2px;
    height: 70%;
    background-color: rgba(255, 255, 255, 0.3);
}

/* Zone Gauche : Logo */
.footer-left {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

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

.footer-partners-logos {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.footer-partners-logos img {
    height: 40px; /* Ajuste la taille selon tes besoins */
    width: auto;
    max-width: 100px; /* Évite que les images soient trop grandes */
    /* background-color: #fff; */
}

#whiteback{
    background-color: #fff;
    border-radius: 50px;
}

/* Zone Centre : Liens RGPD */
.footer-center {
    text-align: center;
}

.footer-center h4,
.footer-right h4 {
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: bold;
}

.footer-center ul,
.footer-right ul {
    list-style: none;
    padding: 0;
}

.footer-center ul li,
.footer-right ul li {
    margin-bottom: 5px;
}

.footer-center a,
.footer-right a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-center a:hover,
.footer-right a:hover {
    text-decoration: underline;
    color: #ff8103;
}

/* Zone Droite : Liens divers & Newsletter */
.footer-right {
    text-align: center;
}

/* Empêcher tout élément de recouvrir le champ et le bouton */
.newsletter {
    position: relative;
    z-index: 10;
}

/* Champ d'email cliquable */
.newsletter-input {
    padding: 10px;
    border: none;
    border-radius: 20px;
    width: 60%;
    outline: none;
    text-align: center;
    background-color: white;
    color: black;
    z-index: 11;
}

/* Bouton de soumission cliquable */
.newsletter-btn {
    padding: 10px 15px;
    border: none;
    background-color: #e63946;
    color: white;
    cursor: pointer;
    border-radius: 20px;
    transition: 0.3s ease-in-out;
    z-index: 11;
}

.newsletter-btn:hover {
    background-color: #c72c3b;
}

/* Vérifie que les séparateurs ne couvrent pas la newsletter */
/* .footer-container > div:not(:last-child)::after {
    z-index: -5;
} */


/* Footer Bas */
.footer-bottom {
    text-align: center;
    background-color: #111;
    padding: 15px 0;
    font-size: 12px;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-container > div:not(:last-child)::after {
        display: none;
    }

    .newsletter {
        flex-direction: column;
    }

    .newsletter-input {
        width: 80%;
    }
}



/* Vérifier s'il y a un élément caché qui bloque */
.footer {
    /* position: relative; */
    z-index: 0; /* S'assurer que le footer est bien au-dessus des autres éléments */
}

/* Empêcher un éventuel élément bloquant */
.footer * {
    pointer-events: auto !important;
}

/* Vérifier s'il y a une superposition avec un pseudo-élément */
/* .footer::before,
.footer::after {
    display: none !important;
} */

/* Empêcher tout `div` caché de bloquer */
/* .footer-container {
    position: relative;
    z-index: 11;
} */






/*Effets CREActifs page contact */

@keyframes glow {
    0% { text-shadow: 0 0 5px #ff6600, 0 0 10px #ff9933, 0 0 15px #ffcc66; }
    50% { text-shadow: 0 0 10px #ff6600, 0 0 20px #ff9933, 0 0 30px #ffcc66; }
    100% { text-shadow: 0 0 5px #ff6600, 0 0 10px #ff9933, 0 0 15px #ffcc66; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.contact-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.creactifs {
    color: #ff6600;
    font-style: italic;
    font-weight: bold;
    display: inline-block;
    animation: glow 1.5s infinite alternate, float 2s ease-in-out infinite;
}


img[src="img/logo-b-700.svg"] {
    fill: purple;
  }