/* Overlay d'ouverture */
#opening-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #000;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 1s ease;
}

.bunker-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bunker-text {
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.2em;
  position: relative;
  z-index: 2;
  margin: 2rem 0;
}

.bar {
  position: absolute;
  height: 8px;
  background: linear-gradient(90deg, #fff 60%, #0f0 100%);
  border-radius: 4px;
  width: 0;
  opacity: 0.9;
  z-index: 1;
}
.bar-top {
  top: -30px;
  left: 0;
  animation: barTopAnim 2.5s forwards;
}
.bar-bottom {
  bottom: -30px;
  right: 0;
  animation: barBottomAnim 2.5s forwards;
}

@keyframes barTopAnim {
  0% { left: -100vw; width: 0; }
  20% { left: 10vw; width: 0; }
  40% { left: 20vw; width: 60vw; }
  60% { left: 20vw; width: 60vw; }
  80% { left: 100vw; width: 0; }
  100% { left: 100vw; width: 0; }
}

@keyframes barBottomAnim {
  0% { right: -100vw; width: 0; }
  20% { right: 10vw; width: 0; }
  40% { right: 20vw; width: 60vw; }
  60% { right: 20vw; width: 60vw; }
  80% { right: 100vw; width: 0; }
  100% { right: 100vw; width: 0; }
}

.music-notes {
  position: absolute;
  top: 20%; left: 0; width: 100%; height: 60%;
  pointer-events: none;
  z-index: 3;
}
.note {
  position: absolute;
  font-size: 2.5rem;
  opacity: 0.8;
  animation: noteAnim 2.5s linear forwards;
}
.note.white { color: #fff; }
.note.black { color: #222; text-shadow: 0 0 8px #fff; }

/* Position et animation individuelle des notes */
.note:nth-child(1) { left: 10vw; top: 10vh; animation-delay: 0.2s; }
.note:nth-child(2) { left: 80vw; top: 15vh; animation-delay: 0.4s; }
.note:nth-child(3) { left: 30vw; top: 60vh; animation-delay: 0.6s; }
.note:nth-child(4) { left: 60vw; top: 50vh; animation-delay: 0.8s; }
.note:nth-child(5) { left: 50vw; top: 30vh; animation-delay: 1s; }
.note:nth-child(6) { left: 20vw; top: 40vh; animation-delay: 1.2s; }
.note:nth-child(7) { left: 70vw; top: 25vh; animation-delay: 0.5s; }
.note:nth-child(8) { left: 15vw; top: 55vh; animation-delay: 1.1s; }
.note:nth-child(9) { left: 40vw; top: 20vh; animation-delay: 0.7s; }
.note:nth-child(10) { left: 85vw; top: 45vh; animation-delay: 1.3s; }

@keyframes noteAnim {
  0% { transform: scale(0.5) translateY(0); opacity: 0.8; }
  40% { transform: scale(1.2) translateY(-30px); opacity: 1; }
  80% { transform: scale(1) translateY(40px); opacity: 0.7; }
  100% { transform: scale(0.7) translateY(100px); opacity: 0; }
}
/* Reset + base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    background: #111;
    color: #fff;
    line-height: 1.6;
  }
  
  header {
    background: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .logo {
    font-size: 1.4rem;
    font-weight: bold;
  }
  
  nav {
    display: flex;
    gap: 1rem;
  }
  
  nav a {
    color: #0f0;
    text-decoration: none;
    font-weight: bold;
  }
  
  .menu-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
  }
  
  .hero {
    background: url('images/fond.jpeg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  
  .hero h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  /* Player */
  .player {
    padding: 1rem;
    text-align: center;
  }
  
  /* Services */
  #services {
    padding: 3rem 2rem;
    text-align: center;
    background: transparent;
  }
  
  .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .service-grid .service {
    background-color: #222;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
    text-align: center;
    color: white;
  }
  
  /* Gallery */
  #gallery {
    padding: 2rem;
    background: #111;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-grid img {
    width: 100%;
    border-radius: 8px;
  }
  
  /* Contact */
  #contact {
    padding: 3rem 2rem;
    background: #1a1a1a;
    text-align: center;
  }
  
  #contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
  }
  
  #contact-form input,
  #contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 6px;
  }
  
  #contact button {
    padding: 0.8rem;
    background: #0f0;
    border: none;
    color: #000;
    font-weight: bold;
  }
  
  /* Footer */
  footer {
    text-align: center;
    padding: 1rem;
    background: #000;
    font-size: 0.9rem;
  }
  
  footer .socials a {
    color: #0f0;
    text-decoration: none;
  }
  
  footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #888;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .service-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    nav {
      flex-direction: column;
      display: none;
      gap: 0.5rem;
      margin-top: 1rem;
      z-index: 1000;
    }
  
    header {
      flex-direction: column;
      align-items: flex-start;
      position:relative;
    }
  
    nav a {
      font-size: 1rem;
    }
  
    .menu-toggle {
      display: block;
      background: none;
      border: none;
      color: 0f0;
      font-size: 1.8rem;
      cursor:pointer;
      position: absolute;
      right:1rem;
      top:1rem;

    }
  }
  
  /* Bouton réservation */
  .reservation-btn-container {
    text-align: center;
    margin: 2rem;
  }
  
  .reservation-btn {
    padding: 1rem 2rem;
    background: #0f0;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    color: #000;
    border-radius: 8px;
    cursor: pointer;
  }

  .reservation-btn:hover {
    background: #00cca0;
    transition: backgroundcolor 0.3s ease;
  }
  
  /* Modal */
  .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .modal-content {
    background-color: #222;
    margin: 10% auto;
    padding: 2rem;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    color: #fff;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
  }
  
  .modal-content input,
  .modal-content select {
    width: 100%;
    padding: 0.8rem;
    margin: 1rem 0;
    border: none;
    border-radius: 5px;
  }
  
  .modal-content button {
    width: 100%;
    padding: 0.8rem;
    background: #0f0;
    color: #000;
    font-weight: bold;
    border: none;
    border-radius: 5px;
  }


  #map {
    padding:2rem;
    background : #111;
    text-align: center;
  }

  #map h2 {
    color :#0f0;
    margin-bottom: 1rem;
  }

  .map-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 10px;
    overflow:hidden;
  }
