/* Floating card animations */
@keyframes float1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(2deg); }
}

.float-card-1 { animation: float1 3.5s ease-in-out infinite; }
.float-card-2 { animation: float2 4s ease-in-out infinite 0.5s; }
.float-card-3 { animation: float3 3s ease-in-out infinite 1s; }

/* Scroll reveal base — content always visible by default */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Navbar scroll state */
nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(127, 21, 77, 0.08);
}

nav.scrolled .font-serif {
  color: #500724;
}

/* Smooth focus styles */
input:focus, select:focus, textarea:focus {
  border-color: #db2777;
  box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.1);
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fffbeb; }
::-webkit-scrollbar-thumb { background: #9d174d; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #831443; }

/* Selection color */
::selection { background: #fbcfe8; color: #500724; }
