*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

/* Scroll reveal animations */
@media (prefers-reduced-motion: no-preference) {
  .service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease, background-color 0.5s ease, border-color 0.5s ease;
  }

  .service-card.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .service-card:nth-child(1) { transition-delay: 0.05s; }
  .service-card:nth-child(2) { transition-delay: 0.1s; }
  .service-card:nth-child(3) { transition-delay: 0.15s; }
  .service-card:nth-child(4) { transition-delay: 0.2s; }
  .service-card:nth-child(5) { transition-delay: 0.25s; }
  .service-card:nth-child(6) { transition-delay: 0.3s; }
}

/* Gold shimmer on headings */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #141414;
}
::-webkit-scrollbar-thumb {
  background: #2f2f2f;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d4a853;
}

/* Selection */
::selection {
  background: rgba(196, 154, 60, 0.3);
  color: #f9edd8;
}
