/* Custom styles for Boaz's Hotel */

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

/* Base font smoothing */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scroll reveal animations - progressive enhancement */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

/* Navbar scroll state */
.nav-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* Mobile menu open state */
.mobile-menu-open {
  opacity: 1 !important;
  pointer-events: all !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f0fdfa;
}
::-webkit-scrollbar-thumb {
  background: #99f6e4;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #5eead4;
}

/* Selection color */
::selection {
  background: #99f6e4;
  color: #134e4a;
}

/* Subtle hover lift for cards */
.group:hover .group-hover\\:scale-105 {
  transform: scale(1.05);
}

/* Form input focus styles */
input:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

/* Hero image stack animation on load */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

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

/* Print styles */
@media print {
  nav, #contact, .reveal { display: block !important; opacity: 1 !important; transform: none !important; }
  body { color: #000; background: #fff; }
}
