#formRecherche {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 1rem;
    margin: 0 50px 0 0;
}
#formRecherche input, #formRecherche button, #formCategorie select {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    border-radius: 12px;
    border: 1px solid #ccc;
    outline: none;
}
#formCategorie {
    margin: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.intro-banner {
    position: relative;
    background-image: url('Images/intro.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    overflow: hidden;
}
.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.intro-content {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    color: white;
    transition: transform 0.1s ease-out;
}
.intro-text {
    flex: 1;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}
.intro-video {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.intro-video iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
h2 {
    text-align: center;
    font-family: 'Ribeye', cursive;
    color: #7fb196;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 4px 10px;
    margin: 2rem auto 1rem auto;
    max-width: 600px;
    align-items: center;
}
.defilement-wrapper {
    position: relative;
    width: 1350px;
    overflow: hidden;
    margin: 20px auto;
}
.conteneur-horizontal, #photos-conteneur {
    display: flex;
    transition: transform 0.3s ease;
}
.carte-film, .carte-evenement, .carte-retournable {
    flex: 0 0 320px;
    margin: 30px 50px 75px 50px;
    box-sizing: border-box;
}
.bouton-defilement-gauche, .bouton-defilement-droit {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    padding: 1rem;
    z-index: 10;
}
.bouton-defilement-gauche {
    left: 0;
}
.bouton-defilement-droit {
    right: 0;
}
.carte-film {
    position: relative;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.carte-film:hover {
    transform: scale(1.05);
}
.carte-film img {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
}
.emotions-film {
    text-align: center;
}
.emotion-badge {
    display: inline-block;
    background-color: #fffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 4px 10px;
    margin: 2px 5px 2px 0;
    border-radius: 12px;
    font-size: 0.9em;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    user-select: none;
}
.carte-retournable {
    position: relative;
    width: 320px;
    height: 400px;
    perspective: 1000px;
    font-family: 'Open Sans', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin-top 
}
.carte-retournable-interieur {
    position: relative;
    width: 300px;
    height: 400px;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 1rem;
}
.carte-retournable:hover .carte-retournable-interieur {
    transform: rotateY(180deg);
}
.face-avant, .face-arriere {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    padding: 1rem;
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.2);
    align-items: center;
    text-align: center;
    overflow: hidden;
    flex-direction: column;
}
.face-avant img, .face-arriere img {
    width: 300px;
    height: auto;
    border-radius: 1rem;
    margin-bottom: 1rem;
    object-fit: cover;
}
.photo-description {
    text-align: justify;
}
.face-avant {
    background: #7fb196;
}
.face-arriere {
    background: #7fb196;
    transform: rotateY(180deg);
}
.carte-evenement {
    position: relative;
    width: 320px;
    height: 400px;
    perspective: 1000px;
    font-family: 'Open Sans', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 30px 50px 75px 50px;
    background: #7fb196;
    border-radius: 1rem;
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    padding: 1rem;
    text-align: center;
}
.carte-evenement img {
    width: 300px;
    height: auto;
    border-radius: 1rem;
    margin-bottom: 1rem;
    object-fit: cover;
}
.carte-evenement .titre-evenement {
    color: black;
    text-decoration: none;
    text-align: center;
    font-size: 1.4rem;
    font-family: 'Open Sans', sans-serif;
}
.carte-evenement p:not(:first-of-type) {
    margin: 0.3rem 0;
}
@media (max-width: 768px) {
    #formRecherche {
        justify-content: flex-start;
        margin: 1rem 0 0 0;
        width: 100%;
    }
    #formRecherche input {
        flex: 1 1 auto;
        min-width: 200px;
    }
    #formRecherche button {
        flex: 0 0 auto;
    }
}