:root {
  --bg1: #071022;
  --bg2: #0f1226;
  --accent: #ff1ba1;
  --accent-2: #7b5bff;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-2: rgba(255, 255, 255, 0.03);
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: 'Montserrat', system-ui, sans-serif;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(123, 91, 255, 0.12), transparent),
              radial-gradient(1000px 500px at 90% 90%, rgba(255, 27, 161, 0.08), transparent),
              linear-gradient(180deg, var(--bg1), var(--bg2));
  color: #fff;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ================= HEADER ================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 12px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 60;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

header img {
  height: 46px;
  filter: drop-shadow(0 4px 10px rgba(123, 91, 255, 0.35));
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

nav > a,
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color .15s ease, transform .12s ease;
  padding: 6px 8px;
  border-radius: 6px;
}

nav > a:hover,
nav a:hover,
nav a.active {
  color: var(--accent);
  transform: translateY(-2px);
}

/* ================= GLOW BACKGROUND ================= */

.glow-lines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  z-index: -1;
}

.glow-lines::before,
.glow-lines::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  height: 2px;
  top: 20%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  filter: blur(14px);
  transform: translateY(-50%) scaleX(1.8);
  animation: drift 10s linear infinite alternate;
}

.glow-lines::after {
  top: 80%;
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
  animation-duration: 13s;
}

@keyframes drift {
  to {
    transform: translateY(30px) scaleX(1.2);
  }
}

/* ================= LAYOUT PAGES CLASSIQUES ================= */

/* par défaut : autres pages (horaires, contact, etc.) */
main {
  margin-top: 120px;
  display: flex;
  justify-content: center;
  padding: 32px;
}

/* carte centrale */
.card {
  width: 100%;
  max-width: 900px;
  padding: 40px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--glass), var(--glass-2));
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 40px rgba(2, 6, 23, 0.6), 0 0 120px rgba(123, 91, 255, 0.06) inset;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeIn 1.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ancien .logo conservé pour les autres pages si besoin */
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.logo img {
  max-width: 150px;
  filter: drop-shadow(0 6px 18px rgba(123, 91, 255, 0.22));
}

/* nouveau logo en haut à gauche de la carte */
.card-logo-top {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.card-logo-top img {
  max-width: 120px;
  filter: drop-shadow(0 6px 18px rgba(123, 91, 255, 0.22));
}

/* TITRES h1 pages simples */
h1 {
  font-weight: 800;
  font-size: 32px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  animation: glow 4s ease-in-out infinite alternate;
}

@keyframes glow {
  from { filter: drop-shadow(0 0 4px rgba(255,27,161,0.4)); }
  to { filter: drop-shadow(0 0 14px rgba(123,91,255,0.6)); }
}

.subtitle {
  font-size: 16px;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

.desc {
  margin-top: 14px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* Horaires (pages classiques) */
.hours-box {
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hours-box h3 {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-2);
}

.hours-line {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.hours-line:last-child {
  border-bottom: none;
}

/* FOOTER GLOBAL */

footer {
  margin-top: 100px;
  padding: 40px 20px;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

footer a {
  color: var(--accent);
  margin: 0 10px;
  text-decoration: none;
  font-size: 14px;
}

footer a:hover {
  text-decoration: underline;
}

/* ================= HERO VIDEO (ACCUEIL) ================= */

.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
  z-index: 1;
}

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0.55;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
}

.hero-overlay h1 {
  font-size: 64px;
  text-transform: uppercase;
  font-weight: 800;
  color: #ff1ba1;
  text-shadow: 0 0 10px #ff1ba1, 0 0 30px #7b5bff;
  animation: neonPulse 2s infinite alternate;
}

.hero-overlay p {
  font-size: 22px;
  font-weight: 300;
}

@media(max-width: 768px) {
  .hero-overlay h1 { font-size: 40px; }
  .hero-overlay p { font-size: 18px; }
}

/* ================= TITRES & SECTIONS ACCUEIL ================= */

/* titres de section style hero */
.neon-title {
  font-size: 40px;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ff1ba1, #7b5bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px #ff1ba1, 0 0 30px #7b5bff;
  margin-bottom: 18px;
}

/* sections de la home (body.index) */
body.index main {
  margin-top: 0;
  padding: 0;
  display: block;
}

body.index section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 1;
  transform: none;
  transition: none;
}

body.index section > p {
  max-width: 900px;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.85);
}

/* cartes / stats / features communs */
.card-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 24px;
  margin-top: 30px;
}

.feature-card {
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255,255,255,0.06);
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
}

/* Horaires bloc accueil */
.hours-box-home {
  margin-top: 24px;
  max-width: 420px;
}

.hours-line-home {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 14px;
}

/* Avis */
.reviews-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 20px;
}

.review-card {
  background: radial-gradient(circle at 0 0,rgba(255,27,161,0.16),rgba(7,16,34,0.9));
  border-radius: 18px;
  padding: 18px 20px 20px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.review-stars {
  color: #ffeb3b;
}

.review-card p {
  font-size: 14px;
  line-height: 1.6;
}

/* CTA strip (aussi utilisée dans events) */
.cta-strip {
  margin-top: 60px;
  padding: 24px 28px;
  border-radius: 18px;
  background: radial-gradient(circle at 0 0,rgba(255,27,161,0.25),transparent),
              radial-gradient(circle at 100% 100%,rgba(123,91,255,0.25),transparent),
              rgba(0,0,0,0.65);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cta-strip-title {
  font-weight: 700;
  font-size: 20px;
}

.cta-strip-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

.cta-strip-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Boutons globaux */
.btn-primary,
.btn-ghost {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(90deg,#ff1ba1,#7b5bff);
  color: #071022;
  box-shadow: 0 0 15px rgba(255,27,161,0.6);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
}

/* Contact accueil */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  margin-top: 26px;
}

.social-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.social-pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 13px;
}

/* bouton contact spécifique */
#contact .btn-primary {
  margin-top: 14px;
  display: inline-block;
}

/* ================= SOIREES ================= */

.events-container,
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  width: 90%;
  max-width: 1200px;
  margin: 140px auto 40px auto;
}

.event-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #0a0c18;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(123,91,255,0.3);
}

.event-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.9) contrast(1.05);
}

.event-card h2,
.event-card h3 {
  margin: 12px 0 6px;
  font-size: 1.3rem;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  color: #f39c12;
}

.event-card p {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  text-align: center;
}

/* DETAIL SOIREE (soiree1.html) */

.event-detail {
  width: 90%;
  max-width: 1100px;
  margin: 140px auto 60px auto;
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.event-poster {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.7);
  object-fit: cover;
}

.event-info .event-desc {
  margin-top: 16px;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
}

/* ================= GALERIE ================= */

/* layout principal galleries.html */
.gallery-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 30px;
  width: 100%;
}

/* sidebar albums */
.album-sidebar {
  width: 100%;
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}

.album-sidebar h3 {
  margin-bottom: 12px;
  color: var(--accent);
}

.album-sidebar ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.album-sidebar li {
  margin-bottom: 6px;
}

.album-sidebar a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 6px 0;
  font-weight: 500;
}

.album-sidebar a:hover {
  color: var(--accent);
}

/* contenu galerie */
.gallery-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center; /* centre carrousel + vidéos */
}

.gallery-content h1,
.gallery-content .subtitle {
  align-self: flex-start; /* titres alignés à gauche */
}

.gallery-content h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}

/* Carousel photos */
.carousel-container {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  position: relative;
  margin-bottom: 30px;
  background-color: #000;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform .5s ease-in-out;
  will-change: transform;
}

.carousel-item {
  min-width: 100%;
  height: 100%;
  flex: 0 0 100%;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  display: block;
}

/* boutons carousel */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.45);
  border: none;
  color: #fff;
  font-size: 26px;
  padding: 8px;
  cursor: pointer;
  z-index: 20;
  border-radius: 50%;
  line-height: 1;
}
.prev { left: 12px; }
.next { right: 12px; }

/* vidéos */
.video-grid {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}

.video-grid video {
  width: 33%;
  border-radius: 10px;
  cursor: pointer;
  background-color: #000;
  object-fit: cover;
}

/* lightbox */
.lightbox {
  display: none;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 999;
}

.lightbox img,
.lightbox video {
  max-width: 90%;
  max-height: 90%;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 50px;
  cursor: pointer;
  color: white;
}

/* ALBUM GRID (kamelon...) */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  padding: 20px;
}

.album-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  display: block;
}

.album-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
}

.album-lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.album-lightbox #albumClose {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 36px;
  cursor: pointer;
  color: #fff;
}

/* MAP (contact) */
.map-container {
  margin: 40px auto 0 auto;
  max-width: 1000px;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.45);
}

/* LIENS GLOBAUX */
a, a:visited {
  color: #fff;
  text-decoration: none;
}
a:hover, a:focus {
  color: var(--accent);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .video-grid {
    flex-direction: column;
  }
  .video-grid video {
    width: 100%;
  }
}

@media (max-width: 800px) {
  .gallery-layout {
    display: flex;
    flex-direction: column;
    padding: 16px 0 0 0;
  }
  .album-sidebar {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .card {
    text-align: center;
  }
  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  .hours-box {
    text-align: center;
  }
}

@media (max-width: 480px) {
  header { padding: 10px 12px; }
  .card { padding: 20px; }
  h1 { font-size: 20px; }
  body.index section { padding: 70px 16px; }
}
/* ================= AJUSTEMENTS RESPONSIVE SOIREES ================= */

@media (max-width: 900px) {
  .event-detail {
    width: 92%;
    margin: 120px auto 40px auto;
  }
}

@media (max-width: 800px) {
  .event-detail {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .event-info {
    text-align: center;
  }
}
/* ===== MAIN EVENT ===== */

.main-event {
  margin-bottom: 50px;
}

.main-event-card {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(255, 0, 150, 0.5);
  transition: 0.4s ease;
}

.main-event-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: brightness(0.6);
  transition: 0.4s ease;
}

.main-event-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
}

.main-event-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.main-badge {
  background: linear-gradient(90deg,#ff1ba1,#7b5bff);
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 15px;
  box-shadow: 0 0 20px rgba(255,27,161,0.8);
  animation: pulseMain 1.5s infinite alternate;
}

@keyframes pulseMain {
  from { box-shadow: 0 0 10px rgba(255,27,161,0.6); }
  to { box-shadow: 0 0 30px rgba(255,27,161,1); }
}

.main-event-overlay h2 {
  font-size: 48px;
  font-weight: 800;
  text-shadow: 0 0 20px #ff00c8;
}

.main-event-overlay p {
  font-size: 20px;
  margin-top: 10px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .main-event-card img {
    height: 250px;
  }
  .main-event-overlay h2 {
    font-size: 28px;
  }
}
