/* Custom styles beyond Tailwind */

/* Float animations for hero cards */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes float-delayed {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-delayed 4.5s ease-in-out infinite;
  animation-delay: 1s;
}

/* Scroll reveal — progressive enhancement, hidden by default */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

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

/* Default state: all content visible even without JS */
.reveal {
  opacity: 1;
  transform: none;
}

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

/* Navbar glass effect */
#nav.scrolled {
  background: rgba(253, 248, 240, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #FDF8F0;
}

::-webkit-scrollbar-thumb {
  background: #E0845A;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #C45630;
}

/* Selection color */
::selection {
  background: #F9E5D8;
  color: #A14226;
}
