/* Portfolio Project Pages Styles */

.project-hero {
  margin-top: 60px;
}

.project-hero__image {
  width: 100%;
  height: 60vh;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

.project-hero__content {
  text-align: center;
  padding: 2.5rem 1.5rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.project-hero__category {
  display: inline-block;
  background: var(--navy, #424F7A);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.project-hero__title {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--navy, #424F7A);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.project-hero__location {
  font-size: 1rem;
  color: var(--gray, #707070);
  letter-spacing: 0.05em;
}

.project-content {
  max-width: 800px;
  margin: 0 auto;
}

.project-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-color, #4B4F58);
}

.project-description p {
  margin-bottom: 1.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-2px);
}

.gallery-item__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item__image {
  transform: scale(1.05);
}

.project-navigation {
  text-align: center;
  padding: 2rem 0;
}

@media (max-width: 768px) {
  .project-hero__image {
    height: 50vh;
    min-height: 300px;
  }
  
  .project-hero__title {
    font-size: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-item {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 480px) {
  .project-hero__title {
    font-size: 1.5rem;
  }
  
  .project-description {
    font-size: 1rem;
  }
}