/* Global styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #0d0d0d; /* Fond sombre pour une ambiance plus immersive */
  color: #f1f1f1;
}

/* Header & Navbar */
header {
  overflow: hidden;
  color: #fff;
  padding: 100px 0;
  background-color: rgba(0, 0, 0, 0.8); /* Fond sombre pour le header */
  width: 90%;
  margin: 20px auto;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: 0 auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}

nav ul li {
  display: inline;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ffbf00; /* Changement de couleur sur survol */
}

/* Bande-annonce */
#bande-annonce {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80%;
  margin: 0 auto;
}

#video {
  position: fixed;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 177.77777778vh;
  height: 56.25vw;
  min-height: 100%;
  min-width: 100%;
}

/* Sections principales */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  margin: 20px auto;
}

section {
  margin-bottom: 40px;
  text-align: center;
}

.frame {
  position: relative;
  display: inline-block;
  padding: 20px;
  border-radius: 10px;
  color: white;
  font-size: 18px;
  overflow: hidden; /* Empêche les débordements */
}

/* Pseudo-élément pour le fond flouté */
.frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(139, 69, 19, 0.75); /* Marron semi-transparent */
  filter: blur(10px); /* Appliquer le flou */
  z-index: 0; /* Derrière le texte */
}

/* S'assurer que le texte reste net */
.frame * {
  position: relative;
  z-index: 1;
}

#introduction {
  color: white;
}

/* Boutons */
.btn {
  width: 95%;
  height: auto;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #ffbf00; /* Changer la couleur au survol */
}

/* Collaborations */
#collaborations {
  object-fit: cover;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#collaborations img {
  width: 30%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

#collaborations img:hover {
  transform: scale(1.1);
}

/* Médias */
.media-gallery {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.media-gallery img {
  max-width: 30%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
  overflow: hidden;
  color: #fff;
  padding: 20px 0;
  background-color: rgba(0, 0, 0, 0.8); /* Fond sombre pour le header */
  width: 90%;
  margin: 20px auto;
  text-align: center;
}

footer a {
  color: #ffbf00;
  text-decoration: none;
}

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

/* Réseaux sociaux */
.social-links a {
  margin: 0 10px;
}

.social-links img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.social-links img:hover {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  #collaborations img {
      width: 45%;
  }

  .media-gallery img {
      max-width: 45%;
  }

  #grid_catalogue {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  #grid_catalogue {
      grid-template-columns: 1fr;
  }

  #grid_catalogue img {
      width: 100%;
  }
}
