/* Custom styles for Fred's Barber Shop */

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

/* Nav scroll state */
.nav-scrolled {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 246, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(123, 45, 59, 0.08);
  transition: box-shadow 0.3s ease;
}

.nav-scrolled.scrolled {
  box-shadow: 0 4px 20px rgba(123, 45, 59, 0.08);
}

/* Mobile menu */
#mobile-menu {
  animation: fadeIn 0.3s ease;
}

#mobile-menu.active {
  display: flex;
}

.mobile-link {
  font-size: 1.25rem;
  font-weight: 500;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

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

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

/* Selection color */
::selection {
  background: #f9c5ce;
  color: #5a1e28;
}

/* Form focus styles */
input:focus,
textarea:focus {
  outline: none;
}

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

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  img {
    transition: none !important;
  }
}
