/* Global Styles */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  color: #333;
}

a {
  text-decoration: none;
  color: #DEB068;
  transition: color 0.3s ease;
}

a:hover {
  color: #c89d56;
}

/* Header Styles */
/* Header Styles */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 50px;
  background-color: #DEB068;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 100px;
}

.logo {
  flex: 1; /* Prend toute la largeur disponible */
  display: flex;
  justify-content: center; /* Centre le logo horizontalement */
  align-items: center;
}

.logo img {
  width: 250px;
  height: auto;
  margin: 0; /* Supprime les marges du logo */
}

.menu-toggle {
  display: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  font-weight: bold;
  font-size: 1em;
}

nav a:hover {
  color: #f7f4e9;
}

.social-links {
  display: flex;
  justify-content: flex-end; /* Garde les liens sociaux à droite */
  align-items: center;
}

.social-links a {
  margin: 0 15px;
}

.social-icon {
  width: 30px;
  height: auto;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

/* Main Section (Mentions Légales) */
main.container {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h2 {
  font-size: 2.5em;
  color: #DEB068;
  text-align: center;
  margin-bottom: 30px;
}

h3 {
  font-size: 1.8em;
  color: #555;
  margin-bottom: 20px;
}

p {
  font-size: 1.2em;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

/* Section Contact */
/* Section Contact */
.contact {
  padding: 40px 20px;
  background-color: #DEB068;
  color: #f1f1f1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;  /* Permet à la section de prendre toute la largeur */
  margin-bottom: 0; /* Supprime l'écart avec le footer */
}

.contact-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px; /* Conteneur centré à l'intérieur */
  margin: 0 auto;  /* Centre le contenu de la section */
}

.logo-and-description {
  flex: 1;
  text-align: left;
}

.contact-logo {
  font-size: 2.5em;
  font-weight: bold;
  color: #fff;
  margin-bottom: 15px;
}

.contact-description {
  font-size: 1.2em;
  margin-top: 10px;
  line-height: 1.6;
  color: #f1f1f1;
}

.social-links-contact {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  filter: invert(100%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
  filter: invert(80%) sepia(60%) saturate(500%) hue-rotate(10deg) brightness(100%);
}

.contact-info {
  flex: 1;
  text-align: right;
}

.contact-info h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #f1f1f1;
}

.contact-info p {
  font-size: 1.1em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #f1f1f1;
}

.contact-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  filter: invert(100%);
  transition: transform 0.3s ease;
}

.contact-info p:hover .contact-icon {
  transform: scale(1.1);
}

/* Footer Section */
.footer {
  background-color: #DEB068;
  color: #f1f1f1;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9em;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  width: 100%;  /* Permet au footer de prendre toute la largeur */
  margin-top: 0; /* Supprime l'écart avec la section contact */
}

.footer-content {
  display: flex;
  justify-content: center;
  width: 100%;
  text-align: center;
  flex: 1;
}

.footer-content p {
  margin: 0;
}

.legal-link {
  text-decoration: none;
  color: #f1f1f1;
  font-size: 0.9em;
  margin-left: 10px;
  transition: color 0.3s ease;
}

.legal-link:hover {
  color: #c89d56;
}



/* Responsive Design */
@media (max-width: 768px) {
  body, html {
    font-size: 3vw;
    background-color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Assurez-vous que le débordement horizontal est bien caché */
    box-sizing: border-box;
  }

  h1 {
    font-size: 2rem; /* Taille de police relative à la taille de base du document */
  }

  header {
    display: flex;
    justify-content: center; /* Centre le logo horizontalement */
    align-items: center; /* Centre verticalement */
    padding: 10px 20px;
    background-color: #DEB068;
    position: relative; /* Nécessaire pour positionner les icônes de réseaux sociaux */
  }

  .logo {
    width: 150px; /* Réduit la taille du logo pour mobile */
    display: block;
  }

  .social-links {
    position: absolute;
    right: 20px;
    top: 35px;
  }

  .social-links a {
    margin: 0 7px;
  }

  .social-icon {
    width: 25px;
    height: auto;
    transition: transform 0.3s ease;
  }

  .social-icon:hover {
    transform: scale(1.2);
  }

  main.container {
    padding: 20px 15px;
  }

  h2 {
    font-size: 2em;
  }

  h3 {
    font-size: 1.5em;
  }

  p {
    font-size: 1.1em;
  }
}

/* Contact Section for Mobile */
@media (max-width: 768px) {
  .contact {
    padding: 20px 20px;
    background-color: #DEB068;
    color: #f1f1f1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-container {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo-and-description {
    margin-bottom: 20px;
  }

  .social-links-contact {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  /* Contacts section */
  .contact-info {
    margin-top: 10px; /* Add space between description and contact info */
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Add spacing between email and phone */
    align-items: center;
    justify-content: center;
  }

  .contact-info h2 {
    margin-bottom: 10px; /* Reduce space for better balance */
  }

  .contact-info p {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
  }

  .contact-info p img.contact-icon {
    margin-right: 8px; /* Add space between the icon and the text */
    width: 20px;
    height: 20px;
  }

  .contact-info p:first-child {
    margin-bottom: 5px; /* Reduce space between email and phone number */
  }

  .contact-info p:nth-child(2) {
    margin-top: 0; /* Make sure there's no extra margin */
  }
}

/* Footer Section for Mobile */
@media (max-width: 768px) {
  .footer {
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9em;
  }

  .footer-content {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
    flex: 1;
  }

  .legal-link {
    margin-top: 10px;
  }

  .legal-link:hover {
    color: #c89d56;
  }
}

