
body { font-family: 'Georgia', serif; margin: 0; background: #fefcf9; color: #3e2f1c; }
header { background: #a97449; color: white; text-align: center; padding: 2rem; }
nav { background: #d6bfa7; display: flex; justify-content: center; gap: 2rem; padding: 1rem; }
nav a { color: #3e2f1c; text-decoration: none; font-weight: bold; }
section { padding: 2rem; max-width: 1000px; margin: auto; }
footer { background: #a97449; color: white; text-align: center; padding: 1rem; margin-top: 2rem; }
form { display: flex; flex-direction: column; gap: 1rem; }
input, textarea { padding: 0.5rem; border-radius: 5px; border: 1px solid #ccc; }
button { background: #a97449; color: white; border: none; padding: 0.75rem; cursor: pointer; border-radius: 5px; }
button:hover { background: #8c5d35; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.gallery img { width: 100%; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 2rem;
}

.gallery-item {
  width: 250px;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  position: relative;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

#backToTop {
  display: none;
  position: fixed;         /* Important pour le flottement */
  bottom: 30px;            /* Distance du bas */
  right: 30px;             /* Distance de la droite */
  z-index: 9999;           /* Pour passer au-dessus des autres éléments */
  font-size: 24px;
  background-color: #a97449;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: opacity 0.3s, transform 0.3s;
}

#backToTop:hover {
  background-color: #8c5f38;
  transform: scale(1.1);
}

section h2 {
  font-family: Georgia, serif;
  font-size: 2rem;
  margin-bottom: 0.5em;
  position: relative;
  display: inline-block;
}

section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #a97449; /* couleur chaude cuir */
  margin-top: 0.3em;
  border-radius: 2px;
}

.carousel {
  position: relative;
  margin: 2rem auto;
  width: 90%;
  max-width: 1000px;
  overflow: hidden;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  list-style: none;
  padding: 0;
  margin: 0;
}

.carousel-track li {
  flex: 0 0 calc(33.333% - 20px);
  margin: 0 10px;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
}

.carousel-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #8B5E3C;
  color: white;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  font-size: 2rem;
  border-radius: 50%;
  z-index: 1;
}

.carousel-button.prev {
  left: -10px;
}

.carousel-button.next {
  right: -10px;
}

.carousel-button:hover {
  background: #A97C50;
}