/* -------- BASE -------- */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  color: #000;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  background: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  z-index: 115;
}

.anton-regular {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.lekton-regular {
  font-family: "Lekton", monospace;
  font-weight: 400;
  font-style: normal;
}

.lekton-bold {
  font-family: "Lekton", monospace;
  font-weight: 700;
  font-style: normal;
}

.lekton-regular-italic {
  font-family: "Lekton", monospace;
  font-weight: 400;
  font-style: italic;
}

.logo img {
  height: 100px; /* ajuste selon la taille que tu veux */
  width: auto;
  display: flex;
}
.logo {
  z-index: 115;
}
.logo:hover {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}


#menu {
  display: flex; /* visible sur desktop */
}

#menu-toggle {
  display: none; /* caché par défaut (visible seulement mobile) */
}
main {
  padding-top: 0;
}

/* -------- DESKTOP NAV -------- */
#menu ul {
  display: flex;
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#menu li {
  margin-left: 20px;
}

#menu a {
  color: black;
  text-decoration: none;
  transition: 0.3s;
}

#menu a:hover {
  color: #aaa;
}

/* -------- MOBILE MENU -------- */
@media (max-width: 768px) {
  #menu {
    display: none;
    position: fixed;
    top: 80px; /* hauteur approximative du header */
    left: 0;
    width: 100vw;
    height: calc(100vh - 80px); /* prend le reste de la hauteur */
    background-color: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100; /* juste en dessous du header */
    padding: 0px;
    overflow-y: auto;
  }


  #menu.active {
    display: flex; /* le menu s'affiche quand activé */
  }
  #menu ul {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  

  #menu li {
    margin-bottom: 25px;
  }

  #menu a {
    font-size: 34px;       /* plus gros */
    padding: 2px 0;       /* plus d'espace vertical */
    display: block;        /* prend toute la largeur dispo */
    width: 100%;           /* pour occuper la largeur du menu */
  }

  #menu-toggle {
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 102;
    padding: 0;
  }
  #menu-toggle .bar {
    height: 4px;
    width: 100%;
    background-color: black;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
  }



  .menu-toggle {
    position: absolute;
    top: 45px;
    right: 20px;
    z-index: 102;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
  }

  
  /* Animation en croix */
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translateY(12.5px);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-12.5px);
  }
}
body.no-scroll {
  overflow: hidden;
  height: 100vh;
  position: fixed;
  width: 100%;
}
html.no-scroll {
  overflow: hidden;
}

/* Style de base de l'icône */
.insta-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.insta-link a:hover .insta-icon {
  filter: brightness(70%);
  transition: filter 0.3s ease;
}

/* Position sur desktop */
@media (min-width: 769px) {
  #menu ul {
    align-items: center;
  }

  .insta-link {
    margin-left: 10px;
  }

  .insta-link a {
    display: flex;
    align-items: center;
  }
}

/* Position sur mobile */
@media (max-width: 768px) {
  .insta-link {
    margin-top: 0px;
  }

  .insta-icon {
    width: 18px;
    height: 18px;
  }
}


.project {
  margin-bottom: 20px;
  text-align: center;
}

.wrapper {
  max-width: 1300px; /* à adapter selon la largeur des images */
  margin: 0 auto;
  width: 100%;
  padding: 0 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

/* Project gallery */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colonnes égales */
  gap: 0px; /* espace entre les images */
  justify-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.project-gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}


.project-info h2 {
  font-size: 14px;
  font-weight: normal;
  margin: 0;
  margin-top: 20px;
  text-transform: uppercase;
}

.project-info p {
  font-size: 14px;
  margin-top: 8px;
  color: #333;
}

@media (max-width: 768px) {
  .project-gallery {
    grid-template-columns: 1fr; /* 1 image par ligne */
    gap: 0.5rem;
    padding: 0 1rem;
  }

  .project-gallery img {
    max-width: 100%;
  }

  .project-info {
    text-align: center;
    margin-top: 1rem;
  }
}

.project-detail {
  text-align: center;
  padding: 30px 20px 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.behind-scenes-section {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px;
  padding-bottom: 0px;
}
.behind-scenes-section img {
  width: 100%;
  max-width: 900px; /* limite la taille des images sur grand écran */
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.behind-scenes-section-bottom {
  text-align: center;
  padding: 10px;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 0px;
}
.behind-scenes-section-bottom img {
  width: 100%;
  max-width: 449px; /* limite la taille des images sur grand écran */
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Responsive - sur téléphone */
@media (max-width: 768px) {
  .behind-scenes-section {
    flex-direction: column;
  }

  .behind-scenes-section img {
    max-width: 100%;
  }
  .behind-scenes-section-bottom {
    flex-direction: column;
  }

  .behind-scenes-section-bottom img {
    max-width: 100%;
  }
}

.video-wrapper {
  margin-top: 30px;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.video-thumbnail {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.menu-link.active {
  position: relative;
  color: #000000; /* facultatif */
}

.menu-link.active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px; /* épaisseur de la ligne */
  background-color: #000000; /* couleur de la ligne */
  transform: scaleX(1);
  transform-origin: left;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 40px;
  justify-content: center;
}

.gallery img {
  display: block;
  width: auto;
  height: 500px;
  object-fit: cover;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03) rotate(-1deg);
}

.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
}
.photos-wrapper {
  display: inline-block;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  column-count: 3;
  gap: 20px;
  justify-content: center;
}

.photos-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 0; /* coins carrés */
  cursor: pointer;
  transition: transform 0.2s ease;
  margin-bottom: 20px;
}

.photos-wrapper img:hover {
  transform: scale(1.02);
}
.photos-wrapper img.horizontal {
  grid-column: span 2;
  width: 100%;
}

@media (prefers-color-scheme: dark) {
  html, body {
    background-color: #ffffff !important;
    color: #000000 !important;
  }

  body * {
    color: inherit;
    /* Ne touche pas au background pour éviter d’écraser les éléments graphiques */
  }
}
.selected-work {
  font-family: "Anton", sans-serif;
  font-size: 24px;
  text-align: center;
  margin: 40px 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important; 
  height: 1px !important; 
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important; 
  white-space: nowrap !important;
  border: 0 !important;
}

.backstage_photo img {
  width: 400px;   
  height: auto;   
}
.contact-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* --- TOP ROW --- */
.top-row {
  display: flex;
  gap: 40px;
  align-items: stretch;
}

.image1 {
  flex: 1;
}

.image1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- TEXTE + INFOS --- */
.contact-text {
  flex: 1.4;
  text-align: justify;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0 20px 20px;
}

/* --- INFOS (PICTOS) --- */
.contact-infos {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.icon {
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  padding-right: 2px;
}
.icon2 {
  width: 15px;
  height: 15px;
  display: flex;
  justify-content: center;
  padding-right: 2px;
}

.info-item a {
  color: #000;
  text-decoration: none;
}

.info-item a:hover {
  text-decoration: underline;
}

/* --- BOTTOM ROW --- */
.bottom-row {
  display: flex;
  gap: 40px;
}

.bottom-row div {
  flex: 1;
}

.bottom-row img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .top-row {
    flex-direction: column;
  }

  .bottom-row {
    flex-direction: column;
  }

  .contact-text {
    border-left: none;
    border-top: 2px solid #000;
    padding: 20px 0;
  }

  .contact-infos {
    justify-content: center;
    gap: 15px 25px;
  }
  
}

/* ALIGNEMENT LATERAL */
.insta-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
}

/* FIXER HAUTEUR IDENTIQUE POUR LES 2 POSTS */
.insta-equal {
    width: 50%;
    max-width: 550px;
    height: 600px;         /* Ajuste ici : hauteur visible identique */
    overflow: hidden;      /* On masque le bas, sans casser Instagram */
    border-radius: 12px;   /* optionnel */
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    .insta-row {
        flex-direction: column;
    }

    .insta-equal {
        width: 100%;
    }
}
.text-xavier {
    max-width: 900px;          /* largeur du bloc */
    margin: 50px auto;         /* espace haut/bas + centré */
    padding: 25px 30px;        /* marges internes */
    background: #f7f7f7;       /* léger fond gris */
    border-radius: 12px;       /* angles arrondis */
    text-align: justify;       /* justification du texte */
    line-height: 1.6;          /* meilleure lisibilité */
    font-size: 18px;
    font-family: 'lekton', monospace;
}

/* liens dans le texte */
.text-xavier a {
    color: #0077cc;
    text-decoration: none;
    font-weight: 600;
}

.text-xavier a:hover {
    text-decoration: underline;
}
