/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; }

/* ── Nav scroll state ── */
#nav.scrolled {
  background: rgba(253, 242, 244, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(123, 45, 59, 0.08);
}

/* ── Mobile menu ── */
#mobileMenu.open { opacity: 1; pointer-events: all; }

/* ── Scroll animations ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  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; }

/* ── Hero animations ── */
.hero-sub { animation: fadeUp 0.8s 0.2s both cubic-bezier(0.16, 1, 0.3, 1); }
.hero-title { animation: fadeUp 0.8s 0.4s both cubic-bezier(0.16, 1, 0.3, 1); }
.hero-desc { animation: fadeUp 0.8s 0.6s both cubic-bezier(0.16, 1, 0.3, 1); }
.hero-cta { animation: fadeUp 0.8s 0.8s both cubic-bezier(0.16, 1, 0.3, 1); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Scroll dot ── */
.animate-scroll-dot {
  width: 100%;
  height: 40%;
  background: white;
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot {
  0% { top: -40%; opacity: 0; }
  50% { opacity: 1; }
  100% { top: 140%; opacity: 0; }
}

/* ── Parallax ── */
.parallax-slow { transition: transform 0.1s linear; }
.parallax-medium { transition: transform 0.1s linear; }
.parallax-slower { transition: transform 0.1s linear; }
.parallax-fast { transition: transform 0.1s linear; }

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fdf2f4; }
::-webkit-scrollbar-thumb { background: #7B2D3B; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #6b2430; }
</style>
