/* ── Base & Utilities ── */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fadeInUp 0.8s ease forwards;
}
.animate-fade-down {
  animation: fadeInDown 0.6s ease forwards;
}
.animate-fade-up-delay {
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}
.animate-fade-up-delay-2 {
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Navbar Scroll State ── */
#navbar.scrolled {
  background: rgba(254, 252, 246, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(157, 23, 77, 0.08);
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fdf2f8; }
::-webkit-scrollbar-thumb { background: #f9a8d4; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #f472b6; }

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