/* Custom styles for Beauty in the Beast HAIR Studio */

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

/* Base scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #300316;
}
::-webkit-scrollbar-thumb {
  background: #831443;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9d174d;
}

/* Selection color */
::selection {
  background: #fbbf24;
  color: #500724;
}

/* Service cards */
.service-card {
  backdrop-filter: blur(8px);
}

/* Gallery items */
.gallery-item {
  cursor: pointer;
  transition: transform 0.3s ease;
}
.gallery-item:hover {
  transform: scale(1.02);
}

/* Testimonial cards */
.testimonial-card {
  backdrop-filter: blur(8px);
}

/* Nav scroll effect */
.nav-scrolled {
  background: rgba(48, 3, 22, 0.95) !important;
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(131, 20, 67, 0.3);
}

/* Mobile menu animation */
#mobileMenu {
  animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal animations (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);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
}

/* Hero text animation (above fold — always visible) */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  animation: fadeUp 0.8s ease forwards;
}

.hero-subtitle {
  animation: fadeUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-cta {
  animation: fadeUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero-image {
  animation: fadeUp 1s ease 0.3s forwards;
  opacity: 0;
}
