/* ═══════════════════════════════════════════
   Ariana & James Wedding — Shared Styles
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&family=Bellefair&display=swap');

:root {
  --cream: #faf8f4;
  --warm-white: #fff9f2;
  --blush: #e8c9b8;
  --dusty-rose: #c9967a;
  --deep: #2a2420;
  --mid: #5c4e47;
  --light: #9c8880;
  --gold: #b89a6e;
  --gold-light: #d4b896;
  --nav-height: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--deep);
  font-family: 'Bellefair', serif;
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: background 0.4s, box-shadow 0.4s;
}
nav.scrolled {
  background: rgba(250,248,244,0.96);
  box-shadow: 0 1px 24px rgba(42,36,32,0.08);
  backdrop-filter: blur(6px);
}
.nav-logo {
  font-family: 'Pinyon Script', cursive;
  font-size: 2rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.4s;
  letter-spacing: 0.02em;
  cursor: pointer;
}
nav.scrolled .nav-logo { color: var(--gold); }
.nav-logo.dark { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: 'Bellefair', serif;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.92);
  transition: color 0.3s;
  cursor: pointer;
}
.nav-links a.dark-link { color: var(--mid); }
nav.scrolled .nav-links a { color: var(--mid); }
.nav-links a:hover,
.nav-links a.active { color: var(--gold) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: background 0.4s;
}
nav.scrolled .hamburger span,
.hamburger.dark span { background: var(--deep); }

/* ─── MOBILE MENU ─── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--cream);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Pinyon Script', cursive;
  font-size: 2.4rem;
  color: var(--deep);
  text-decoration: none;
  cursor: pointer;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-close {
  position: absolute;
  top: 20px; right: 28px;
  font-size: 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--mid);
}

/* ─── SHARED TYPOGRAPHY ─── */
.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.display-script {
  font-family: 'Pinyon Script', cursive;
  font-size: clamp(2.6rem, 5vw, 4rem);
  color: var(--deep);
  line-height: 1.1;
  margin-bottom: 22px;
}
.body-text {
  color: var(--mid);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 540px;
  margin: 0 auto;
}
.flourish {
  text-align: center;
  color: var(--gold-light);
  font-size: 1.4rem;
  margin: 10px 0 30px;
  letter-spacing: 0.1em;
}

/* ─── INNER PAGE HEADER ─── */
.page-header {
  padding: 120px 32px 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--warm-white) 0%, var(--cream) 100%);
  border-bottom: 1px solid rgba(184,154,110,0.15);
}
.page-header .display-script { margin-bottom: 12px; }
.page-header .body-text { font-size: 0.95rem; }

.content-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 32px 100px;
}

/* ─── DECORATIVE RULE ─── */
.hr-flourish {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px auto;
  max-width: 340px;
  justify-content: center;
}
.hr-flourish-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--blush));
}
.hr-flourish-line.right {
  background: linear-gradient(to left, transparent, var(--blush));
}
.hr-flourish-center {
  color: var(--blush);
  font-size: 1rem;
  letter-spacing: 0.1em;
}

/* ─── BUTTON ─── */
.btn-outline {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: 'Bellefair', serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 10px 24px;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
  cursor: pointer;
}
.btn-outline:hover { background: var(--gold); color: #fff; }

/* ─── FOOTER ─── */
footer {
  background: var(--deep);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 40px 24px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}
footer .footer-names {
  font-family: 'Pinyon Script', cursive;
  font-size: 2.2rem;
  color: var(--gold-light);
  display: block;
  margin-bottom: 8px;
}

/* ─── PAGE TRANSITION ─── */
.page-fade {
  animation: pageFadeIn 0.35s ease both;
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 700px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .content-wrap { padding: 40px 20px 80px; }
  .page-header { padding: 100px 20px 50px; }
}
