/* ShoppesatMint Hill — Custom Styles */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Selection color */
::selection {
  background: #0d9488;
  color: #ffffff;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid #0d9488;
  outline-offset: 2px;
}

/* Nav active state */
#nav.scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

/* Hero image parallax (subtle) */
#hero .absolute img {
  will-change: transform;
}

/* Card hover lift effect */
.group {
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
