/* --- Style global --- */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: #fefaf6;
  color: #3b2f2f;
  line-height: 1.6;
}

/* --- En-tête --- */
header {
  background-color: #b8860b;
  color: white;
  text-align: center;
  padding: 1rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

header h1 {
  margin: 0.2rem 0;
  font-family: "Georgia", serif;
  font-size: 2rem;
}

nav {
  margin-top: 0.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

/* --- Section Hero avec carousel --- */
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.carousel-images {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 1s ease;
}

.carousel-images img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* pour remplir tout le fond */
  flex-shrink: 0;
}

/* Texte superposé */
.hero-text {
  position: relative;
  z-index: 2; /* au-dessus des images */
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2rem 3rem;
  border-radius: 15px;
  max-width: 700px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem; /* marge souhaitée */
}

.hero p {
  font-size: 1.2rem;
}

/* Ombre légère derrière le hero pour le contraste */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* --- Contenu général --- */
.content {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  text-align: left;
}

.content h2 {
  color: #a0522d;
  margin-bottom: 1rem;
}

/* --- Galerie --- */
.gallery {
  background-color: #fff8f0;
  padding: 3rem 1rem;
}

.gallery .images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
}

/* --- Contact --- */
.contact a {
  color: #8b4513;
  text-decoration: none;
  font-weight: 600;
}

.contact a:hover {
  text-decoration: underline;
}

/* --- Pied de page --- */
footer {
  background-color: #b8860b;
  color: white;
  text-align: center;
  padding: 1rem 0;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* --- Bouton avis Airbnb --- */
.review-button {
  display: inline-block;
  background-color: #ff5a5f;
  color: white !important;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.review-button:hover {
  background-color: #e04e50;
  transform: scale(1.03);
}

.review-button-booking {
  display: inline-block;
  background-color: #003580;
  color: white !important;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.review-buttons {
  display: flex;           /* Met les boutons côte à côte */
  justify-content: center; /* Centre les boutons horizontalement */
  gap: 15px;               /* Espace entre les boutons */
  margin-top: 20px;
}

.review-button,
.review-button-booking {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}


.review-button-booking:hover {
  background-color: #003580;
  transform: scale(1.03);
}

.airbnb-reviews {
  margin-top: 1.5rem;
}
