/* ══════════════════════════════════════════
   INVITING EVENTS — Global Styles
   Colors: #611f1d (burgundy), #fffff0 (cream), 
           #e6e6e6 (gray), #7ab648 (green)
   Fonts: Cardo (H1), Julius Sans One (H2/labels), Questrial (body)
   ══════════════════════════════════════════ */

:root {
  --bg: #060606;
  --surface: #0d0d0d;
  --burgundy: #611f1d;
  --burg-light: #7a2522;
  --burg-glow: rgba(97,31,29,0.4);
  --cream: #fffff0;
  --cream70: rgba(255,255,240,0.7);
  --cream40: rgba(255,255,240,0.4);
  --cream20: rgba(255,255,240,0.2);
  --cream08: rgba(255,255,240,0.08);
  --cream04: rgba(255,255,240,0.04);
  --green: #7ab648;
  --green-dim: rgba(122,182,72,0.8);
  --glass: rgba(255,255,255,0.03);
  --glass-b: rgba(255,255,255,0.06);
  --glass-h: rgba(255,255,255,0.06);
  --h: 'Cardo', Georgia, serif;
  --sub: 'Julius Sans One', sans-serif;
  --body: 'Questrial', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ═══ NAV ═══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 48px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(6,6,6,0.85);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: all 0.4s;
}
nav.scrolled { background: rgba(6,6,6,0.95); height: 64px; }
.nav-logo img { height: 32px; filter: brightness(0) invert(1); opacity: 0.9; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-family: var(--sub); font-size: 0.6rem; letter-spacing: 3px;
  color: var(--cream40); transition: color 0.3s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--burgundy); transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  font-family: var(--sub); font-size: 0.55rem; letter-spacing: 2px;
  padding: 10px 24px; background: var(--burgundy); color: var(--cream);
  border: 1px solid rgba(255,255,240,0.08); border-radius: 4px; transition: all 0.3s;
}
.nav-cta:hover { background: var(--burg-light); box-shadow: 0 4px 20px var(--burg-glow); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--cream40); margin: 5px 0; transition: all 0.3s; }

/* ═══ SECTION GLOBALS ═══ */
section { padding: 120px 48px; position: relative; }
.sec-inner { max-width: 1100px; margin: 0 auto; }
.sec-tag {
  font-family: var(--sub); font-size: 0.55rem; letter-spacing: 5px;
  color: var(--green); margin-bottom: 16px; display: block;
}
.sec-title {
  font-family: var(--h); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400; color: var(--cream); margin-bottom: 20px; line-height: 1.25;
}
.sec-title em { font-style: italic; color: var(--cream70); }
.sec-text {
  font-size: 0.92rem; color: var(--cream40);
  line-height: 1.7; max-width: 520px;
}
.sec-divider { width: 60px; height: 1px; background: var(--burgundy); margin: 24px 0; }

/* ═══ GLASS CARD ═══ */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: 12px;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  overflow: hidden; position: relative;
}
.glass::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 50%);
  pointer-events: none;
}
.glass:hover {
  background: var(--glass-h);
  border-color: rgba(255,255,255,0.1);
}

/* ═══ BUTTONS ═══ */
.btn-primary {
  font-family: var(--sub); font-size: 0.6rem; letter-spacing: 3px;
  padding: 16px 44px; background: var(--burgundy); color: var(--cream);
  border: 1px solid rgba(255,255,240,0.1); border-radius: 4px;
  display: inline-block; transition: all 0.3s; cursor: pointer;
}
.btn-primary:hover {
  background: var(--burg-light);
  box-shadow: 0 8px 40px var(--burg-glow);
  transform: translateY(-1px);
}
.btn-secondary {
  font-family: var(--sub); font-size: 0.55rem; letter-spacing: 2px;
  color: var(--green); transition: color 0.3s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { color: var(--cream); }
.btn-secondary::after { content: '→'; transition: transform 0.3s; }
.btn-secondary:hover::after { transform: translateX(4px); }

/* ═══ SCROLL ANIMATIONS ═══ */
.reveal { opacity: 0; transform: translateY(24px); transition: all 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══ PAGE HEADER (for inner pages) ═══ */
.page-header {
  padding: 140px 48px 80px;
  text-align: center;
  background: var(--surface);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.page-header h1 {
  font-family: var(--h); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400; color: var(--cream); margin-bottom: 16px;
}
.page-header p {
  font-size: 0.92rem; color: var(--cream40);
  max-width: 500px; margin: 0 auto; line-height: 1.7;
}

/* ═══ FOOTER ═══ */
footer {
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 48px 48px 32px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 40px;
}
.footer-brand img { height: 28px; filter: brightness(0) invert(1); opacity: 0.6; margin-bottom: 12px; }
.footer-brand p { font-size: 0.78rem; color: var(--cream20); max-width: 280px; line-height: 1.6; }
.footer-links { display: flex; gap: 48px; }
.footer-col h5 { font-family: var(--sub); font-size: 0.55rem; letter-spacing: 3px; color: var(--cream40); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 0.8rem; color: var(--cream20); margin-bottom: 8px; transition: color 0.3s; }
.footer-col a:hover { color: var(--cream); }
.footer-social { display: flex; gap: 16px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--glass-b);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream40); font-size: 0.8rem; transition: all 0.3s;
}
.footer-social a:hover { border-color: var(--burgundy); color: var(--cream); }
.footer-bottom {
  max-width: 1100px; margin: 32px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center; font-size: 0.72rem; color: var(--cream20);
}

/* ═══ RESPONSIVE ═══ */
@media(max-width:900px) {
  nav { padding: 0 20px; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; background: rgba(6,6,6,0.97);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    padding: 32px 24px; gap: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 0.7rem; color: var(--cream70); }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  section { padding: 80px 20px; }
  .page-header { padding: 120px 20px 60px; }
  .sec-title { font-size: 1.8rem; }
  .sec-text { font-size: 0.88rem; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { gap: 36px; }
  footer { padding: 40px 20px 24px; }
}

@media(max-width:480px) {
  section { padding: 64px 16px; }
  .page-header { padding: 100px 16px 48px; }
  .sec-title { font-size: 1.5rem; }
  footer { padding: 32px 16px 20px; }
  .footer-links { flex-direction: column; gap: 24px; }
  nav { height: 64px; }
  .nav-logo img { height: 26px; }
}
