/* Reset & base */
* {
  box-sizing: border-box;
}

body {
  font-family: "Georgia", serif;
  margin: 0;
  padding: 0;
  background-color: #faf8f5;
  color: #333;
  line-height: 1.5;
}

/* Header & nav */
header {
  background-color: #576FDE;
  color: white;
  padding: 1em;
  text-align: center;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

nav li {
  margin: 0.5em 1em;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: color 0.3s;
}

nav a:hover {
  color: #d7ccc8;
}

/* Hero image */
.hero-image {
  width: 50%;
  height: auto;
  display: block;
  margin: 1em auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Main content */
main {
  padding: 2em;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro {
  max-width: 700px;
  margin: 2em auto;
  font-size: 1.2em;
  text-align: center;
}

.description, .confort {
  text-align: left;
  margin-bottom: 2em;
}

h1, h2, h3 {
  color: #000000;
  margin-top: 0;
}

ul {
  line-height: 1.6em;
  padding-left: 1.2em;
}

.btn {
  display: inline-block;
  background-color: #576FDE;
  color: white;
  padding: 0.8em 1.5em;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 1.5em;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #6d4c41;
}

/* Footer */
footer {
  background-color: #eee;
  padding: 1em;
  text-align: center;
  font-size: 0.9em;
  margin-top: 3em;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-image {
    width: 80%;
  }
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  nav li {
    margin: 0.5em 0;
  }
  main {
    padding: 1em;
  }
}

@media (max-width: 480px) {
  .hero-image {
    width: 95%;
  }
  .intro {
    font-size: 1em;
    padding: 0 1em;
  }
  .btn {
    width: 100%;
    padding: 1em;
  }
  main {
    padding: 1em;
  }
}

.carousel-container {
  position: relative;
  max-width: 700px;
  margin: 2em auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-image {
  min-width: 100%;
  display: none;
  border-radius: 8px;
}

.carousel-image.active {
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(93, 64, 55, 0.6);
  border: none;
  color: white;
  font-size: 2em;
  padding: 0 0.5em;
  cursor: pointer;
  border-radius: 3px;
  user-select: none;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-btn:hover {
  background-color: rgba(93, 64, 55, 0.9);
}

@media (max-width: 768px) {
  .carousel-container {
    max-width: 90%;
  }
}

/* SECTION : Tourisme et alentours */

.filtre-container {
    text-align: center;
    margin: 2em auto;
}

.filtre-container button {
    background-color: #8d6e63;
    color: white;
    border: none;
    padding: 0.6em 1.2em;
    margin: 0.5em;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 1em;
}

.filtre-container button:hover {
    background-color: #6d4c41;
}

.liste-lieux {
    display: flex;
    flex-direction: column;
    gap: 2em;
    max-width: 1000px;
    margin: 2em auto;
    padding: 0 1em;
}

.lieu {
    display: flex;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    flex-wrap: wrap;
}

.lieu img {
    width: 250px;
    height: auto;
    object-fit: cover;
    flex-shrink: 0;
}

.lieu-content {
    padding: 1.5em;
    flex: 1;
}

.lieu-content h3 {
    margin-top: 0;
    color: #5d4037;
}

.lieu-content p {
    margin: 0.5em 0;
}

.lieu-content a {
    display: inline-block;
    margin-top: 0.5em;
    color: #8d6e63;
    text-decoration: underline;
    font-weight: bold;
}

.lieu[data-type] {
    display: flex;
}

/* Responsive */
@media (max-width: 768px) {
    .lieu {
        flex-direction: column;
        text-align: center;
    }

    .lieu img {
        width: 100%;
        height: auto;
    }

    .lieu-content {
        padding: 1em;
    }
}
/* --- Styles spécifiques tourisme --- */
  .filtre-container {
    text-align: center;
    margin: 2em auto;
  }
  .filtre-container button {
    background-color: #576FDE;
    color: white;
    border: none;
    padding: 0.6em 1.2em;
    margin: 0.5em;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-size: 1em;
  }
  .filtre-container button:hover,
  .filtre-container button.actif {
    background-color: #5d4037;
    font-weight: bold;
  }
  .liste-lieux {
    display: flex;
    flex-direction: column;
    gap: 2em;
    max-width: 1000px;
    margin: 2em auto;
    padding: 0 1em;
  }
  .lieu {
    display: flex;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    flex-wrap: wrap;
  }
  .lieu img {
    width: 250px;
    height: auto;
    object-fit: cover;
    flex-shrink: 0;
  }
  .lieu-content {
    padding: 1.5em;
    flex: 1;
  }
  .lieu-content h3 {
    margin-top: 0;
    color: #5d4037;
  }
  .lieu-content p {
    margin: 0.5em 0;
  }
  .lieu-content a {
    display: inline-block;
    margin: 0.5em 0.2em 0 0;
    color: #8d6e63;
    text-decoration: underline;
    font-weight: bold;
  }
  .maps-link svg {
    vertical-align: middle;
    margin-right: 4px;
    fill: #5d4037;
  }
  .maps-link:hover {
    color: #8d6e63;
    text-decoration: underline;
  }
  /* Responsive */
  @media (max-width: 768px) {
    .lieu {
      flex-direction: column;
      text-align: center;
    }
    .lieu img {
      width: 100%;
      height: auto;
    }
    .lieu-content {
      padding: 1em;
    }
  }
  
/* zone de contact */
/* Arrière-plan chaleureux pour contact / merci */
.contact-background {
  background-image: url("images/fond-contact.jpg"); /* à remplacer par ton image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Conteneur avec effet doux */
.contact-container,
.merci-container {
  max-width: 700px;
  width: 90%;
  margin: 2rem auto;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  animation: fadeIn 1s ease-in-out;
}

form {
  display: flex;
  flex-direction: column;
}

label {
  margin-top: 1rem;
  font-weight: bold;
}

input, textarea, button {
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

button {
  margin-top: 2rem;
  background-color: #576FDE;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #1b5e20;
}

.btn-retour {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #1976d2;
  color: white;
  border-radius: 8px;
  text-decoration: none;
}

.btn-retour:hover {
  background-color: #0d47a1;
}

/* Animation d'apparition */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.conditions-services h2, 
.conditions-services h3 {
  color: #5d4037; /* couleur principale du site */
  margin-top: 0;
}

.conditions-services h3 {
  margin-top: 1.5em;
}

.conditions-services ul {
  padding-left: 1.2em;
  line-height: 1.6em;
  color: #333;
}

.conditions-services ul li {
  margin-bottom: 0.5em;
}

.localisation .map-container {
  margin-top: 1em;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.localisation iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 8px;
}

