body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
  }
  
  main {
    padding: 2em;
  }

  /* ======= Bandeau supérieur ======= */

.site-header {
    background-color: #4caf50;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 1.5rem;
    margin: 0;
  }
  
  .site-nav a {
    margin-left: 1rem;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s;
  }
  
  .site-nav .btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  }  

  .site-nav {
    display: flex;
    gap: 0.5rem;
  }
  
  .site-nav .btn {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s, transform 0.2s;
  }
  
  .site-nav .btn:hover {
    transform: translateY(-2px);
  }

  /* Couleur dynamique du header selon la page */
.page-accueil .site-header { background-color: #4caf50; }     /* vert */
.page-galerie .site-header { background-color: #2196f3; }     /* bleu */
.page-pieces .site-header { background-color: #795548; }    /* marron chaleureux */
.page-temoignages .site-header { background-color: #ff9800; } /* orange */
.page-reservation .site-header { background-color: #9c27b0; } /* violet */
.page-contact .site-header { background-color: #f44336; }     /* rouge */
.page-mentions .site-header,
.page-politique .site-header {
  background-color: #666; /* gris moyen */
}
  
  /* Couleurs différentes pour chaque lien */
  .nav-home {
    background-color: #4caf50; /* vert */
  }
  
  .nav-galerie {
    background-color: #2196f3; /* bleu */
  }

  .nav-pieces {
    background-color: #795548; /* marron chaleureux */
  }

  .nav-temoignages {
    background-color: #ff9800; /* orange */
  }
  
  .nav-reservation {
    background-color: #9c27b0; /* violet */
  }
  
  .nav-contact {
    background-color: #f44336; /* rouge */
  }

  /* ===== Accueil ===== */

.hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.4); /* assombrit l’image */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-content {
    text-align: center;
    color: white;
    padding: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
     text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  }
  
  .hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  }
  
  .hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
  }
  
  .btn-hero {
    background-color: #4caf50;
    color: white;
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s, transform 0.2s;
  }
  
  .btn-hero:hover {
    background-color: #388e3c;
    transform: scale(1.05);
  }
  

  /* ======= Galerie ======= */

  .gallery-filters {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .filter-btn {
    background-color: #ccc;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0.3rem;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
  }
  
  .filter-btn:hover {
    background-color: #999;
    transform: scale(1.05);
  }
  
  .filter-btn.active {
    background-color: #4caf50;
    color: white;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 0 2rem;
  }
  
.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 10px;
  background-color: #eee;
  display: block;
}

  .gallery-grid img:hover {
    transform: scale(1.03);
  }

  /* === Lightbox === */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
  }
  
  .lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
  }
  
  .lightbox.active {
    display: flex;
  }
  
  .lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
  } 
  
  /* = Flèches image suivante et précédente = */

  .lightbox-arrow {
    position: absolute;
    top: 50%;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    user-select: none;
    padding: 0.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s;
  }
  
  .lightbox-arrow:hover {
    background-color: rgba(0, 0, 0, 0.6);
  }
  
  .lightbox-arrow.left {
    left: 2rem;
  }
  
  .lightbox-arrow.right {
    right: 2rem;
  }

  /* === Page pièces === */
  .page-content {
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .page-content .intro {
    text-align: center;
    margin-bottom: 2rem;
  }

.rooms-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.room {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background-color: #f5f5f5;
  border-left: 6px solid #4caf50;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s;
  flex-wrap: wrap; /* utile pour le responsive */
}

.room:hover {
  transform: translateY(-3px);
}

.room-img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.room-text {
  flex: 1;
}

.room-text p {
  text-align: justify;
}

.room-text h3 {
  margin-top: 0;
  color: #4caf50;
}


  /* ===== Témoignages ===== */
.temoignages-page {
    padding: 2rem;
    background-color: #fefefe;
  }
  
  .testimonial-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .testimonial {
    background-color: #f5f5f5;
    border-left: 5px solid #4caf50;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }
  
  .testimonial .message {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .testimonial .author {
    text-align: right;
    font-size: 0.9rem;
    color: #555;
  }

  /* ===== Page Contact ===== */

.contact-page {
    padding: 2rem;
    background-color: #fafafa;
    font-family: 'Segoe UI', sans-serif;
    min-height: 100vh;
  }
  
  .contact-page h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2e7d32;
  }
  
  .contact-infos {
    max-width: 600px;
    margin: 0 auto 3rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    line-height: 1.8;
    font-size: 1rem;
  }
  
  .contact-infos a {
    color: #4caf50;
    text-decoration: none;
  }
  
  .contact-infos a:hover {
    text-decoration: underline;
  }
  
  .formulaire-contact {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  }
  
  .formulaire-contact h3 {
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: #2e7d32;
    text-align: center;
  }
  
  .formulaire-contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .formulaire-contact label {
    display: flex;
    flex-direction: column;
    font-weight: 600;
    color: #444;
  }
  
  .formulaire-contact input,
  .formulaire-contact textarea {
    margin-top: 0.3rem;
    padding: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #fdfdfd;
    transition: border-color 0.3s, box-shadow 0.3s;
  }
  
  .formulaire-contact input:focus,
  .formulaire-contact textarea:focus {
    border-color: #4caf50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.15);
    outline: none;
  }
  
  .formulaire-contact button {
    margin-top: 1rem;
    padding: 0.9rem;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    width: 100%;
  }
  
  .formulaire-contact button:hover {
    background-color: #388e3c;
    transform: scale(1.02);
  }

  /*=== Merci ===*/

  .page-merci main {
    min-height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
  }

  .merci-message {
    text-align: center;
    background-color: #f0f8f4;
    border-radius: 10px;
    padding: 2rem;
    max-width: 600px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .merci-message h2 {
    color: #4caf50;
    margin-bottom: 1rem;
  }

  .merci-message p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: justify;
  }

  .btn-retour {
    display: inline-block;
    background-color: #4caf50;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
  }

  .btn-retour:hover {
    background-color: #388e3c;
  }

  /* ===== Mentions légales ===== */
.mentions-page {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    line-height: 1.7;
    font-size: 1rem;
  }
  
  .mentions-page h2 {
    text-align: center;
    color: #2e7d32;
    margin-bottom: 2rem;
  }
  
  .mentions-page h3 {
    margin-top: 2rem;
    color: #4caf50;
  }
  
  .mentions-page a {
    color: #4caf50;
    text-decoration: none;
  }
  
  .mentions-page a:hover {
    text-decoration: underline;
  }  
  

  /* ======= footer ======= */

  .site-footer {
    background-color: #eee;
    color: #333;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #ccc;
  }
  
  .site-footer a {
    color: #4caf50;
    text-decoration: none;
    margin: 0 0.5rem;
  }
  
  .site-footer a:hover {
    text-decoration: underline;
  }
  
  