/* Styles for the standalone project pages (uunchai.html, ujyalo.html)
   and the "Learn more" links on projects.html.
   output.css is a prebuilt Tailwind file, so new styles live here. */

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.project-link:hover { color: #ec4899; }

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
@media (min-width: 768px) {
  .project-actions { justify-content: flex-start; }
}

.btn-outline {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid #000;
  border-radius: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background-color 150ms, color 150ms;
}
.btn-outline:hover { background: #000; color: #fff; }

.btn-solid {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid #000;
  border-radius: 0.75rem;
  background: #000;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background-color 150ms, color 150ms;
}
.btn-solid:hover { background: transparent; color: #000; }

/* Shown until a real photo is added */
.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 300px;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #fef3c7, #fde68a 55%, #f59e0b);
  color: #78350f;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}
.photo-placeholder i { font-size: 4rem; }
@media (min-width: 768px) {
  .custom .photo-placeholder { min-width: 530px; height: 390px; }
}

/* Project detail page body */
.project-page {
  max-width: 64rem;
  margin: 5rem auto;
  padding: 0 1.25rem;
  line-height: 1.7;
}
.project-page h2 {
  font-size: 1.75rem;
  text-transform: uppercase;
  margin: 2.5rem 0 1rem;
}
.project-page p { margin-bottom: 1rem; }
.project-page .lead { font-size: 1.2rem; }

.project-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 2rem;
}
.project-hero-img--contain { object-fit: contain; max-height: 360px; }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}
@media (min-width: 768px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid--two { grid-template-columns: repeat(2, 1fr); }
}
.feature-card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.feature-card i { font-size: 1.75rem; margin-bottom: 0.75rem; }
.feature-card h3 { font-weight: 600; text-transform: uppercase; margin-bottom: 0.5rem; }
.feature-card p { margin: 0; }

.back-link { display: inline-block; margin-bottom: 2rem; }
