body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  background-color: #f4f4f4;
  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;
}

.offres-section {
  padding: 60px 10%;
  text-align: center;
  background-color: #e9e9e9;
}

.offres-section h1 {
  font-size: 36px;
  font-family: 'Catchy Mager', serif;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 16px;
  margin-bottom: 50px;
  font-family: 'Coco Gothic', sans-serif;
  letter-spacing: 1px;
}

.offres-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.offre-card {
  width: 280px;
  background-color: #fff;
  padding-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid #ddd;
  border-radius: 4px;
}

.offre-card a {
  text-decoration: none;
  font-size: 30px;
  color: #222;
  font-weight: bold;
}

.offre-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.offre-card h2 {
  margin: 15px 0 8px;
  font-size: 18px;
  font-family: 'Coco Gothic', sans-serif;
}

.offre-card p {
  font-size: 14px;
  padding: 0 15px;
  color: #555;
}

.offre-card a:hover {
  text-decoration: none;
  font-size: 30px;
  color: #efb734;
  font-weight: bold;
}

.roomForm {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.swi {
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 15px;
  margin: 10px 20px 10px 0;
  user-select: none;
}
.switch input {
  display: none;
}
.slider {
  position: absolute;
  cursor: pointer;
  height: 15px;

  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: '';
  height: 15px;
  width: 15px;
  left: 4px;
  background-color: #127b6e;
  transition: 0.4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #4caf50;
}
input:checked + .slider:before {
  transform: translateX(26px);
}

/* Responsive */
@media (max-width: 768px) {
  .offres-grid {
    flex-direction: column;
    align-items: center;
  }

  .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;
  }
}

@media (max-width: 768px) {
  .chambre-card {
    width: 100%;
    max-width: 400px;
  }

  .footer-card {
    justify-content: space-between;
    padding: 0 20px;
  }
}

@media (max-width: 375px) {
  .chambres-section h1 {
    font-size: 28px;
  }

  .logo img {
    height: 35px;
  }

  .filtres button {
    font-size: 13px;
    padding: 8px 16px;
  }

  .footer-card span {
    font-size: 13px;
  }

  .footer-card a {
    font-size: 20px;
  }
}

@media (max-width: 320px) {
  .offre-card {
    width: 250px;
    background-color: #fff;
    padding-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #ddd;
    border-radius: 4px;
  }

  .offre-card img {
    width: 100%;
    height: 175px;
    object-fit: cover;
  }
  .chambres-section h1 {
    font-size: 22px;
  }

  .nav-links a {
    font-size: 12px;
  }

  .logo img {
    height: 30px;
  }
}
