body {
  margin: 0;
  padding: 0;
  font-family: 'Quicksand', sans-serif;
  background-color: #faf9f7;
  color: #3a3a3a;
  line-height: 1.6;
}

header {
  border-bottom: 1px solid #f2e7dc;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
}

/* Navigation */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  z-index: 1000;
  backdrop-filter: blur(5px);
}
nav.navbar {
  background: #f8f7fa !important;

}
.navbar .logo {
  font-weight: 600;
  font-size: 1.2rem;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.navbar a:hover {
  color: #f4c542;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.overlay h1 {
  font-family: 'Lora', serif;
  color: #b66a3b;
  font-size: 2.5rem;
  margin: 0;
  letter-spacing: 1px;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  background-color: #f4c542;
  color: #333;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}

.btn:hover {
  background-color: #f6d96b;
}

/* Sections */
.section {
  padding: 10px 10%;
}

.section h2 {
  font-family: 'Lora', serif;
  font-size: 2rem;
  color: #b66a3b;
  margin-bottom: 20px;
}

/* Galerie */
.gallery {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery img {
  width: 32%;
  border-radius: 10px;
}

/* Avis */
.avis-list {
  margin-bottom: 30px;
}

.avis-item {
  background: white;
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.avis-item span {
  display: block;
  font-size: 0.9rem;
  color: #555;
  margin-top: 5px;
}

/* Formulaires */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
}

input, textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

button, .btn {
  background-color: #b66a3b;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  font-weight: 500;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 20px;
}

.fullscreen-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 10;
}

.fullscreen-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .fullscreen-btn {
    bottom: 12px;
    right: 12px;
    font-size: 1rem;
    padding: 6px 10px;
  }
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  margin-top: 30px;
}

.contact-message {
  flex: 1 1 400px;
  background: #fffaf5;
  border-radius: 16px;
  padding: 30px;
  line-height: 1.6;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.contact-message strong {
  color: #b66a3b; /* Une teinte douce et chaleureuse */
}

.contact-infos {
  flex: 0 1 300px;
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.contact-infos h3 {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 15px;
  color: #333;
}

.contact-infos ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-infos li {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.contact-infos a {
  color: #b66a3b;
  text-decoration: none;
  font-weight: 500;
}

.contact-infos a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }
}

/* 🖼️ Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox.hidden {
  display: none;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.2s ease;
}

.lightbox .close-btn {
  top: 20px;
  right: 30px;
  font-size: 3rem;
}

.lightbox .prev-btn {
  left: 40px;
}

.lightbox .next-btn {
  right: 40px;
}

.lightbox button:hover {
  opacity: 0.7;
}

/* Adaptation mobile */
@media (max-width: 768px) {
  .lightbox img {
    max-width: 95%;
    max-height: 75%;
  }
  .lightbox .prev-btn, .lightbox .next-btn {
    font-size: 2rem;
    left: 15px;
    right: 15px;
  }
}

/* ✨ Effet d'interaction sur les images de la galerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
  filter: brightness(0.85);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Option : ajouter une petite icône de loupe au survol */
.gallery img::after {
  content: "";
  display: block;
}

/* 💫 Animation d'apparition de la lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1000;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

/* ✨ Effet zoom + fade pour l'image */
.lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 10px;
  transform: scale(0.95);
  transition: transform 0.4s ease;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

/* Boutons de navigation */
.lightbox .close,
.lightbox .prev,
.lightbox .next {
  position: absolute;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.3s ease;
}

.lightbox .close {
  top: 20px;
  right: 30px;
}

.lightbox .prev {
  left: 30px;
}

.lightbox .next {
  right: 30px;
}

.lightbox .close:hover,
.lightbox .prev:hover,
.lightbox .next:hover {
  opacity: 0.7;
}

/* 🌄 Apparition fluide des sections */
.section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================== */
/* 📱 RESPONSIVE DESIGN */
/* ========================== */

/* ----- Menu Hamburger ----- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #333;
  border-radius: 3px;
  transition: 0.3s;
}

/* État actif (croix) */
.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Menu mobile */
.nav-links {
  transition: transform 0.4s ease;
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(6px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    z-index: 1000;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .navbar .logo {
    z-index: 1100;
  }
}

/* ----- Galerie photo ----- */
@media (max-width: 768px) {
  .gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gallery img {
    width: 100%;
    border-radius: 10px;
  }
}

/* ----- Sections & texte ----- */
@media (max-width: 768px) {
  .section {
    padding: 70px 7%;
    text-align: center;
  }

  .section h2 {
    font-size: 1.7rem;
  }

  .overlay h1 {
    font-size: 2.2rem;
  }

  .overlay p {
    font-size: 1rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .contact-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-message,
  .contact-infos {
    text-align: center;
  }
}

/* ----- Tablette*/

/* --- NAVBAR GÉNÉRALE --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 4vw; /* réduit l’espace horizontal */
  background: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px; /* espace entre les liens */
  margin: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #d4a017; /* couleur dorée au survol */
}

/* --- BOUTON HAMBURGER --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 3px;
  transition: 0.3s;
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: white;
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    text-align: center;
    transition: max-height 0.4s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.open {
    max-height: 300px; /* affiche le menu déroulant */
  }

  .nav-links li {
    margin: 15px 0;
  }

  .menu-toggle {
    display: flex;
  }
}

/* ===== CALENDRIER STYLE "CASA RENALOJO" ===== */
#calendar-container {
  max-width: 800px;
  margin: 40px auto;
  background: #fffaf5;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 30px;
  border: 1px solid #f2e7dc;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 10px;
}

.calendar-header h3 {
  font-family: 'Lora', serif;
  font-size: 1.6rem;
  color: #3a3a3a;
  margin: 0;
}

.calendar-header button {
  background: #b66a3b;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.calendar-header button:hover {
  background: #d58856;
}

.calendar {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calendar-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-cell {
  padding: 10px 6px;
  border-radius: 12px;
  text-align: center;
  font-size: 0.95rem;
  min-height: 65px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: default;
}

.calendar-cell:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.calendar-cell .day {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 1rem;
}

/* ✅ Disponible */
.calendar-cell.available {
  background: #758e67;
  color: #fff;
}

/* ❌ Réservé */
.calendar-cell.reserved {
  background: #b66a3b;
  color: #fff;
}

.calendar-cell.empty {
  background: transparent;
}

.header-cell {
  font-weight: 600;
  background: #f3efe9;
  color: #555;
  border-radius: 8px;
}

/* Légende */
.legend {
  text-align: center;
  margin-top: 20px;
  font-size: 0.95rem;
}

.legend-item {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: middle;
}

.legend-item.dispo { background: #758e67; }
.legend-item.reserve { background: #b66a3b; }

/* 📱 Responsive */
@media (max-width: 768px) {
  #calendar-container {
    padding: 15px;
    margin: 20px auto;
  }

  .calendar-cell {
    font-size: 0.75rem;
    min-height: 45px;
    padding: 6px 4px;
  }

  .calendar-cell .status {
    display: none;
  }

  .calendar-header h3 {
    font-size: 1.1rem;
    text-align: center;
  }
}

/* ===== Bouton flèche (look .btn mais circulaire) ===== */
.section { position: relative; } /* nécessaire pour que le bouton se place au bas de la section */

.arrow-btn {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  font-size: 1.6rem;
  background: #ffffffcc;    /* léger fond clair pour contraste */
  color: #b66a3b;          /* même couleur que les titres */
  border: 2px solid rgba(182,106,59,0.12);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.25s ease, box-shadow 0.25s ease;
  z-index: 20;
  pointer-events: auto;
}

/* Apparition au hover de la section */
.section:hover .arrow-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(-6px);
}

/* Hover / focus du bouton */
.arrow-btn:hover, .arrow-btn:focus {
  transform: translateX(-50%) translateY(-10px) scale(1.02);
  outline: none;
  box-shadow: 0 10px 26px rgba(0,0,0,0.15);
  background: #fff;
}

/* Accessibilité : focus visible */
.arrow-btn:focus {
  box-shadow: 0 0 0 4px rgba(182,106,59,0.12);
}

/* Mobile/tactile : pas de hover => boutons visibles */
@media (hover: none) {
  .section .arrow-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  .arrow-btn { width: 48px; height: 48px; font-size: 1.4rem; bottom: 20px; }
}
