﻿body, nav {
    background-color: black;
}

h1 {
    color: #b1b1b1;
}

@media (min-width: 768px) {

    /* Changer la couleur de fond et des liens au survol */
    nav:hover {
        background-color: white; /* Fond blanc au survol */
        color: black;
    }

        nav:hover .nav-links a,
        nav:hover .logo,
        nav:hover .navbar-brand {
            color: black; /* Liens et logo en noir au survol */
        }

    .nav-links a:hover, .nav-link:hover {
        color: #ddd;
    }

    .navbar:hover * {
        color: black;
    }
}


/* Navbar Links */
.logo, .navbar-brand {
    font-size: 1.5em;
    font-weight: bold;
    color: #fff;
}

.nav-links {
    list-style: none;
    display: flex;
}

    .nav-links li {
        margin: 0 15px;
    }

    .nav-links a, .nav-link {
        text-decoration: none;
        color: #fff;
        font-size: 1em;
        transition: color 0.3s;
    }




/* Styles de la vidéo */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1; /* Vidéo derrière tout le reste */
}

#home {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-image: url('hero-background.jpg');
    background-size: cover;
    background-position: center;
}


/* Hero Content */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

    .hero-content h1 {
        font-size: 3em;
        margin-bottom: 20px;
    }

    .hero-content p {
        font-size: 1.2em;
        margin-bottom: 30px;
    }

.btn {
    padding: 10px 30px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s;
}

    .btn:hover {
        background-color: #555;
    }

/* Section Histoire */
#histoire {
    padding: 100px 50px;
    background-color: #f9f9f9;
    text-align: center;
}

    #histoire h2 {
        font-size: 2.5em;
        margin-bottom: 30px;
    }

    #histoire p {
        font-size: 1.1em;
        max-width: 800px;
        margin: 0 auto;
        line-height: 1.6;
    }
