@import url('https://unpkg.com/aos@2.3.1/dist/aos.css');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

/* Reset & Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #4A90E2;        
  --secondary-color: #357ABD;      
  --accent-color: #F5F7FA;         
  --background-color: #F5F7FA;     
  --card-bg: #ffffff;              
  --light-text: #ffffff;           
  --font-family: 'Jost', sans-serif;
  --header-height: 80px;
  --border-radius: 8px;
  --last-color: rgb(0, 0, 0);
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--primary-color);
  background-color: var(--accent-color);
  margin: 0;
  padding: 0;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Header & Navigation */
header {
  width: 100%;
  background: var(--primary-color);
  color: var(--light-text);
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  padding: 0 20px;
  margin: 0 auto;
}

/* Header container to center content and prevent overflow */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 0;
}

/* Logo and hamburger wrapper */
.logo-menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.logo-title {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.logo {
  height: 60px;
  max-width: 100%;
  object-fit: contain;
}
h1 {
  color: var(--light-text);
  font-size: 1.8rem;
  margin: 0;
}

/* Hamburger Button */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  padding: 10px;
  margin-left: 20px; /* Added to add spacing between the hamburger menu and the logo */
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--light-text);
  margin: 4px 0;
  transition: all 0.3s ease;
}

.menu-toggle:focus {
  outline: none;
}

/* Navigation Menu (Desktop) */
.nav-menu {
  margin: 0; /* Supprime les marges qui causent le débordement */
  padding: 10px 15px;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  list-style: none; /* enlève les petits points */

}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  color: black;
  text-decoration: none;
  font-weight: 600;
  padding: 5px 10px;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-menu li a:hover {
  background: var(--accent-color);
  color: var(--primary-color);
  border-radius: 4px;
}

/* Dropdown Menu */
.dropdown-menu {
  display: none;
  position: absolute;
  background: var(--secondary-color);
  list-style: none;
  top: 100%;
  left: 0;
  min-width: 150px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 10;
  padding: 0;
  margin: 0;
}

.dropdown-menu li:not(:last-child) {
  border-bottom: 1px solid #000;
}

.dropdown-menu li a {
  display: block;
  padding: 8px 12px;
  white-space: nowrap;
  color: black;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-menu li a:hover {
  background: var(--accent-color);
  color: var(--primary-color);
  border-radius: 4px;
}

/* Show dropdown on hover (Desktop) */
.nav-menu li:hover .dropdown-menu {
  display: block;
}

/* Show dropdown in mobile when open */
.dropdown-menu.open {
  display: block;
}

/* Responsive Navigation for screens 1024px wide or less */
/* Responsive Navigation for screens 1024px wide or less */
@media (max-width: 1024px) {
  /* Ensure the logo and title display properly in mobile */
  .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  min-height: 60px;
}

  .logo-title {
    display: flex;
    align-items: center;
    gap: 10px;  /* Adds space between the logo and title */
    margin-right: auto;  /* Pushes the menu toggle to the right */
  }

  .logo {
    height: 90px; /* Adjust logo size on mobile */
    margin-right: 10px;
  }

  h1 {
    font-size: 1.2rem; /* Adjust font size on mobile */
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    margin-left: auto; /* Keeps hamburger on the right */
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
    gap: 10px;
    padding: 10px 5px;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    background-color: var(--secondary-color);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu li a {
    font-size: 0.9rem;
  }

  .dropdown-menu {
    position: static;
    min-width: 100%;
  }
}


/* Contenu principal */
main {
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
}

section {
  margin-bottom: 40px;
}

/* Cartes */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 20px;
}

.card h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.card p {
  margin-bottom: 10px;
}

.card .btn {
  display: inline-block;
  background: #006416;
  color: var(--light-text);
  padding: 8px 16px;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: background 0.3s;
}

.card .btn:hover {
  background: #e07b00;
}

.card .btne {
  display: inline-block;
  background: #006416;
  color: var(--light-text);
  padding: 8px 16px;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: background 0.3s;
  margin-left: auto; /* This pushes it to the right */
  width: fit-content; /* Prevents it from stretching full width */
  display: block; /* Needed for margin-left: auto to work in this context */

}
.button-row {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.card .btne:hover {
  background: #e07b00;
}

.btn-off {
  display: inline-block;
  margin-top: 10px;
  background: #ccc;
  color: #666;
  padding: 8px 16px;
  border-radius: var(--border-radius);
  text-decoration: none;
  cursor: not-allowed;
}

/* Section équipe */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.team-member {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  padding: 20px;
}

.team-member img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.team-member h4 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

/* Boutique */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 20px;
  text-align: center;
}

.product-card img {
  width: 120px;
  height: auto;
  margin-bottom: 10px;
}

.product-card h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.product-card .buy-btn {
  display: inline-block;
  margin-top: 10px;
  background: #ccc;
  color: #666;
  padding: 8px 16px;
  border-radius: var(--border-radius);
  text-decoration: none;
  cursor: not-allowed;
}

/* Footer  var(--primary-color) */
footer {
  background:var(--last-color);
  color: var(--light-text);
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
}

.social-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-links a img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* Slider (si utilisé) */
.slider {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.slider img {
  width: 100%;
  display: none;
  border-radius: var(--border-radius);
}

.slider img.active {
  display: block;
}

.slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(2, 48, 71, 0.8);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  padding: 8px 12px;
  cursor: pointer;
}

.slider .prev {
  left: 10px;
}

.slider .next {
  right: 10px;
}

/* Animations */
* {
  transition: all 0.3s ease;
}

.hero-section {
  animation: fadeIn 1s ease-in-out;
}

.card {
  transform: translateY(20px);
  opacity: 0;
  animation: floatUp 0.6s forwards;
}

.news-card {
  transform: scale(0.9);
  opacity: 0;
  animation: zoomIn 0.4s forwards;
}

.social-links a {
  transform: translateX(-20px);
  opacity: 0;
  animation: slideIn 0.5s forwards;
}

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

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

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateX(-20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

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

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.team-member:hover img {
  transform: scale(1.1);
}

/* Animations mobile */
@media (max-width: 1024px) {
  .card {
    animation: floatUpMobile 0.6s forwards;
  }
  @keyframes floatUpMobile {
    from { transform: translateY(10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
}
/* Responsive Video Container */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 20px 0;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* Add a right-pointing arrow on the left of links with dropdown menus */
.nav-menu li.has-dropdown > a::before {
  content: '➤';          /* Right arrow */
  font-size: 0.8em;       /* Adjust size as needed */
  margin-right: 5px;      /* Space between arrow and text */
  vertical-align: middle; /* Align with text */
  transition: transform 0.3s ease;
}

/* Rotate the arrow 90 degrees (to point downwards) on hover */
.nav-menu li.has-dropdown:hover > a::before {
  content: '▼';          /* Right arrow */
  font-size: 0.8em;       /* Adjust size as needed */
  margin-right: 5px;      /* Space between arrow and text */
  vertical-align: middle; /* Align with text */
  transition: transform 0.6s ease;
}
.download-btn {
  margin-top: 10px;
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  margin-top: 10px;
  background-color: #00acf0;
}
/* Section Évènements Passés */
/* Section Évènements Passés */
.past-events {
  margin-top: 40px;
  padding: 20px 0;
  background-color: var(--accent-color);
}

.past-events h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

/* Ensure past-container uses grid layout */
.past-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 100%; /* Allow it to span the full available width */
}

/* Optional: Adjust card style for past events if needed */
.past-container .card {
  padding: 15px;
  font-size: 0.9rem;
}

.band-section {
  margin: 60px auto;
  padding: 40px 20px;
  background-color: #f9f9f9;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  max-width: 1200px;
}

.band-section h3 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #b30059;
}

.band-intro {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #333;
}

.band-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.band-member {
  background-color: white;
  border-radius: 15px;
  padding: 20px;
  width: 180px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.band-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.band-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}


.band-member h4 {
  margin: 10px 0 5px;
  font-size: 1.1em;
  color: #444;
}

.band-member p {
  color: #777;
  font-size: 0.95em;
}
.media-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 200px;
  margin-top: 20px;
}

.carousel-track {
  display: flex;
  gap: 20px;
  animation: scroll-left 60s linear infinite;
}

.carousel-track img {
  height: 100%;
  border-radius: 10px;
  flex-shrink: 0;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* === SLIDER PRINCIPAL (index) === */
.slider-main {
  position: relative;
  max-width: 600px;
  margin: 40px auto 30px auto;
  background: #181c24;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 30px 0 50px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slider-main .slider-img-wrapper {
  width: 420px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #222;
  position: relative;
}

.slider-main .slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.slider-main .slider-track img {
  width: 420px;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  display: none;
}

.slider-main .slider-track img.active {
  display: block;
}

.slider-main .slider-arrow {
  background: #fff;
  color: #4A90E2;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.slider-main .slider-arrow.prev { left: 10px; }
.slider-main .slider-arrow.next { right: 10px; }

.slider-main .slider-arrow:hover {
  background: #4A90E2;
  color: #fff;
  transform: scale(1.1) translateY(-50%);
}

.slider-main .slider-counter {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
/* Style général du bouton */
.btn-inscription {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, #FF416C, #FF4B2B); /* Dégradé rouge/rose punchy */
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(255, 65, 108, 0.4);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.btn-inscription:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 75, 43, 0.6);
  background: linear-gradient(135deg, #FF4B2B, #FF416C); /* Inverse le dégradé pour l'effet */
}

/* Focus (accessibilité clavier) */
.btn-inscription:focus {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* === SLIDER MEDIA (medias.html) === */
.slider-media {
  position: relative;
  max-width: 600px;
  margin: 40px auto 60px auto;
  background: #fff;
  border-radius: 18px;
  border: 3px solid #4A90E2;
  box-shadow: 0 4px 24px rgba(74,144,226,0.10);
  overflow: hidden;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-media .slider-img-wrapper {
  width: 340px;
  height: 200px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.slider-media .slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.slider-media .slider-track img {
  width: 340px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  display: none;
}

.slider-media .slider-track img.active {
  display: block;
}

.slider-media .slider-arrow {
  background: #4A90E2;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.7rem;
  box-shadow: 0 2px 8px rgba(74,144,226,0.15);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.slider-media .slider-arrow.prev { left: 8px; }
.slider-media .slider-arrow.next { right: 8px; }

.slider-media .slider-arrow:hover {
  background: #357ABD;
  color: #fff;
  transform: scale(1.1) translateY(-50%);
}

/* === MOBILE RESPONSIVE FIXES === */
@media (max-width: 700px) {
  /* Container fixes */
  .container {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    overflow-x: hidden;
  }
  
  main {
    width: 100%;
    max-width: 100%;
    margin: 20px auto;
    padding: 0 10px;
    overflow-x: hidden;
  }
  
  /* Slider main fixes */
  .slider-main {
    width: 100%;
    max-width: 100%;
    margin: 20px auto 30px auto;
    padding: 20px 10px 40px 10px;
    border-radius: 12px;
    overflow: hidden;
  }
  
  .slider-main .slider-img-wrapper {
    width: 100%;
    max-width: 100%;
    height: 180px;
    margin: 0;
    border-radius: 8px;
  }
  
  .slider-main .slider-track {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
  }
  
  .slider-main .slider-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }
  
  /* Slider media fixes */
  .slider-media {
    width: 100%;
    max-width: 100%;
    margin: 20px auto 40px auto;
    padding: 15px 10px;
    border-radius: 12px;
    overflow: hidden;
  }
  
  .slider-media .slider-img-wrapper {
    width: 100%;
    max-width: 100%;
    height: 160px;
    margin: 0;
    border-radius: 8px;
  }
  
  .slider-media .slider-track {
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
  }
  
  .slider-media .slider-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
  }
  
  /* Arrow adjustments */
  .slider-main .slider-arrow,
  .slider-media .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.5rem;
  }
  
  .slider-main .slider-arrow.prev,
  .slider-media .slider-arrow.prev { 
    left: 5px; 
  }
  
  .slider-main .slider-arrow.next,
  .slider-media .slider-arrow.next { 
    right: 5px; 
  }
  
  /* Counter fixes */
  .slider-main .slider-counter {
    bottom: 8px;
    font-size: 0.9rem;
    padding: 4px 12px;
  }
}

/* Language Switcher */
.language-switcher {
  display: flex;
  gap: 0.5rem;
  margin-left: 2rem;
  align-items: center;
  flex-shrink: 0;
}

.lang-btn {
  background: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--white);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.lang-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.lang-btn.active {
  background: var(--accent-color);
  color: var(--black);
  border-color: var(--black);
}

/* Responsive pour les boutons de langue */
@media (max-width: 768px) {
  .language-switcher {
    margin-left: 1rem;
  }
  
  .lang-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .lang-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.7rem;
  }
}
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* === EXTRA MOBILE SAFETY === */
@media (max-width: 480px) {
  body, html {
    overflow-x: hidden;
    width: 100%;
  }
  
  .slider-main,
  .slider-media {
    margin: 15px 0 25px 0;
    padding: 15px 5px 35px 5px;
  }
  
  .slider-main .slider-img-wrapper,
  .slider-media .slider-img-wrapper {
    height: 140px;
  }
  
  .slider-main .slider-arrow,
  .slider-media .slider-arrow {
    width: 32px;
    height: 32px;
    font-size: 1.3rem;
  }
}
