/* style.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  color: white;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 1;
}

.container-etoiles {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px auto;
  font-size: 2.5em;
}

.etoile {
  transform: rotate(0deg);
  animation: spin 1s ease forwards;
  opacity: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg) scale(0);
    opacity: 0;
  }
  100% {
    transform: rotate(360deg) scale(1);
    opacity: 1;
  }
}

/* Pour la vidéo de fond (déjà en HTML inline) */
video {
  object-fit: cover;
}

/* En-tête */
header {
  padding: 60px 20px;
background-color: rgba(0, 0, 0, 0.5);
}

header h1 {
  font-size: 3em;
  letter-spacing: 8px;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2em;
  font-style: italic;
}

/* Sections */
section {
  padding: 40px 20px;
  background-color: rgba(0, 0, 0, 0.4);
  margin: 20px;
  border-radius: 10px;
}

section h2 {
  font-size: 2em;
  margin-bottom: 20px;
text-decoration: underline;
}

section img {
  width: 80%;
  max-width: 500px;
  border-radius: 8px;
  margin-bottom: 20px;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  background-color: #007BFF;
  padding: 10px 15px;
  border-radius: 5px;
}

nav a:hover {
  background-color: #0056b3;
}
.carousel {
  position: center;
  width: 80%;
  max-width: 600px;
  margin: auto;
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
  border-radius: 8px;
}

.slide.active {
  display: block;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2em;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.prev { left: 10px; }
.next { right: 10px; }
.carousel-suites {
  position: relative;
  width: 80%;
  max-width: 600px;
  margin: auto;
  overflow: hidden;
}

.slide-suite {
  display: none;
  width: 100%;
  border-radius: 8px;
}

.slide-suite.active-suite {
  display: block;
}

.prev-suite, .next-suite {
  position: absolute;
  top: 50%;
transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2em;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.prev-suite { left: 10px; }
.next-suite { right: 10px; }

.commentaires {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.commentaire {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 15px;
  border-radius: 8px;
  width: 250px;
  font-style: italic;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.form-reservation {
  display: flex;
flex-direction: column;
  gap: 15px;
  width: 80%;
  max-width: 500px;
  margin: auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.form-reservation label {
  color: white;
  text-align: left;
}

.form-reservation input,
.form-reservation select,
.form-reservation textarea {
  padding: 10px;
  border: none;
  border-radius: 5px;
  width: 100%;
}
.form-reservation button {
  background-color: #007BFF;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
}

.form-reservation button:hover {
  background-color: #0056b3;
}


/* Footer */
footer 
padding: 20px;
  background-color: rgba(0, 0, 0, 0.7);
  font-size: 0.9em;
  button {
  background-color: #007BFF  /* bleu */;
  color: white; /* texte blanc */;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  text-transform: uppercase; /* tout en majuscules */;
  cursor: pointer;
  transition: background-color 0.3s ease;  
}

button:hover {
  background-color: #0056b3;
}
/* Responsive design */
@media (max-width: 768px) {
  header h1 {
    font-size: 2em;
  }

  section img {
    width: 100%;
  }

  button {
    width: 90%;
    font-size: 1em;
  }

  iframe {
    width: 100%;
    height: 250px;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.5em;
  }
header p, section p {
    font-size: 1em;
  }
}
