/* Custom styles beyond Tailwind */

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
  background: rgba(200, 164, 94, 0.3);
  color: #0a1628;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a1628;
}
::-webkit-scrollbar-thumb {
  background: #c8a45e;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d4b76a;
}

/* Gold line accent */
.section-accent {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #c8a45e, #e0ca82);
  border-radius: 2px;
}

/* Navbar scroll state */
.nav-scrolled {
  background: rgba(10, 22, 40, 0.98) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu transitions */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
#mobile-menu.open {
  max-height: 400px;
}

/* Button hover lift */
a, button {
  transition: all 0.2s ease;
}

/* Image loading placeholder */
img {
  background-color: #0f2240;
}

/* Service card hover */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .animate-bounce {
    animation: none;
  }
}
