/* Importation d'une police moderne */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;700&display=swap');

/* ------ STYLES GÉNÉRAUX ------ */
html, body {
    font-family: 'Raleway', sans-serif;
    background: #ffffff; /* Bleu électrique foncé */
    color: white;
    margin: 0;
    padding: 0;
    padding-top: 60px; /* Ajuste la hauteur selon la taille du header */
}

/* ------ STYLES DE LA NAVIGATION ------ */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, #003366, #0073e6);
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: fixed;  /* Fixe la barre en haut */
    top: 0;  /* Colle la barre au haut de l'écran */
    left: 0;
    width: 100%;  /* S'étend sur toute la largeur */
    z-index: 1000; /* Assure que le menu reste au-dessus des autres éléments */
	box-sizing: border-box; /* Évite que le padding agrandisse la largeur */
}

.logo img {
    height: 50px;
}

/* Barre de navigation */
nav {
    flex-grow: 1;
}

.menu {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
}

.menu li {
    margin: 0 15px;
}

.menu a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 12px; /* Ajout de padding pour un meilleur effet de fond */
    transition: color 0.3s, background 0.3s, box-shadow 0.3s;
}

.menu a:hover {
    color: #FFD700; /* Jaune doré au survol */
    background-color: rgba(255, 215, 0, 0.2); /* Fond légèrement jaune doré */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Ombre portée pour un effet 3D */
    transform: translateY(-2px); /* Effet de "poussée" pour une illusion de 3D */
}

/* ------ MENU HAMBURGER POUR MOBILE ------ */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 10px;
    z-index: 1001;
}

.menu-toggle div {
    width: 25px;
    height: 3px;
    background: white;
    margin: 4px;
    transition: all 0.3s ease;
}

/* Affichage du menu sur mobile */
@media screen and (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        background: linear-gradient(90deg, #003366, #0073e6);
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 10px 0;
         z-index: 999;
    }

    .menu.show {
        display: flex;
    }

    .menu li {
        text-align: center;
        margin: 10px 0;
    }

    .menu-toggle {
        display: flex;
        right: 15px;
    }
}
/* Animation du menu hamburger */
.menu-toggle.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active div:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
/* ------ FORMULAIRE DE CONTACT ------ */
form {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    max-width: 500px;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

form label {
    font-weight: 600;
    color: #FFD700;
    display: block;
    margin-bottom: 5px;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    background: white;
    color: #002147;
    font-size: 1em;
}

form input:focus, form textarea:focus {
    outline: 2px solid #FFD700;
}

form button {
    width: 100%;
    padding: 10px;
    background: #FFD700;
    color: #002147;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

form button:hover {
    background: #ffcc00;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* ------ GOOGLE MAP ------ */
.map-container {
    text-align: center;
    margin-top: 20px;
}

.map-container iframe {
    width: 100%;
    max-width: 800px;
    height: 400px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
