/* ── EZ Invite · Global Styles ─────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --black:   #07111f;
  --off:     #0d1828;
  --card:    #122236;
  --border:  #24384f;
  --mid:     #7f90a6;
  --muted:   #b5c1ce;
  --light:   #dde5ed;
  --white:   #f7f3ec;
  --gold:    #c8a45d;
  --gold-lt: #e0c48a;
  --gold-dk: #8f6a2b;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Outfit', sans-serif;

  --nav-h: 68px;
  --max:   1160px;
  --r:     4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top, rgba(200, 164, 93, 0.12), transparent 34%),
    linear-gradient(180deg, #081322 0%, #07111f 100%);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 500;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold);
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 40px;
  z-index: 100;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(7,17,31,0.92);
  backdrop-filter: blur(18px);
  border-color: var(--border);
}
.nav-inner {
  max-width: var(--max); width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
  color: var(--white); text-decoration: none;
  letter-spacing: 0.5px;
}
.nav-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.28));
}
.brand-wordmark {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}
.brand-wordmark strong {
  font-size: 22px;
  font-weight: 500;
  color: var(--white);
}
.brand-wordmark small {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}
.nav-links {
  display: flex; align-items: center; gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 13px; font-weight: 400; letter-spacing: 0.5px;
  color: var(--light); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-lt); }
.nav-cta {
  font-size: 13px; font-weight: 500;
  color: var(--black) !important;
  background: var(--gold);
  padding: 9px 22px; border-radius: var(--r);
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover { background: var(--gold-lt) !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.nav-toggle span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white); transition: all 0.3s;
}

/* ── SECTIONS ── */
section { padding: 100px 40px; }
.container { max-width: var(--max); margin: 0 auto; }

.section-header { margin-bottom: 64px; }
.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400; margin-top: 10px;
  color: var(--white);
}
.section-header p {
  margin-top: 14px; font-size: 15px;
  color: var(--muted); max-width: 520px; line-height: 1.75;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  letter-spacing: 0.5px; text-decoration: none;
  padding: 12px 28px; border-radius: var(--r);
  border: none; cursor: pointer;
  transition: all 0.2s;
}
.btn-gold {
  background: var(--gold); color: var(--black);
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 15px 36px; font-size: 14px; }

/* ── GOLD LINE ── */
.gold-line {
  display: block; width: 40px; height: 1.5px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 16px;
}

/* ── CARDS ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  transition: border-color 0.3s, transform 0.3s;
}
.card:hover {
  border-color: #333;
  transform: translateY(-3px);
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 40px;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 18px; color: var(--white); text-decoration: none;
}
.footer-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.footer-copy { font-size: 12px; color: var(--mid); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 12px; color: var(--mid); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

.fa-gold { color: var(--gold); }

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  section { padding: 72px 20px; }
  footer { padding: 40px 20px; }

  .nav-links {
    display: none;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,10,10,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--border);
    padding: 8px 0 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; padding: 14px 24px;
    font-size: 15px;
  }
  .nav-cta { margin: 8px 24px 0; text-align: center; }
  .nav-toggle { display: flex; }
}
