/* Custom styles for Westin Sarasota */

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

/* Scroll animation base - always visible by default */
.scroll-animate {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Only apply hidden state when JS is available and motion is preferred */
@media (prefers-reduced-motion: no-preference) {
  .scroll-animate.is-hidden {
    opacity: 0;
    transform: translateY(24px);
  }
}

/* Navbar height */
header {
  height: 72px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #831443;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #be185d;
}

/* Selection color */
::selection {
  background: #be185d;
  color: white;
}

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

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

/* Subtle pattern for hero overlay */
.hero-pattern {
  background-image: radial-gradient(circle at 25% 25%, rgba(131, 20, 67, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 75% 75%, rgba(251, 191, 36, 0.1) 0%, transparent 50%);
}
