/* Custom styles for Nazareth Unisex */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #022c22;
}
::-webkit-scrollbar-thumb {
  background: #065f46;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #047857;
}

/* Selection color */
::selection {
  background: rgba(212, 168, 83, 0.3);
  color: #fefdf8;
}

/* Navbar scroll state */
nav.scrolled {
  background: rgba(2, 44, 34, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(254, 253, 248, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animation */
.mobile-menu-open #mobile-menu {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-open .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-open .menu-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-open .menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  width: 1.25rem;
}

/* Scroll reveal base - always visible by default */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Only apply hidden state when JS adds the class and motion is preferred */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal.revealed {
    opacity: 0;
    transform: translateY(30px);
  }
}

/* Gold shimmer animation for decorative elements */
@keyframes shimmer {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* Floating animation for stat cards */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.floating-card-1 {
  animation: float 4s ease-in-out infinite;
}
.floating-card-2 {
  animation: float 5s ease-in-out infinite 0.5s;
}
.floating-card-3 {
  animation: float 3.5s ease-in-out infinite 1s;
}

/* Gradient text utility */
.text-gradient-gold {
  background: linear-gradient(135deg, #d4a853 0%, #c9a227 50%, #b8941f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtle pattern overlay */
.pattern-overlay {
  background-image: radial-gradient(rgba(212, 168, 83, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}
