/* Custom styles for Jaymes Veaux Salon */

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

/* Navbar styles */
#navbar {
  background: rgba(250, 248, 240, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-link {
  color: #1B3556;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C9A84C;
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-logo-text {
  color: #0D1B2A;
}

/* Mobile menu */
#mobileMenu {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

#mobileMenu.open {
  translate: 0;
  opacity: 1;
  pointer-events: all;
}

#mobileMenu.closed {
  translate: -10px;
  opacity: 0;
  pointer-events: none;
}

.mobile-link {
  color: #1B3556;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .group:hover img {
    transform: none;
  }
}

/* Image hover effects */
.group:hover img {
  transform: scale(1.05);
}

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

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

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

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

/* Selection color */
::selection {
  background: #C9A84C;
  color: #0D1B2A;
}
