body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  background-color: #fff;
  color: #222;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1d1208;
  padding: 15px 40px;
}

.logo img {
  height: 40px;
  border-radius: 50px;
  border: 1px solid rgb(148, 105, 32);
}

.nav-links a {
  color: #fff;
  margin-left: 25px;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: #e1c089;
}

.chambre-details {
  padding: 10px 10%;
  text-align: center;
}

.chambre-details h1 {
  font-family: 'Catchy Mager', serif;
  font-size: 32px;
  margin-bottom: 5px;
}

.prix {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.image-display {
  position: relative;
}

.main-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
}

.thumbnails {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
  overflow-x: auto; /* ✅ scroll horizontal activé */
  padding-bottom: 10px;
  max-width: 80%;
  scrollbar-width: thin; /* Firefox */
}

.thumbnails::-webkit-scrollbar {
  height: 8px;
}

.thumbnails::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px;
}

.thumbnails img {
  width: 80px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s ease;
  border: 2px solid transparent;
}

.thumbnails img:hover {
  border-color: #1d1208;
}

.btn-reserver {
  display: inline-block;
  padding: 12px 24px;
  background-color: #1d1208;
  color: #fff;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-reserver:hover {
  background-color: #e1c089;
  color: #000;
}

.description-block {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  margin-top: 10px;
  text-align: left;
  flex-wrap: wrap;
}

.desc,
.equip {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex: 1;
  min-width: 280px;
}

.desc h2,
.equip h2 {
  font-family: 'Coco Gothic', sans-serif;
  font-size: 25px;
  margin-bottom: 10px;
}

.desc p,
.equip li {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}

.equip ul {
  list-style-type: disc;
  padding-left: 20px;
  font-size: 15px;
  color: #444;
}
.reservation-wrapper {
  display: flex;

  gap: 50px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.image-display {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.booking-form {
  flex: 1;
  min-width: 200px;
  background-color: #f9f9f9;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.booking-form h2 {
  font-size: 22px;
  margin-bottom: 5px;
}

.form-group {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  margin-bottom: 5px;
}

.form-group label {
  margin-left: 5px;
  font-weight: 500;
  padding: 5px;
}

.form-group input {
  width: 98%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 30px;
}

.form-group-inline {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.form-group-inline input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.summary {
  background-color: #eee;
  padding: 5px;
  margin: 5px 0;
  border-radius: 5px;
}

.summary {
  background-color: #eee;
  padding: 5px;
  margin: 5px 0;
  border-radius: 5px;
}

.summary h3,
.summary p {
  padding: 0;
  margin: 5px;
}

.modereservation {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 5px;
}

select {
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #e1c089;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  border-radius: 30px;
}

.btn-payer {
  background-color: #1d1208;
  color: white;
  padding: 12px;
  margin-top: 10px;
  width: 100%;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn-payer:hover {
  background-color: #e1c089;
  color: black;
}

/* Empêche tes styles de formulaire d'affecter le calendrier */
.flatpickr-calendar select {
  width: auto !important;
  display: inline-block !important;
  background: transparent !important;
  padding: 0 !important;
}

/* Assure une bonne apparition de l'année */
.flatpickr-current-month .cur-year {
  width: 4.5ch !important; /* assez large pour 4 chiffres */
  min-width: 3.5ch;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin-left: 0.25rem;
}

/* (optionnel) si ton header se clippe en hauteur */
.flatpickr-months {
  height: auto !important;
}

.flatpickr-day.flatpickr-disabled {
  background-color: #f9ac11 !important;
  color: #666666 !important;
  cursor: not-allowed !important;
}

/* -------- Responsive -------- */

/* -------- Responsive -------- */

@media (max-width: 768px) {
  .navbar {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
  }

  .nav-links a {
    margin-left: 0;
  }

  .description-block {
    flex-direction: column;
    text-align: center;
  }

  .desc,
  .equip {
    text-align: center;
  }

  .reservation-wrapper {
    flex-direction: column;
  }

  .booking-form {
    margin-top: 30px;
  }

  .image-display {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex: 1;
    min-width: 100px;
    max-width: 400px;
  }
}

@media (max-width: 500px) {
  .image-display {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex: 1;
    min-width: 100px;
    max-width: 300px;
  }
}

@media (max-width: 375px) {
  .image-display {
    flex: 1;
    width: 100%;
    flex: 1;
    min-width: 250px;
    max-width: 600px;
  }
  .chambre-details h1 {
    font-size: 26px;
  }

  .main-image {
    max-width: 100%;
  }

  .thumbnails img {
    width: 70px;
    height: 50px;
  }

  .btn-reserver {
    padding: 10px 18px;
    font-size: 14px;
  }

  .image-display {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex: 1;
    min-width: 100px;
    max-width: 400px;
  }
}

@media (max-width: 330px) {
  .image-display {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex: 1;
    min-width: 100px;
    max-width: 200px;
  }
}

@media (max-width: 320px) {
  .image-display {
    flex: 1;
    width: 100%;
    flex: 1;
    min-width: 250px;
    max-width: 600px;
  }
  .chambre-details {
    font-size: 26px;
  }

  .main-image {
    max-width: 100%;
  }

  .nav-links a {
    font-size: 12px;
  }

  .logo img {
    height: 30px;
  }

  .desc h2,
  .equip h2 {
    font-size: 18px;
  }

  .thumbnails img {
    width: 60px;
    height: 45px;
  }
}
