
/* Animation pour l'ouverture du modal */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Application de l'animation sur le modal */
.modal-enter {
    animation: fadeIn 0.3s ease-out;
}

.logo{
    width: 100px;
    height: auto;
}

.nav{
    padding: 0 1rem;
}


@media (max-width: 1188px) {
  #bar_rech {
    display: none;
  }
}


.carousel {
display: flex;
transition: transform 0.5s ease-in-out;
}
.slide {
position: relative;
width: 100vw;
height: 70vh;
}
.slide video {
width: 100%;
height: 100%;
object-fit: cover;
}
.slide-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
font-size: 2rem;
font-weight: bold;
text-align: center;
opacity: 0;
animation: fadeIn 1s forwards;
}
@keyframes fadeIn {
from { opacity: 0; transform: translate(-50%, -60%); }
to { opacity: 1; transform: translate(-50%, -50%); }
}


#modal {
z-index: 9999;
}




@keyframes zoomIn {
0% {
    transform: scale(1);
}
50% {
    transform: scale(1.1);
}
100% {
    transform: scale(1);
}
}



/* Animation d'apparition des éléments */
.fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation de zoom */
.zoom-in {
    animation: zoomIn 1s ease-in-out;
}

@keyframes zoomIn {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}


/* Animation de texte au survol */
.image-container {
position: relative;
overflow: hidden;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.image-container img {
transition: transform 0.4s ease-in-out;
}

.image-container:hover img {
transform: scale(1.1);
}

.text-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.5);
color: white;
padding: 20px;
text-align: center;
opacity: 0;
transition: opacity 0.3s ease-in-out;
}

.image-container:hover .text-overlay {
opacity: 1;
}
