/* Project Detail Page Styles */

.project-detail.page-section {
  align-items: flex-start;
  padding-top: 96px;
  padding-bottom: 96px;
  min-height: auto; /* wrap contents instead of 120vh */
}

.project-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px; /* same spacing as solution detail */
  align-items: start; /* align both columns to top */
}

.project-content {
  align-self: start; /* align to top of grid row, level with image */
}

.project-image {
  width: 100%;
}

.project-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

.project-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-detail-title {
  font-family: var(--fam-font-heading);
  font-weight: 400;
  font-style: normal;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #202126;
  margin: 0;
}

.project-description {
  font-family: var(--fam-font-body);
  font-weight: 300; /* Light */
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.02em; /* 2% */
  color: rgba(32, 33, 38, 1);
}

.project-description p {
  font-family: var(--fam-font-body);
  font-weight: 300; /* Light */
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.02em; /* 2% */
  color: rgba(32, 33, 38, 1);
  margin: 0 0 16px 0;
}

.project-description p:last-child {
  margin-bottom: 0;
}

.project-detail .btn {
  align-self: flex-start; /* align button to left */
  margin-top: 8px;
}

/* Project overview specifics */
.project-overview-heading {
  font-family: var(--fam-font-heading);
  font-weight: 400;
  font-style: normal;
  font-size: 36px;
  line-height: 44px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #202126;
  margin: 0;
}

.project-overview-text {
  font-family: var(--fam-font-body);
  font-weight: 300;
  font-style: normal;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.02em;
  color: rgba(32, 33, 38, 1);
  margin: 0;
}

.project-meta-cards { margin-top: 24px; }

.project-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.detail-item { display: flex; align-items: center; gap: 12px; }
.detail-icon { width: 24px; height: 24px; }
.detail-text {
  font-family: var(--fam-font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.02em;
  color: rgba(32, 33, 38, 1);
}

.project-divider { margin: 36px 0; border: 0; border-top: 1px solid rgba(0,0,0,0.1); }

.scope-title {
  font-family: var(--fam-font-body);
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: 0;
  vertical-align: middle;
  text-transform: uppercase;
  color: #202126;
  margin: 0 0 0px 0;
}

.scope-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.scope-item { display: flex; align-items: center; gap: 12px; }

.scope-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.scope-text {
  font-family: var(--fam-font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.02em;
  color: rgba(32, 33, 38, 1);
}

/* Responsive adjustments */
@media (max-width: 980px) {
  .project-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .project-detail-title {
    font-size: 28px;
    line-height: 34px;
  }
}

@media (max-width: 480px) {
  .project-detail.page-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  
  .project-detail-grid {
    gap: 24px;
  }
  
  .project-detail-title {
    font-size: 24px;
    line-height: 30px;
  }
  
  .project-content {
    gap: 16px;
  }
}
