/* 🌍 Importation de la police */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap');

/* 🌍 Style global */
body {
    margin: 0;
    overflow: hidden;
    font-family: 'Montserrat', sans-serif; /* ✅ Application de la police */
    background: black; /* Fond noir pour éviter les coupures */

}

/* 🎥 Vidéo de fond (100% visible, pas de rognage) */

.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 🔥 couvre tout l'écran sans déformation */
    z-index: -1;
}

/* 🔝 Navbar */
.navbar {
    background: rgba(0, 0, 0, 0.8); /* Fond semi-transparent */
    padding: 10px 20px;
}

.navbar-nav .nav-link {
    color: white;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px;
}
.navbar-nav .nav-link:hover {
    color: grey; /* Couleur au survol */
}

/* 🔽 Icône du menu mobile */
.navbar-toggler {
    border-color: white;
}


/* 📱 Responsive : Ajustements pour téléphone et tablette portrait */
@media (max-width: 768px) {
    .navbar {
        padding: 8px 15px;
    }

    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-link {
        font-size: 16px;
        font-weight: 500;
        padding: 8px;
    }

    /* ✅ Vidéo bien centrée et non rognée */
    .background-video {
        width: 100%;
        height: auto;
        min-height: 100vh;
    }
}

/* 🖥️ Responsive : Ajustements pour tablette paysage */
@media (min-width: 769px) and (max-width: 1024px) {
    .navbar {
        padding: 12px 25px;
    }

    .navbar-nav .nav-link {
        font-size: 17px;
        padding: 10px;
    }
}

/* 🖥️ Responsive : Grand écran */
@media (min-width: 1025px) {
    .navbar {
        padding: 15px 30px;
    }

    .navbar-nav .nav-link {
        font-size: 18px;
        font-weight: 400; /* Montserrat plus épais sur grand écran */
    }
}


@media (max-width: 768px) {
    .background-video {
        width: 100%;
        height: 100vh; /* toujours 100% de l'écran */
        object-fit: cover;
    }
}


