/* Container */
.work-section {
  min-height: 100vh;
  padding: 128px 0;
}

/* Header */
.work-header {
  text-center;
  margin-bottom: 96px;
}

/* .work-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.work-description {
  font-size: 20px;
  color: #6b7280;
  max-width: 672px;
  margin: 0 auto;
  line-height: 1.6;
} */

/* Masonry Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 96px;
}

/* Project Card */
.project-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background-color: #f9fafb;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.project-card:hover {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.05);
}

/* Half Width Cards */
.project-card-half {
  grid-column: span 1;
}

/* Full Width Cards */
.project-card-full {
  grid-column: span 2;
}



/* Image Container */
.project-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

/* Overlay */
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

/* Project Info */
.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px;
}

.project-category {
  gap: 8px;
}

.project-category p {
  padding-bottom: 0;
  margin-bottom: 0;
      color: var(--primary);
    font-size: 14px;
}

.project-title {
  font-size: 32px;
  font-weight: 700;
  color: white;
}

/* Responsive Design */
@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card-full {
    grid-column: span 2;
  }

  .work-title {
    font-size: 72px;
  }

  .project-title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .work-section {
    padding: 80px 16px;
  }

  .work-title {
    font-size: 40px;
  }

  .work-header {
    margin-bottom: 64px;
  }

  .work-description {
    font-size: 18px;
  }

  .portfolio-grid {
    margin-bottom: 64px;
  }

  .project-info {
    padding: 32px;
  }

  .project-title {
    font-size: 24px;
  }

  .cta-section {
    padding: 64px 32px;
  }

  .cta-title {
    font-size: 32px;
  }

  .cta-description {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .work-section {
    padding: 64px 16px;
  }

  .project-info {
    padding: 24px;
  }

  .project-category {
    font-size: 12px;
  }

  .project-title {
    font-size: 20px;
  }

  .cta-section {
    padding: 48px 24px;
  }
}