/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #0f0f1a;
  color: white;
  overflow-x: hidden;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  width: 100%;
  height: 120%;
  background: url('https://images.unsplash.com/photo-1506157786151-b8491531f063') center/cover;
  top: 0;
  left: 0;
  z-index: -2;
  transform: translateY(0);
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.9));
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  text-align: center;
}

/* SECTIONS */
.section {
  padding: 80px 20px;
  text-align: center;
}

.section h2 {
  margin-bottom: 20px;
}

/* PROGRAM */
.program {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  background: #1a1a2e;
  padding: 20px;
  border-radius: 10px;
  width: 200px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
}

/* GALLERY */
.gallery {
  display: flex;
  flex-wrap: wrap;
}

/* Container */
.parallax-img {
  width: 33.33%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

/* Image */
.parallax-img img {
  position: absolute;
  top: -20%; /* permet le mouvement */
  left: 0;
  width: 100%;
  height: 160%; /* plus grand pour parallax */
  object-fit: cover;

  transform: translateY(0);
  will-change: transform;
}

/* MODAL */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* IMPORTANT */
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.8);
  z-index: 999;
}

/* MODAL CONTENT */
.modal-content {
  background: white;
  color: black;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

/* FORMULAIRE */
.modal-content form {
  display: flex;
  flex-direction: column;
}

.modal-content input {
  padding: 12px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

/* MAP */
.intervention {
  padding: 80px 20px;
  text-align: center;
}

.map-container {
  margin-top: 30px;
  width: 100%;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== BOUTONS UNIFIÉS ===== */
.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: 0.3s;
}

/* HERO BUTTON */
.hero .btn {
  background: #ff2e63;
  color: white;
}

.hero .btn:hover {
  background: #ff4e80;
}

/* CTA BUTTON */
.tickets .btn {
  background: white;
  color: #ff2e63;
  position: relative;
}

.tickets .btn:hover {
  background: #ffe6eb;
}

/* MODAL BUTTONS */
.modal .btn {
  background: #ff2e63;
  color: white;
  width: 100%;
}

.modal .btn:hover {
  background: #ff4e80;
}

/* CLOSE BUTTON IN MODAL */
.modal .close-btn {
  background: #333;
  color: white;
  margin-top: 15px;
}

.modal .close-btn:hover {
  background: #555;
}

/* TEXTE DEMO */
.demo-note {
  font-size: 0.8rem;
  color: #666;
  margin-top: 10px;
}

/* TICKETS */
.tickets {
  background: #ff2e63;
  padding: 60px 20px;
  text-align: center;
}

.ticket-card {
  background: #1a1a2e;
  padding: 30px;
  border-radius: 15px;
  margin: 20px;
  display: inline-block;
  width: 250px;
  transition: 0.3s;
}

.ticket-card:hover {
  transform: translateY(-10px);
}

/* ANIMATION MODAL */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .parallax-img {
    width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
  }
}