/* Inkchanted Arts Tattoo Studio — Custom Styles */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0c0a09;
}
::-webkit-scrollbar-thumb {
  background: #3f3f46;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #52525b;
}

/* Selection */
::selection {
  background: rgba(143, 23, 53, 0.4);
  color: #fce7eb;
}

/* Nav transition states */
nav.scrolled {
  background: rgba(12, 10, 9, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(63, 63, 70, 0.3);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Button ripple effect */
button, a {
  -webkit-tap-highlight-color: transparent;
}

/* Image hover container */
.overflow-hidden {
  will-change: transform;
}

/* Focus visible */
:focus-visible {
  outline: 2px solid #d9375e;
  outline-offset: 2px;
}

/* 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;
  }
}

/* Fade-in animations (progressive enhancement — applied via JS) */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }
.fade-up.delay-5 { transition-delay: 0.5s; }

/* Ink drop decoration */
.ink-accent {
  position: relative;
}
.ink-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #8f1735, #f6a3b8);
  border-radius: 2px;
}

/* Card shine effect */
.group:hover .card-shine {
  opacity: 1;
}
.card-shine {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Pulse dot animation */
@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}
.animate-pulse-ring {
  animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
