
/* 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 */
}

.bouton {
position: relative;
text-align: center; /* Centre tous les éléments enfants horizontalement */
margin-top: 50px;
margin-bottom: 90px;
}

.bouton-3d {
  display: inline-block;
  padding: 40px 120px;
  font-size: 30px;
  color: #E08A5F;
  background-color: rgb(111, 111, 111);
  border: none;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}


.bouton-3d:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.bouton-3d:active {
  transform: translateY(2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.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 */
}

.spacetext1 {
    margin-bottom: 80px;
}