/* =====================================
   PROJECT PAGE — EVI VERMEÊREN
===================================== */

/* HERO */

.project-hero {
  position: relative;
  min-height: 720px;
  height: 85svh;

  margin: 105px 20px 0;
  border-radius: 30px;

  overflow: hidden;
  background: #071015;
}

.project-hero-gradient {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      ellipse at 85% 90%,
      rgba(126, 211, 239, 0.95),
      transparent 48%
    ),
    radial-gradient(
      ellipse at 45% 100%,
      rgba(169, 231, 104, 0.9),
      transparent 48%
    ),
    radial-gradient(
      ellipse at 15% 65%,
      rgba(0, 173, 161, 0.85),
      transparent 48%
    ),
    radial-gradient(ellipse at 80% 10%, rgba(18, 31, 82, 0.9), transparent 60%),
    #071015;

  background-size: 120% 120%;

  animation: projectGradient 15s ease-in-out infinite alternate;
}

@keyframes projectGradient {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
  }
}

.project-hero-inner {
  position: relative;
  z-index: 2;

  height: 100%;
  padding: 40px 5%;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.back-link {
  transition: opacity 0.3s;
}

.back-link:hover {
  opacity: 0.65;
}

.project-hero-content {
  margin-top: auto;
  padding-bottom: 50px;
}

.project-eyebrow {
  margin-bottom: 25px;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
}

.project-hero h1 {
  font-size: clamp(65px, 10vw, 165px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -8px;
}

.project-hero h1 span {
  color: transparent;
  -webkit-text-stroke: 2px white;
}

.project-hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 50px;
}

.project-hero-bottom p {
  font-size: 22px;
  font-weight: 500;
}

.project-hero-arrow {
  width: 75px;
  height: 75px;

  border: 1px solid white;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 35px;
  transition: 0.3s;
}

.project-hero-arrow:hover {
  background: white;
  color: black;
  transform: rotate(45deg);
}

.project-hero-decoration {
  position: absolute;
  top: 100px;
  right: 5%;

  display: flex;
}

.project-hero-decoration span {
  font-size: 60px;
  margin-left: -15px;
}

/* =====================================
   PROJECT META
===================================== */

.project-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 30px;
  padding: 55px 7%;

  border-bottom: 1px solid var(--border);
}

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

.project-meta-item span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.project-meta-item strong {
  font-size: 17px;
  font-weight: 700;
}

/* =====================================
   PROJECT INTRO
===================================== */

.project-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
}

.project-intro h2 {
  font-size: clamp(50px, 6vw, 95px);
  line-height: 1;
  letter-spacing: -5px;
  font-weight: 900;
}

.project-intro h2 span {
  color: var(--green);
}

.project-intro-text p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 25px;
}

.project-intro-text .project-lead {
  color: white;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.6;
}

/* =====================================
   SHOWCASE
===================================== */

.project-showcase {
  padding: 0 20px;
}

.project-image-wrapper {
  position: relative;

  min-height: 550px;
  border-radius: 30px;

  overflow: hidden;

  background: linear-gradient(135deg, #0a4749, #a8e36e);
}

.project-image-wrapper img {
  width: 100%;
  height: 100%;
  min-height: 550px;

  object-fit: cover;
  display: block;
}

.project-image-caption {
  position: absolute;
  bottom: 30px;
  left: 35px;
  right: 35px;

  display: flex;
  justify-content: space-between;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;

  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* =====================================
   FEATURES
===================================== */

.project-features {
  background: #101616;
}

.project-features .section-heading h2 span {
  color: var(--green);
}

.project-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 20px;
}

.project-feature {
  min-height: 300px;

  padding: 40px;

  border: 1px solid var(--border);
  border-radius: 22px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transition: 0.35s;
}

.project-feature:hover {
  background: var(--green);
  color: #081008;

  transform: translateY(-6px);
}

.feature-number {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.project-feature:hover .feature-number {
  color: #081008;
}

.project-feature h3 {
  font-size: 27px;
  font-weight: 900;
  margin-top: 50px;
}

.project-feature p {
  color: var(--muted);
  line-height: 1.7;
  margin-top: 15px;
}

.project-feature:hover p {
  color: #243624;
}

/* =====================================
   GALLERY
===================================== */

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.project-gallery-item {
  margin: 0;
}

.project-gallery-item img {
  width: 100%;
  height: 420px;

  object-fit: cover;
  border-radius: 22px;

  background: #172323;
  display: block;
}

.project-gallery-item figcaption {
  display: flex;
  justify-content: space-between;

  padding-top: 20px;

  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

/* =====================================
   CTA
===================================== */

.project-cta {
  position: relative;

  min-height: 650px;
  margin: 20px;

  padding: 120px 7%;

  border-radius: 30px;
  overflow: hidden;

  background: #0a171a;
}

.project-cta-gradient {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      ellipse at 90% 100%,
      rgba(159, 226, 103, 0.9),
      transparent 50%
    ),
    radial-gradient(
      ellipse at 50% 80%,
      rgba(22, 190, 173, 0.8),
      transparent 55%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(74, 137, 214, 0.6),
      transparent 60%
    );
}

.project-cta-content {
  position: relative;
  z-index: 2;
}

.project-cta-content > p {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.project-cta h2 {
  font-size: clamp(65px, 10vw, 150px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -7px;

  margin: 35px 0 50px;
}

.project-cta h2 span {
  color: transparent;
  -webkit-text-stroke: 2px white;
}

.project-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 40px;

  padding: 20px 30px;

  background: white;
  color: black;

  border-radius: 100px;

  font-size: 13px;
  font-weight: 800;

  transition: 0.3s;
}

.project-cta-button:hover {
  background: var(--green);
}

.project-cta-button span {
  font-size: 25px;
}

/* =====================================
   NEXT PROJECT
===================================== */

.project-next {
  padding: 100px 7%;

  display: flex;
  flex-direction: column;
  gap: 25px;

  border-bottom: 1px solid var(--border);
}

.project-next > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.project-next a {
  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: clamp(30px, 5vw, 75px);
  font-weight: 900;
  letter-spacing: -3px;

  transition: color 0.3s;
}

.project-next a:hover {
  color: var(--green);
}

.project-next a span {
  font-size: 50px;
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 1000px) {
  .project-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-meta {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .project-hero {
    min-height: 650px;
    height: auto;

    margin: 85px 10px 0;
    border-radius: 20px;
  }

  .project-hero-inner {
    min-height: 650px;
    padding: 30px;
  }

  .project-hero h1 {
    font-size: clamp(42px, 10vw, 75px);
    letter-spacing: -3px;
  }

  .project-hero-top {
    font-size: 9px;
  }

  .project-hero-bottom {
    align-items: flex-start;
    gap: 30px;
  }

  .project-hero-bottom p {
    font-size: 17px;
  }

  .project-hero-arrow {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
  }

  .project-meta {
    padding: 45px 6%;
    gap: 35px;
  }

  .project-meta-item strong {
    font-size: 15px;
  }

  .project-intro h2 {
    font-size: 45px;
    letter-spacing: -2px;
  }

  .project-intro-text .project-lead {
    font-size: 19px;
  }

  .project-showcase {
    padding: 0 10px;
  }

  .project-image-wrapper,
  .project-image-wrapper img {
    min-height: 300px;
  }

  .project-image-caption {
    left: 20px;
    right: 20px;
    bottom: 20px;
    font-size: 9px;
  }

  .project-feature-grid,
  .project-gallery-grid {
    grid-template-columns: 1fr;
  }

  .project-feature {
    min-height: 250px;
  }

  .project-gallery-item img {
    height: 300px;
  }

  .project-cta {
    min-height: 500px;
    margin: 10px;
    padding: 90px 6%;
  }

  .project-cta h2 {
    font-size: clamp(45px, 10vw, 75px);
    letter-spacing: -3px;
  }

  .project-next {
    padding: 70px 6%;
  }

  .project-next a {
    font-size: 30px;
    letter-spacing: -1px;
  }

  .project-next a span {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-hero-gradient {
    animation: none;
  }
}
