/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; overflow-x: hidden; }
img { max-width: 100%; height: auto; }

/* ── Floating Card Animations ── */
@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(0.5deg); }
}
@keyframes float-medium {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-0.5deg); }
}
@keyframes float-fast {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(0.5deg); }
}
.floating-card { animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
.animate-float-slow { animation: float-slow 5s ease-in-out infinite; }
.animate-float-medium { animation: float-medium 4s ease-in-out infinite; }
.animate-float-fast { animation: float-fast 3.5s ease-in-out infinite; }

/* ── Menu Card Hover ── */
.menu-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  box-shadow: inset 0 0 0 2px transparent;
  transition: box-shadow 0.3s ease;
  pointer-events: none;
}

/* ── Navbar ── */
#navbar.scrolled {
  background: rgba(253, 248, 240, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

/* ── Mobile Menu ── */
#mobile-menu {
  animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ── Custom Selection ── */
::selection { background: #E76748; color: white; }

/* ── Focus Styles ── */
a:focus-visible, button:focus-visible {
  outline: 2px solid #E76748;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Responsive adjustments ── */
@media (max-width: 768px) {
  .font-serif { font-size: clamp(2rem, 8vw, 3rem); }
}
