/* ── Base & Utilities ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d46030;
  color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 0 2rem;
  height: 3.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  text-decoration: none;
}
.btn-primary:hover {
  background: #b54820;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 96, 48, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #d46030;
  border: 1.5px solid #d46030;
  border-radius: 9999px;
  padding: 0 2rem;
  height: 3.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}
.btn-secondary:hover {
  background: #d46030;
  color: #fff;
  transform: translateY(-2px);
}

/* ── Labels ── */
.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #d46030;
  background: rgba(212, 96, 48, 0.08);
  border: 1px solid rgba(212, 96, 48, 0.15);
  border-radius: 9999px;
  padding: 0.4rem 1rem;
}

/* ── Navigation ── */
#site-header {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
#site-header.scrolled {
  background: rgba(254, 249, 243, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: #d46030;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ── Mobile Menu ── */
#mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }
#mobile-menu.open .mobile-link { animation: fadeUp 0.4s ease forwards; opacity: 0; }
#mobile-menu.open .mobile-link:nth-child(1) { animation-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { animation-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { animation-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(4) { animation-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(5) { animation-delay: 0.25s; }

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

.hamburger-line { transition: all 0.3s ease; }
#menu-toggle.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(3px, 3px); }
#menu-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
#menu-toggle.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(3px, -3px); width: 20px; margin-left: 0; margin-right: 0; }

/* ── Hero ── */
.hero-label { animation: fadeInDown 0.8s ease forwards; }
h1 { animation: fadeInUp 0.8s ease 0.2s both; }
#hero p { animation: fadeInUp 0.8s ease 0.4s both; }
#hero .flex { animation: fadeInUp 0.8s ease 0.5s both; }

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Reveal on Scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.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; }

/* ── Menu Items ── */
.menu-item {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.menu-item:last-child { border-bottom: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fef9f3; }
::-webkit-scrollbar-thumb { background: #e8c0a0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #d46030; }
