/* Entête à fond blanc */
.site-header {
    background-color: #ffffff;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    margin-top: 5px;
  }
  
  /* Chaque élément du menu déroulant */
  .dropdown-content li {
    display: block;
  }
  
  .dropdown-content a {
    padding: 10px 15px;
    display: block;
    color: #1d3e5d;
  }
  
  /* Affichage du menu déroulant au survol */
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  /* Optionnel : styles pour le menu déroulant au clic (pour mobile, par exemple) */
  /* Vous pourrez ajouter un script JavaScript si nécessaire pour gérer l'ouverture/fermeture */
  
  
  body {
    position: relative;            /* Pour positionner les pseudo-éléments */
    background-color: #1B3B56;       /* Bas de page en bleu */
    /* Note : le contenu de la page sera par-dessus ces pseudo-éléments */
  }
  
  
  /* Navigation - PC par défaut */
  nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;                /* Menu horizontal sur PC */
    flex-direction: row;
    flex-wrap: wrap;              /* Permet le retour à la ligne si trop d'éléments */
    justify-content: flex-start;  /* Alignement à gauche */
    align-items: center;          /* Centre verticalement les éléments */
  }
  
  
  
    /* Conteneur global du header : tous les éléments seront centrés en groupe */
  .header-container {
    display: flex;
    align-items: center;
    justify-content: center;  /* Centre le groupe sur toute la largeur */
    gap: 15px;                /* Espace entre le logo et le menu */
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
  }
  
  /* Le logo reste en premier élément et conserve sa taille */
  .logo img {
    max-height: 100px;   /* Ou la taille souhaitée */
    border-radius: 8px;
  }
  
  /* Le menu de navigation s'affiche en ligne et est centré dans le groupe */
  .nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
  }
  
  /* Style des liens de navigation */
  .nav-menu a {
    text-decoration: none;
    color: #1d3e5d;
    font-weight: 500;
    font-family: 'Open Sauce One', sans-serif; /* Utilisation d'Open Sauce One pour le menu */
    padding: 8px 12px;
    transition: background-color 0.3s;
  }
  
  .nav-menu a:hover {
    background-color: #f0f0f0;
    border-radius: 5px;
  }
  
  
  
  /* Importation des polices (à adapter selon vos sources) */
  @import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@400;700&display=swap');
  @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap');
  @import url('https://fonts.googleapis.com/css2?family=Open+Sauce+One&display=swap');
  @import url('https://fonts.googleapis.com/css2?family=Belleza&display=swap');  /* Si Belleza est disponible depuis Google Fonts, sinon via @font-face */
  

  .devis-container {
    text-align: center;
    margin-top: 40px;  /* Ajustez l'espacement par rapport aux cartes */
    margin-bottom: 40px; /* Espace ajouté entre le bouton et le footer */
  }
  
  .devis-container .btn {
    display: inline-block;
    background-color: rgba(101, 144, 152, 0.8); /* #659098 avec 80% d'opacité */
    color: #ffffff;
    font-family: 'Open Sauce One', sans-serif;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
  }
  
  .devis-container .btn:hover {
    background-color: rgba(101, 144, 152, 1);
    transform: scale(1.05);
  }
  
  footer {
    background-color: #ffffff;  /* Fond blanc */
    color: #1d3e5d;             /* Texte en bleu */
    padding: 20px 10px;         /* Espacement global réduit */
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;             /* Taille de police un peu plus petite */
    text-align: center;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1000px;          /* Largeur maximale réduite */
    margin: 0 auto;
    padding: 0 2cm;             /* Pour que les contenus soient à 2cm des bords */
  }
  
  /* Colonne de gauche, centre et droite */
  .footer-left,
  .footer-center,
  .footer-right {
    flex: 1;
    margin: 10px;
    text-align: left;
  }
  
  /* Logo dans le footer : même taille et forme que l'entête et positionné à 2cm du bord gauche */
  .footer-logo img {
    width: 150px;               /* Taille du logo */
    border-radius: 8px;         /* Coins arrondis */
  }
  
  /* Réseaux sociaux en dessous du logo */
  .footer-socials {
    margin-top: 10px;
  }
  
  .footer-socials a {
    font-size: 1.2em;
    color: #1d3e5d;
    margin-right: 10px;
    display: inline-block;
    transition: color 0.3s;
  }
  
  .footer-socials a:hover {
    color: #659098;
  }
  
  /* Menu de navigation centrale */
  .footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-nav li {
    margin: 5px 0;
  }
  
  .footer-nav a {
    color: #1d3e5d;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s;
  }
  
  .footer-nav a:hover {
    color: #659098;
  }
  
  /* Coordonnées de contact à droite */
  .footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1em;
  }
  
  .footer-contact li {
    margin: 5px 0;
  }
  
  .footer-contact .icon {
    margin-right: 5px;
  }
  
  /* Ligne de copyright */
  .footer-bottom {
    border-top: 1px solid #1d3e5d;
    margin-top: 10px;
    padding-top: 10px;
    font-size: 0.9em;
    text-align: center;
  }
  
  
  
  .fixed-social {
    position: fixed;
    top: 50%;                      /* Centré verticalement */
    right: 20px;                   /* 20px du bord droit */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;                     /* Espace entre les icônes */
    z-index: 1000;
  }
  
  .fixed-social a {
    color: #ffffff;               /* Couleur bleue pour les icônes */
    font-size: 1.8em;             /* Taille des icônes, ajustez si nécessaire */
    transition: color 0.3s;
  }
  
  .fixed-social a:hover {
    color: #659098;               /* Changement de couleur au survol */
  }














/* ------------ */
/* Responsivité */
/* ------------ */
@media (max-width: 768px) {
    .header-container {
      justify-content: center;
    }
    .nav-menu {
      flex-direction: column;
      align-items: center;
    }
    #introduction p {
      font-size: 1em;
    }
    .galerie-grid {
      flex-direction: column;
      align-items: center;
    }
  }



  /* Importation des polices */
@import url('https://fonts.googleapis.com/css2?family=Belleza&family=League+Spartan:wght@400;700&family=Open+Sauce+One&display=swap');

/* --- En-tête (Header) --- */
.site-header {
  background-color: #ffffff !important;
  padding: 10px 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  width: 100%;
  margin: 0;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}
.logo img {
  max-height: 100px;
  border-radius: 8px;
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  text-decoration: none;
  color: #1d3e5d;
  font-weight: 500;
  font-family: 'Open Sauce One', sans-serif;
  padding: 8px 12px;
  transition: background-color 0.3s;
}
.nav-menu a:hover {
  background-color: #f0f0f0;
  border-radius: 5px;
}

/* --- Titre Contact --- */
#contact-header {
  text-align: center;
  padding: 40px 20px;
}
.contact-title {
  font-family: 'Belleza';
  color: #ffffff;
  font-size: 3em;
  margin: 0;
}

/* --- Contenu Contact --- */
#contact-content {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 8px;
  align-items: center;
}

/* Contact Info (colonne gauche) */
.contact-info {
  flex: 1;
  color: #ffffff;
  font-family: 'Open Sauce One', sans-serif;
  font-size: 1.2em;
}
.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-details li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  font-size: 1.2em;
}
.contact-details .icon {
  margin-right: 10px;
  font-size: 1.2em;
}

/* Contact Map (colonne droite) */
.contact-map {
  flex: 1;
}

/* --- Footer (identique aux autres pages) --- */
footer {
  background-color: #ffffff;
  color: #1d3e5d;
  padding: 20px 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1em;
  text-align: center;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2cm;
}
.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  margin: 10px;
  text-align: left;
}
.footer-logo img {
  width: 150px;
  border-radius: 8px;
}
.footer-socials {
  margin-top: 10px;
}
.footer-socials a {
  font-size: 1.2em;
  color: #1d3e5d;
  margin-right: 10px;
  display: inline-block;
  transition: color 0.3s;
}
.footer-socials a:hover {
  color: #659098;
}
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li {
  margin: 5px 0;
}
.footer-nav a {
  color: #1d3e5d;
  text-decoration: none;
  font-size: 1em;
  transition: color 0.3s;
}
.footer-nav a:hover {
  color: #659098;
}
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1em;
}
.footer-contact li {
  margin: 5px 0;
}
.footer-contact .icon {
  margin-right: 5px;
}
.footer-bottom {
  border-top: 1px solid #1d3e5d;
  margin-top: 10px;
  padding-top: 10px;
  font-size: 0.9em;
  text-align: center;
}
.fixed-social {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}
.fixed-social a {
  color: #ffffff;
  font-size: 1.8em;
  transition: color 0.3s;
}
.fixed-social a:hover {
  color: #659098;
}

/* --- Responsivité --- */
@media (max-width: 768px) {
  #contact-content {
    flex-direction: column;
  }
  .header-container {
    justify-content: center;
  }
  .nav-menu {
    flex-direction: column;
    align-items: center;
  }
  .contact-details li {
    font-size: 1em;
  }
}

@media (max-width: 768px) {

}
/* Styles pour le burger menu (masqué par défaut sur desktop) */
.burger-menu {
display: none;
flex-direction: column;
cursor: pointer;
}

.burger-menu span {
display: block;
width: 25px;
height: 3px;
background-color: #1d3e5d;
margin: 4px 0;
}

/* Media Query pour mobile */
@media (max-width: 768px) {
/* Masquer le menu classique */

/* Afficher l'icône burger */
.burger-menu {
  display: flex;
}
/* Quand le menu est actif, l'afficher */
.nav-menu.active {
  display: flex;
}
}



@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #ffffff;
    position: absolute;
    top: 60px; /* Ajustez selon la hauteur de votre header */
    right: 0;
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  .nav-menu.active {
    display: flex;
    z-index: 9999; /* Vous pouvez ajuster cette valeur si besoin */

  }
  /* Pour placer le logo à droite et le burger à gauche */
  .header-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .burger-menu {
    order: 1;
  }
  .logo {
    order: 2;
    margin-left: auto;
    position: relative;
    left: -10px; /* Ajustez la valeur (par ex. -10px) selon le décalage souhaité */
  
  }
}


@media (max-width: 768px) {
  /* Forcer l'empilement vertical du contenu */
  #contact-content {
    flex-direction: column;
  }
  
  /* Assurer que le bloc de contact (texte) est affiché en premier */
  .contact-info {
    order: 1;
    width: 100%;
    margin-bottom: 20px; /* Petit espace entre contact info et carte */
  }
  
  /* La carte s'affiche ensuite */
  .contact-map {
    order: 2;
    width: 100%;
  }
}



/* === FORCE LOGO À GAUCHE === */
/* 1) On force le <header> en flex-start */
header.site-header {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
}

/* 2) On fait de .header-container un flex plein écran */
header.site-header > .header-container {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  width: 100% !important;
}

/* 3) On pousse tout ce qui suit le logo à l’extrême droite */
header.site-header > .header-container > .logo {
  margin-right: auto !important;
}

/* 4) On s’assure que nav et burger n’ont aucune marge parasite */
header.site-header > .header-container > .logo + * {
  margin: 0 !important;
}


/* Rendre les liens de navigation de l'en-tête en gras */
header.site-header .nav-menu a {
  font-weight: bold;
}

/* Si vous voulez aussi forcer le burger en gras */
header.site-header .burger-menu span {
  background-color: #1d3e5d; /* conserve la couleur actuelle */
  /* mais si vous aviez un label texte, ce serait : */
  /* font-weight: bold; */
}


/* Décaler le menu de navigation un peu vers la gauche */
header.site-header .nav-menu {
  margin-right: 600px; /* augmentez ou diminuez cette valeur selon l’effet souhaité */
}
