/* =========================
   SINGLE PROJECT PAGE
========================= */

.project-single {
  background: #000;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- HERO ---------- */

.project-hero {
  position: relative;
  text-align: center;
}

.project-hero img {
  width: 100%;
  height: auto;
  display: block;
}

.project-hero h1 {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8%;
  font-size: clamp(28px, 4vw, 54px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  background: rgba(0,0,0,0.45);
}

/* ---------- INTRO ---------- */

.project-intro {
  max-width: 900px;
  margin: 80px auto 0;
  padding: 0 20px;
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.9;
}

/* ---------- MEDIA ---------- */

.project-media {
  margin: 100px auto 0;
  text-align: center;
}

.project-media img {
  max-width: 1400px;
  width: 100%;
  height: auto;
}

/* ---------- TEXT BLOCK ---------- */

.project-text {
  max-width: 900px;
  margin: 100px auto;
  padding: 0 20px;
  font-size: 17px;
  line-height: 1.8;
  opacity: 0.95;
}

/* ---------- PROJECT LINK ---------- */

.project-link {
  text-align: center;
  margin-bottom: 120px;
}

.project-link a {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.project-link a:hover {
  background: #fff;
  color: #000;
}

/* ---------- MOCKUP ---------- */

.project-mockup {
  max-width: 900px;
  margin: 0 auto 120px;
  padding: 0 20px;
}

.project-mockup img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- TESTIMONIAL ---------- */

.project-testimonial {
  background: #000;
  max-width: 900px;
  margin: 0 auto 140px;
  padding: 0 20px;
  font-size: 16px;
  line-height: 1.9;
  opacity: 0.85;
}

/* ---------- META ---------- */

.project-meta {
  text-align: center;
  padding-bottom: 120px;
}

.project-meta h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.project-meta p {
  font-size: 14px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- CAROUSEL META ---------- */

.project-carousel-meta {
  display: none; /* ready for later */
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 768px) {

  .project-hero h1 {
    font-size: 26px;
    padding: 0 20px;
  }

  .project-intro,
  .project-text,
  .project-testimonial {
    margin-top: 60px;
  }

  .project-media {
    margin-top: 60px;
  }

}
