/* ========================= */
/* PROJECT PAGE */
/* ========================= */

.project-page {
  padding-top: 180px; /* 🔧 FIX espace header */
}

/* ========================= */
/* INTRO */
/* ========================= */

.project-intro {
  width: 80%;
  margin: 0 auto 100px;
}

.project-intro h1 {
  font-size: 64px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.project-intro p {
  max-width: 600px;
  opacity: 0.7;
}

/* ========================= */
/* GALLERY */
/* ========================= */

.project-gallery {
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* IMAGES */

.project-gallery img {
  width: 100%;
  height: auto;
  display: block;
}

/* 🔥 FIX HERO IMAGE */
.project-gallery img:first-child {
  height: 80vh;
  object-fit: cover;
}

/* ========================= */
/* TEXT BLOCK */
/* ========================= */

.project-text {
  max-width: 600px;
  margin: 40px auto;
  text-align: center;
}

.project-text p {
  opacity: 0.7;
  line-height: 1.6;
}

/* ========================= */
/* VIEWER 360 */
/* ========================= */

.project-viewer {
  width: 80%;
  margin: 100px auto;
  position: relative;
}

.project-viewer iframe {
  width: 100%;
  height: 1000px;
  border: none;
  border-radius: 6px;
}

/* ========================= */
/* BUTTON */
/* ========================= */

.viewer-fullscreen {
  position: absolute;
  bottom: 20px;
  right: 20px;

  padding: 10px 16px;
  font-size: 12px;
  letter-spacing: 1px;

  background: rgba(0,0,0,0.6);
  color: white;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 20px;

  cursor: pointer;
  transition: all 0.3s ease;
}

.viewer-fullscreen:hover {
  background: white;
  color: black;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 900px) {

  .project-intro,
  .project-gallery,
  .project-viewer {
    width: 90%;
  }

  .project-intro h1 {
    font-size: 42px;
  }

  .project-gallery {
    gap: 40px;
  }

  .project-viewer iframe {
    height: 400px;
  }

}