/* Custom styles for Seattle Convention Suites by Metro */

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

/* Navbar transition */
nav {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

nav.scrolled {
  background-color: rgba(253, 252, 248, 0.97);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

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

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

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

/* Form focus styles */
input:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(124, 179, 66, 0.15);
}

/* Button ripple-like effect on hover */
button, a {
  -webkit-tap-highlight-color: transparent;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #faf8f0;
}
::-webkit-scrollbar-thumb {
  background: #558b2f;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #33691e;
}

/* Selection color */
::selection {
  background-color: #dcedc8;
  color: #1b5e20;
}
