body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7f1e9;
  color: #333;
}

/* HEADER */
header {
  background-color: #e5d5be;
  color: #000;
  text-align: center;
  padding: 1rem 0;
}

header img {
  max-width: 100%;
  height: auto;
}

/* NAVIGATION */
nav {
  display: flex;
  justify-content: center;
  background-color: #d2ba94;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  padding: 1rem;
  text-decoration: none;
  transition: background 0.3s;
}

nav a:hover {
  background-color: #666;
}

/* SECTION PRINCIPALE */
.container {
  padding: 2rem;
}

section {
  display: none;
}

section.active {
  display: block;
}

/* GALERIE */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 1.5rem;
}

.gallery img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

@media screen and (min-width: 768px) {
  .gallery img {
    max-width: 400px;
  }
}

@media screen and (min-width: 1024px) {
  .gallery img {
    max-width: 500px;
  }
}

/* FORMULAIRE */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 30px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form label {
  font-size: 1.1em;
  font-weight: bold;
  color: #2a4d69;
  margin-bottom: 8px;
  display: block;
}

form input,
form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

form input:focus,
form textarea:focus {
  border-color: #2a4d69;
  outline: none;
}

form textarea {
  resize: vertical;
  min-height: 150px;
}

form button {
  background-color: #2a4d69;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 1.2em;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

form button:hover {
  background-color: #3b6b8e;
}

form p {
  font-size: 1em;
  text-align: center;
  margin-top: 20px;
}

form a {
  color: #2a4d69;
  text-decoration: none;
  font-weight: bold;
}

form a:hover {
  text-decoration: underline;
}

/* TITRES */
h2 {
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  color: #000000;
  font-size: 1.75em;
  text-align: center;
  margin: 20px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #2a4d69;
  padding-bottom: 10px;
}

h3 {
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  color: #000;
  font-size: 1.25em;
  text-align: left;
  margin-top: 20px;
  margin-bottom: 10px;
  text-transform: capitalize;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #2a4d69;
  padding-bottom: 8px;
}

/* SERVICES */
.service-item {
  background-color: #fff;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
  margin-top: 0;
}

.service-item p {
  margin-bottom: 0;
}
service-item {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Ombre douce */
  margin-bottom: 20px; /* Espacement entre les blocs */
  transition: box-shadow 0.3s ease;
}

.service-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); /* Ombre plus marquée au survol */
}
/* CARROUSEL ACCUEIL */
#carouselAccueil .carousel-inner {
  width: 110%;
  overflow: hidden;
}

#carouselAccueil .carousel-item img {
  border-radius: 20px;
  object-fit: cover;
  width: 100%;
  height: 400px;
  transition: transform 0.4s ease;
}

#carouselAccueil .carousel-item img:hover {
  transform: scale(1.1);
  cursor: zoom-in;
}

/* CARROUSELS SECTIONS */
.carousel-container {
  position: relative;
  width: 80%;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 15px;
}

.carousel-slide {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.carousel-slide img {
  min-width: 100%;
  border-radius: 15px;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.carousel-slide img:hover {
  transform: scale(1.05);
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 30px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

/* FOOTER */

footer {
  background-color: #d2ba94; /* Couleur de fond du footer */
  color: white; /* Couleur du texte */
  padding: 20px;
  text-align: center;
}

footer a {
  color: white; /* Couleur des liens dans le footer */
  text-decoration: none;
  margin: 0 10px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* MENU MOBILE */
.menu-toggle {
  display: none;
  background-color: #444;
  color: white;
  padding: 1rem;
  font-size: 1.2rem;
  border: none;
  width: 100%;
  text-align: left;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: #333;
}

.mobile-nav a {
  color: white;
  padding: 1rem;
  text-decoration: none;
  border-top: 1px solid #555;
}

.mobile-nav a:hover {
  background-color: #555;
}

@media screen and (max-width: 768px) {
  nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}