
/* assets */

@font-face {
      font-family: 'mutlu';
      src: url('../vendor/Mutlu__Ornamental.ttf');
      font-display: swap;
}
.mutlu {
  font-family: mutlu;
}

@font-face {
      font-family: 'LibreBaskerville';
      src: url('../vendor/LibreBaskerville-Regular.ttf');
      font-display: swap;
}
.baskerville {
  font-family: LibreBaskerville;
}


/* ===== Typographie générale ===== */
body, html {
  font-family: LibreBaskerville, serif;
  line-height: 1.6;
  margin: 0; padding: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: LibreBaskerville, serif;
  font-weight: 400;
  margin-bottom: 1rem;
}

span.rust {
  color: #ee7546 !important;
}

/* ==============================
   Ajustements d'espacement mobile
   ============================== */
  @media (max-width: 1200px) {
    /* Réduire les marges verticales trop grandes pour écrans <1200px */
    .mb-5 { margin-bottom: 2rem !important; }
    .mt-5 { margin-top: 2rem !important; }
    .py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  }

  @media (max-width: 992px) {
    /* Tablette */
    .mb-5 { margin-bottom: 1.75rem !important; }
    .mt-5 { margin-top: 1.75rem !important; }
    .py-5 { padding-top: 1.75rem !important; padding-bottom: 1.75rem !important; }
  }

  @media (max-width: 768px) {
    /* Mobile */
    .mb-5 { margin-bottom: 1.5rem !important; }
    .mt-5 { margin-top: 1.5rem !important; }
    .mb-4 { margin-bottom: 1rem !important; }
    .mt-4 { margin-top: 1rem !important; }
    .py-5 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
    .py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
  }

/* Intro */ 

  /* Vidéo fullscreen */ 
  #bg-video {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
  }
  #bg-video {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    object-fit: cover;
    z-index: -1;
  }

  /* Overlay */
  .overlay {
    position: relative;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
  }

  .overlay h1 {
    font-size: clamp(2.5rem, 8vw, 8rem);
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 2rem;
  }

  .nav-links {
    display: flex;
    gap: 2rem;
  }

  .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 1.5px;
    font-size: 1.5rem;
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.8s ease forwards;
  }

  .nav-links a:nth-child(1) {
    animation-delay: 0.2s;
  }
  .nav-links a:nth-child(2) {
    animation-delay: 0.4s;
  }
  .nav-links a:nth-child(3) {
    animation-delay: 0.6s;
  }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 4px;
    bottom: -5px;
    left: 0;
    background-color: rgba(138, 109, 59, 1);
    transition: width 0.3s ease;
  }

  .nav-links a:hover::after, .nav-links a:focus::after, .nav-links a:active::after {
    width: 100%;
  }


  /* Overlay texte centré */
  .overlay {
    position: relative;
    height: 100vh;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    font-family: mutlu;
  }

  /* Responsive : nav-links en colonne sur mobile */
    @media (max-width: 768px) {
      .overlay h1 {
        /* taille fluide mais plus grande qu'avant */
        font-size: 5rem;
        line-height: 1.12;
        letter-spacing: 0;          /* évite d'élargir le mot */
        margin: 0 0 3rem;
        white-space: normal;        /* autorise le retour à la ligne */
        word-break: normal;
        text-wrap: balance;         /* coupe "proprement" quand possible */
        max-width: 14ch;            /* ≈ force 2 lignes (“Ghislaine” / “Avan”) */
        margin-inline: auto;        /* centre le bloc */
      }

      .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 90%;
        margin: 0 auto; /* centrer horizontalement */
        padding: 1rem;
      }

      .nav-links a {
        font-size: 1.2rem; /* un peu plus petit pour mobile */
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
      }
    }


/* Navigation */
  .hamburger-btn {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 99999; /* très élevé pour être au-dessus de tout */
    background: rgba(0, 0, 0, 0.25);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 2rem;
    color: white;
  }
  .hamburger-btn .navbar-toggler-icon {
    filter: invert(1); /* rend l’icône blanche */
  }

  .hamburger-btn i {
    color: rgba(255, 255, 255, 1);
    font-size: 1.5rem; /* Ajuste la taille si besoin */
  }

  .offcanvas {
    z-index: 999999 !important;
  }


/* Disciplines */
  
/* Nouvelle bannière contrôlée par <img> */
.banner-wrapper {
  position: relative;
  width: 100%;
  height: 600px; /* hauteur desktop */
  overflow: hidden;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* remplissage propre */
  object-position: center; /* centré par défaut */
  display: block;
}

.banner-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.banner-overlay h1 {
  font-family: LibreBaskerville, serif;
  font-size: 3.5rem;
}

.banner-overlay h1::first-letter {
  font-size: 8.5rem;
  font-family: mutlu;
  letter-spacing: -0.2rem;
  margin-right: 0.2rem;
  line-height: 1;
}

  /* Style spécifique Tap-Dancer */
  .tapdancebanner::first-letter {
    letter-spacing: -40px;
  }
  /* Ajustement spécifique pour la page Brigade */
  .brigade-banner .banner-img {
    object-position: top; /* met en avant le haut de l'image */
  }
  /* Ajustement spécifique pour la page contact */
  .contact-banner,
  .contact-banner * {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

/* Responsive */
@media (max-width: 1200px) {
  .banner-wrapper { height: 450px; }
}

@media (max-width: 768px) {
  .banner-wrapper { height: 300px; }
  .banner-overlay h1 { font-size: 2.2rem; }
  .banner-overlay h1::first-letter { font-size: 4rem; }
}


/* Realisatrice */
  section {
    padding: 4rem 0;
  }

  @media (max-width: 768px){
    section {
      padding: 2rem 0 !important;
    }
    .row .col-md-6 + .col-md-6 h3 {
      margin-top: 1rem;
    }
  }


/* Tap dance */
  .tapdancebanner h1::first-letter {
    letter-spacing: -40px;
  }
  .video-container-tapdance {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  .video-container-tapdance iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 0;
  }

/* ===========================================
   Chorégraphe – Section Créations
   =========================================== */

/* Conteneur carré pour les images */
.creation-img-container {
  position: relative; /* nécessaire pour positionner l’icône play */
  width: 450px;
  height: 450px;
  overflow: hidden;
  border-radius: 8px;

  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

/* Lien cliquable (vers vidéo externe) */
.creation-img-container a.video-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

/* Image qui remplit le carré */
.creation-img-container img {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: filter 0.3s ease;
  margin: 0 auto;
}

/* Icône Play dorée centrée sur l’image */
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: #b97a57; /* doré harmonisé avec la teinte rust */
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 2;
  pointer-events: none; /* ne bloque pas le clic sur le lien */
}

/* Effets au survol */
.creation-img-container:hover .play-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.creation-img-container:hover img {
  filter: brightness(0.7);
}

/* ===========================================
   Créations – Ombres portées alternées
   =========================================== */

/* Style de base */
.creations-section .row {
  box-shadow: -8px 8px 18px rgba(0, 0, 0, 0.15);
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 6px;
  transition: box-shadow 0.3s ease;
}

/* Ombre alternée : à droite pour les rangées paires */
.creations-section .row:nth-child(even) {
  box-shadow: 8px 8px 18px rgba(0, 0, 0, 0.15);
}

/* Effet subtil au survol (adouci) */
.creations-section .row:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Responsive : supprime la direction alternée sur mobile */
@media (max-width: 768px) {
  .creations-section .row,
  .creations-section .row:nth-child(even) {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }
}

/* ===========================================
   Responsive adjustments
   =========================================== */

@media (max-width: 1200px) {
  .creation-img-container {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .creation-img-container img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 992px) {
  .creations-section .row {
    flex-direction: column !important;
  }

  .creations-section .col-md-6 {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 1.5rem; /* espace vertical entre image et texte */
  }
}

@media (max-width: 768px) {
  .creation-img-container {
    width: 100%;
    height: auto;
  }

  .creation-img-container img {
    width: 100%;
    height: auto;
  }

  .creations-section .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}


/* ABOUT */

.biographie {
  position: relative;
  padding-bottom: 100px;
  margin-top: 5rem;
}

.bio-img-inline img {
  height: 600px;
  width: auto;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
  .biographie {
    margin-top: 3rem;
    padding: 0 1rem !important;
  }
  .bio-img-inline img {
    height: 450px;
  }
}
.carousel-container {
  position: relative;
  max-width: 100%;
}

.carousel-inner {
  width: 100%;
}

.image-wrapper {
  width: 100%;
  aspect-ratio: 3 / 2; /* ou 3 / 2 selon l'effet souhaité */
  overflow: hidden;
  max-width: 800px;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Remplissage sans déformation */
  display: block;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  top: 45%;
  transform: translateY(-50%);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: black;
  background-size: 100% 100%;
  padding: 1rem;
}
.carousel-caption-static {
  text-align: center;
  font-size: 1rem;
  color: #000;
  max-width: 800px;
}

/* Compagnie */

/* Alternating Sections (sans image) */
.alternating-section {
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #eee;
}

.alternating-section .container {
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: center;
}

.alternating-section .text {
  width: 100%;
  max-width: 700px;
  text-align: left;
  padding: 1rem;
}

/* Alternance gauche/droite par alignement */
.alternating-section:nth-child(even) .text {
  text-align: right;
}

/* brigade */

/* Video iframe scaling */
.ratio iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive image-video block */
.object-fit-cover {
  object-fit: cover;
}

/* Carousel caption background for better visibility */
.carousel-caption {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 1rem;
  border-radius: 0.5rem;
} 