/* Project Detail Page Styles */

/* Page Title */
.page-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  text-align: center;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0s;
}

/* Back Button */
.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--white);
  margin-bottom: 20px;
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.back-button:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateX(-4px);
}

.back-button svg {
  width: 20px;
  height: 20px;
}

/* Project Hero */
.project-hero {
  text-align: center;
  padding: 10px 0 32px;
}

.project-hero-image {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 24px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.4s;
}

.project-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.project-year {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 4px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.6s;
}

.project-client {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.7s;
}

.project-description {
  font-size: 14px;
  line-height: 1.7;
  color: var(--white);
  max-width: 100%;
  margin: 0 auto;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.8s;
}

/* Project Gallery */
.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 0 40px;
}

.project-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  cursor: pointer;
}

.project-image:nth-child(1) {
  animation-delay: 1s;
}

.project-image:nth-child(2) {
  animation-delay: 1.1s;
}

.project-image:nth-child(3) {
  animation-delay: 1.2s;
}

.project-image:nth-child(4) {
  animation-delay: 1.3s;
}

.project-image:nth-child(5) {
  animation-delay: 1.4s;
}

.project-image:nth-child(6) {
  animation-delay: 1.5s;
}

.project-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.project-image:hover img {
  transform: scale(1.05);
}

/* Full Width Image */
.project-image.full-width {
  grid-column: 1 / -1;
}

/* Behance Link */
.behance-link {
  text-align: center;
  padding: 24px 0 40px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 1.2s;
}

.behance-link p {
  font-size: 14px;
  color: var(--white);
}

.behance-link a {
  color: var(--orange);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.behance-link a:hover {
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 480px) {
  .project-title {
    font-size: 28px;
  }

  .project-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
