@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #f5f9f4;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* === NAVBAR === */
.navbar-fixed {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 40px;
}

.navbar-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #5a9543;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #5a9543;
}

.burger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #5a9543;
}

/* === MENU BURGER RESPONSIVE DROIT === */
@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 1001;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .navbar-title {
    font-size: 1.4rem;
  }

  .navbar {
    flex-direction: row;
    align-items: center;
  }
}

/* === CONTENU === */
.contact-container {
  max-width: 1200px;
  margin: 120px auto 60px;
  padding: 0 20px;
  text-align: center;
}

.contact-box {
  background: linear-gradient(to bottom right, #e1f0e5, #f5f9f4);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.contact-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #4b3b3b;
  border-bottom: 4px solid #73AC55;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.info-blocks {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.info-item {
  text-align: center;
}

.info-item h2 {
  font-size: 1.6rem;
  color: #4b3b3b;
  margin-bottom: 10px;
  border-bottom: 3px solid #73AC55;
  padding-bottom: 5px;
}

.info-item p {
  margin: 5px 0;
}

.contact-note {
  margin-bottom: 40px;
  font-style: italic;
}

.contact-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 50px;
}

.map-photo-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.photo img {
  width: 500px;
  height: 300px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.map {
  width: 500px;
  height: 300px;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-button {
  background: #73AC55;
  color: #fff;
  padding: 15px 30px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-button:hover {
  background: #5a9543;
}

/* === FOOTER === */
footer {
  background-color: #73AC55;
  color: white;
  padding: 40px 20px 20px 20px;
  font-weight: normal;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
}

.footer-section {
  flex: 1 1 200px;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  border-bottom: 2px solid white;
  padding-bottom: 5px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a,
.footer-section a,
.footer-bottom a {
  color: white;
  text-decoration: none;
}

.footer-section a:hover,
.footer-section ul li a:hover,
.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid white;
  margin-top: 30px;
  font-weight: bold;
}

/* === BACKGROUND === */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/fond-contact.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.95;
  z-index: -1;
}
@media (max-width: 768px) {
  .contact-container {
    margin: 100px 10px 40px;
    padding: 0;
  }

  .contact-box {
    padding: 20px;
  }

  .contact-title {
    font-size: 2rem;
  }

  .info-blocks {
    flex-direction: column;
    gap: 30px;
  }

  .info-item h2 {
    font-size: 1.3rem;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .contact-button {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 12px 20px;
  }

  .map-photo-container {
    flex-direction: column;
    gap: 20px;
  }

  .photo img,
  .map {
    width: 100%;
    height: auto;
  }

  .contact-note {
    font-size: 1rem;
    margin: 30px 0;
  }
  
}

@media (max-width: 768px) {
  .contact-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 0 10px;
  }

  .contact-button {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    justify-content: center;
    font-size: 1rem;
    padding: 12px 20px;
    box-sizing: border-box;
  }
}