/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Nav ── */
#nav {
  background: rgba(253, 248, 240, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(58, 34, 24, 0.06);
  transition: background 0.4s, box-shadow 0.4s;
}
#nav.scrolled {
  background: rgba(253, 248, 240, 0.95);
  box-shadow: 0 1px 20px rgba(58, 34, 24, 0.08);
}
.nav-logo-text { transition: color 0.3s; }
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C0603A;
  transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }

/* ── Mobile Menu ── */
#mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }
#mobile-menu .menu-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
#mobile-menu .menu-line:nth-child(2) { opacity: 0; }
#mobile-menu .menu-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 20px; }
body.menu-open { overflow: hidden; }

/* ── Floating Cards ── */
.floating-card {
  animation: float 6s ease-in-out infinite;
}
.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: -2s; }
.card-3 { animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* ── Product Cards ── */
.card-product {
  border: 1px solid rgba(58, 34, 24, 0.06);
}
.card-product:hover {
  border-color: rgba(192, 96, 58, 0.2);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  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; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .floating-card { animation: none; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Utilities ── */
.no-underline { text-decoration: none; }
