/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: #E9EAEC;
  color: black;
  font-family: 'coolvetica-compressed', sans-serif;
  font-size: 13px;
  line-height: 1.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  overflow-x: hidden;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
  scrollbar-width: none;
}



.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.cursor-pop-image {
  position: absolute;
  pointer-events: none;
  width: 300px;
  height: 300px;
  object-fit: contain;
  opacity: 1; /* apparition immédiate à pleine opacité */
  transform: translate(-50%, -50%);
  animation: popDisappear 0.1s linear forwards; /* disparition rapide */
}

#cursor-pop-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0; /* en arrière-plan */
}


.arrow-scroll {
  justify-content: center;
  align-items: center;
  height: 50px; /* ou la hauteur de ta flèche */
  opacity: 0;
  pointer-events: none;
  animation: fadeInArrow 1s ease forwards;
  animation-delay: 3s; /* sera déclenché dynamiquement en JS */
}

.arrow-scroll.visible {
  animation: fadeInArrow 1s ease forwards;
}

@keyframes fadeInArrow {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.arrow-scroll img {
  height: 60px;
  max-height: 10vh;
}


/* === LIENS === */
a {
    color:black ;
  text-decoration: none;
  transition: font-style 0.2s ease;
}

a:hover {
  font-style: italic;
}

/* === HEADER === */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #E9EAEC;
  mix-blend-mode: normal;
  z-index: 1000;
  height: 40px;
}

.header-left {
  text-transform: none;
  font-weight: 400;
}

.header-right a {
  margin-left: 20px;
  font-weight: 400;
}

/* === MAIN === */



.main-body {
      display: flex;
      flex-direction: row;
      padding: 5vh 2rem;
      position: relative;
    }

.main-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 100px 20px 120px;
  text-align: center;

}

.main-image {
  width: 40vw;
  height: auto;
  max-width: 100px;
  transition: opacity 0.3s ease;
  object-fit: contain;
  margin-bottom: 30px;
  opacity: 1;
  animation: fadeInImage 1.5s ease-out forwards;
  animation-delay: 0.2s;
    }
}

    @keyframes fadeInImage {
      to { opacity: 1; }
    }


.main-image.hooligans {
  width: 50vw;
  max-width: 400px;
}

.main-image.senzo {
  width: 50vw;
  max-width: 200px;
}

.main-image.indiana {
  width: 50vw;
  max-width: 400px;
}

.main-image.fade {
  opacity: 0;
  transition: opacity 0.3s ease;

}

    #films {
  scroll-margin-top: 150px; /* ou ajuste à 120px selon ton header */
}

.image-column img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
}

    .images-col {
      flex: 1;
      margin-left: 1rem;
      margin-right: 1rem;
    }
    .image-block {
      margin-bottom: 10vh;
    }
    .image-projet {
      height: auto;
      max-height: 60vh;
      width: 600px;
      object-fit: contain;
      display: block;
      cursor: pointer;
       transition: opacity 0.5s ease, transform 1s ease;
  opacity: 0;
  transform: translateY(20px);
    }

    .image-block.visible .image-projet {
  opacity: 1;
  transform: translateY(0);
}

    .titres-col {
      width: 300px;
      position: fixed;
      top: 50%;
      right: 2rem;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
       opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
    }

    .titres-col.visible {
  opacity: 1;
  pointer-events: auto;
}
    .titre-projet {
      text-align: right;
      color: rgba(0, 0, 0, 0.5);
      font-style: normal;
      font-weight: normal;
      transition: all 0.3s ease;
      text-decoration: none;
      cursor: pointer;
    }
    .titre-projet.active {
      color: black;
      font-style: italic;
      font-weight: normal;
    }
    .mobile-titre {
      display: none;
    }
    ::-webkit-scrollbar {
      display: none;
    }


/* === ABOUT TEXT === */
.about-text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 10px;
  text-transform: none;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.5;
  text-align: justify;
  color: black;
  text-transform: uppercase;
  margin-top: 20px;
  opacity: 0;
  animation: fadeInText 0.8s ease-in forwards;
  animation-delay: 0.5s;
  white-space: pre-line;
}

@keyframes fadeInText {
      0% { opacity: 0; filter: blur(4px); }
      100% { opacity: 1; filter: blur(0px); }
    }

/* === MENU OVERLAY === */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #E9EAEC;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;

}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.menu-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.menu-overlay.active .menu-content {
  transform: translateY(0);
  opacity: 1;
}

.menu-content a,
.footer-menu,
.header-right a,
.footer-links a {
  transition: font-style 0.2s ease;
}

.menu-content a:hover,
.footer-menu:hover,
.header-right a:hover,
.footer-links a:hover {
  font-style: italic;
}

    .video-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: #E9EAEC;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      z-index: 2000;
      padding: 2rem;
    }

    .video-overlay iframe {
      width: 80vw;
      height: 45vw;
      max-width: 960px;
      max-height: 540px;
    }

    .video-close {
      position: absolute;
      top: 1rem;
      right: 2rem;
      font-size: 2rem;
      cursor: pointer;
      color: black;
    }

    .video-title {
      margin-top: 1rem;
      font-size: 1rem;
      text-align: center;
      font-style: italic;
      color: black;
    }

        .photography-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 3rem 1.5rem;
      justify-content: space-between;
      padding: 0 2rem;
      align-items: flex-end;
      padding-bottom: 120px;
      padding-top: 10rem;
    }
    .image-container {
      position: relative;
      height: 250px;
      flex: none;
      cursor: pointer;
      opacity: 0;
      transition: opacity 1s ease;
    }
    .image-container.visible {
      opacity: 1;

    }
    .image-container img {
      height: 100%;
      width: auto;
      display: block;
    }
    .hover-title {
      position: absolute;
      bottom: -1.5rem;
      left: 0;
      width: 100%;
      text-align: left;
      opacity: 0;
      transition: opacity 0.3s ease;
      font-style: italic;
      color: black;
      font-size: 0.85rem;
    }
    .image-container:hover .hover-title {
      opacity: 1;
    }
    .lightbox {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: #E9EAEC;
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }
    .lightbox-content {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      max-width: 90vw;
    }
    .lightbox img {
      max-width: calc(90vw - 120px);
      max-height: 80vh;
      margin: 0 30px;
    }
    .lightbox .close-btn, .lightbox .arrow {
      position: absolute;
      font-size: 2rem;
      cursor: pointer;
      color: black;
      background: none;
      border: none;
    }
    .lightbox .close-btn {
      top: 20px;
      right: 30px;
    }
    .lightbox .arrow.left {
      left: 30px;
      top: 50%;
      transform: translateY(-50%);
    }
    .lightbox .arrow.right {
      right: 30px;
      top: 50%;
      transform: translateY(-50%);
    }
    .lightbox .series-title {
      margin-top: 1rem;
      font-style: italic;
      font-size: 1rem;
      color: black;
    }

    @keyframes fadeWord {
      from {
        opacity: 0;
        transform: translateY(10px);
        filter: blur(4px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
      }
    }

/* === FOOTER === */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #E9EAEC;
  z-index: 1000;
  height: 40px;
  box-sizing: border-box;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0px;
}

.footer-links a {
  flex: 1;
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  padding: 0 10px;
  color: black;
  text-decoration: none;
}

.footer-links a:first-child {
  text-align: left;
}

.footer-links a:nth-child(2) {
  text-align: center;
}

.footer-links a:last-child {
  text-align: right;
}

.footer-menu {
  display: none;
  font-size: 13px;
  padding: 0px;
  color: black;
  font-weight: 400;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px; /* ou la hauteur exacte de ta barre */
    background-color: #E9EAEC;
    z-index: 1000;
  }

.main-body {
        display: block;
        padding: 1rem;
      }
      .images-col {
        padding-top: 3rem;
      }
      .image-block {
        margin-bottom: 4vh;
      }
      .image-projet {
        width: 100%;
        max-width: 100%;
      }
      .photography-grid {
        flex-direction: column;
        align-items: center;
        padding-bottom: 120px;
      padding-top: 10rem;
      }
      .image-container {
        height: auto;
        opacity: 0;
        transition: opacity 1s ease;
        text-align: left;
      }
      .image-container.visible {
        opacity: 1;
      }
      .image-container img {
        width: 100%;
        height: auto;
      }
      .hover-title {
        position: static;
        opacity: 1;
        margin-top: 0.25rem;
        text-align: left;
        padding-left: 0;
      }
      .lightbox-content {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 0 1rem;
      }
      .lightbox img {
        margin: 0 30px;
        max-width: calc(100vw - 120px);
        height: auto;
      }
      .lightbox .arrow.left {
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
      }
      .lightbox .arrow.right {
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
      }
      .titres-col {
  display: none;
}

.mobile-titre {
  display: block;
  text-align: left;
  margin-top: 0.5rem;
  font-style: italic;
  color: black;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
    }




  .footer-links {
    display: none;
  }

  .footer-menu {
    display: block;
    position: fixed;
    right: 10px;
    bottom: 5px;
    background-color: #E9EAEC;
    padding: 0.5rem 1rem;

  }
}

.menu-close-btn {
  position: absolute;
      top: 1rem;
      right: 2rem;
      font-size: 2rem;
      cursor: pointer;
      color: black;
}

.menu-overlay.active .menu-close-btn {
  display: block;

}

/* Animation fade-in au chargement */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s ease-out forwards;
}

/* Définition de l’animation */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}



