/* Custom styles for Jacuzzi Inn */

/* Smooth scroll offset for fixed nav */
section[id] {
  scroll-margin-top: 80px;
}

/* Selection color */
::selection {
  background-color: #e05530;
  color: white;
}

/* Subtle scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #faf5eb;
}
::-webkit-scrollbar-thumb {
  background: #d4c4b0;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c49550;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* Mobile menu animation */
#mobile-menu {
  animation: slideDown 0.25s ease-out;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Nav scroll state */
nav.scrolled {
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

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

/* Focus visible for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid #e05530;
  outline-offset: 2px;
  border-radius: 4px;
}
