/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* Navbar scroll state */
nav.scrolled {
  background: rgba(34, 14, 30, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(107, 47, 91, 0.4);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Stat cards floating animation */
.stat-card {
  animation: float 6s ease-in-out infinite;
}
.stat-card:nth-child(2) { animation-delay: -1.5s; }
.stat-card:nth-child(3) { animation-delay: -3s; }
.stat-card:nth-child(4) { animation-delay: -4.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* Service cards hover glow */
.service-card:hover {
  box-shadow: 0 8px 40px rgba(245, 197, 24, 0.08), 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* Scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile menu transition */
#mobile-menu {
  animation: slideDown 0.25s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Selection color */
::selection {
  background: rgba(245, 197, 24, 0.3);
  color: #fff;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #220e1e; }
::-webkit-scrollbar-thumb { background: #6B2F5B; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a85177; }
