body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  /* Image de fond */
  background-image: url("../imagehtmlsite/plan.png");
  background-repeat: no-repeat;
  background-size: cover;
  /* l’image couvre tout l’écran */
  background-position: center;
  background-attachment: fixed;
  min-height: 100%;
  padding: 0;
  overflow-x: hidden;
  /* empêche le scroll horizontal */
  /* Styles globaux */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5dc;
  /* beige clair */
  color: #4b2e2e;
  /* café */
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  min-height: 100%;
  overflow-x: hidden;
  background-color: #f5f5dc;
}

@media (max-width: 768px) {
  body {
    background-size: cover;
    /* montre toute l’image */
    background-position: center top;
    background-attachment: scroll;
  }
}

h1,
h2 {
  text-align: center;
}

h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

strong {
  font-size: 1.4rem;
}

/* Palette marron clair élégante */
:root {
  --marron-clair: #c19a6b;
  --marron-foncé: #8b5a2b;
  --fond-clair: #f9f6f2;
}

/*  HEADER  */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  background: linear-gradient(135deg, var(--marron-clair), var(--marron-foncé));
  color: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;

}

/* LOGO  */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo h1 {
  font-size: 1.6rem;
  letter-spacing: 1px;
  white-space: nowrap;
}

/*  NAVIGATION  */
.nav-links {
  display: flex;
  justify-content: space-evenly;
  /* répartit les liens uniquement entre eux */
  gap: 20px;
  flex: 1;
  margin-left: 30px;
  font-size: 1.2rem;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}


.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #ffe8d0;
}

.nav-links a:hover::after {
  width: 100%;
}

/*  RÉSERVATION  */
.reservation .btn-reserver {
  background-color: white;
  color: var(--marron-foncé);
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.reservation .btn-reserver:hover {
  background-color: var(--marron-foncé);
  color: white;
  transform: scale(1.05);
}

/*  RESPONSIVE  */
@media (max-width: 900px) {

  .main-header {
    padding: 10px 16px;
    flex-wrap: wrap;
    /* important */
  }

  .logo h1 {
    font-size: 1.2rem;
  }
  .logo {
    flex: 1; /*pousse le toggle à droite */
  }

  .menu-toggle {
     font-family: sans-serif; 
  line-height: 1;
    display: block;
    order: 2; /*place le burger à droite du logo */
  }

  .nav-links {
    display: none;
    order: 3;     
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    gap: 6px;
    align-items: center;
    flex: unset;          /*annule le flex: 1 */
    margin-left: 0;       /*annule le margin-left: 100px */
  }
  .nav-links a::after {
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    width: 50%;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .reservation {
    margin-top: 15px;
  }

}


/* Palette */
:root {
  --marron-clair: #c19a6b;
  --marron-foncé: #8b5a2b;
  --eau-claire: rgba(255, 255, 255, 0.1);
}


/*  SLIDER  */
.slider-container {
  position: relative;
  width: 80%;
  max-width: 900px;
  margin: 60px auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  animation: float 6s ease-in-out infinite;
}

@media (max-width: 768px) {

  .slider-container {
    width: 95%;
    margin: 30px auto;
  }

  .slider img {
    height: 220px;
  }

}

/* Effet de flottement doux */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Effet de vagues sur le dessus */
.water-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(rgba(255, 255, 255, 0.05) 0px,
      rgba(255, 255, 255, 0.05) 2px,
      transparent 3px,
      transparent 6px);
  animation: waveMove 5s linear infinite;
  pointer-events: none;
}

@keyframes waveMove {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 0 20px;
  }
}

/* SLIDES */
.slider {
  display: flex;
  width: 300%;
  transition: transform 1s ease-in-out;
}

.slider img {
  width: 33.3333%;
  height: 450px;
  object-fit: cover;
  filter: brightness(0.95) saturate(1.05);
}

@media (max-width: 768px) {

  .slider img {
    height: 250px;
  }

}

/* boutons indicateurs */
.navigation-manuel {
  position: absolute;
  width: 100%;
  bottom: 15px;
  text-align: center;
}

/* Style des points inactifs */
.manuel-btn {
  border: 2px solid #fff;
  padding: 5px;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: all 0.4s ease;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  /* couleur normale */
}

/* Style du point actif (image affichée) */
.manuel-btn:hover {
  transform: scale(1.3);
}

.manuel-btn.active {
  background-color: black;
  transform: scale(1.2);
}

/*  BARRE DE NAVIGATION  */
.nav-bar {
  width: fit-content;
  margin: 15px auto;
  display: flex;
  justify-content: space-around;
  background-color: #8b5a2b;
  padding: 4px 12px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {

  .nav-bar {
    width: 90%;
    max-width: none;
    margin: 15px auto;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-bar a {
    font-size: 1rem;
  }

}


.nav-bar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 1px;
  transition: color 0.3s ease, transform 0.3s ease;
  font-size: 1.2em;

}

.nav-bar a:hover {
  color: white;
  transform: scale(1.1);
}


/* Footer  */
footer {
  background-color: #8b5a2b;
  /* marron chaud */
  color: #fff;
  font-family: "Poppins", sans-serif;
  line-height: 1.5;
  width: 100%;

}

/* Conteneur principal */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 10px 15px;
  max-width: 1200px;
  width: 100%;
  margin: auto;
}

/* Chaque section du footer */
.footer-about,
.footer-links,
.footer-contact {
  flex: 1 1 250px;
  margin: 10px;
}

/* Titres */
.footer-container h3 {
  color: yellow;
  /* couleur marron clair */
  margin-bottom: 10px;
  font-size: 1.5rem;
}

/* Liens rapides */
.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:visited {
  color: #fff;
}

.footer-links ul li a:hover {
  color: blueviolet;
}

.footer-links ul li a:active {
  color: yellow;
}

/* Réseaux sociaux */
.footer-social {
  margin-top: 10px;
}

.footer-social a {
  margin-right: 10px;
  display: inline-block;
  transition: transform 0.3s;
}

.footer-social a:hover {
  transform: scale(1.2);
}

.footer-social img {
  width: 25px;
  height: 25px;
}

footer a:visited {
  color: purple;
}

footer a:hover {
  color: blueviolet;
}

footer a:active {
  color: yellow;
}


/* Ligne de copyright */
.footer-bottom {
  text-align: center;
  padding: 8px;
  background-color: #7a4f25;
  /* légèrement plus foncé */
  font-size: 1rem;
}

/* Responsive : pour petits écrans */
@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 12px;
    gap: 4px;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    width: 100%;
    flex: 0 0 auto;   /*remplace flex: unset, bloque l'expansion */
    min-height: 0;    /*supprime le minimum de hauteur */
    margin: 0;
    padding: 4px 0;
  }

  .footer-container h3 {
    font-size: 1rem;
    margin-bottom: 2px;
    margin-top: 2px;
  }

  .footer-container p,
  .footer-container li {
    font-size: 0.82rem;
    margin: 1px 0; /*réduit l'espace entre les lignes */
    line-height: 1.3;
  }
  .footer-links ul {
    list-style: none; /*supprime les puces */
    padding: 0;
    margin: 0;
  }

  .footer-links ul li {
    margin: 2px 0;
    list-style: none;
  }

  .footer-bottom {
    font-size: 0.75rem;
    padding: 6px;
  }
}

/* Classe pour cacher visuellement mais garder accessible aux lecteurs d'écran */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
  border: 0;
}

/* Conteneur de l'image avec ombre et effet flottant */
.image-float-shadow {
  display: block;
  margin: 40px auto;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.3));
  max-width: 1000px;
  border-radius: 15px;
  width: 50%;
}

@media (max-width: 768px) {
  .image-float-shadow {
    width: 90%;
  }
}


/* overflow: visible pour ne pas bloquer les zones cliquables */
.image-float-shadow img.food {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
  animation: flotter 4s ease-in-out infinite;
  cursor: pointer;
}



/* Image responsive */
.image-float-shadow img.food {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
  user-select: none;
  pointer-events: auto;
  /* pour que les zones cliquables fonctionnent */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* Conteneur du tableau pour gérer le défilement horizontal si besoin */
.table-container {
  width: 95%;
  /* prend toute la largeur disponible */
  max-width: 900px;
  /* largeur max souhaitée, à adapter */
  margin: 20px auto;
  /* centrer avec marge verticale */
  overflow-x: auto;
  /* permet défilement horizontal sur petits écrans */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  /* léger ombrage esthétique */
  border-radius: 8px;
}

/* Style du tableau */
.table-container table {
  width: 100%;
  /* tableau prend toute la largeur du conteneur */
  border-collapse: collapse;
  /* bordures jointes */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  /* police lisible */
  font-size: 16px;
}

/* En-têtes */
.table-container th {
  background-color: #d2b48c;
  /* marron clair assorti */
  color: #3e2f1c;
  padding: 10px 15px;
  text-align: left;
  border-bottom: 2px solid #a67c00;
}

/* Cellules */
.table-container td {
  padding: 10px 15px;
  border-bottom: 1px solid #ddd;
  vertical-align: middle;
}

.table-container td p {
  vertical-align: middle;
}

/* Responsive : sur très petits écrans, réduis la police */
@media (max-width: 768px) {

  .table-princesse {
    font-size: 14px;
  }

  .table-princesse td,
  .table-princesse th {
    padding: 8px;
  }

  .table-princesse td img {
    width: 80px;
    height: 80px;
  }

  .table-princesse td:first-child p {
    font-size: 14px;
  }

  .table-princesse td:nth-child(2),
  .table-princesse th:nth-child(2) {
    width: auto;
    /* enlève le 50% sur mobile */
  }

}

.table-container {
  width: 90%;
  max-width: 950px;
  margin: 10px auto;
  overflow-x: auto;
}

.table-princesse {
  width: 100%;
  border-collapse: collapse;
  font-family: Georgia, 'Times New Roman', Times, serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.table-princesse th {
  background-color: #d2b48c;
  /* marron clair */
  color: #3e2f1c;
  padding: 12px;
  text-align: center;
  font-size: 20px;
  /* texte un peu plus grand */
}

.table-princesse tr {
  background-color: #f5f5dc;
  /* beige clair pour toutes les lignes sauf la première */
}

.table-princesse td {
  padding: 10px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #ddd;
  font-size: 20px;
  color: #4b2e2e;
}

/* Colonne Description plus large */
.table-princesse td:nth-child(2),
.table-princesse th:nth-child(2) {
  width: 50%;
}

.table-princesse td:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* centre horizontalement */
  justify-content: center;
  /* centre verticalement */
}

.table-princesse td:first-child p {
  margin-top: 10px;
  margin-bottom: 0;
  font-weight: bold;
  font-size: 18px;
}

/* Images */
.table-princesse td img {
  width: 120px;
  /* largeur fixe */
  height: 120px;
  /* hauteur fixe */
  object-fit: cover;
  /* garde les proportions sans déformer */
  border-radius: 8px;
  margin-bottom: 5px;
}

/* Texte sous l'image */
.table-princesse td p {
  margin-top: 8px;
  font-weight: bold;
  font-size: 18px;
  color: #4b2e2e;
  margin-bottom: 0;
}

/*  SECTION RÉSERVATION (isolée du reste du site) */
#res-section {

  padding: 70px 20px;
  /* Couleur du texte blanche */
  color: white;
  /* Centrage du texte */
  text-align: center;
  /* Police simple et élégante */
  font-family: Arial, sans-serif;
}

/* Conteneur du formulaire (fond légèrement flouté et arrondi) */
.res-container {
  max-width: 650px;
  /* largeur maximale */
  margin: 0 auto;
  /* centré horizontalement */
  background-color: rgba(255, 255, 255, 0.1);
  /* fond semi-transparent */
  padding: 40px;
  /* espace interne */
  border-radius: 15px;
  /* coins arrondis */
  backdrop-filter: blur(10px);
  /* effet de flou du fond */
}

/* Titre de la section */
.res-title {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: #ffd700;
  /* doré */
}

/* Texte d’introduction */
.res-text {
  font-size: 1.2rem;
  margin-bottom: 35px;
}

/* Structure du formulaire */
.res-form {
  display: flex;
  flex-direction: column;
  /* les éléments sont empilés verticalement */
  gap: 18px;
  /* espace entre chaque champ */
}

/* Groupe contenant chaque label + input */
.res-form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

/* Style du texte des labels */
.res-form-group label {
  margin-bottom: 5px;
  font-weight: bold;
  color: #FAFAFA;
  font-size: 1.1rem;
  /* agrandissement */
}

/* Style des champs du formulaire */
.res-form-group input {
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  resize: none;
}

/* Effet quand on clique dans un champ (focus) */
.res-form-group input:focus,
.res-form-group textarea:focus {
  outline: 2px solid #ffd700;
  /* bordure dorée */
}

/* Style du bouton de réservation */
.res-btn {
  padding: 14px;
  background-color: #ffd700;
  /* fond doré */
  color: #000;
  /* texte noir */
  border: none;
  border-radius: 10px;
  font-size: 1.2rem;
  cursor: pointer;
  /* curseur main */
  transition: 0.3s;
  /* animation douce */
  font-weight: bold;
}

/* Effet au survol du bouton */
.res-btn:hover {
  background-color: #e6c200;
  /* doré plus foncé */
  transform: scale(1.05);
  /* légère mise en avant */
}

@media (max-width: 768px) {

  .res-container {
    width: 95%;
    padding: 25px;
  }

  .res-title {
    font-size: 1.8rem;
  }

}


/* 
   CONTAINER PRINCIPAL
*/
.galerie {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 80px 20px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {

  .barre,
  .barre-plats,
  .barre-texte {
    width: 90%;
  }

  .image-card {
    width: 90%;
    height: auto;
  }

  .galerie {
    padding: 40px 10px;
    gap: 20px;
  }

}


/*
   CARTE D'IMAGE
*/
.image-card {
  position: relative;
  width: 300px;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(0);
  transition: transform 0.05s ease;
}

/* Ombre douce au survol */
.image-card:hover {
  box-shadow: 0 30px 45px rgba(0, 0, 0, 0.4);
}

/* Image en fond */
.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  filter: brightness(0.95);
  transition: transform 0.6s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}

/* Texte au-dessus de l’image */
.image-card h3 {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 1.4em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  font-weight: 600;
  text-align: center;
  letter-spacing: 1px;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.35);
  padding: 6px 14px;
  border-radius: 8px;
}

/* 
   EFFET D'ONDE LÉGÈRE
*/
.galerie::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.barre-texte {
  background-color: beige;
  width: 75%;
  /* largeur de la barre  */
  margin: 40px auto;
  /* centre la barre horizontalement et ajoute un espace autour */
  padding: 5px 0;
  /* espace intérieur */
  border-radius: 10px;
  /* coins arrondis */
  text-align: center;
  /* centre le texte à l’intérieur */
}

.barre-texte p {
  color: brown;
  font-size: 1.5em;
  margin: 0;
}

.barre {
  background-color: beige;
  width: 75%;
  margin: 40px auto;
  /* centre la barre horizontalement et ajoute un espace autour */
  padding: 5px 0;
  /* espace intérieur */
  border-radius: 10px;
  /* coins arrondis */
  text-align: center;
  /* centre le texte à l’intérieur */
}

.barre-plats {
  background-color: rgba(245, 245, 220, 0.7);
  width: 45%;
  /* largeur de la barre  */
  margin: 40px auto;
  /* centre la barre horizontalement et ajoute un espace autour */
  padding: 5px 0;
  /* espace intérieur */
  border-radius: 10px;
  /* coins arrondis */
  text-align: center;
  /* centre le texte à l’intérieur */
}