/*
Theme Name: Henry PTA
Theme URI: https://henry-pta.org
Description: Black-and-gold theme for the Henry Middle School PTA (Henry Hawks). Self-contained classic theme — no Divi, no external parent. Forked in spirit from the Cox PTA theme as the second site toward a generalizable PTA platform.
Author: Paul Furiani
Version: 0.2.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: henry-pta
*/

/* ============================================================
   Henry Hawks brand — black + gold
   ============================================================ */
:root {
  --henry-gold: #f4b41c;
  --henry-gold-bright: #ffc845;
  --henry-gold-deep: #d99a00;
  --henry-black: #141414;
  --henry-ink: #1f1f1f;
  --henry-cream: #fbf6ec;
  --henry-white: #ffffff;
  --henry-gray: #6b6b6b;
  --henry-line: #e7e2d6;

  --henry-font: "Helvetica Neue", Arial, "Segoe UI", system-ui, sans-serif;
  --henry-radius: 10px;
  --henry-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  --henry-maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--henry-font);
  color: var(--henry-ink);
  background: var(--henry-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--henry-gold-deep); }
a:hover { color: var(--henry-black); }

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  color: var(--henry-black);
  letter-spacing: -0.01em;
}

.henry-container {
  width: 100%;
  max-width: var(--henry-maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   Header
   ============================================================ */
.henry-site-header {
  background: var(--henry-black);
  border-bottom: 4px solid var(--henry-gold);
  position: sticky;
  top: 0;
  z-index: 100;
}
.henry-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
}
.henry-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.henry-brand img { height: 56px; width: auto; display: block; }
.henry-brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.henry-brand-name {
  color: var(--henry-white);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.henry-brand-tag {
  color: var(--henry-gold);
  font-size: 0.72rem;
  font-style: italic;
  letter-spacing: 0.02em;
}

/* Nav */
.henry-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.henry-nav a {
  color: var(--henry-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 6px;
}
.henry-nav a:hover,
.henry-nav .current-menu-item > a {
  color: var(--henry-gold);
  background: rgba(255, 255, 255, 0.06);
}

.henry-menu-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--henry-gold);
  color: var(--henry-gold);
  border-radius: 6px;
  padding: 6px 10px;
  font-weight: 700;
  cursor: pointer;
}

/* ============================================================
   Buttons
   ============================================================ */
.henry-btn {
  display: inline-block;
  background: var(--henry-gold);
  color: var(--henry-black) !important;
  font-weight: 800;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--henry-radius);
  border: 2px solid var(--henry-gold);
  transition: transform 0.08s ease, background 0.15s ease;
  letter-spacing: 0.02em;
}
.henry-btn:hover {
  background: var(--henry-gold-bright);
  border-color: var(--henry-gold-bright);
  transform: translateY(-1px);
}
.henry-btn--lg { font-size: 1.15rem; padding: 18px 40px; }
.henry-btn--ghost {
  background: transparent;
  color: var(--henry-white) !important;
  border-color: var(--henry-white);
}
.henry-btn--ghost:hover {
  background: var(--henry-white);
  color: var(--henry-black) !important;
}

/* ============================================================
   Hero (home)
   ============================================================ */
.henry-hero {
  background:
    radial-gradient(1200px 400px at 50% -10%, rgba(244,180,28,0.15), transparent 60%),
    var(--henry-black);
  color: var(--henry-white);
  text-align: center;
  padding: 72px 20px 84px;
}
.henry-hero img.henry-hero-logo {
  width: 150px;
  height: auto;
  margin: 0 auto 20px;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.5));
}
.henry-hero h1 {
  color: var(--henry-white);
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin: 0 0 8px;
}
.henry-hero .henry-tagline {
  color: var(--henry-gold);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  margin: 0 0 28px;
}
.henry-hero .henry-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ============================================================
   Sections / cards
   ============================================================ */
.henry-section { padding: 56px 0; }
.henry-section--cream { background: var(--henry-cream); }
.henry-section h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 8px;
  text-align: center;
}
.henry-section .henry-section-lead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
  color: var(--henry-gray);
  font-size: 1.08rem;
}
.henry-gold-rule {
  width: 64px; height: 4px; background: var(--henry-gold);
  border: 0; margin: 14px auto 24px; border-radius: 2px;
}

/* Generic page content */
.henry-page { padding: 48px 0 64px; }
.henry-page .henry-entry-title { text-align: center; margin-bottom: 8px; }
.henry-content { max-width: 820px; margin: 0 auto; }
.henry-content h2 { margin-top: 1.6em; }
.henry-content img { border-radius: var(--henry-radius); }

/* ============================================================
   Footer
   ============================================================ */
.henry-site-footer {
  background: var(--henry-black);
  color: rgba(255,255,255,0.85);
  padding: 40px 20px;
  text-align: center;
  border-top: 4px solid var(--henry-gold);
}
.henry-site-footer a { color: var(--henry-gold); text-decoration: none; }
.henry-site-footer a:hover { text-decoration: underline; }
.henry-footer-tag { color: var(--henry-gold); font-style: italic; margin-top: 6px; }
.henry-footer-legal { color: rgba(255,255,255,0.55); font-size: 0.85rem; margin-top: 10px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
  .henry-menu-toggle { display: inline-block; }
  .henry-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--henry-black);
    border-bottom: 4px solid var(--henry-gold);
  }
  .henry-nav.is-open { display: block; }
  .henry-nav ul { flex-direction: column; align-items: stretch; padding: 8px; }
  .henry-nav a { display: block; }
  .henry-site-header { position: static; }
}
