body {
  display: flex;
  flex-direction: column;
  padding-left: 150px;
  padding-right: 150px;
  background-color: black;
  font-family: 'poppins', sans-serif;
  font-size: 16px;
  color: white;
}

@media (max-width: 1024px) {
  body {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 760px) {
  body {
    padding-left: 10px;
    padding-right: 10px;
  }
}


/* Section topbar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 2px solid #ddd;
}

.contact-info {
  display: flex;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: #ffff;
}

.contact-item i {
  color: #28a745;
  font-size: 1.2rem;
}

/* Styles des icônes sociales */
.link-socials {
  display: flex;
  gap: 15px;
}

.link-socials a {
  color: #28a745;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.link-socials a:hover {
  color: #1e7d34;
}

/* Responsive */
@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    text-align: center;
  }

  .contact-info {
    justify-content: center;
    flex-wrap: wrap;
  }

  .link-socials {
    margin-top: 10px;
  }
}

header {
  width: 100%;
  justify-content: center;
  align-items: center;
}

nav {
  display: flex;
  width: 100%;
  height: 50px;
  background-color: none;
  border-bottom: 1px solid white;
  padding-top: 10px;
  justify-content: space-between;
  align-items: center;
  gap: 5rem;
  padding: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 50px;
  width: 50px;
}

.logo, p {
  font-weight: 500;
  font-size: 1.1em;
}

.shop {
  color: rgb(79, 226, 128);
  font-weight: 600;
}

/*-------------------------------
Section des liens de la nav bare
-------------------------------*/

.link-page {
  display: flex;
  gap: 1rem;
  font-weight: bolder;
  justify-content: center;
  align-items: center;
}

.link-page a {
  text-decoration: none;
  color: inherit;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.link-page a:hover {
  color: rgb(79, 226, 128);
  border-radius: 4px;
}

/* Style pour le lien actif */
.active {
  border-bottom: 2px solid rgb(79, 226, 128); /* Exemple d’accent */
  color: rgb(79, 226, 128); /* Harmonise avec le thème */
}

/*-------------------------------
Section du bouton de la nav bare
-------------------------------*/

.contact a{
  display: flex;
  background-color: rgb(79, 226, 128);
  border-radius: 5px;
  padding: 10px;
  align-items: center;
  text-align: center;
  height: 40px;
  color: white;
}

.contact a:hover {
  background-color: rgb(4, 82, 30);
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2 {
  text-align: center;
  color: #ffffff;
}

.produits-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px;
}

.produit {
  background: none;
  border: 1px solid #004d00;
  border-radius: 10px;
  text-align: center;
  width: 250px;
  transition: transform 0.3s ease;
}

.produit:hover {
  transform: scale(1.05);
}

.produit img {
  width: 100%;
  border-radius: 8px;
}


/*-----------------------------------
Section footer
----------------------------------*/
/* Footer */
.footer {
  background-color: #333;
  margin-top: 150px;
  color: #fff;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1 1 300px;
  margin: 10px;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #28a745;
}

.footer-section p, 
.footer-section a {
  font-size: 1rem;
  color: #ddd;
  text-decoration: none;
  margin-bottom: 10px;
}

.footer-section a:hover {
  color: #28a745;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  margin-top: 20px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    text-align: center;
  }
}

main {
  display: flex;
  flex-direction: column;
  margin-bottom: 100px;
  gap: 80px;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* Pleine hauteur de l'écran */
  background: url("../assets/banner3.webp") center/cover no-repeat; /* Image d'arrière-plan */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Ombre noire légère */
}

.hero-content {
  position: relative; /* Pour que le texte ne soit pas affecté par l'overlay */
  max-width: 800px;
  padding: 20px;
}

.hero h1 {
  font-size: 36px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.hero p {
  font-size: 20px;
  font-size: 1em;
  line-height: 1.6;
}

.text-color {
  color: #00ff00; /* Vert */
  font-weight: bold;
}


/* Conteneur principal */
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  background-color: #333;
  padding: 40px 20px;
  color: #fff;
  max-width: 1200px;
  margin: auto;
  border-radius: 10px;
}

/* Styles pour la popup */
.popup {
  display: flex; /* Utiliser flexbox pour le centrage */
  justify-content: center; /* Centrer horizontalement */
  align-items: center; /* Centrer verticalement */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%; /* Prendre toute la largeur de l'écran */
  height: 100%; /* Prendre toute la hauteur de l'écran */
  background-color: rgba(0, 0, 0, 0.7); /* Fond sombre avec transparence */
  z-index: 9999;
}

.popup-content {
  background-color: #000000;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #004d00;
  width: 400px; /* Largeur fixe */
  height: 730px; /* Hauteur fixe */
  text-align: center;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 25px;
  cursor: pointer;
}

.popup-image {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

#btnRendezVous {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #004d00;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#btnRendezVous:hover {
  background-color: #101e10;
}
