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

body {
  font-family: "Open Sans", serif;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #f0f0f0;
  line-height: 1.8;
  min-height: 100vh;
}

.header-image {
  width: 100%;
  height: 600px;
  background-position: center;
  background-size: cover;
  position: relative;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 20px #4ec0c4;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.header-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.logo-image {
  background-color: #4ec0c4;
  border-radius: 12%;
  width: 400px;
  object-fit: cover;
  height: 300px;
  margin: 0 auto;
  display: block;
  position: relative;
  background: rgba(127, 218, 222, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  pointer-events: none;
  border-radius: 12%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 60px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: -50px;
  position: relative;
}

h1 {
  font-size: 3.5rem;
  color: #f39c12;
  text-align: center;
  margin-bottom: 10px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  letter-spacing: 2px;
}

h2 {
  font-size: 1.5rem;
  color: #e67e22;
  text-align: center;
  margin-bottom: 20px;
  font-style: italic;
  font-weight: 300;
}

.instruments {
  text-align: center;
  color: #4ec0c4;
  font-size: 1rem;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.nav-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.nav-button {
  padding: 15px 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #f39c12;
  border: 2px solid #f39c12;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Georgia", serif;
}

.nav-button:hover {
  background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

.nav-button.active {
  background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
  color: #fff;
  box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

.description {
  text-align: justify;
  color: #ecf0f1;
  font-size: 1.1rem;
  margin: 15px 30px;
}

.links-section {
  margin-top: 50px;
  text-align: center;
}

.links-title {
  font-size: 1.3rem;
  color: #f39c12;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.links-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.events-section {
  margin-top: 50px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.event-card {
  overflow: hidden;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8);
}

.event-image-link {
  display: block;
  text-decoration: none;
}

.event-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.event-body {
  padding: 20px 20px 22px;
}

.event-date {
  color: #4ec0c4;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.event-venue {
  color: #f39c12;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.event-address {
  color: #ecf0f1;
  opacity: 0.95;
  margin-bottom: 16px;
}

.event-actions {
  display: flex;
  justify-content: flex-start;
}

.event-link {
  display: inline-block;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.1);
  color: #f39c12;
  text-decoration: none;
  border: 2px solid #f39c12;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(243, 156, 18, 0.35);
}

.event-link:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.55);
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  text-decoration: none;
}

.link-button {
  display: inline-block;
  padding: 15px 40px;
  background: rgba(255, 255, 255, 0.1);
  color: #f39c12;
  text-decoration: none;
  border: 2px solid #f39c12;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
  width: 100%;
  max-width: 400px;
}

.link-button:hover {
  transform: translateY(-3px);
  color: #fff;
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.6);
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  text-decoration: none;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* Ratio 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  background: #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
  background: #000;
}

/* Amélioration du chargement des vidéos */
.video-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 3px solid rgba(243, 156, 18, 0.3);
  border-top: 3px solid #f39c12;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.video-wrapper.loaded::before {
  opacity: 0;
  pointer-events: none;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Footer Styles */
.site-footer {
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
  padding: 40px 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.footer-group {
  font-size: 1.5rem;
  color: #f39c12;
  font-weight: 600;
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.footer-contact {
  margin: 0;
}

.footer-contact a {
  color: #e67e22;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(230, 126, 34, 0.3);
}

.footer-contact a:hover {
  color: #fff;
  background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

/* Social Links Styles */
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  width: 24px;
  height: 24px;
  color: #f0f0f0;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-link.instagram:hover {
  background: linear-gradient(135deg, #e4405f 0%, #c13584 100%);
  border-color: #e4405f;
}

.social-link.facebook:hover {
  background: linear-gradient(135deg, #1877f2 0%, #0d47a1 100%);
  border-color: #1877f2;
}

.social-link:hover .social-icon {
  color: #fff;
}

.social-link:hover .social-icon {
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .container {
    padding: 40px 25px;
    margin-top: -30px;
  }

  .header-image {
    height: 200px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .description {
    font-size: 1rem;
  }

  .nav-button {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .videos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .events-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .event-image {
    height: 180px;
  }

  .site-footer {
    margin-top: 40px;
    padding: 30px 0;
  }

  .footer-group {
    font-size: 1.3rem;
  }

  .footer-production {
    font-size: 1rem;
  }

  .footer-contact a {
    font-size: 1rem;
    padding: 6px 12px;
  }

  .social-links {
    gap: 15px;
    margin-top: 15px;
  }

  .social-link {
    width: 45px;
    height: 45px;
  }

  .social-icon {
    font-size: 1.3rem;
    width: 20px;
    height: 20px;
  }

  .logo-image {
    width: 250px;
    height: 200px;
  }
}

/* Styles du carrousel */
.carousel-container {
  max-width: 900px;
  margin: 40px auto;
  position: relative;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(243, 156, 18, 0.8);
  color: #fff;
  border: 2px solid #f39c12;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  user-select: none;
}

.carousel-button:hover {
  background: rgba(243, 156, 18, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 5px 20px rgba(243, 156, 18, 0.6);
}

.carousel-button:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-button:focus {
  outline: 2px solid #f39c12;
  outline-offset: 2px;
}

.carousel-prev {
  left: 15px;
}

.carousel-next {
  right: 15px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(243, 156, 18, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  margin: 0;
}

.carousel-indicator:hover {
  background: rgba(243, 156, 18, 0.6);
  transform: scale(1.2);
}

.carousel-indicator.active {
  background: #f39c12;
  border-color: #f39c12;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(243, 156, 18, 0.8);
}

.carousel-counter {
  text-align: center;
  margin-top: 15px;
  color: #f39c12;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Responsive pour le carrousel */
@media (max-width: 768px) {
  .carousel-container {
    margin: 30px auto;
  }

  .carousel-slides {
    height: 350px;
  }

  .carousel-button {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .carousel-prev {
    left: 10px;
  }

  .carousel-next {
    right: 10px;
  }

  .carousel-indicator {
    width: 10px;
    height: 10px;
  }
}
