@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-image: url('../images/fond-services.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-direction: column;
  color: #333;
}

/* === NAVBAR FIXE === */
.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;
}

/* === RESPONSIVE MENU STYLE LATÉRAL === */
@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;
    color: #333;
    text-decoration: none;
    font-weight: bold;
  }

  .nav-links a:hover {
    color: #5a9543;
  }

  .navbar-title {
    font-size: 1.4rem;
  }

  .navbar {
    flex-direction: row;
    align-items: center;
  }
}

/* === MAIN CONTENT === */
.services-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 20px 50px;
}

.services-wrapper h2 {
  font-size: 3rem;
  color: white;
  background-color: rgba(44, 93, 35, 0.8);
  padding: 15px 30px;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.service-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 900px;
}

.service-button {
  display: block;
  background-color: rgba(115, 172, 85, 0.95);
  color: white;
  text-decoration: none;
  padding: 20px;
  border-radius: 16px;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.service-button:hover {
  background-color: #5a9543;
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* === FOOTER === */
footer {
  background-color: #73AC55;
  color: white;
  text-align: center;
  padding: 1.5rem;
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 50px;
}

.footer-bottom a {
  color: white;
  text-decoration: underline;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .service-links {
    grid-template-columns: 1fr;
  }

  .services-wrapper h2 {
    font-size: 2.2rem;
    text-align: center;
  }

  .service-button {
    font-size: 1.2rem;
    padding: 15px;
  }
}
