* {
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
  background: none;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/public/image/Light Show 2.png') no-repeat center center;
  background-size: cover;
  z-index: -2;
}

.anchor-link {
  color: #fdff77 !important;
  font-weight: 200;
}
.anchor-link-page {
  color: #00fdf9;
  font-family: 'Poppins', sans-serif;
  font-weight: 200;
  font-size: 1rem;
  display: block;
  margin: 0 auto;
  text-align: center;
}
.anchor-link-page:hover {
  color: #fdff77;
}

a.anchor-link,
a.anchor-link-page {
  position: relative;
  overflow: visible;
  transition: transform 0.2s ease;
}

a.anchor-link:active,
a.anchor-link-page:active {
  transform: scale(0.95);
}

/* droplet container */
a.anchor-link::before,
a.anchor-link-page::before,
a.anchor-link::after,
a.anchor-link-page::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: rgb(0, 247, 255); /* splash color */
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

/* splash on hover/click */
a.anchor-link:hover::before,
a.anchor-link:active::before,
a.anchor-link-page:hover::before,
a.anchor-link-page:active::before {
  animation: droplet1 0.6s ease-out forwards;
}

a.anchor-link:hover::after,
a.anchor-link:active::after,
a.anchor-link-page:hover::after,
a.anchor-link-page:active::after {
  animation: droplet2 0.6s ease-out forwards;
}

/* Keyframes for droplets going in different directions */
@keyframes droplet1 {
  0% {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 1;
  }
  100% {
    transform: translate(-150%, -250%) scale(1.5);
    opacity: 0;
  }
}

@keyframes droplet2 {
  0% {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 1;
  }
  100% {
    transform: translate(120%, -180%) scale(1.5);
    opacity: 0;
  }
}

.main-overlay {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* ================== ANIMATIONS ================== */
.floating-notes-container {
  position: absolute; /* It keeps it relative to the first section */
  pointer-events: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.floating-notes-container .note {
  position: absolute;
  font-size: 1.2rem;
  color: #fff; /* Pure white for maximum contrast */
  text-shadow: 0 2px 1px #f831ff, 0 0 2px rgb(0, 76, 255), 0 0 1px rgb(0, 255, 238); /* Glowing effect */
  animation: floatNote 10s linear infinite;
  opacity: 0.9;
}

@keyframes floatNote {
  0% {
    transform: translateY(100vh) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10vh) scale(1.5) rotate(360deg);
    opacity: 0;
  }
}

/* Animation popIn */
@keyframes popIn-dj-anim {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.popIn-dj-anim {
  animation: popIn-dj-anim 1.5s ease forwards;
}

/* First section */
.dj-professionnel {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  background: linear-gradient(rgba(0, 0, 0, 0.429), rgba(0, 0, 0, 0.788)),
  url('/public/image/colorfulnight.jpg') center/cover no-repeat;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  overflow: hidden;
}

.dj-professionnel h1 {
  font-size: 2.5rem;
  color: #00fdf9;
  text-transform: uppercase;
  text-shadow: 0 3px 2px rgb(29, 29, 29);
  margin-bottom: 0;
}

.dj-professionnel p {
  font-family: 'Poppins', Courier, monospace;
  font-weight: 200;
  max-width: 1200px;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #ffffff;
  text-align: justify;
  padding: 1rem;
  margin-top: 0;
  margin-bottom: 3rem;
  box-shadow: 0 8px 8px #00fdf970; /* Example value */
}

.dj-professionnel p::first-letter {
  font-size: 3rem;
  font-weight: 100;
  float: left;
  line-height: 1;
  margin-right: 8px;
  font-family: 'Poppins', sans-serif;
}

.cta-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color:#00fdf9;
  text-decoration: none;
  font-weight: 200;
  border-radius: 30px;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background-color: #00fdf931;
  color: #ffffff;
}

/* ================== 2, 3, 4 SECTION (Ambiance, Prestations, Avantages) ================== */
.section-ambiance-dj-pro,
.section-dj-pro-prestations,
.section-avantages-dj-professionnel {
  background-color: rgba(0, 0, 0, 0.7);
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  overflow: visible;
}

.section-avantages-dj-professionnel {
  margin-top: 5rem !important;
}

/* Headings */
.title-ambiance-dj-pro,
.title-dj-pro-prestations,
.title-avantages-dj-professionnel {
  width: 100%;
  max-width: 900px;
  font-size: 2rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
  color: #00fdf9;
  margin: 2rem auto;
  cursor: default;
}

.title-avantages-dj-professionnel {
  margin-top: 0;
}

.heading-avantages-dj-professionnel {
  letter-spacing: 0.04em;
  font-size: 1.4rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 200;
  cursor: pointer;
  position: relative;
  color: #00fdf9;
  text-align: left;
  transition: color 0.3s ease;
}

/* Advantages list as vertical stack with side border */
.list-avantages-dj-professionnel {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  border-left: 1px solid #00fdf9;
  max-width: 700px;
  padding-left: 1rem;
  margin: 0 auto;
}

/* Each advantage item */
.item-avantages-dj-professionnel {
  position: relative;
  cursor: default;
  transition: color 0.3s ease;
  outline-offset: 4px;
}

/* Text paragraph */
.text-avantages-dj-professionnel {
  font-family: 'Poppins', sans-serif;
  font-weight: 100;
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  user-select: text;
  max-width: 700px;
  text-align: justify;
}

/* Numbered bullet effect */
.item-avantages-dj-professionnel::before {
  content: counter(advantages-counter);
  counter-increment: advantages-counter;
  position: absolute;
  left: -1.1rem;
  top: -1rem;
  background-color: #00fdf9;
  color: #1b1b1b;
  font-weight: 100;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  width: 2rem;
  height: 2rem;
  text-align: center;
  line-height: 2rem;
  user-select: none;
}

/* Reset counter on container */
.list-avantages-dj-professionnel {
  counter-reset: advantages-counter;
}

/* Focus outlines for keyboard navigation */
.item-avantages-dj-professionnel:focus {
  outline: 1px solid #00fdf9;
  outline-offset: 4px;
}

/* ========== Ambiance DJ Pro Section ========== */
.divider-ambiance-dj-pro {
  width: 300px;
  height: 3px;
  background: linear-gradient(to right,#fb0000,#00fdf9, #b0ee08, #fd0808);
  margin: 0 auto 5rem;
  border-radius: 50%;
}

.accordion-item-ambiance-dj-pro,
.service-item-dj-pro-prestations {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  transition: background 0.3s ease;
  max-width: 900px;
  margin: 0 auto 2rem;
}

.subtitle-ambiance-dj-pro,
.subsubtitle-ambiance-dj-pro,
.subsubtitle-dj-pro-prestations {
  letter-spacing: 0.04em;
  font-size: 1.4rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 200;
  cursor: pointer;
  position: relative;
  color: #00fdf9;
  text-align: center;
  transition: color 0.3s ease;
}

/* Paragraph hidden by default, shown on hover */
.accordion-item-ambiance-dj-pro p,
.service-item-dj-pro-prestations p {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s ease, opacity 0.6s ease, padding 0.3s;
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  text-align: justify;
  font-weight: 100;
  font-size: 1rem;
  line-height: 1.6;
}

.service-item-dj-pro-prestations:hover {
  border-left: 1px solid #00fdf9;
  border-right: 1px dotted #fff;
}

.accordion-item-ambiance-dj-pro:hover p,
.service-item-dj-pro-prestations:hover p {
  max-height: 800px;
  opacity: 1;
  padding-top: 1rem;
}

.ambiance-cards-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.ambiance-card {
  position: relative;
  width: 100%;
  max-width: 280px;
  height: 450px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  border: 1px dotted rgb(0, 238, 255);
  transition: border-radius 0.3s ease;
}

/* First card */
.ambiance-card:nth-child(1) {
  border-top-left-radius: 40%;
}
/* Second card: no radius */
.ambiance-card:nth-child(2) {
  border-radius: 0;
}
/* Third card */
.ambiance-card:nth-child(3) {
  border-bottom-right-radius: 40%;
}

.ambiance-card:hover {
  border: 1px solid rgba(255, 0, 128, 0.661);
  border-radius: 0%;
}

.ambiance-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ambiance-card:hover img {
  transform: scale(1.03);
}

.overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.381), rgba(33, 4, 105, 0.292));
  z-index: 1;
}

/* Subtitle: always visible, centered on image */
.subsubtitle-ambiance-dj-pro {
  position: absolute;
  top: 40%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  color: #ffffff;
  background: #000000a0;
  font-size: 1.4rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 200;
  text-align: center;
  z-index: 2;
}

/* Paragraph overlay: hidden by default */
.paragraph-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  text-align: justify;
}

.ambiance-card:hover .paragraph-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Paragraph inside overlay */
.paragraph-overlay .paragraph-ambiance-dj-pro {
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 100;
  line-height: 1.6;
  max-height: 100%;
  overflow-y: auto;
}

/* Fifth section */
.section-choisir-dj-pro {
  margin: 0 auto;
  padding-top: 3rem;
  max-width: 1000px;
  background-color: rgba(0, 0, 0, 0.7);
}

.title-choisir-dj-pro {
  margin: 4rem 0 2rem;
  font-size: 2rem;
  font-weight: 300;
  color: #ffffff;
  text-shadow: 0 2px 1px rgb(251, 0, 255);
  text-align: center;
  text-transform: uppercase;
}

.slider-wrapper-choisir-dj-pro {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 700px;
  margin: 0 auto;
  overflow: hidden;
}

/* Video styles */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark overlay on top of video */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.71); /* adjust darkness here */
  z-index: 1;
}

/* Content above video and overlay */
.slider-wrapper-choisir-dj-pro h2,
.slider-wrapper-choisir-dj-pro .slides-choisir-dj-pro,
.slider-wrapper-choisir-dj-pro .slider-nav-choisir-dj-pro {
  position: relative;
  z-index: 2; /* ensures content is on top */
  color: #ffffff; /* make text white to contrast */
}

.slides-choisir-dj-pro {
  display: flex;
  transition: transform 0.6s ease;
  width: 100%;
}

.card-choisir-dj-pro {
  width: 100%;
  margin: 0 auto;
  padding: 0.5rem 2rem;
  flex-shrink: 0;
  opacity: 0.3;
  transform: scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
  border-bottom-right-radius: 10%;
  margin-top: 30%;
}

.card-choisir-dj-pro.active-choisir-dj-pro {
  opacity: 1;
  transform: scale(1);
}

.heading-choisir-dj-pro {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
}

.text-choisir-dj-pro {
  font-size: 1rem;
  color: #ffffff;
  line-height: 1.5;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  text-align: justify; /* Optional: to center the paragraph text */
}

.slider-nav-choisir-dj-pro {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.nav-btn-choisir-dj-pro {
  background-color: #00fdf9;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.nav-btn-choisir-dj-pro.active-choisir-dj-pro {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
}

/* AUDIO - Make the whole figure full width */
figure.section-dj-anim-audio {
  width: 100%;
  margin: 0 auto 0 auto; /* Center it horizontally */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.338);
  background: radial-gradient(rgba(0, 0, 0, 0.504) 50%, rgb(53, 53, 53) 80%, rgb(32, 32, 32) 90%, rgb(0, 0, 0) 100%);
  box-shadow: 0 0 90px 0 rgba(0, 0, 0, 0.785);
  padding: 20px 0 30px 0;
  position: relative;
  z-index: 0;
}

figcaption {
  display: none;
}

#title {
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 200;
  text-align: center;
}

#title a {
  color: rgb(27, 216, 250);
  text-transform: uppercase;
  font-weight: 400;
  font-style: italic;
}

/* Audio container inside */
.audio-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
}

/* Image container above the play button */
.img-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px; /* slightly bigger to cover play button */
  height: 70px;
  transform: translate(-50%, -50%);
  background-color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  cursor: pointer;
  transition: opacity 0.5s ease;
}

/* Image inside container */
.img-container img {
  object-fit: contain;
  width: 75%;
  animation: rotate 3s linear infinite;
  animation-play-state: paused;
}

/* When playing, rotate image */
.audio-container.play .img-container img {
  animation-play-state: running;
}

/* When image fades out */
.img-container.fade-out {
  opacity: 1;
  pointer-events: none;
}

/* Keyframes for rotation */
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Navigation (play, prev, next buttons) */
.navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  z-index: 1;
}

.action-btn {
  background: transparent;
  border: 0;
  color: white;
  font-size: 20px;
  cursor: pointer;
  padding: 10px;
  margin: 0 20px;
  position: relative;
  z-index: 0;
}

.action-btn.action-btn-big {
  font-size: 40px;
}

.action-btn:focus {
  outline: none;
}

/* Audio info + progress */
.audio-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 5px 5px 0 0;
  padding: 10px;
  width: calc(100% - 40px);
  position: absolute;
  top: 0;
  opacity: 0;
  transform: translateY(0%);
  transition: transform 0.3s ease-in, opacity 0.3s ease-in;
  z-index: 0;
}

.audio-info h4 {
  font-size: 21px;
  margin-top: 10px;
}

.audio-container.play .audio-info {
  opacity: 1;
  transform: translateY(-100%);
}

/* Progress bar */
.progress-container {
  background: white;
  border-radius: 5px;
  cursor: pointer;
  margin: 30px 0;
  height: 4px;
  width: 100%;
}

.progress {
  background-color: rgb(27, 216, 250);
  border-radius: 5px;
  height: 100%;
  width: 0%;
  transition: width 0.1s linear;
}

/* Time indicator */
.time-indicator {
  font-size: small;
  color: white;
  margin-top: 5px;
}

#contact-trigger a,
#faq-trigger {
  color:#b7b3b3;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  font-weight: 100;
  cursor: pointer;
}

.section-triggers {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 20px;
  font-size: 14px;
}

/* Scroll to top */
#scrollToTopBtn:hover {
  box-shadow: 0 2px 4px rgb(246, 1, 1);
  background-color: darkgray;
  background: radial-gradient(circle,#c208b9, #07a1b580, #000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}


/* ================== Responsive Styles ================== */
@media (max-width: 480px) {
  .main-overlay {
    padding: 1rem;
  }

  .section-ambiance-dj-pro,
  .section-dj-pro-prestations,
  .section-avantages-dj-professionnel {
    width: 100%;
    margin: 0 auto;
    padding: 0.5rem;
  }

  .divider-ambiance-dj-pro {
    width: 200px;
  }

  .subsubtitle-dj-pro-prestations,
  .heading-avantages-dj-professionnel {
    text-align: center;
  }

  .dj-professionnel {
    min-height: 100vh;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .dj-professionnel h1 {
    font-size: 1.7rem;
    margin-top: 70px;
  }

  .dj-professionnel p {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 0;
  }

  .card-choisir-dj-pro {
    margin-top: 0;
    padding: 0.5rem;
  }

    .section-triggers {
    font-size: 12px;
  }
}


@media screen and (min-width: 481px) and (max-width: 767px) {
  .dj-professionnel h1 {
    font-size: 2.2rem;
  }

  .dj-professionnel p {
    font-size: 1.3rem;
    line-height: 1.3;
    margin: 1rem 0;
    text-align: justify;
  }

    .section-triggers {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .title-ambiance-dj-pro,
  .title-dj-pro-prestations,
  .title-avantages-dj-professionnel,
  .title-choisir-dj-pro {
    font-size: 1.5rem;
  }

  .subtitle-ambiance-dj-pro,
  .subsubtitle-ambiance-dj-pro,
  .subsubtitle-dj-pro-prestations,
  .heading-choisir-dj-pro {
    font-size: 1.1rem;
  }

  .accordion-item-ambiance-dj-pro p,
  .service-item-dj-pro-prestations p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .ambiance-cards-container {
    flex-direction: column;
    align-items: center;
  }

  .ambiance-card {
    max-width: 100%;
    height: 400px;
    aspect-ratio: 4 / 3;
  }

  .subsubtitle-ambiance-dj-pro {
    font-size: 1rem;
  }

  .paragraph-overlay .paragraph-ambiance-dj-pro {
    font-size: 0.95rem;
  }
}
