/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ===== NAV ===== */
#nav {
  background: rgba(254, 253, 251, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(213, 207, 195, 0.4);
  transition: box-shadow 0.3s ease;
}
#nav.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* ===== BUTTONS ===== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  background: #C0603A;
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
  border-radius: 1rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.cta-btn:hover {
  background: #a14d2f;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(192, 96, 58, 0.3);
}
.cta-btn:active { transform: translateY(0); }

.cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #C0603A;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
  border-radius: 1rem;
  text-decoration: none;
  border: 2px solid #C0603A;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.cta-outline:hover {
  background: #C0603A;
  color: #fff;
  transform: translateY(-1px);
}

/* ===== NAV LINKS ===== */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C0603A;
  border-radius: 1px;
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

/* ===== MOBILE MENU ===== */
.mobile-link {
  position: relative;
}
#mobile-menu {
  animation: slideDown 0.25s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
.reduce-motion .reveal {
  transition: none;
  opacity: 1;
  transform: none;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fdf8ef; }
::-webkit-scrollbar-thumb { background: #e2c278; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #c98a3a; }

/* ===== SELECTION ===== */
::selection { background: #f9dace; color: #542a1c; }
