/* Project Page Styles */

/* Project Page Layout */
.project-page {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: clamp(12px, 3vw, 24px);
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  padding: 8px 0;
  margin-bottom: 1rem;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: #141414;
}

.back-link i {
  font-size: 0.8rem;
}

/* Project Header */
.project-header {
  padding-block: clamp(2rem, 6vh, 4rem) clamp(2rem, 4vh, 3rem);
  border-bottom: 1px solid #e8e7e3;
  margin-bottom: clamp(2rem, 4vh, 3rem);
}

.project-header h1 {
  font-family: "Londrina Shadow", sans-serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 8vw, 4rem);
  line-height: 1;
  margin: 0 0 1rem;
  color: #141414;
}

.project-tagline {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: #555;
  margin: 0 0 2rem;
  line-height: 1.5;
  max-width: 600px;
}

/* Meta Grid */
.project-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem 2rem;
  max-width: 700px;
}

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

.meta-label {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
}

.meta-value {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #141414;
}

/* Project Sections */
.project-section {
  margin-bottom: clamp(3rem, 6vh, 5rem);
}

.project-section h2 {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 600;
  color: #141414;
  margin: 0 0 1.25rem;
}

.project-section p {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.7;
  color: #444;
  margin: 0 0 1.5rem;
  max-width: 720px;
}

.project-intro {
  font-size: clamp(1rem, 1.3vw, 1.1rem) !important;
  color: #333 !important;
}

/* Showcase Grid */
.showcase-grid {
  display: grid;
  gap: clamp(16px, 2.5vw, 24px);
}

.showcase-grid--2col {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.showcase-grid--1col {
  grid-template-columns: 1fr;
  max-width: 800px;
}

.showcase-item {
  margin: 0;
}

.showcase-item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #f1f0eb;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-item:hover img {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.showcase-item figcaption {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.85rem;
  color: #666;
  margin-top: 10px;
  text-align: center;
}

/* Full Width Image */
.showcase-full {
  margin: 0;
}

.showcase-full img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #f1f0eb;
}

/* Project Navigation */
.project-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 2rem;
  border-top: 1px solid #e8e7e3;
  margin-top: clamp(2rem, 4vh, 3rem);
  margin-bottom: clamp(3rem, 6vh, 5rem);
}

.project-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #141414;
  text-decoration: none;
  padding: 12px 20px;
  border: 2px solid #e0dfda;
  border-radius: 8px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.project-nav-link:hover {
  background-color: #f7f7f5;
  border-color: #cccbc5;
}

.project-nav-link i {
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 640px) {
  .project-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .project-nav-link {
    width: 100%;
    justify-content: center;
  }

  .showcase-grid--2col {
    grid-template-columns: 1fr;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .showcase-item:hover img {
    transform: none;
  }
}
