/* Section vidéo */

/* Container de la vidéo */
.hero-video-container {
    position: static;
    width: 100%;
    height: 100vh;
    /* Pleine hauteur de l'écran */
    overflow: hidden;
}

/* Vidéo en arrière-plan */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}


/* Conteneur pour les cartes holographiques */
.holographic-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.holographic-card {
    position: relative;
    width: 100%;
    height: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.card-img {
    position: absolute;
    z-index: 5;
    height: 350px;
    object-fit: cover;
}

.holographic-card h2 {
    color: var(--primary-color);
    font-family: "Barlow", sans-serif;
    font-weight: 800;
    font-size: 2rem;
    position: relative;
    z-index: 10;
    opacity: 0;
    /* Initialement caché */
    transition: opacity 0.5s ease;
    /* Transition douce de l'opacité */
    text-transform: uppercase;
}


.holographic-card:hover {
    transform: scale(1.05);
}

.holographic-card:hover h2 {
    opacity: 1;
    text-align: center;
}


@media (max-width: 991.98px) {
    .holographic-card {
        height: 257px;
    }

    .hero-video-container {
        height: 95vh;
    }

    .holographic-card h2 {
        opacity: 1;
        text-align: center;
    }

    .truncate {
        white-space: pre-wrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 250px;
    }
}

  .cards-container {
    position: relative;
    top: -3rem;
    z-index: 2;
    display: block;
}