/* ===== Custom Styles for Mayagaire Lodge ===== */

/* Base */
* { box-sizing: border-box; }

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

/* Navbar transition handled in JS */

/* Reveal animations — progressive enhancement, hidden by default */
.reveal-on-scroll {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* Mobile menu animation */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}
#mobile-menu.open {
  max-height: 500px;
  opacity: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FDF8F5; }
::-webkit-scrollbar-thumb { background: #d14d6b; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a11530; }

/* Selection color */
::selection {
  background: #fce7eb;
  color: #6c172b;
}
