/* Work Page Specific Styles */

/* Work Hero Section */
.work-hero {
  text-align: center;
  padding: 10px 0 20px;
}

.work-title {
  font-size: 32px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.2s;
}

.work-subtitle {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  animation-delay: 0.4s;
}

/* Work Gallery */
.work-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 0 40px;
}

.gallery-item {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.gallery-item:nth-child(1) {
  animation-delay: 0.6s;
}

.gallery-item:nth-child(2) {
  animation-delay: 0.7s;
}

.gallery-item:nth-child(3) {
  animation-delay: 0.8s;
}

.gallery-item:nth-child(4) {
  animation-delay: 0.9s;
}

.gallery-item:nth-child(5) {
  animation-delay: 1s;
}

.gallery-item:nth-child(6) {
  animation-delay: 1.1s;
}

.gallery-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-title {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  padding: 0 20px;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

/* Hover Effects */
.gallery-image:hover img {
  transform: scale(1.1);
}

.gallery-image:hover .gallery-overlay {
  opacity: 1;
}

.gallery-image:hover .gallery-title {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 480px) {
  .work-title {
    font-size: 28px;
  }

  .gallery-title {
    font-size: 18px;
  }

  .work-gallery {
    gap: 12px;
  }
}
