@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap');

.our-work-page {
  width: 100%;
  min-height: 100vh;
  background: #fbfaf6;
  color: #1b3027;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}

.our-work-page * {
  box-sizing: border-box;
}

/* HERO */

.work-hero {
  min-height: 430px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  padding: 75px 8%;
  color: white;
  background:
    radial-gradient(circle at 85% 30%, #26764f, transparent 35%),
    linear-gradient(115deg, #0b3929, #176b45);
}

.work-hero-content {
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.work-eyebrow {
  color: #b7dfe7;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
}

.work-hero h1 {
  margin: 22px 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(45px, 6vw, 70px);
  line-height: 1.1;
}

.work-hero h1 em {
  color: #b7dfe7;
  font-weight: 500;
}

.work-hero-content p {
  max-width: 580px;
  color: #d5e2d9;
  font-size: 14px;
  line-height: 1.9;
}

.work-hero-btn {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  margin-top: 28px;
  padding: 15px 22px;
  color: #172d21;
  background: #4f97ac;
  font-size: 12px;
  font-weight: 700;
}

.work-hero-cross {
  position: absolute;
  right: 15%;
  top: 25%;
  font-size: 100px;
  color: rgba(183, 223, 231, .2);
}

/* INTRODUCTION */

.work-introduction {
  max-width: 850px;
  margin: auto;
  padding: 85px 25px;
  text-align: center;
}

.work-section-label {
  color: #176b45;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.work-introduction h2,
.projects-heading h2,
.work-cta h2 {
  margin: 18px 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.2;
}

.work-introduction h2 em,
.projects-heading h2 em,
.work-cta h2 em {
  color: #176b45;
  font-weight: 500;
}

.work-introduction p {
  max-width: 730px;
  margin: auto;
  color: #68766e;
  font-size: 13px;
  line-height: 2;
}

/* PROJECTS */

.projects-section {
  padding: 85px 7%;
  background: #f1f5f0;
}

.projects-heading {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.projects-heading h2 {
  margin-bottom: 0;
}

.projects-heading > p {
  max-width: 350px;
  color: #68766e;
  font-size: 12px;
  line-height: 1.8;
}

.projects-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.work-project-card {
  background: white;
  border: 1px solid #e8eee8;
  overflow: hidden;
  transition: .3s ease;
}

.work-project-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 35px rgba(23, 61, 39, .1);
}

.project-image {
  height: 230px;
  position: relative;
  overflow: hidden;
  background: #eaf3ed;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.work-project-card:hover .project-image img {
  transform: scale(1.06);
}

.project-category {
  position: absolute;
  bottom: 15px;
  left: 15px;
  padding: 8px 12px;
  background: #176b45;
  color: white;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
}

.project-card-content {
  padding: 25px;
}

.project-number {
  color: #4f97ac;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}

.project-card-content h3 {
  margin: 12px 0;
  color: #104b33;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  line-height: 1.3;
}

.project-card-content p {
  color: #68766e;
  font-size: 11px;
  line-height: 1.9;
}

.project-view-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  padding: 0 0 7px;
  border: none;
  border-bottom: 1px solid #4f97ac;
  background: none;
  color: #176b45;
  font-size: 11px;
  font-weight: 700;
}

.project-view-btn span {
  color: #4f97ac;
}

/* SCRIPTURE */

.work-scripture {
  padding: 65px 20px;
  background: #104b33;
  color: white;
  text-align: center;
}

.work-scripture > span {
  color: #b7dfe7;
  font-size: 28px;
}

.work-scripture blockquote {
  max-width: 800px;
  margin: 20px auto;
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3vw, 29px);
  font-style: italic;
  line-height: 1.5;
}

.work-scripture strong {
  color: #b7dfe7;
  font-size: 10px;
  letter-spacing: 3px;
}

/* CTA */

.work-cta {
  padding: 85px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.work-cta > div {
  max-width: 650px;
}

.work-cta h2 {
  font-size: 38px;
}

.work-cta p {
  color: #68766e;
  font-size: 12px;
  line-height: 1.9;
}

.work-cta-btn {
  flex-shrink: 0;
  padding: 16px 25px;
  color: white;
  background: #176b45;
  font-size: 11px;
  font-weight: 700;
  transition: .3s;
}

.work-cta-btn:hover {
  background: #0b3929;
  transform: translateY(-3px);
}

/* PROJECT MODAL */

.project-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 30, 20, .8);
  overflow-y: auto;
}

.project-modal {
  position: relative;
  width: 100%;
  max-width: 750px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: white;
  color: #104b33;
  font-size: 25px;
}

.modal-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.modal-content {
  padding: 30px;
}

.modal-content h2 {
  margin: 12px 0;
  color: #104b33;
  font-family: 'Playfair Display', serif;
  font-size: 30px;
}

.modal-content > p {
  color: #68766e;
  font-size: 12px;
  line-height: 1.9;
}

.modal-content h3 {
  margin: 25px 0 15px;
  font-size: 14px;
}

.modal-content ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.modal-content li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #68766e;
  font-size: 12px;
}

.modal-content li span {
  color: #176b45;
  font-weight: bold;
}

.modal-verse {
  margin-top: 25px;
  padding: 22px;
  border-left: 3px solid #4f97ac;
  background: #f1f5f0;
}

.modal-verse > span {
  color: #176b45;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}

.modal-verse p {
  margin: 12px 0;
  color: #34483b;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
}

.modal-verse strong {
  color: #176b45;
  font-size: 10px;
}

/* RESPONSIVE */

@media (max-width: 900px) {

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 600px) {

  .work-hero {
    min-height: 390px;
    padding: 55px 23px;
  }

  .work-hero h1 {
    font-size: 44px;
  }

  .work-hero-cross {
    right: 8%;
    font-size: 70px;
  }

  .work-introduction {
    padding: 65px 22px;
  }

  .projects-section {
    padding: 65px 20px;
  }

  .projects-heading {
    display: block;
  }

  .projects-heading > p {
    margin-top: 15px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-image {
    height: 240px;
  }

  .work-cta {
    padding: 65px 23px;
    flex-direction: column;
    align-items: flex-start;
  }

  .work-cta h2 {
    font-size: 32px;
  }

  .modal-image {
    height: 210px;
  }

  .modal-content {
    padding: 22px;
  }

}