/* style.css */

/* Couleurs et base */
:root {
    --vert-foret: #A8D5BA;
    --vert-canard: #6AA79F;
    --orange-renard: #F4A261;
    --beige-clair: #FFF8F0;
    --gris-doux: #ECECEC;
    --ombre-douce: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    body {
        font-family: 'Poppins', sans-serif;
      }
      
    background-color: var(--beige-clair);
    color: #333;
    line-height: 1.6;
    padding-bottom: 50px;
  }
  html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  
  
  /* Navigation */
  header {
    background-color: var(--vert-foret);
    padding: 1rem;
    box-shadow: var(--ombre-douce);
  }
  
  nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    gap: 1rem;
  }
  
  nav a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    transition: background-color 0.3s;
  }
  
  nav a:hover {
    background-color: var(--orange-renard);
    color: white;
  }
  
  /* Accueil vidéo */
  .background-video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    position: fixed;
    top: 0;
    left: 0;
  }
  
  .overlay {
    position: absolute;
    top: 6%;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem 1rem;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    max-width: 100%;
  }
  
  
  
  /* Galerie */
  .gallery {
    padding: 2rem;
  }
  
  .gallery h1 {
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;

  }
  
  @media (max-width: 800px) {
    .grid {
      grid-template-columns: 1fr;
    }
  }
  
  
  
  .thumb {
    background: white;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: var(--ombre-douce);
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  
  .thumb:hover {
    transform: scale(1.03);
  }
  
  .thumb img {
    width: 100%;
    border-radius: 12px;
  }
  
  .lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 30, 30, 0.8);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 999;
    padding: 1rem;
  }
  
  .lightbox img {
    max-width: 90%;
    max-height: 70vh;
    border-radius: 12px;
  }
  
  .lightbox p {
    color: white;
    margin-top: 1rem;
    font-size: 1.1rem;
  }
  
  /* Pages de texte */
  main {
    padding: 2rem;
    max-width: 800px;
    margin: auto;
  }
  
  h1 {
    color: var(--vert-canard);
    margin-bottom: 1rem;
  }
  
  footer {
    text-align: center;
    padding: 1rem;
    background: var(--gris-doux);
    margin-top: auto;
    font-size: 0.9rem;
  }
  
  
  /* Responsive */
  @media (max-width: 600px) {
    nav ul {
      flex-direction: column;
      align-items: center;
    }
  
    .overlay {
      margin-top: 20vh;
      font-size: 0.9rem;
    }
  
    .thumb p {
      font-size: 0.9rem;
    }
  }
  
