/* Custom styles for Nail Bar Denton */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #17171d;
}
::-webkit-scrollbar-thumb {
  background: #3f3f46;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f76e2b;
}

/* Selection color */
::selection {
  background: rgba(247, 110, 43, 0.3);
  color: #f6f6f7;
}

/* Base font settings */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero image gradient overlay */
.hero-img-overlay {
  background: linear-gradient(to top, rgba(14, 14, 20, 0.6) 0%, transparent 50%);
}

/* Navbar transition */
#navbar {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#navbar.scrolled {
  background: rgba(14, 14, 20, 0.92);
  border-bottom: 1px solid rgba(63, 63, 70, 0.5);
}

/* Geometric shape animations */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(-12px) rotate(45deg); }
}

@keyframes float-reverse {
  0%, 100% { transform: translateY(0) rotate(12deg); }
  50% { transform: translateY(10px) rotate(12deg); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(247, 110, 43, 0.2); }
  50% { box-shadow: 0 0 40px rgba(247, 110, 43, 0.4); }
}

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

.geometric-float-reverse {
  animation: float-reverse 5s ease-in-out infinite;
}

/* Button hover effects */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::after {
  opacity: 1;
}

/* Card hover lift */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(247, 110, 43, 0.1);
}

/* Gallery hover */
.gallery-item {
  overflow: hidden;
}

.gallery-item img {
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Mobile menu animation */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#mobile-menu.open {
  max-height: 400px;
}

/* Active nav link */
.nav-link-active {
  color: #f76e2b !important;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #f76e2b;
  outline-offset: 2px;
  border-radius: 4px;
}

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

/* Responsive adjustments */
@media (max-width: 640px) {
  .font-display {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}
