/* styles.css */
/* Custom styles for animations, gradients, and Tailwind extensions */

@tailwind base;
@tailwind components;
@tailwind utilities;

/* Keyframes for entrance animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal class */
.revealed {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Line clamp for excerpts (Tailwind has built-in, but ensure) */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Subtle parallax overlay on image hover (enhances zoom) */
.group:hover .image-overlay {
  transform: translateY(-10px);
}

/* Custom gradient for body if needed */
body {
  background-attachment: fixed; /* Subtle parallax feel for bg gradient */
}

/* Tilt effect base (enhanced in JS) */
[data-tilt] {
  transition: transform 0.1s ease-out;
  will-change: transform;
}

/* Focus styles for accessibility */
button:focus-visible {
  outline: 2px solid #FFD54A;
  outline-offset: 2px;
}

/* Hover lift for cards */
.group:hover {
  transform: translateY(-4px);
  transition: transform 0.3s ease-out;
}
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}
