/* Styles globaux */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

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;
}

/* Image avec texte */
.hero {
  position: relative;
  text-align: center;
  color: white;
}

.hero img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 10px;
}

.menu {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Sections Alternées */
.content-section {
  display: flex;
  align-items: center;
  padding-bottom: 30px;
  padding-top: 30px;
}

.btn-categorie {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 40px;
}

.btn-cat {
  color: #ffff;
  background-color: #076707;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
  width: 200px;
}

.btn-cat:hover {
  background: none;
  color: #28a745;
  border: 1px solid #28a745;
  border-radius: 10px;
}

.btn-story {
  color: #ffff;
  background-color: none;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
  width: 200px;
  border: 1px solid #004d00;
}

.btn-story:hover {
  background-color: #fff;
  color: #28a745;
}

.reverse {
  flex-direction: row-reverse;
}

.images {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.images img {
  width: 30%;
  border-radius: 10px;
}

.text {
  flex: 1;
  padding: 20px;
}

/* Section Contact */
.contact-section {
  display: flex;
  border: 1px solid #28a745;
}

.map {
  flex: 1;
}

.formulaire {
  flex: 1;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

form label {
  display: block;
  margin: 10px 0 5px;
}

form input, form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

button {
  width: 100%;
  padding: 10px;
  background: #004d00;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
}

button:hover {
  background: #003300;
}


/*-----------------------------------
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;
  }
}


/* 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;
}

#histoire-marque {
  background-color: none; /* Fond léger pour le contraste */
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  border: 1px solid #004d00;
  width: 100%;
  margin: 50px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

#histoire-marque h2 {
  font-size: 28px;
  font-weight: bold;
  color: #25d025;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#histoire-marque p {
  font-size: 18px;
  color: #ffff;
  line-height: 1.6;
  margin-bottom: 15px;
}

#histoire-marque strong {
  color: #00ff00;
  font-weight: bold;
}

@media (max-width: 768px) {
  #histoire-marque {
    padding: 40px 15px;
  }
  
  #histoire-marque h2 {
    font-size: 24px;
  }
  
  #histoire-marque p {
    font-size: 16px;
  }
}

