/* Custom styles for AA's Salon */

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

/* Scroll reveal base - content is visible by default */
.scroll-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Only apply animation when JS is enabled and user prefers motion */
@media (prefers-reduced-motion: no-preference) {
  .js-enabled .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
  }

  .js-enabled .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .js-enabled .scroll-reveal.revealed:nth-child(2) { transition-delay: 0.1s; }
  .js-enabled .scroll-reveal.revealed:nth-child(3) { transition-delay: 0.2s; }
  .js-enabled .scroll-reveal.revealed:nth-child(4) { transition-delay: 0.3s; }
  .js-enabled .scroll-reveal.revealed:nth-child(5) { transition-delay: 0.4s; }
  .js-enabled .scroll-reveal.revealed:nth-child(6) { transition-delay: 0.5s; }
}

/* Navbar shadow on scroll */
.navbar-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

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

::-webkit-scrollbar-thumb {
  background: #d1d1d1;
  border-radius: 5px;
}

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

/* Selection color */
::selection {
  background: #ff6b3f;
  color: white;
}

/* Mobile menu transition */
#mobileMenu {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Image loading placeholder */
img {
  background-color: #e7e7e7;
}

/* Print styles */
@media print {
  header, footer, #mobileMenu {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }
}
