/* Custom styles for Steady Hands Tattoo */

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

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #2a131b;
}
::-webkit-scrollbar-thumb {
  background: #6a2e45;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #823a54;
}

/* Selection color */
::selection {
  background: rgba(251, 191, 36, 0.3);
  color: #faf5f7;
}

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

/* Navbar transition */
#navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
  background-color: rgba(42, 19, 27, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(164, 80, 120, 0.15);
}

/* Fade-in on scroll (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FAQ toggle animation */
.faq-content {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* Button hover lift */
a, button {
  transition: all 0.2s ease;
}

/* Image aspect ratio fallback */
img {
  vertical-align: middle;
}

/* Print styles */
@media print {
  #navbar, #mobile-menu, .reveal {
    display: none !important;
  }
  body {
    background: white !important;
    color: black !important;
  }
}
