html, body {
  height: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  box-sizing: border-box;
  background-color: #111;
}

/* Images de fond par page */
body.fond-accueil {
  background: url('images/dlys.jpg') no-repeat center center / cover;
}
body.fond-a-propos {
  background: url('images/apropos.jpg') no-repeat center center / cover;
}
body.fond-activites {
  background: url('images/activites.jpg') no-repeat center center / cover;
}
body.fond-contact {
  background: url('images/contact.jpg') no-repeat center center / cover;
}
body.fond-actualites {
  background: url('images/actualites.jpg') no-repeat center center / cover;
}
body.fond-galerie {
  background: url('images/danseurnb.jpg') no-repeat center center / cover;
  background-color: #000; /* couleur de secours si l'image ne charge pas */
}


/* Fade-in animation */
.fade-in {
  animation: fadeIn 1s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Focus visible pour accessibilité */
:focus-visible {
  outline: 3px solid #ffc93c;
  outline-offset: 2px;
}

/* Menu burger responsive */
header {
  background: rgba(255, 255, 255, 0.1);
  padding: 1em 1.5em;
  position: relative;
  z-index: 10;
}
nav {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
#burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
}
#burger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.menu {
  display: flex;
  justify-content: center;
  gap: 2.5em;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 500;
  font-size: 1rem;
}
.menu a, .lang-switch {
  color: #fff;
  text-decoration: none;
  background: none;
  padding: 0;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
  font-weight: 500;
}
.menu a.active {
  text-decoration: underline;
  color: #ffc93c;
}
.menu a:hover:not(.active), .menu a:focus-visible:not(.active) {
  color: #f46036;
  text-decoration: underline;
}
.lang-switch {
  font-size: 0.85rem;
  opacity: 0.5;
  cursor: not-allowed;
  background: none;
  border: none;
  padding: 0;
  margin-left: 1em;
}
/* Responsive burger */
@media (max-width: 800px) {
  #burger {
    display: flex;
    position: absolute;
    right: 1em;
    top: 1em;
  }
  .menu {
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100vw;
    width: 70vw;
    height: 100vh;
    background: #111;
    padding: 5em 2em 2em 2em;
    transition: right 0.3s;
    z-index: 99;
    align-items: flex-start;
  }
  .menu.open {
    right: 0;
  }
  .menu a, .lang-switch {
    font-size: 1.2rem;
  }
}

/* Section principale */
.hero {
  background: rgba(0,0,0,0.32);
  border-radius: 20px;
  padding: 2em;
  margin: 8vh auto 0 auto;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}
.hero h1, .hero p, .cta {
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}
.cta {
  display: inline-block;
  margin-top: 1.5em;
  background: #d7263d;
  color: #fff;
  padding: 0.7em 2em;
  border-radius: 25px;
  font-size: 1.1em;
  text-decoration: none;
  transition: background 0.2s;
}
.cta:hover, .cta:focus-visible {
  background: #f46036;
  color: #fff;
}

/* Bouton contact moderne */
.cta-contact {
  display: block;
  margin: 2em auto 0 auto;
  max-width: 240px;
  text-align: center;
  background: linear-gradient(90deg, #ffc93c 0%, #f46036 100%);
  color: #222;
  font-weight: 600;
  font-size: 1.15em;
  padding: 0.85em 2.2em;
  border-radius: 28px;
  border: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.cta-contact:hover,
.cta-contact:focus-visible {
  background: linear-gradient(90deg, #f46036 0%, #ffc93c 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  outline: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 1em 0;
  background: rgba(0,0,0,0.25);
  position: fixed;
  width: 100%;
  bottom: 0;
  left: 0;
  font-size: 0.95em;
}
@media (max-width: 800px) {
  footer {
    position: static;
  }
}

/* Galerie responsive et organisée */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  padding: 24px;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}
.gallery-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #222;
  background: #222;
  transition: box-shadow 0.2s, transform 0.2s, opacity 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  cursor: pointer;
  opacity: 0;
  animation: fadeIn 1s forwards;
}
.gallery-thumb:hover, .gallery-thumb:focus-visible {
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  transform: scale(1.03);
  z-index: 1;
  opacity: 1;
}
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    padding: 12px;
  }
}
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
    padding: 6px;
  }
}

/* Lightbox sobre */
.lightbox {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.93);
  align-items: center;
  justify-content: center;
}
.lightbox-content {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 6px;
  box-shadow: none;
  background: none;
  border: 1px solid #333;
}
.lightbox .close {
  position: absolute;
  top: 2em;
  right: 3em;
  color: #fff;
  font-size: 2.2em;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox .close:hover, .lightbox .close:focus-visible {
  opacity: 1;
}

/* Contact */
.contact-section {
  max-width: 520px;
  margin: 8vh auto 0 auto;
  background: rgba(0,0,0,0.32);
  padding: 2.5em 2em;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}
.contact-coords {
  margin: 2em 0 1em 0;
}
.contact-link {
  color: #ffc93c;
  font-weight: 500;
  text-decoration: underline dotted;
  transition: color 0.2s;
}
.contact-link:hover, .contact-link:focus-visible {
  color: #f46036;
}
.contact-extra {
  margin-top: 2em;
  color: #fff;
  opacity: 0.92;
  font-size: 1.07em;
}

/* Vidéo responsive */
.video-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 2em auto 0 auto;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  background: #000;
}
.responsive-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: #000;
}
