/* components/ui/project-card.css */
/* Project Card Component Styles for shadcn-style implementation */

/* Base card styles */
.group {
  /* This ensures the group class is defined for hover effects */
}

.bg-card {
  background-color: var(--card-bg, #0a0a0a);
}

.text-card-foreground {
  color: var(--text-primary, #ffffff);
}

.border {
  border: 1px solid var(--card-border, #2a2a2a);
}

.text-primary {
  color: #3b82f6; /* Blue color for primary text/actions */
}

.text-muted-foreground {
  color: var(--text-secondary, #b0b0b0);
}

/* Hover effects */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-500 {
  transition-duration: 500ms;
}

.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.hover\:translate-y-2:hover {
  transform: translateY(-0.5rem);
}

.hover\:shadow-xl:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Image transition */
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-700 {
  transition-duration: 700ms;
}

.group-hover\:scale-110:hover {
  transform: scale(1.1);
}

/* Title transition */
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.group-hover\:text-primary:hover {
  color: #3b82f6;
}

/* Link styles */
.hover\:underline:hover {
  text-decoration: underline;
}

.group\/button:hover .translate-x-1 {
  transform: translateX(0.25rem);
}

/* Layout utilities */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-8 {
  gap: 2rem;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-1 {
  flex: 1 1 0%;
}

.items-center {
  align-items: center;
}

.inline-flex {
  display: inline-flex;
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

.overflow-hidden {
  overflow: hidden;
}

.rounded-2xl {
  border-radius: 1rem;
}

.object-cover {
  object-fit: cover;
}

.p-6 {
  padding: 1.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.h-full {
  height: 100%;
}

.w-full {
  width: 100%;
}

.h-4 {
  height: 1rem;
}

.w-4 {
  width: 1rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.gap-2 {
  gap: 0.5rem;
}

.cursor-pointer {
  cursor: pointer;
}

.relative {
  position: relative;
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Dark theme adjustments */
@media (prefers-color-scheme: dark) {
  .bg-card {
    background-color: #0a0a0a;
  }
  
  .text-card-foreground {
    color: #ffffff;
  }
  
  .border {
    border-color: #2a2a2a;
  }
  
  .text-muted-foreground {
    color: #b0b0b0;
  }
}