/* PROJECTS PAGE */
.projects-main {
  padding-top: 100px;
}

.projects-hero {
  text-align: center;
  padding: 6rem 20px 4rem;
  max-width: 700px;
  margin: 0 auto;
}

.projects-hero__title {
  font-family: var(--body-font);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  color: #1a1a1a;
  margin: 1rem 0;
}

.projects-hero__intro {
  font-family: var(--body-font);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 300;
  color: #888;
  margin-top: 1rem;
  line-height: 1.8;
}

/* FEATURED PROJECTS */
.project-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  text-decoration: none;
  color: #1a1a1a;
  overflow: hidden;
}

.project-feature--reversed {
  direction: rtl;
}

.project-feature--reversed > * {
  direction: ltr;
}

.project-feature__img {
  position: relative;
  overflow: hidden;
}

.project-feature__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.project-feature:hover .project-feature__img img {
  transform: scale(1.03);
}

.project-feature__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.1);
  transition: background 0.4s ease;
}

.project-feature:hover .project-feature__overlay {
  background: rgba(0,0,0,0.2);
}

.project-feature__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px;
  background-color: #fffef9;
}

.project-feature__number {
  display: block;
  font-family: var(--nav-font);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 1.5rem;
}

.project-feature__title {
  font-family: var(--body-font);
  font-size: clamp(2rem, 3vw, 3.5rem);
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.project-feature__description {
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 300;
  color: #666;
  line-height: 1.9;
  margin-bottom: 2rem;
}

.project-feature__cta {
  font-family: var(--nav-font);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1a1a1a;
  transition: letter-spacing 0.3s;
}

.project-feature:hover .project-feature__cta {
  letter-spacing: 0.25em;
}

/* PROJECT DETAIL PAGE */
.project-main {
  padding-top: 0;
}

.project-detail-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.project-detail-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-detail-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
}

.project-detail-hero__text {
  position: absolute;
  bottom: 80px;
  left: 80px;
  color: white;
  z-index: 2;
}

.project-detail-hero__text .text__label {
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}

.project-detail-hero__title {
  font-family: var(--body-font);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  color: white;
  line-height: 1;
}

/* PROJECT INTRO */
.project-detail-intro {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 60px;
  text-align: center;
}

.project-detail-intro__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  text-align: left;
  margin-top: 2rem;
}

.project-detail-intro__text p {
  font-family: var(--body-font);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: #444;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.project-detail-intro__meta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 6px;
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-meta__label {
  font-family: var(--nav-font);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #bbb;
}

.project-meta__value {
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 300;
  color: #1a1a1a;
}

/* PROJECT IMAGES */
.project-detail-images {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 0 80px;
}

.project-img--full {
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
}

.project-img--full img {
  width: 100%;
  height: 85vh;
  object-fit: cover;
  display: block;
}

.project-img--duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.project-img--duo img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  display: block;
}

.project-img__caption {
  font-family: var(--nav-font);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #aaa;
  margin-top: 8px;
  padding: 0 20px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .project-feature,
  .project-feature--reversed {
    grid-template-columns: 1fr;
    direction: ltr;
    min-height: auto;
  }

  .project-feature__img {
    height: 60vw;
  }

  .project-feature__content {
    padding: 40px 20px;
  }

  .project-detail-hero__text {
    left: 20px;
    bottom: 40px;
  }

  .project-detail-intro {
    padding: 3rem 20px;
  }

  .project-detail-intro__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-img--duo {
    grid-template-columns: 1fr;
  }

  .project-img--full img,
  .project-img--duo img {
    height: 60vw;
  }
}