/* Custom styles for Prixx Tattoo and Body Piercing */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #FFF8F0;
}

::-webkit-scrollbar-thumb {
  background: #C45B3A;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #A8482E;
}

/* Hero animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 0.4; }
  100% { transform: scale(0.8); opacity: 0.8; }
}

/* Geometric shapes animation */
.geometric-float {
  animation: float 6s ease-in-out infinite;
}

.geometric-float-delay {
  animation: float 6s ease-in-out 2s infinite;
}

/* Navbar scroll effect */
.navbar-scrolled {
  background: rgba(255, 248, 240, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

/* Mobile menu animation */
.mobile-menu-open #bar1 {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-open #bar2 {
  opacity: 0;
}

.mobile-menu-open #bar3 {
  transform: rotate(-45deg) translate(5px, -5px);
  width: 24px;
  margin-left: 0;
}

/* Gallery hover effects */
.gallery-item:hover img {
  transform: scale(1.05);
}

/* Button hover lift */
.btn-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(196, 91, 58, 0.3);
}

/* Service card hover */
.service-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

/* Text gradient */
.text-gradient {
  background: linear-gradient(135deg, #C45B3A 0%, #E09A3D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section reveal animation (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #C45B3A;
  outline-offset: 2px;
}

/* Mobile menu transition */
#mobileMenu {
  transition: max-height 0.5s ease, opacity 0.3s ease;
  opacity: 0;
}

#mobileMenu.open {
  max-height: 400px;
  opacity: 1;
}

/* Geometric decoration */
.geo-shape {
  position: absolute;
  pointer-events: none;
}

/* Form input autofill style */
input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #FFF8F0 inset !important;
}

/* Print styles */
@media print {
  nav, .hero-scroll-indicator, #contactForm button {
    display: none;
  }
  
  body {
    color: #000;
    background: #fff;
  }
}
