/* Custom styles for Bella Vista Apartments */

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

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

/* Scroll reveal base — content is visible by default */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Only apply hidden state on prefers-reduced-motion: no-preference */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Navbar transition */
#nav.scrolled {
  background: rgba(30, 27, 24, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #faf9f7;
}
::-webkit-scrollbar-thumb {
  background: #d4cabf;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b8aa98;
}

/* Selection color */
::selection {
  background: #d13f1c;
  color: #fff;
}
</style>
