:root {
  --main-color: #001d50;
  --gradient-color1: #eaae99;
  --gradient-color2: #84a9b4;
  --gradient-color3: #1f429d;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  scroll-behavior: smooth;
  font-family: "Cabin", sans-serif;
   background: linear-gradient(45deg, var(--gradient-color1), var(--gradient-color2), var(--gradient-color3), var(--gradient-color3), var(--gradient-color1));
  animation: gradientAnimation 20s ease infinite;
  background-size: 2200% 2200%;
}

/* Container enabling scroll snapping */
       .container {
scroll-snap-type: none;
height: auto;
}
/* Shift the container when nav is open */
.container.shifted {
  transform: translateX(250px); /* Adjust the value as needed */
}

/* Each section fills the viewport. Using sticky positioning combined with z-index for overlapping */
section {
  top: 0;
  height: auto !important;
scroll-snap-align: unset;
padding-bottom: 1rem; /* give a little breathing room */
  display: flex;
  align-items: left;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
}



/* Unique background colors and increasing z-index so later sections overlay earlier ones */
#section1 {
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: start;
  height: 100vh;
  box-sizing: border-box;
  animation: gradientAnimation 20s ease infinite;
  background-size: 300% 300%;

}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#section2 {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: start;
  height: 100vh;
  box-sizing: border-box;
  z-index: 2;
  animation: gradientAnimation 20s ease infinite;
  background-size: 300% 300%;
}

#section2 .title {
  margin-bottom: 10px;
  margin-top:0px;
  color: #fff;
  line-height: 0.5;
}

#section3 {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: start;
  height: 100vh;
  box-sizing: border-box;

  animation: gradientAnimation 20s ease infinite;
  background-size: 300% 300%;
  z-index: 3;
}

#section3 .title {
  margin-top:0px;
  margin-bottom: 20px;
  color: #fff;
  line-height: 0.5;
}

#section4 {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: start;
  height: 100vh;
  box-sizing: border-box;

  animation: gradientAnimation 20s ease infinite;
  background-size: 300% 300%;
  z-index: 4;
}

#section4 .title {
  margin-bottom: 20px;
  color: #fff;
  line-height: 0.5;
  margin-top:0px;
}

#section5 {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: start;
  height: 100vh;
  box-sizing: border-box;

  animation: gradientAnimation 20s ease infinite;
  background-size: 300% 300%;
  z-index: 4;
}




#section5 .title {
  margin-bottom: 20px;
  color: #fff;
  line-height: 0.5;
  margin-top:0px;
}

#section6 {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: start;
  height: 100vh;
  box-sizing: border-box;
  animation: gradientAnimation 20s ease infinite;
  background-size: 300% 300%;
  z-index: 6;
}

#section6 .title {
  margin-bottom: 20px;
  color: #fff;
  line-height: 0.5;
  margin-top:0px;
}


#section7 {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: start;
  height: 100vh;
  box-sizing: border-box;
  z-index: 2;
  animation: gradientAnimation 20s ease infinite;
  background-size: 300% 300%;
}

#section7 .title {
  margin-bottom: 20px;
  margin-top:0px;
  color: #fff;
  line-height: 0.5;
}

#section8 {
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: start;
  height: 100vh;
  box-sizing: border-box;
  animation: gradientAnimation 20s ease infinite;
  background-size: 300% 300%;
  z-index: 3;
}

#section8 .title {
  margin-top:0px;
  margin-bottom: 20px;
  color: #fff;
  line-height: 0.5;
}

/* Header styling for the hamburger icon */
header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 10px;
}
/* Hamburger menu icon styling */
.hamburger {
  width: 30px;
  cursor: pointer;
}
.hamburger div {
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
}

/* Navigation menu styling */
nav {
  position: fixed;
  top: 0;
  left: 0;
  background: #e6ae9a;
  padding: 20px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1200;
  width: 80%;
  max-width: 250px;
  height: 100%;
   box-shadow: inset -20px 0 20px -20px hsla(0,0%,0%,.20);
}
nav.open {
  transform: translateX(0);
}
nav ul {
  list-style: none;
  padding: 0;
  margin-top: 60px;
}
nav li {
  margin: 15px 0;
}
nav a {
  text-decoration: none;
  color: #fff;
  font-size: 1.5rem;
  opacity:0.5;
  text-transform:uppercase;
}

nav a:hover {
  text-decoration: none;
  color: #FFF;
  font-size: 1.5rem;
  opacity:1;
          text-transform:uppercase;

}

/* Close button styling within the nav menu */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color:#fff;
}

/* Additional styles remain unchanged */
.section {
  padding: 5%;
}
.section-image {
  width: 40%;
  height: auto;
}
.logo {
    height: 40px;
  }
  .logoqc {
    height: 30px;
  }
.title {
  font-size: clamp(2rem, 5vw, 5rem);
}
.subtitle {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
}
.med {
  font-size: clamp(1rem, 2.3vw, 1.8rem);
}
.med-marsoui {
  font-size: clamp(2.5rem, 2.5vw, 2rem);
}
p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #fff;
}
a {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #f6d7c6;
}
.small {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}
.column {
  width: 90%;
}
.boxes-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  padding: 20px;
}
.box {
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  flex: 1;
}
.two-columns {
  display: flex;
  flex-direction: column;
  width: 90%;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
}
.two-columns .left {
  flex: 0 0 70%;
  font-size: 1rem;
  color: #fff;
}
.two-columns .right {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
}
.box {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  color: #333;
}

@media (max-width: 768px) {
  .column {
  width: 95%;
}
  .title {
    margin-top:30px !important;
    }
  .carte {
    width:300px;
    }
  .two-columns {
    flex-direction: column;
  }
  .section-image {
    width: 50%;
    height: auto;
  }
  .med-marsoui {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
  }
  .logo {
    height: 30px;
  }
  .logoqc {
    height: 20px;
  }
  .med {
  font-size: clamp(1.1rem, 2.5vw, 2rem);
}
  nav {
padding: 10px; /* Reduce padding on mobile */
}
.close-btn {
right: 0; /* Adjust the right offset */
}
}



/* Animation pulse */
@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Bouton rond flottant */
#widgetToggle {
  position: fixed; bottom: 20px; right: 20px;
  width: 60px; height: 60px; border-radius: 50%;
  background-color: #2196F3; color: #fff; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 28px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000; transition: transform 0.2s;
}
#widgetToggle.playing { animation: pulse 1.5s infinite; }

/* Panneau du widget */
#widget {
  position: fixed; bottom: 100px; right: 20px;
  width: 300px; max-width: 90%; background: #fff;
  border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  padding: 15px; display: none; flex-direction: column; z-index: 999;
  z-index: 3000;
}
#closeWidget {
  position: absolute; top: 8px; right: 8px; background: none;
  border: none; font-size: 18px; cursor: pointer; color: #999;
}
#closeWidget:hover { color: #333; }
#widget h2 { font-size: 1.2em; margin-bottom: 10px; text-align: center; }

/* Messages */
#statusTop { font-weight:bold;font-size: clamp(0.9rem, 1.5vw, 1rem); text-align: center; margin: 6px 0;}
#timeLeft, #nextShow { font-size: clamp(0.9rem, 1.5vw, 1rem); margin: 0px 0; text-align: center; }

/* Contrôles */
#controls { display: none; margin-top: 10px; flex-direction: column; align-items: center; }
#controls button {
  font-size: clamp(0.9rem, 1.5vw, 1rem); padding: 8px 16px; border: none; border-radius: 5px;
  background-color: #2196F3; color: #fff; cursor: pointer; margin-bottom: 10px;
  width: 80px; text-align: center;
}

/* Timeline */
#timeline { display: none; width: 100%; height: 8px; background: #ddd; border-radius: 4px; overflow: hidden; }
#progress { height: 100%; width: 0%; background: #66ff00; }

/* Responsive */
@media (max-width: 400px) {
  #widget { bottom: 80px; right: 10px; width: 260px; }
  #widget h2 { font-size: 1.1em; }
  #timeLeft, #nextShow { font-size: 1.05em; }
  #controls button { width: 70px; font-size: 0.9em; }
}

#widgetToggleWrapper {
position: fixed;
bottom: 20px;
right: 20px;
width: 70px;
height: 70px;
z-index: 1000;
}
#progressRing {
display: none;
position: absolute;
top: 0;
left: 0;
transform: rotate(-90deg);
}
#widgetToggle {
font-family: "Cabin", sans-serif;
position: absolute;
top: 5px;
left: 5px;
width: 60px;
height: 60px;
border-radius: 50%;
background-color: #2196F3;
color: #fff;
border: none;
font-size: 28px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.launch-btn {
position: relative;         /* or relative, wherever you placed it */
font-family: "Cabin", sans-serif;
font-size: clamp(0.9rem, 1.5vw, 1rem);
background: #ffffff;
color: #001d50;
border: none;
border-radius: 25px;
padding: 12px 20px;
font-size: .8rem;
cursor: pointer;
z-index: 1000;
}
.launch-btn:hover {
background: #f0f0f0;
}
.don-btn {
position: relative;         /* or relative, wherever you placed it */
font-family: "Cabin", sans-serif;
font-size: clamp(0.9rem, 1.5vw, 1rem);
background: #ffffff;
color: #001d50;
border: none;
border-radius: 25px;
padding: 12px 20px;
font-size: .8rem;
cursor: pointer;
z-index: 1000;
}
.don-btn:hover {
background: #f0f0f0;
}

.fb-btn {
position: relative;         /* or relative, wherever you placed it */
font-family: "Cabin", sans-serif;
font-size: clamp(0.9rem, 1.5vw, 1rem);
background: #ffffff;
color: #001d50;
border: none;
border-radius: 25px;
padding: 12px 20px;
font-size: 1rem;
cursor: pointer;
z-index: 1000;
}
.fb-btn:hover {
background: #f0f0f0;
}
/* preserve existing .playing pulse if you like */
#widgetToggle.playing { animation: pulse 1.5s infinite;

}
/* overlay hidden by default */
#mobileOverlay {
display: none;
position: fixed;
top: 0; left: 0;
width: 100vw; height: 100vh;
background: rgba(0,0,0,0.6);
z-index: 1500;
align-items: center;
justify-content: center;
}
/* ensure the button inside is styled the same */
#overlayLaunchBtn {
background: #fff;
color: #001d50;
border: none;
border-radius: 25px;
padding: 12px 20px;
font-size: 1rem;
cursor: pointer;
box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
/* only show on small screens */
@media (max-width: 600px) {
#mobileOverlay { display: flex; }
}

@media (max-width: 600px) {
/* Disable scroll-snap on mobile */
#section1 {
  padding-top:50px;
}
.container {
  scroll-snap-type: none;
  height: auto;
}

/* Let each section grow to its own content height */
section {
  height: auto !important;
  scroll-snap-align: unset;
  padding-bottom: 2rem; /* give a little breathing room */
}
}


/* ===== Moved from inline <style> blocks in the HTML pages ===== */

/* --- Artist bios (section3) --- */
    /* Container for each artist */
    .artist {
      margin-bottom: 0em;
    }

    /* Header: image on the left, name+link on the right */
    .artist-header {
      display: flex;
      align-items: flex-start;
    }
    .artist-header img {
      width: 130px;
      height: 130px;
      object-fit: cover;
      margin-right: 1em;
      flex-shrink: 0;
    }
    .artist-header .info {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      flex: 1;
    }
    .artist-header .info strong {
      font-size: clamp(1rem, 2vw, 1.3rem);
      margin-bottom: 0.6em;
    }
    .artist-header .info .read-more {
      font-size: clamp(1rem, 2vw, 1.3rem);
      color: #f6d7c6;
      text-decoration: none;
      cursor: pointer;
      align-self: flex-start;
    }
    .artist-header .info .read-more:hover {
      text-decoration: underline;
    }

    /* Collapsible paragraph */
    .small2 {
      max-height: 0em;
      overflow: hidden;
      transition: max-height 0s;
      margin-top: 1em;
    }
    .small2.expanded {
      max-height: 100em;
    }


/* --- FAQ (section8) --- */
          /* Container for FAQ items */
          .faq-item {
            margin-bottom: 0em;
          }
          /* Question styling */
          .faq-question {
            display: block;
            font-weight: bold;
            cursor: pointer;
            color: #f6d7c6;
            text-decoration: none;
            margin-bottom: 0.5em;
          }
          .faq-question:hover {
            text-decoration: underline;
          }
          /* Réponse cachée par défaut */
          .faq-answer {
            display:none;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0;
            padding-left: 1em; /* indentation pour différencier de la question */
          }
          /* Réponse déployée */
          .faq-answer.expanded {
            max-height: 100em;
            display:block;
          }


/* --- Mobile / desktop visibility helpers (section6) --- */
  .mobile-only {
    display: none;
  }

  @media (max-width: 767px) {
    .desktop-only {
      display: none;
    }
    .mobile-only {
      display: block;
    }
  }
