/* Custom styles for Prachi Construction site */

/* Font imports are already in HTML head */

/* Utility classes that complement Tailwind */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.aspect-\[4\/5\] {
  aspect-ratio: 4 / 5;
}

.aspect-\[16\/10\] {
  aspect-ratio: 16 / 10;
}

/* Fix for project cards */
.project-card {
  height: 300px;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.project-card:hover img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.1));
  opacity: 0;
  transition: opacity 0.5s ease;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

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

/* Additional custom styles can go here */