/* ── Custom Properties ───────────────────────────────────────────── */
:root {
  --burgundy: #7B2432;
  --burgundy-light: #b82836;
  --blush: #ddaa96;
  --cream: #FDF8F6;
  --charcoal: #1F1D20;
}

/* ── Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--burgundy);
  color: #FDF8F6;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(123, 36, 50, 0.3);
}

.btn-primary:hover {
  background: var(--burgundy-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(123, 36, 50, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #FDF8F6;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 2rem;
  border: 2px solid rgba(253, 240, 242, 0.3);
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.15s ease;
}

.btn-secondary:hover {
  border-color: rgba(253, 240, 242, 0.7);
  background: rgba(253, 240, 242, 0.08);
  transform: translateY(-1px);
}

/* ── Nav Links ───────────────────────────────────────────────────── */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--burgundy);
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ── Fixed Header States ─────────────────────────────────────────── */
#site-header {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#site-header.scrolled {
  background: rgba(253, 240, 242, 0.95);
  backdrop-blur-lg;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

#site-header.scrolled .font-display {
  color: var(--burgundy) !important;
}

/* ── Scroll Reveal ───────────────────────────────────────────────── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .group img {
    transition: none;
  }
  .group:hover img {
    transform: none;
  }
}

/* ── Mobile Menu Animation ───────────────────────────────────────── */
#mobile-menu.open {
  translate: 0 0;
  opacity: 1;
  pointer-events: auto;
}

#mobile-menu.closed {
  translate: 0 -10px;
  opacity: 0;
  pointer-events: none;
}

.menu-line:nth-child(3) {
  transition-delay: 0s;
}

body.menu-open .menu-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.menu-open .menu-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

body.menu-open .menu-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  width: 1.5rem;
}
