/* Project HERO ---------------------------------------------------------- */


.project-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.project-hero-background video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.85);
}

.project-hero-background img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.85);
}

.project-hero-overlay {
  position: relative;
  z-index: 2;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  margin-bottom: 4rem;
  align-items: flex-start;
  margin-left: 4rem!important;
  margin-right: 4rem!important;
  border-radius: 0px;

}

.project-title {
  font-size: 3rem;
  line-height: 80%;
  font-family: 'Times New Roman', serif;
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: .5rem;
  text-decoration: none;
}

.project-meta {
  display: flex;
  gap: 2rem; /* space between Role and Timeline */
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #ccc;
  flex-wrap: wrap; /* ensures it wraps on smaller screens */
}

.project-meta .meta-item {
  flex: 1;
  min-width: 120px; /* ensures they stay somewhat balanced */
}

.meta-label {
  font-style: italic;
  color: #aaa;
  display: block;
  margin-bottom: 0.25rem;
}

.meta-value {
  color: #fff;
  font-weight: 500;
}

/* Tablet breakpoint (max 768px) */
@media (max-width: 768px) {

.project-hero-overlay {
  margin-left: 1rem!important;
  margin-right: 1rem!important;
   margin-bottom: 2rem;
  padding: 1.5rem;

}

.project-title {
  font-size: 2rem;
}

.project-meta  {
  margin: 0px;
}
.meta-item {
  padding-bottom: -10px;
  margin-bottom: 0px;
}

}

/* Project DESCRIPTION  ---------------------------------------------------------- */
.project-description {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0; 
  background: #000000;
}
.grad-background {
  background:  linear-gradient(rgb(28, 28, 28), rgb(0, 0, 0)); /* you can apply gradient later */
}

.project-section-title {
  font-family: 'Times New Roman', serif;
  font-style: italic;
  text-transform: uppercase;
  font-size: 4.5vw;
  text-align: left;
  line-height: 80%;
  padding-right: 16px;
  color: rgb(126, 126, 126);
  margin-bottom: 1rem;
}

.project-body-text {
  color: rgb(190, 190, 190);
  font-size: 1rem;
  line-height: 1.6;
  column-count: 2; /* Divides content into two columns */
  column-gap: 32px;

}

/* Tablet breakpoint (max 768px) */
@media (max-width: 768px) {
.project-body-text {
  column-count: 1; /* Divides content into two columns */
  column-gap: 32px;
}
.project-section-title {
  font-size: 8vw;
  
}

}

/* Tablet breakpoint (max 640px) */
@media (max-width: 640px) {
.project-body-text {
  column-count: 1; /* Divides content into two columns */
  column-gap: 32px;
}

.project-section-title {
  font-size: 10vw;
  
}
}





/* Project gallery  ---------------------------------------------------------- */

.project-gallery {
  background: #000000; /* you can apply gradient later */
}

.gallery-tile {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0px;
}


.tall-aspect {  
    aspect-ratio: 4 / 3; /* Ensures square shape */
}

.wide-aspect {  
  aspect-ratio: 16 / 9; /* Ensures square shape */
}

.skinny-aspect {  
  aspect-ratio: 5 / 1; /* Ensures square shape */
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}

.gallery-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;

}



/* Project Question ---------------------------------------------------------- */
.project-question-title {
  font-family: 'Times New Roman', serif;
  font-style: italic;
  text-transform: uppercase;
  font-size: 5.5rem;
  color: rgb(255, 255, 255);

}

/* Tablet breakpoint (max 768px) */
@media (max-width: 768px) {
    .project-question-title {
 font-size: 2rem;
}
}


.project-question {
  min-height: 25vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  background: rgb(0, 0, 0);
  box-shadow: 0 0 16px  rgba(0, 0, 0, 0.5);
}


.project-contact-icon {
  font-size: 4rem !important;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
  position: relative;
  z-index: 1;
  padding: 30px;
}

.project-contact {
  padding: 0 20px;
  min-height: 100px;
}



.project-question a:hover {
  transform: scale(1.1);
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  transition: all 0.9s ease;
}




/* Related Work ---------------------------------------------------------- */
#related-work {
  background-color: #ffffff;
}

.related-work-title {
  font-size: 2rem;
  line-height: 80%;
  color: #000000;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tile-caption {
  color: #a4a4a4;

}

.work-tile:hover .tile-caption {
  color: #000000;
  transition: transform 0.3s ease-in-out;  /* ✅ Add transition */

}