/* Custom styles — beyond Tailwind */

/* Smooth scroll offset for fixed header */
section[id] {
  scroll-margin-top: 72px;
}

/* Scroll-reveal animations (progressive enhancement) */
.scroll-anim {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-anim {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
  }
  .scroll-anim.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #7F1D1D;
  outline-offset: 2px;
  border-radius: 0.5rem;
}

/* Mobile menu animation */
#mobile-menu {
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Subtle card hover lift */
.group:hover {
  transform: translateY(-2px);
}

.group {
  transition: transform 0.3s ease;
}
