/* Custom styles for Honor Mobile Home Park */

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

/* Reveal animation — progressive enhancement only */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Always visible fallback */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Navbar background on scroll */
.navbar-scrolled {
  background: rgba(4, 13, 26, 0.95) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #040d1a;
}
::-webkit-scrollbar-thumb {
  background: #1a3a6b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #234e8f;
}

/* Selection color */
::selection {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
}

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