
/* Style global de la page */
* {
     margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
     margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    
    /* Image de fond principale */
    background-image: url('/img/background/backgroundcarrég2.png'), url('/img/background/backgroundcarrég3.png'); /* Première image puis deuxième image */
    background-size: 100% auto, 100% auto; /* Les deux images couvrent toute la largeur, la hauteur s'ajuste automatiquement */
    background-position: top center, top center; /* Positionnement des deux images au sommet de la page */
    background-repeat: no-repeat, repeat-y; /* La première image ne se répète pas, la deuxième se répète horizontalement */
}



/* Header Styles */
.header {
    display: flex;
    align-items: center;
    background-color: #E08A5F; 
    background-size: cover;
    position: relative;
    height: 80px;
}

.logo_header {
    height: 50px; /* Garde la taille du logo constante */
    padding-left: 60%;
}

.back-button-container {
    display: flex;
    align-items: center;
    padding-left: 4%;
}

.back-button {
    background-color: #6a6a6a;
    color: white;
    border-radius: 50%;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
}

.back-button:hover {
    background-color: #999;
}

.menu-icon {
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: #6a6a6a;
}
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: rgba(44, 44, 44, 0.95); /* Fond sombre et semi-transparent */
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
    top: 70px;
    left: 15px;
    width: 250px;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    z-index: 100;
}

.dropdown-menu.open {
    display: block;
    opacity: 1;
    max-height: 400px;
}

.dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu ul li {
    margin: 12px 0;
    text-align: left;
}

.dropdown-menu ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 18px; /* Taille de police augmentée pour une meilleure lisibilité */
    font-weight: bold;
}

.dropdown-menu ul li a:hover {
    color: #ff6600; /* Couleur de surbrillance au survol */
}

.img-home {
  cursor: pointer;
  display: block;           /* Pour éviter l'espace en dessous de l'image */
  margin-left: auto;        /* Marge automatique à gauche */
  margin-right: auto;       /* Marge automatique à droite */
  width: auto;              /* Laisser l'image dans sa taille originale */
  height: auto;             /* Conserver les proportions de l'image */
  transition: transform 0.6s ease-in-out;
 }

 .img-home.open {
  transform: rotate(360deg); /* Rotation complète */
}


.mentions-tittle,
.devis-tittle,
.engagement-tittle,
.Bienvenue-tittle {
    font-family: 'Poppins', sans-serif; /* Police moderne et dynamique */
    color: rgba(111, 111, 111);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Ombre légère pour un effet 3D */
    transition: color 0.3s ease, transform 0.3s ease; /* Transition douce */
    text-align: center; /* Centre le titre */
    font-weight: bold;
    font-size: 30px; /* Taille de police par défaut */
    position: relative;
    margin-top: 50px;
    margin-bottom: 160px;
}

.erreur-tittle,
.ou-tittle h2,
.equipe-tittle h5,
.vie-tittle h4,
.ecologique-tittle h3,
.priorite-tittle h2,
.traiteur-tittle h3,
.decouverte-tittle h2 {
    font-family: 'Poppins', sans-serif; /* Police moderne et dynamique */
    color: rgb(111, 111, 111);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3); /* Ombre légère pour un effet 3D */
    transition: color 0.3s ease, transform 0.3s ease; /* Transition douce */
    text-align: center; /* Centre le titre */
    font-weight: bold;
    font-size: 30px; /* Taille de police par défaut */
    margin-bottom: 20px;
}

.erreur-text,
.engagement-text,
.priorite-text,
.ecologique-text,
.vie-text,
.equipe-text,
.traiteur-text,
.decouverte-text {
    font-family: Arial, sans-serif;
    font-size: 2rem;
    line-height: 1.6;
    color: rgb(111, 111, 111);
    margin-right: 100px; /* Marge à droite */
    margin-left: 100px; /* Marge à gauche */
    padding: 0;
    background-color: transparent; /* Pas de cadre ni de couleur de fond */
}

.erreur-text,
.engagement-text,
.priorite-text,
.ecologique-text,
.vie-text,
.equipe-text,
.traiteur-text,
.decouverte-text {
    margin-bottom: 15px;
    text-align: justify;
    padding: 0 20px; /* Marges internes pour l'espacement */
    color: rgb(111, 111, 111);
    transition: color 0.3s ease;
}

.mentions-text,
.ou-text {
    font-family: Arial, sans-serif;
    font-size: 2rem;
    line-height: 1.6;
    color: rgb(111, 111, 111);
    max-width: 800px;
    margin: 0 auto; /* Centrage horizontal du conteneur */
    padding: 0;
    background-color: transparent; /* Pas de cadre ni de couleur de fond */
    text-align: center; /* Centrage du texte */
}

.mentions-text,
.ou-text {
    margin-bottom: 15px;
    padding: 0 20px; /* Marges internes pour l'espacement */
    color: rgb(111, 111, 111);
    transition: color 0.3s ease;
}

.footer {
  margin-top: 80px; /* ajustez la valeur selon vos besoins */
}

/* Formulaire de contact */
form {
    max-width: 500px;
    margin: 20px auto;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

form label {
    font-weight: bold;
    color: #2c2c2c;
}

form input[type="text"], 
form input[type="email"], 
form textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

form input[type="submit"] {
    background-color: #2c2c2c;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

form input[type="submit"]:hover {
    background-color: #444;
}

iframe {
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.site-map {
    text-align: center;
    margin-top: 40px;
}

.site-map h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #e85a4f; /* Adjust to fit your color preference */
}

.site-map-list {
    list-style: none;
    padding: 0;
}

.site-map-list li {
    margin: 10px 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

.site-map-list li:hover {
    transform: scale(1.1);
}

.site-map-list a {
    font-size: 1.2rem;
    color: #e85a4f; /* Use one of your business colors */
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.site-map-list a:hover {
    color: #f28c76; /* Lighter tone for hover effect */
}