/* Custom styles for Funny Bunny Nails & Spa */

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

/* Service card hover effect */
.service-card {
  border: 1px solid rgba(123, 45, 59, 0.08);
}

.service-card:hover {
  border-color: rgba(123, 45, 59, 0.15);
}

/* Review card hover */
.review-card {
  border: 1px solid rgba(123, 45, 59, 0.06);
}

/* Gallery item overlay */
.gallery-item {
  position: relative;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(123, 45, 59, 0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Navbar scroll effect */
header.scrolled {
  box-shadow: 0 4px 20px rgba(123, 45, 59, 0.1);
}

/* Mobile menu animation */
#mobileMenu {
  animation: slideDown 0.2s ease-out;
}

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

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s 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; }
  .reveal-delay-6 { transition-delay: 0.6s; }
}

/* Ensure text contrast on all backgrounds */
.bg-burgundy-600,
.bg-burgundy-700,
.bg-burgundy-800,
.bg-burgundy-900 {
  color-scheme: dark;
}

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

/* Selection color */
::selection {
  background-color: rgba(123, 45, 59, 0.2);
  color: #3d171e;
}

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

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

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

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