/* =============================================
   Silver State Inn — Custom Styles
   ============================================= */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1e1e2c;
}
::-webkit-scrollbar-thumb {
  background: #5c5c6e;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #e8552e;
}

/* Selection color */
::selection {
  background: #e8552e;
  color: #ffffff;
}

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

/* Ensure nav is above everything */
#nav {
  will-change: transform;
}

/* Mobile menu transitions */
#mobileMenu {
  animation: slideDown 0.3s ease-out;
}

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

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

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

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

/* Ensure contrast on all interactive elements */
button, a, input, textarea, select {
  -webkit-tap-highlight-color: transparent;
}

/* Touch-friendly tap targets on mobile */
@media (max-width: 640px) {
  nav a, nav button, button[type="submit"] {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Print styles */
@media print {
  #nav, #mobileMenu, #contactForm, button {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
}
