/* Style de base */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Couleurs principales */
:root {
    --primary-color: #e74c3c; /* Rouge brique */
    --secondary-color: #bdc3c7; /* Gris clair */
    --text-color: #333; /* Gris foncé */
    --background-color: #fff; /* Blanc */
}

/* Titre et téléphone en haut de la page */
.header-top {
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

.header-top h1 {
    margin: 0;
    font-size: 1.8em;
}

.phone {
    font-size: 1.2em;
    margin: 10px 0;
}

/* Fond de page */
section {
    position: relative;
    height: 100vh;
    background-image: url('couvreurlugny.jpg'); /* Remplace par l'image de ton choix */
    background-size: cover;
    background-position: center;
}

/* Overlay translucide */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Contenu principal */
.content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: #fff;
}

/* Menu */
nav {
    background-color: var(--primary-color);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    border-radius: 5px;
}

/* Pied de page */
footer {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 15px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Google Map */
.map-container {
    margin-top: 20px;
}

/* Responsivité */
@media (max-width: 768px) {
    /* Adaptation du titre et téléphone pour petits écrans */
    .header-top {
        padding: 15px 0;
    }

    .header-top h1 {
        font-size: 1.5em;
    }

    .phone {
        font-size: 1.1em;
    }

    /* Menu responsive - affichage vertical */
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 5px 0;
    }

    nav ul li a {
        font-size: 1em;
    }

    /* Contenu plus large pour petit écran */
    .content {
        padding: 15px;
    }
}
