/* Custom styles complementing Tailwind */

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

/* Selection color */
::selection {
  background: rgba(212, 175, 55, 0.3);
  color: #fff;
}

/* Focus visible styles */
*:focus-visible {
  outline: 2px solid #D4AF37;
  outline-offset: 2px;
}

/* Service card shimmer on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.05), transparent);
  transition: left 0.6s ease;
  z-index: 0;
}

.service-card:hover::before {
  left: 100%;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

/* Navbar scroll state */
.nav-scrolled {
  background: rgba(4, 11, 24, 0.95) !important;
  border-bottom-color: rgba(212, 175, 55, 0.15) !important;
}

/* Mobile menu animation */
#mobileMenu {
  animation: slideDown 0.3s ease forwards;
}

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

/* Counter animation */
.counter {
  display: inline-block;
}

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

/* Subtle grid pattern for sections */
.grid-pattern {
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
