/* ═══════════════════════════════════════════════
   NAUWIGEWAUK COMMUNITY CLUB — Shared Stylesheet
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Lora:ital,wght@0,400;0,500;1,400;1,500&family=DM+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --navy:      #2c4d87;
  --navy-dark: #1e3a68;
  --navy-mid:  #3d63a8;
  --gold:      #c8900b;
  --gold-lt:   #e0a820;
  --gold-pale: #f5e9cc;
  --brown:     #7a4f2a;
  --brown-lt:  #c4956a;
  --maple:     #b83030;
  --cream:     #faf6ef;
  --paper:     #f2ece0;
  --ink:       #1a1510;
  --muted:     #6b5f4e;
  --rule:      #ddd4c0;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--ink); overflow-x: hidden; }

/* ── NAV BAR ─────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 200;
  background: var(--navy-dark); height: 132px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; border-bottom: 3px solid var(--gold);
}
.nav-brand { display: flex; align-items: center; gap: 1.1rem; text-decoration: none; }
.nav-logo-img { height: 108px; width: 108px; object-fit: contain; }
.nav-brand-text { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: #fff; line-height: 1.25; }
.nav-brand-text small { display: block; font-family: 'DM Sans', sans-serif; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-lt); font-weight: 400; }

/* Minimal menu trigger */
.menu-btn {
  display: flex; align-items: center; gap: 0.7rem; background: none; border: none;
  cursor: pointer; padding: 0.5rem 0.25rem; color: #fff;
}
.menu-btn-lines { display: flex; flex-direction: column; gap: 5px; width: 26px; }
.menu-btn-lines span { display: block; height: 2px; width: 100%; background: var(--gold-lt); transition: transform 0.25s, opacity 0.25s; }
.menu-btn-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.menu-btn[aria-expanded="true"] .menu-btn-lines span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-lines span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Full-screen overlay menu */
.menu-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: var(--navy-dark);
  display: flex; flex-direction: column;
  padding: 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}
.menu-overlay.open { opacity: 1; visibility: visible; transform: translateY(0); }
.menu-overlay-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 132px; border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.menu-close {
  background: none; border: 1px solid rgba(255,255,255,0.25); color: #fff;
  width: 40px; height: 40px; border-radius: 50%; font-size: 1.4rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.menu-close:hover { border-color: var(--gold-lt); color: var(--gold-lt); }
.menu-list {
  list-style: none; flex: 1; overflow-y: auto;
  display: flex; flex-direction: column; justify-content: center;
  padding: 3rem 2rem; max-width: 900px; margin: 0 auto; width: 100%;
}
.menu-list li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.menu-list li:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.menu-list a {
  display: flex; align-items: baseline; gap: 1.25rem;
  font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: rgba(255,255,255,0.75); text-decoration: none; padding: 0.85rem 0;
  transition: color 0.2s, padding-left 0.25s;
}
.menu-list a:hover, .menu-list a.active { color: #fff; padding-left: 0.75rem; }
.menu-list a:hover .menu-num, .menu-list a.active .menu-num { color: var(--gold-lt); }
.menu-num { font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.3); letter-spacing: 0.05em; transition: color 0.2s; }
.menu-overlay-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 2rem; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem; color: rgba(255,255,255,0.4); flex-shrink: 0;
}
.menu-overlay-bottom a { color: var(--gold-lt); text-decoration: none; }
@media (max-width: 560px) {
  .menu-btn-label { display: none; }
  .menu-overlay-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ── PAGE HERO (inner pages) ─────────────────── */
.page-hero {
  margin-top: 132px;
  background: var(--navy-dark);
  padding: 4.5rem 2.5rem 3.5rem;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/e/ed/Darlings_Island_covered_bridge.jpg/1280px-Darlings_Island_covered_bridge.jpg') center/cover no-repeat;
  opacity: 0.08;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; }
.page-hero-kicker { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem; }
.page-hero-kicker-line { width: 28px; height: 2px; background: var(--gold); flex-shrink: 0; }
.page-hero-kicker span { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-lt); }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3.5rem); color: #fff; font-weight: 900; line-height: 1.1; }
.page-hero h1 em { font-style: italic; color: var(--gold-lt); }
.page-hero-sub { font-family: 'Lora', serif; font-style: italic; color: rgba(255,255,255,0.6); font-size: 1rem; margin-top: 0.75rem; }

/* ── LAYOUT ──────────────────────────────────── */
section { padding: 5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }

/* ── TYPE UTILITIES ──────────────────────────── */
.label-tag { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.label-tag::before { content: ''; width: 24px; height: 2px; background: var(--gold); flex-shrink: 0; }
h2.editorial { font-family: 'Playfair Display', serif; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.1; color: var(--navy-dark); margin-bottom: 0.5rem; }
h2.editorial em { font-style: italic; }
.rule { width: 100%; height: 1px; background: var(--rule); margin: 2rem 0; }
.maple-divider { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0 1.75rem; }
.maple-divider span { flex: 1; height: 1px; background: var(--rule); }
.maple-divider .leaf { color: var(--maple); font-size: 1rem; }

/* ── BUTTONS ─────────────────────────────────── */
.btn { display: inline-block; text-decoration: none; padding: 0.85rem 1.8rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; transition: all 0.2s; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); }
.btn-outline-navy { border: 1px solid var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-navy { background: var(--navy-dark); color: #fff; white-space: nowrap; }
.btn-navy:hover { background: var(--navy-mid); }
.btn-outline { border: 1px solid rgba(255,255,255,0.35); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); }

/* ── CONTACT STRIP ───────────────────────────── */
.contact-strip { background: var(--gold); padding: 5rem 2rem; }
.contact-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3rem; }
.contact-strip h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--navy-dark); line-height: 1.2; }
.contact-strip h2 em { font-style: italic; }
.contact-strip p { font-family: 'Lora', serif; font-style: italic; font-size: 1rem; color: rgba(30,58,104,0.65); margin-top: 0.5rem; line-height: 1.6; }

/* ── FOOTER ──────────────────────────────────── */
footer { background: #0e1927; padding: 2.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
footer img { height: 40px; opacity: 0.65; object-fit: contain; }
.footer-text { font-size: 0.8rem; color: rgba(255,255,255,0.32); letter-spacing: 0.04em; text-align: center; flex: 1; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.78rem; color: rgba(255,255,255,0.38); text-decoration: none; letter-spacing: 0.05em; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-lt); }

/* ── ANIMATIONS ──────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
