/* Reset de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  overflow-x: hidden;
  background: #fff;
}

body, html {
  height: 100%;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 10;
}

.logo {
  height: 60px;
  width: auto;
}

/* Navigation */
nav {
  position: relative;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: black;
  font-weight: 500;
}

nav ul li a {
  color: #e30613;
  text-decoration: none;
  font-weight: bold;
}

/* Burger menu */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: black;
}

/* Slider */
.slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: black;
}

.slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
}

/*@media (max-width: 1024px){
  .slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
}

}*/

.caption {
  position: absolute;
  bottom: 50px;
  left: 50px;
  color: white;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

/* Navigation flèches */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.nav.prev {
  left: 10px;
}

.nav.next {
  right: 10px;
}

/* Footer */
footer {
  background-color: white;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: #333;
  text-align: center;
}

footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

footer .contact-info {
  margin-top: 1rem;
  line-height: 1;
  color: black;
}

/* Events section */
.events {
  padding: 4rem 2rem;
  background-color: black;
  text-align: center;
}

.events h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #e30613;
}

.event-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.event {
  background-color: black;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  padding: 1rem;
  max-width: 300px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.event img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.event h3 {
  margin-bottom: 1rem;
  color: white;
}

/* Classe pour déclencher l'animation */
.event.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.scroll-down {
  margin-top: 2rem;
  animation: bounce 2s infinite;
  font-size: 2rem;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* Responsive */
@media (max-width: 1024px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
    display: none;
    background: white;
    width: 100%;
    padding: 1rem;
  }

  nav ul.active {
    display: flex;
  }

  .burger {
    display: flex;
  }

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

  .hero p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .scroll-down {
    font-size: 1.5rem;
  }

  footer {
    padding: 1.5rem;
  }

  footer .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .slide-caption {
    left: 10px;
    right: 10px;
    bottom: 20px;
    padding: 15px;
    max-width: 90%;
    font-size: 14px;
  }

  .slide-caption h2 {
    font-size: 16px;
  }

  .btn-ticket {
    padding: 10px 16px;
    font-size: 14px;
  }
}

.slide-caption {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background-color: #db2f2f; /* rouge comme dans ton exemple */
  color: white;
  padding: 20px;
  border-radius: 12px;
  max-width: 80%;
}

.slide-caption h2 {
  font-size: 18px;
  margin: 0 0 10px 0;
  font-weight: 500;
  font-family: sans-serif;
}

.btn-ticket {
  background-color: black;
  color: white;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
}

.hero-section {
  background-image: url('../src/concert.jpg'); /* remplace par ton image */
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  color: white;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* assombrit pour lisibilité */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 90%;
  animation: fadeInUp 1.5s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: slideInFromLeft 1.5s ease forwards;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  animation: fadeIn 2s ease 1.2s forwards;
  opacity: 0;
}

/* Animation personnalisée */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
