/* ---------- Couleurs de base et police ---------- */
body {
  background-color: #1b1a17;
  color: white;
  font-family: 'Sora', sans-serif;
  margin: 0;
}

h1, h2, h3 {
  font-family: 'Montserrat Alternates', sans-serif;
}

h2 {
  color: #c17e5d;
  font-size: 2.5em;
}

h3 {
  color: #c17e5d;
}

/* ---------- Header ---------- */
.header {
  background-color: #1b1a17;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 10px;
  width: 100%;
}

.header .w3-content {
  max-width: 1000px;
  margin: 0 auto;
}

/* ---------- Logo et nom ---------- */
.logo {
  width: 60px;
  height: 60px;
  background-image: url('/reservations/logosite.png');
  background-size: cover;
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 10px;
}

.site-name {
  font-size: 18px;
  display: inline-block;
  vertical-align: middle;
  margin-left: 20px;
}

.site-name a {
  text-decoration: none;
  color: white;
}

.menu {
  margin-top: 5px;
  text-align: left;
}

.menu a {
  text-decoration: none;
  color: white;
  margin: 0 15px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 10px;
}

.menu a.w3-hover-underline:hover {
  text-decoration: underline;
}

/* ---------- Boutons ---------- */
button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  border-radius: 5px;
  font-size: 16px;
}

/* ---------- Step 2 : Disponibilités ---------- */
#resultats-disponibilites h3 {
  font-size: 1.2rem;
  margin-top: 20px;
  font-weight: bold;
}

#resultats-disponibilites ul {
  list-style: none;
  padding-left: 0;
}

#resultats-disponibilites li {
  background: #f4f4f4;
  margin: 6px 0;
  padding: 10px 12px;
  border-radius: 4px;
  cursor: pointer;
  color: black;
}

#resultats-disponibilites li:hover {
  background: #d4eede;
}

.date-selectable.selected {
  background-color: #009688 !important;
  color: white;
  font-weight: bold;
  border: 2px solid #A56A50;
}

/* ---------- Formulaire Step 3 animé ---------- */
#step-3 {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.6s ease-in-out;
}

#step-3.visible {
  opacity: 1;
  max-height: 3000px;
  overflow: visible;
}

/* ---------- Formules ---------- */
.formules-container {
  display: flex;
  gap: 20px;
  justify-content: space-around;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.formule-card {
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 15px;
  width: 300px;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
  text-align: center;
  margin-bottom: 30px;
}

.formule-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.formule-card:hover {
  transform: scale(1.02);
  border-color: #A56A50;
}

.formule-card.selected {
  border-color: #A56A50;
  background-color: teal;
}

/* ---------- Step 2 & 3 Layouts ---------- */
#step-2 {
  min-height: 100px;
  padding: 20px;
}

#step-2 > div {
  display: block;
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  #step-3 .w3-third {
    width: 100% !important;
    margin-bottom: 10px;
  }
}

/* ---------- Sidebar ---------- */
#mySidebar a {
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

/* ---------- Footer ---------- */
footer a {
  text-decoration: none;
  display: inline-block;
}

footer .fab {
  font-size: 30px;
  vertical-align: middle;
  margin: 0 10px;
}

/* ---------- Utilitaires ---------- */
.formulaire {
  margin-top: 15px;
  margin-bottom: 15px;
}

.fc .fc-bg-event {
  opacity: 0.8;
}

/* Modal général */
/* Zone de superposition */
#modalDetails {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

/* Contenu de la fenêtre */
#modalContent {
  background: #1b1a17 !important; /* 🔥 Forçage si conflit */
  color: white;
  margin: 10vh auto;
  padding: 30px 40px;
  border-radius: 10px;
  max-width: 700px;
  font-family: 'Sora', sans-serif;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  position: relative;
}

/* Titre */
#modalTitre {
  color: #c17e5d;
  margin-top: 0;
}

/* Bouton "Fermer" (si tu le laisses dans le HTML) */
#modalContent button {
  background: #c17e5d;
  border: none;
  color: white;
  padding: 10px 20px;
  margin-top: 20px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
}

#modalContent button:hover {
  background: #b76b50;
}

@media screen and (max-width: 968px) {
  .w3-col.s12 {
    display: flex;
    justify-content: center;
  }

  .formule-card {
    margin: 0 auto;
    float: none !important;
  }
}

.photo-slider {
  max-width: 800px;
  margin: 40px auto;
  position: relative;
  font-family: 'Sora', sans-serif;
}

.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  display: none;
  user-select: none;
}

.slide.active {
  display: block;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  background-color: rgba(0,0,0,0.4);
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 50%;
  font-size: 24px;
  transform: translateY(-50%);
  transition: background-color 0.3s;
  user-select: none;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.7);
}

.prev {
  left: 12px;
}

.next {
  right: 12px;
}

/* Responsive */
@media (max-width: 600px) {
  .photo-slider {
    max-width: 100%;
    margin: 20px 0;
  }
  .prev, .next {
    font-size: 20px;
    padding: 10px 14px;
  }
}


/* Diaporama container */
#diaporama {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

/* Chaque slide */
.banner-slide {
  position: relative;
  width: 100%;
  height: auto;
}

/* Image */
.banner-slide img {
  width: 100%;
  height: auto;
  max-height: 600px;
  min-height: 50vh;
  object-fit: cover;
  filter: brightness(80%);
  display: block;
}

  /* Effet zoom + ombre au survol */
 .custom-card {
    border: 2px solid #c17e5d;
    border-radius: 12px;
    overflow: hidden; /* Pour que l’image ne dépasse pas les bords arrondis */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(193, 126, 93, 0.2);
	background-color : #2f2f2f;
  }
  .custom-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(193, 126, 93, 0.4);
  }
  .custom-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
  }
  .custom-card h3 {
    margin-top: 16px;
    margin-bottom: 12px;
  }
  .custom-card p {
    padding: 0 16px 16px 16px;
    font-size: 1rem;
  }
