/* Custom styles — supplement Tailwind utilities */

/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}

/* Prevent scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* Selection color */
::selection {
  background: rgba(47, 176, 96, 0.3);
  color: #f0f4f8;
}

/* Subtle scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a1016;
}
::-webkit-scrollbar-thumb {
  background: #223642;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2f4a5a;
}

/* Date input styling override */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.7);
  cursor: pointer;
}

/* Reduced motion: ensure content is visible without JS */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  .room-img {
    transition: none;
  }
}
