@import url("https://fonts.googleapis.com/css2?family=Merriweather&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

html, body {
  background-color: #0d4545;
  padding-top: 23px;
  height: 100%;
  scrollbar-width: none; 
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

a {
  text-decoration: none;
  color: #2c2c2c;
}

li {
  list-style: none;
}

h2, h3 {
  margin-bottom: 0.5rem;
}

.container,
.carousel-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.carousel {
  height: 65vh;
  width: 100vw;
  position: relative;
  overflow: hidden;
}

.carousel button {
  position: absolute;
  background: none;
  border: none;
  font-size: 2.6rem;
  color: #f3f1f1;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 2;
}

#prev {
  left: 15px;
}

#next {
  right: 15px;
}

#prev:hover,
#next:hover {
  color: #0d4545;
  transition: color 0.3s ease;
}

.carousel ul {
  position: relative;
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}

.carousel .slide {
  position: absolute;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.carousel .slide.active {
  opacity: 1;
}

.slide img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

#year {
  background-color: #0d4545;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: #1e1e1e solid 3px;
}

#year h3 {
  font-size: 2rem;
  color: #f5f5f5;
  margin-bottom: 20px;
  border-bottom: 2px solid #e6e6e6;
  padding-bottom: 10px;
  width: 100%;
  text-align: center;
}

.chambres-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 60px;
  width: 100%;
}

.room-card {
  width: 300px;
  min-height: 340px;
  padding: 15px;
  border-radius: 15px;
  background-color: #e6e6e6;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.room-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.room-card img {
  width: 225px;
  height: 225px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  margin-bottom: 10px;
}

.room-card img:hover {
  transform: scale(1.01);
}

.room-card h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #1e1e1e;
}

.room-card p {
  font-size: 0.9rem;
  color: #333;
}

.Indisponible:hover,
.Indisponible:hover h2 {
  filter: grayscale(100%);
  cursor: not-allowed;
}

.services {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
  font-size: 0.8rem;
  color: #0d4545;
}

.services li {
  background-color: #d9f1f1;
  padding: 4px 8px;
  border-radius: 8px;
}

.div-dossier {
    background-color: #e6e6e6;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.dossier {
  width: 100%;
  max-width: 400px;
  margin: 60px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

#dossier {
  display: inline-block;
  text-align: center;
  padding: 18px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  background-color: #0d4545;
  color: #ffffff;
  border: 2px solid #0d4545;
  border-radius: 12px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
  letter-spacing: 1px;
  text-decoration: none;
}

#dossier:hover {
    background-color: #e6e6e6;
  color: #0d4545;
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}


h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #1e1e1e;
  text-align: center;
    color: #f3f1f1;
}

section {
  padding: 80px 20px;
  width: 100%;
  background-color: #0d4545;
  color: #f5f5f5;
}

section h3 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
}

section h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #e6e6e6;
  border-radius: 2px;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-card {
  background-color: #f0f0f0;
  color: #1e1e1e;
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.section-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.25);
}

.section-card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.section-card h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.section-card p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.section-card ul {
  padding: 0;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section-card ul li {
  background-color: #d0ebeb;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  color: #0d4545;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-contact {
  max-width: 100%;
  margin: 0 auto;
  background-color: #ffffff;
  color: #0d4545;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.section-contact a {
  color: #0d4545;
  font-weight: bold;
  text-decoration: underline;
}
