/* ════════════════════════════════════════════════════════════════
   ONE OMEGA FOUNDATION — MAIN STYLESHEET
   Chi Lambda Lambda Chapter · Omega Psi Phi Fraternity, Inc.

   STRUCTURE:
   1. Design Tokens (CSS Variables)
   2. Reset & Base
   3. Typography
   4. Layout Utilities
   5. Navigation
   6. Components (Buttons, Cards, Rules)
   7. Sections (Hero, Impact, Event, Donate, Principles, Footer)
   8. Responsive

   Brand: OPPF Royal Purple #6D2077 / Old Gold #B7A57A
   ════════════════════════════════════════════════════════════════ */


/* ─── 1. DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Brand Colors — per OPPF Design & Brand Guidelines v1.1 */
  --purple-royal: #6D2077;
  --purple-deep:  #4F1859;
  --purple-alt:   #5C216E;
  --gold-old:     #B7A57A;
  --gold-deep:    #CDA442;
  --red-brand:    #C8102E;

  /* Surface Colors */
  --cream:        #FAF6EC;
  --paper:        #F4EEDE;
  --ink:          #1A0E1F;
  --rule:         #3D1A4A;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    Georgia, 'Times New Roman', serif;
  --font-italic:  'Cormorant Garamond', Georgia, serif;
  --font-squared: 'Oswald', 'Arial Narrow', Arial, sans-serif;

  /* Spacing Scale */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  40px;
  --space-xl:  60px;
  --space-2xl: 100px;

  /* Container Widths */
  --container-max: 1180px;
  --container-narrow: 820px;

  /* Transitions */
  --transition: 0.25s ease;
}


/* ─── 2. RESET & BASE ───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
}


/* ─── 3. TYPOGRAPHY ─────────────────────────────────────────── */
.display       { font-family: var(--font-display); }
.italic-serif  { font-family: var(--font-italic); font-style: italic; }

.eyebrow {
  font-family: var(--font-squared);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-deep);
}


/* ─── 4. LAYOUT UTILITIES ───────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 32px;
}


/* ─── 5. NAVIGATION ─────────────────────────────────────────── */
.nav {
  background: var(--purple-deep);
  padding: 16px 0;
  border-bottom: 1px solid var(--gold-old);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--cream);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
}
.nav-brand strong { color: var(--gold-old); }
.brand-coleman { color: var(--gold-deep); font-weight: 700; }
.brand-love    { color: var(--red-brand);  font-weight: 700; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-old);
  text-decoration: none;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--cream); }

.nav-back {
  font-size: 13px;
  text-decoration: none;
  color: var(--gold-old);
  letter-spacing: 1px;
  transition: color var(--transition);
}
.nav-back:hover { color: var(--cream); }

/* Persistent ticketing CTA in the sticky nav */
.nav-cta {
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: 2px;
  white-space: nowrap;
  margin-left: 24px;
}
.nav-cta:hover {
  background: var(--cream);
  color: var(--purple-deep);
  border-color: var(--cream);
}


/* ─── 6. COMPONENTS ─────────────────────────────────────────── */

/* Rules */
.rule-gold {
  width: 60px;
  height: 2px;
  background: var(--gold-old);
  margin: 18px 0;
}
.rule-gold.center {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 18px 36px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 9999px;
}

.btn-primary {
  background: var(--gold-deep);
  color: var(--purple-deep);
  border-color: var(--gold-deep);
}
.btn-primary:hover {
  background: var(--purple-deep);
  color: var(--gold-deep);
  border-color: var(--purple-deep);
}

.btn-outline {
  background: transparent;
  color: var(--purple-deep);
  border-color: var(--purple-deep);
}
.btn-outline:hover {
  background: var(--purple-deep);
  color: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: var(--gold-old);
  border-color: var(--gold-old);
}
.btn-ghost:hover {
  background: var(--gold-old);
  color: var(--purple-deep);
}

.btn-arrow::after { content: ' →'; }

.cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: var(--space-md);
}


/* ─── 7. SECTIONS ───────────────────────────────────────────── */

/* HERO */
.hero {
  background:
    radial-gradient(ellipse at top right, rgba(205, 164, 66, 0.12), transparent 60%),
    linear-gradient(180deg, var(--purple-royal) 0%, var(--purple-deep) 100%);
  color: var(--cream);
  padding: var(--space-2xl) 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 80px, rgba(183, 165, 122, 0.03) 80px 81px);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  position: relative;
}
.hero h1 {
  font-family: var(--font-squared);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: var(--space-md) 0;
}
.hero h1 em {
  font-family: var(--font-squared);
  font-style: normal;
  font-weight: 400;
  color: var(--gold-old);
  display: block;
  letter-spacing: 0.02em;
}
.hero-lede {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(250, 246, 236, 0.85);
  max-width: 480px;
}
.hero-stat {
  text-align: right;
  border-left: 1px solid rgba(183, 165, 122, 0.3);
  padding-left: 50px;
}
.hero-stat-num {
  font-family: var(--font-squared);
  font-size: clamp(86px, 11vw, 150px);
  font-weight: 700;
  line-height: 1;
  color: var(--gold-old);
  letter-spacing: 0;
}
.hero-stat-label {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 20px;
  color: var(--cream);
  margin-top: 12px;
  max-width: 240px;
  margin-left: auto;
}

/* Hero celebration photo (post-event) */
.hero-photo {
  position: relative;
}
.hero-photo img {
  width: 100%;
  border: 2px solid var(--gold-old);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.65);
}

/* IMPACT */
.impact {
  padding: var(--space-2xl) 0 80px;
  background: var(--cream);
}
.impact-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.impact-header h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  color: var(--purple-deep);
  margin: var(--space-sm) 0 0;
  line-height: 1.1;
}
.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}
.impact-image {
  position: relative;
}
.impact-image img {
  width: 100%;
  border: 1px solid var(--gold-old);
}
.impact-image::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 14px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--purple-royal);
  z-index: -1;
}
.impact-caption {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 15px;
  color: var(--purple-deep);
  margin-top: var(--space-sm);
  padding-left: 14px;
  border-left: 2px solid var(--gold-old);
}
.impact-text p {
  font-size: 18px;
  margin-bottom: 22px;
  color: #2a1530;
}
.impact-text p:first-of-type {
  font-family: var(--font-italic);
  font-size: 26px;
  font-style: italic;
  line-height: 1.4;
  color: var(--purple-deep);
}
.impact-text p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 900;
  float: left;
  line-height: 0.85;
  padding: 8px 12px 0 0;
  color: var(--gold-deep);
  font-style: normal;
}

/* THIS YEAR / EVENT */
.this-year {
  background: var(--paper);
  padding: var(--space-2xl) 0;
  border-top: 1px solid rgba(109, 32, 119, 0.15);
  border-bottom: 1px solid rgba(109, 32, 119, 0.15);
}
.section-head {
  text-align: center;
  margin-bottom: 50px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--purple-deep);
  line-height: 1.05;
  margin-top: 14px;
}
.section-head .italic-serif {
  display: inline-block;
  color: var(--gold-deep);
  font-size: 1.25em;
  font-weight: 400;
}
.section-head p {
  max-width: 620px;
  margin: var(--space-md) auto 0;
  font-size: 18px;
  color: #2a1530;
}

.event-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--cream);
  border: 1px solid var(--gold-old);
  margin-top: 50px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(79, 24, 89, 0.35);
}
.event-card-flyer {
  background: var(--purple-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}
.event-card-flyer img {
  width: 100%;
  max-width: 380px;
  border: 2px solid var(--gold-old);
}
.event-card-details {
  padding: 56px 50px;
}
.event-card-details h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--purple-deep);
  line-height: 1.1;
  margin-bottom: 6px;
}
.event-card-details h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
}

.detail-list {
  list-style: none;
  margin: 32px 0;
}
.detail-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px dotted rgba(109, 32, 119, 0.25);
  font-size: 16px;
}
.detail-list li:last-child { border-bottom: none; }
.detail-list .label {
  font-family: var(--font-body);
  font-weight: bold;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-deep);
  align-self: center;
}
.detail-list .value { color: var(--ink); }
.detail-list .value strong { color: var(--purple-deep); }

/* DONATE */
.donate {
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple-royal) 100%);
  color: var(--cream);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.donate::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(205, 164, 66, 0.15), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(205, 164, 66, 0.1), transparent 40%);
  pointer-events: none;
}
.donate-inner { position: relative; }
.donate h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  margin: 14px 0 18px;
  line-height: 1.1;
}
.donate h2 em {
  font-style: italic;
  color: var(--gold-old);
}
.donate p {
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 18px;
  color: rgba(250, 246, 236, 0.85);
}
.donate .btn-primary {
  background: var(--gold-old);
  border-color: var(--gold-old);
}
.donate .btn-primary:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--purple-deep);
}

/* PRINCIPLES */
.principles {
  background: var(--cream);
  padding: 70px 0;
  border-top: 1px solid rgba(109, 32, 119, 0.1);
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.principle {
  padding: 20px 16px;
  border-right: 1px solid rgba(109, 32, 119, 0.15);
}
.principle:last-child { border-right: none; }
.principle .display {
  font-size: 24px;
  font-weight: 700;
  color: var(--purple-deep);
  margin-bottom: 4px;
}
.principle .italic-serif {
  font-size: 14px;
  color: var(--gold-deep);
}

/* FOOTER */
.footer {
  background: var(--purple-deep);
  color: var(--cream);
  padding: 50px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 32px;
}
.footer h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-old);
  margin-bottom: 14px;
}
.footer-brand {
  font-family: var(--font-squared) !important;
  font-size: 22px !important;
  letter-spacing: 3px !important;
}
.footer-brand .brand-coleman { color: var(--gold-deep); }
.footer-brand .brand-love    { color: var(--red-brand); }
.footer p,
.footer a {
  font-size: 14px;
  color: rgba(250, 246, 236, 0.75);
  text-decoration: none;
  line-height: 1.8;
  transition: color var(--transition);
}
.footer a:hover { color: var(--gold-old); }
.footer-bottom {
  border-top: 1px solid rgba(183, 165, 122, 0.2);
  padding-top: var(--space-md);
  text-align: center;
  font-size: 12px;
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--gold-old);
  letter-spacing: 2px;
}


/* ─── 8. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 880px) {
  .hero { padding: 70px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .hero-stat {
    text-align: left;
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(183, 165, 122, 0.3);
    padding-top: 30px;
  }
  .hero-stat-label { margin-left: 0; }

  .impact-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .impact { padding: var(--space-xl) 0; }

  .event-card { grid-template-columns: 1fr; }
  .event-card-details { padding: var(--space-lg) 28px; }
  .this-year { padding: var(--space-xl) 0; }

  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .principle {
    border-right: none;
    border-bottom: 1px solid rgba(109, 32, 119, 0.15);
    padding: 20px 16px;
  }
  .principle:nth-child(odd) { border-right: 1px solid rgba(109, 32, 119, 0.15); }
  .principle:nth-last-child(-n+2) { border-bottom: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  .detail-list li { grid-template-columns: 1fr; gap: 4px; }

  .nav-links { display: none; } /* Hide nav links on mobile; add hamburger later */
  .nav-cta { padding: 9px 16px; font-size: 11px; letter-spacing: 1.5px; margin-left: 0; }
}
