/* Additional custom styles and overrides */

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

/* Selection color */
::selection {
  background: rgba(123, 30, 58, 0.4);
  color: #FDF8F5;
}

/* Focus visible for accessibility */
*:focus-visible {
  outline: 2px solid #C9A84C;
  outline-offset: 2px;
}

/* Subtle gradient border on service cards on hover */
.service-card:hover {
  background: linear-gradient(var(--bg-elevated), var(--bg-elevated)) padding-box,
    linear-gradient(135deg, rgba(123, 30, 58, 0.4), rgba(201, 168, 76, 0.3)) border-box;
  border: 1px solid transparent;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0C0907;
}
::-webkit-scrollbar-thumb {
  background: #2A2220;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3A302A;
}

/* Image loading placeholder */
img {
  background: linear-gradient(135deg, #1A1513 0%, #241E1A 100%);
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Print styles */
@media print {
  .navbar, .hero-scroll, .menu-toggle, .mobile-menu { display: none !important; }
  body { background: #fff; color: #000; }
  .hero { min-height: auto; padding: 2rem 0; }
  section { padding: 2rem 0; }
}
