/* PROJECT PAGE – Grundlayout */
.project-page {

  max-width: 100vw;
  margin: 0 ;
}

a {
 font-size: 1.3rem;
  font-family: "Bitcount Grid Single", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
 
  text-decoration: none;
  color: white;


}

p {
  font-family: monospace;
  font-size: 1rem;
}

/* Hero */
.project-hero {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
  margin-bottom: 4rem;
}

.project-image img {
  width: 100%;
  height: 70vh;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.project-title h1 {
  padding-top: 10%;
  font-size: 3rem;
  font-weight: 400;
}

.project-subtitle {
  font-size: 1.2rem;
  opacity: 0.8;
  font-family: "Bitcount Grid Single", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}


/* Text */
.project-body {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.project-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.project-text p {
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 1rem;
}

/* Gallery */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.project-gallery img {
  width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* Video */
.project-video {
  margin-top: 2rem;
}

.project-video .video-frame {
  position: relative;
  height: 80vh;
  border-radius: 20px;
  overflow: hidden;
}

.project-video iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Meta */
.project-meta {
  margin-top: 2rem;
  opacity: 0.9;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  
}

/* Navigation */
.project-navigation {
  margin: 4rem 0;
  display: flex;
  justify-content: space-between;
}

.project-navigation a {
  font-weight: 500;
  font-size: 1.3rem;
}

/* =============================
   FULLSCREEN IMAGE LIGHTBOX
============================ */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

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

.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
  animation: fadeIn .2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Close Button */
.lightbox-close {
  position: fixed;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  opacity: 0.8;
}

.lightbox-close:hover {
  opacity: 1;
}

.project-center{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  

  height: 90vh;
}

/* SNAP-SCROLL */
.project-page {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  
}

.snap-section {
  height: 100vh;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
 
  padding: 6vh 6vw;
}



/* Galerie */
.project-gallery {
  margin-top: 2rem;
  display: flex;
  gap: 2rem;
}

.project-gallery img {
  width: 30%;
  border-radius: 8px;
}

/* Video */
.video-frame {
  width: auto;
  height: auto;
  aspect-ratio: 16/9;
  margin: 0 auto;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
}

/* Meta */

