/* ============================================================
   PPF — Physicians Philanthropic Fund
   Brand Stylesheet
   ============================================================ */

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

/* --- Variables --- */
:root {
  --navy: #1B2A4A;
  --navy-light: #253B66;
  --gold: #C5A55A;
  --gold-light: #D4B96A;
  --gold-dark: #8B7A4E;
  --cream: #FAF7F2;
  --champagne: #E8DCC8;
  --charcoal: #2C2C2C;
  --white: #FFFFFF;
  /* 2026 Secret Garden accents */
  --emerald: #2D5A3D;
  --sage: #7A9A7E;
  --blush: #D4A5A5;
  --leaf-gold: #B8A04A;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Helvetica Neue', sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;

  --max-width: 1200px;
  --nav-height: 80px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold); }

/* --- Navigation --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  background: rgba(27,42,74,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(197,165,90,0.2);
  transition: background 0.3s;
}
.nav-logo img { height: 50px; width: auto; }
.nav-logo { display: flex; flex-direction: column; justify-content: center; line-height: 1.12; }
.nav-logo .wordmark-main {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--cream);
  white-space: nowrap;
  transition: color 0.3s;
}
.nav-logo .wordmark-sub {
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}
.nav-logo:hover .wordmark-main { color: var(--gold-light); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  display: inline-block;
  padding: 10px 28px;
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.3s, transform 0.2s;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); color: var(--navy) !important; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--cream); margin: 5px 0; transition: 0.3s; }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0d1a2e 0%, #1B2A4A 40%, #253B66 70%, #1a3a2a 100%);
  opacity: 1;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.4) 100%);
}
/* Botanical decorative border */
.hero-botanical {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-botanical::before,
.hero-botanical::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border: 1px solid rgba(197,165,90,0.15);
  border-radius: 50%;
}
.hero-botanical::before { top: -100px; left: -100px; }
.hero-botanical::after { bottom: -100px; right: -100px; }
.hero-content {
  position: relative; z-index: 2;
  max-width: 800px;
  padding: 0 24px;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.hero-theme {
  font-family: var(--font-accent);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--sage);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 68px;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -1px;
}
.hero-subtitle {
  font-family: var(--font-accent);
  font-size: 28px;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 32px;
}
.hero-details {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(250,247,242,0.7);
  margin-bottom: 40px;
  line-height: 2;
}
.hero-details strong { color: var(--cream); font-weight: 700; }
.hero-cta {
  display: inline-block;
  padding: 16px 48px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.hero-cta:hover { background: var(--gold-light); transform: translateY(-2px); color: var(--navy); }
/* Gold divider */
.gold-divider {
  width: 60px; height: 2px;
  background: var(--gold);
  margin: 0 auto 32px;
}

/* Decorative leaf SVG elements */
.leaf-left, .leaf-right {
  position: absolute; z-index: 1;
  opacity: 0.08;
}
.leaf-left { left: 0; bottom: 0; width: 35%; }
.leaf-right { right: 0; top: 10%; width: 30%; }

/* --- Sections --- */
section { padding: 100px 24px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold-dark);
  text-align: center;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  margin-bottom: 20px;
}
.section-subtitle {
  font-family: var(--font-accent);
  font-size: 20px;
  font-style: italic;
  color: var(--gold-dark);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

/* Dark section */
.section-dark {
  background: var(--navy);
  color: var(--cream);
}
.section-dark .section-eyebrow { color: var(--gold); }
.section-dark .section-title { color: var(--cream); }
.section-dark .section-subtitle { color: var(--gold); }

/* Champagne section */
.section-champagne { background: var(--champagne); }

/* --- Cards Grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.card {
  background: var(--white);
  border: 1px solid rgba(197,165,90,0.2);
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27,42,74,0.1);
}
.card-icon {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 28px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.card p {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

/* Dark card variant */
.section-dark .card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(197,165,90,0.2);
}
.section-dark .card h3 { color: var(--cream); }
.section-dark .card p { color: rgba(250,247,242,0.7); }

/* --- Charity Cards --- */
.charity-card {
  background: var(--white);
  border: 1px solid rgba(197,165,90,0.2);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.charity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27,42,74,0.1);
}
.charity-img {
  height: 200px;
  background: var(--champagne);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-accent);
  font-size: 18px;
  color: var(--gold-dark);
  font-style: italic;
}
.charity-body {
  padding: 28px 24px;
}
.charity-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 8px;
}
.charity-body p {
  font-size: 15px;
  color: #666;
  margin-bottom: 16px;
}
.charity-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.charity-link:hover { color: var(--navy); }

/* --- Auction Section --- */
.auction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.auction-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(197,165,90,0.15);
  padding: 28px 24px;
  transition: border-color 0.3s;
}
.auction-item:hover { border-color: var(--gold); }
.auction-category {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
}
.auction-item h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--cream);
  margin-bottom: 8px;
}
.auction-item p {
  font-size: 14px;
  color: rgba(250,247,242,0.6);
  line-height: 1.6;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #253B66 100%);
  padding: 80px 24px;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--cream);
  margin-bottom: 16px;
}
.cta-banner p {
  font-family: var(--font-accent);
  font-size: 20px;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 36px;
}
/* Tickets section helpers */
.cta-banner .ticket-note {
  font-family: var(--font-body);
  font-size: 13px;
  font-style: normal;
  color: rgba(250,247,242,0.6);
  max-width: 540px;
  margin: 28px auto 0;
  line-height: 1.7;
}
.ticket-embed {
  max-width: 720px;
  margin: 40px auto 0;
  background: var(--white);
  border: 1px solid rgba(197,165,90,0.3);
}
.ticket-embed iframe {
  width: 100%;
  min-height: 720px;
  border: 0;
  display: block;
}

/* --- About Page --- */
.about-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  background: var(--navy);
  text-align: center;
}
.about-hero h1 {
  font-family: var(--font-display);
  font-size: 52px;
  color: var(--cream);
  margin-bottom: 16px;
}
.about-hero p {
  font-family: var(--font-accent);
  font-size: 22px;
  color: var(--gold);
  font-style: italic;
}
.about-content {
  max-width: 800px;
  margin: 0 auto;
}
.about-content p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--charcoal);
}
.about-content h2 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--navy);
  margin: 48px 0 20px;
}

/* Timeline */
.timeline { position: relative; padding-left: 40px; margin: 40px 0; }
.timeline::before {
  content: '';
  position: absolute; left: 12px; top: 0; bottom: 0;
  width: 2px; background: var(--gold);
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-item::before {
  content: '';
  position: absolute; left: -34px; top: 6px;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--cream);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.timeline-text {
  font-size: 16px;
  color: #666;
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item {
  aspect-ratio: 4/3;
  background: var(--champagne);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-accent);
  font-size: 16px;
  color: var(--gold-dark);
  font-style: italic;
  border: 1px solid rgba(197,165,90,0.2);
  overflow: hidden;
  transition: transform 0.3s;
  cursor: pointer;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Past event cards */
.event-card {
  display: flex;
  background: var(--white);
  border: 1px solid rgba(197,165,90,0.2);
  overflow: hidden;
  margin-bottom: 32px;
}
.event-card-img {
  flex: 0 0 360px;
  background: var(--champagne);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-accent);
  font-size: 18px;
  color: var(--gold-dark);
  font-style: italic;
}
.event-card-body { padding: 40px; flex: 1; }
.event-card-body h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 4px;
}
.event-card-date {
  font-size: 14px;
  color: var(--gold-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.event-card-body p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.7;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: rgba(250,247,242,0.6);
  padding: 60px 24px 30px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--cream);
  margin-bottom: 16px;
}
.footer p { font-size: 14px; line-height: 1.8; }
.footer a { color: var(--gold); }
.footer a:hover { color: var(--gold-light); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: rgba(250,247,242,0.6);
  font-size: 14px;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(197,165,90,0.15);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}
.footer-bottom p { color: rgba(250,247,242,0.4); }

/* --- Utilities --- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.btn-outline {
  display: inline-block;
  padding: 12px 36px;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
}
.btn-outline:hover { background: var(--gold); color: var(--navy); }

/* --- Responsive --- */
@media (max-width: 968px) {
  .hero h1 { font-size: 48px; }
  .hero-subtitle { font-size: 22px; }
  .section-title { font-size: 34px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .event-card { flex-direction: column; }
  .event-card-img { flex: none; height: 240px; }
  /* Collapse nav to hamburger early so the wordmark has room */
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--nav-height); left: 0; right: 0;
    background: var(--navy);
    padding: 24px 40px;
    gap: 20px;
    border-bottom: 1px solid rgba(197,165,90,0.2);
  }
}

@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-logo .wordmark-main { font-size: 16px; letter-spacing: 0; }
  .nav-logo .wordmark-sub { font-size: 8px; letter-spacing: 2px; }
  .nav-cta { display: none; }
  .hero h1 { font-size: 38px; }
  .hero-subtitle { font-size: 20px; }
  .section-title { font-size: 28px; }
  section { padding: 60px 16px; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
