/* Custom styles for The 1830 Lake House */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #040a14;
}
::-webkit-scrollbar-thumb {
  background: #1c3660;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c4881f;
}

/* Selection color */
::selection {
  background: rgba(196, 136, 31, 0.3);
  color: #f9edc4;
}

/* Reveal animations - progressive enhancement */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

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

/* Nav scroll state */
.nav-scrolled {
  background: rgba(4, 10, 20, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(196, 136, 31, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Gold shimmer effect on hover */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Mobile menu transitions */
#mobileMenu.menu-open {
  opacity: 1;
  pointer-events: all;
}

/* Image lazy load placeholder */
img {
  background: linear-gradient(135deg, #0f1f3a 0%, #0a1628 100%);
}
