/*
 Theme Name: Popup Stand
 Author: Ton Nom
 Description: Un thème personnalisé pour Popup Stand avec animations au défilement
 Version: 1.0
*/

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

.hero {
    position: relative;
    height: auto; /* Change pour auto afin d’adapter à la hauteur du contenu */
    min-height: 100vh; /* Garde une hauteur minimale */
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Empile les éléments verticalement */
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 0; /* Ajoute un peu d’espace */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
    /*background: url('chemin/vers/texture.jpg') repeat, rgba(0, 0, 0, 0.5);*/
}

.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    z-index: 10;
    color: #fff;
    padding: 20px;
}

.hero-content .display-1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 1;
}

.hero-content .lead {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px; /* Espace avant les stats */
    opacity: 1;
}

.stats-row {
    margin-top: 40px; /* Espace entre le texte et les stats */
}

.stat-card {
    position: relative;
    margin: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid #fff; /* Bordure complète pour simuler l’effet */
    opacity: 0; /* État initial invisible */
    transform: translateY(100px); /* Position initiale en bas */
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.stat-label {
    font-size: 1rem;
    color: #ccc;
    position: relative;
    z-index: 2;
}

.border-partial {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%; /* Réduit la largeur pour ne pas faire tout le tour */
    height: 2px;
    background: #fff;
    z-index: 1;
}

.section {
    height: 100vh;
    padding: 50px;
    background: #fff;
}

/* Styles pour l’animation d’entrée */
.animate-me {
    opacity: 1;
    transform: translateY(50px);
}