/* ==========================================================================
   Payson Lions Wrestling Club — stylesheet
   Colors: deep green #035727, mid green #098944, black #000000,
           steel gray #AAAAAB, white #FFFFFF
   Headings: Oswald (condensed, athletic — closest free stand-in for Agency FB)
   Body: system sans stack
   ========================================================================== */

:root {
  --green-dark: #035727;
  --green-mid: #098944;
  --black: #000000;
  --charcoal: #111413;
  --panel: #191c1b;
  --gray: #AAAAAB;
  --gray-dim: #6f7271;
  --white: #FFFFFF;

  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --max-width: 1140px;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.15;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: var(--white); }
h3 { font-size: 1.25rem; color: var(--green-mid); }

p { color: #e7e7e7; }
a { color: var(--green-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: var(--green-mid);
  color: var(--white);
}
.btn-primary:hover { background: var(--green-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--gray);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--green-mid); color: var(--green-mid); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0,0,0,.92);
  border-bottom: 1px solid #1e211f;
  backdrop-filter: blur(6px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand-text {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: .03em;
  line-height: 1.1;
}
.brand-text small {
  display: block;
  font-family: var(--font-body);
  text-transform: none;
  font-size: .65rem;
  color: var(--gray);
  letter-spacing: .1em;
}
.brand:hover { text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--gray);
  border-radius: 6px;
  color: var(--white);
  width: 42px;
  height: 38px;
  font-size: 1.2rem;
  cursor: pointer;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--white);
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: .95rem;
  letter-spacing: .03em;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--green-mid);
  border-bottom-color: var(--green-mid);
  text-decoration: none;
}

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 0 16px;
  }
  .main-nav a { display: block; padding: 12px 4px; }
  .nav-wrap { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 0%, rgba(9,137,68,.35), transparent 55%),
    linear-gradient(180deg, var(--charcoal) 0%, var(--black) 70%);
  padding: 72px 0 64px;
  border-bottom: 1px solid #1e211f;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
}
.hero-tagline {
  color: var(--green-mid);
  font-family: var(--font-head);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .95rem;
  margin-bottom: 10px;
}
.hero-art { display: flex; justify-content: center; }
.hero-art img {
  width: 100%;
  max-width: 360px;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.55));
}
.hero p.lead { font-size: 1.15rem; max-width: 52ch; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .btn-row { justify-content: center; }
  .hero-art { order: -1; }
}

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-alt { background: var(--charcoal); border-top: 1px solid #1e211f; border-bottom: 1px solid #1e211f; }
.section-head { max-width: 68ch; margin-bottom: 40px; }
.section-head .eyebrow {
  color: var(--green-mid);
  font-family: var(--font-head);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .85rem;
}

/* ---------- Value cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--panel);
  border: 1px solid #232723;
  border-radius: var(--radius);
  padding: 28px;
}
.card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  font-family: var(--font-head);
  margin-bottom: 16px;
}

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat .figure {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--green-mid);
}
.stat .label {
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .8rem;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--green-dark), var(--green-mid));
  border-radius: var(--radius);
  padding: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-banner h2 { margin-bottom: 6px; }
.cta-banner p { color: rgba(255,255,255,.9); margin: 0; }
.cta-banner .btn-primary { background: var(--black); }
.cta-banner .btn-primary:hover { background: #1a1a1a; }

/* ---------- Info / schedule table ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
}
.info-table th, .info-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid #232723;
}
.info-table th {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--gray);
  font-size: .85rem;
}
.info-table tr:last-child td { border-bottom: none; }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-family: var(--font-head);
}
.badge-practice { background: rgba(9,137,68,.2); color: var(--green-mid); }
.badge-meet { background: rgba(170,170,171,.18); color: var(--gray); }
.badge-tourney { background: rgba(255,255,255,.1); color: var(--white); }

/* ---------- Embed panel (Zeffy placeholders) ---------- */
.embed-panel {
  background: var(--panel);
  border: 1px dashed var(--green-mid);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}
.embed-panel .tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--green-mid);
  font-family: var(--font-head);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
}
.embed-panel p { color: var(--gray); max-width: 60ch; margin: 0 auto; }

/* ---------- Roster ---------- */
.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}
.person-card {
  background: var(--panel);
  border: 1px solid #232723;
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
}
.avatar {
  width: 84px; height: 84px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--green-dark), var(--black));
  border: 2px solid var(--green-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--white);
}
.person-card h3 { margin-bottom: 2px; }
.person-card .role { color: var(--gray); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.person-card p { font-size: .92rem; color: #cfcfcf; }
.placeholder-note {
  font-size: .78rem;
  color: var(--gray-dim);
  font-style: italic;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--gray);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid #2b302e;
  background: #0c0e0d;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--green-mid);
}
.contact-info .row { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-info .row .icon {
  width: 38px; height: 38px; flex: none;
  border-radius: 50%;
  background: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
}
.contact-info .row div p { margin: 0; color: var(--gray); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  border-top: 1px solid #1e211f;
  padding: 40px 0 24px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a, .footer-grid p { color: var(--gray); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.footer-brand img { width: 40px; height: 40px; }
.footer-bottom {
  border-top: 1px solid #1e211f;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--gray-dim);
  font-size: .85rem;
}

/* ---------- Page header (non-home pages) ---------- */
.page-hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, var(--charcoal), var(--black));
  border-bottom: 1px solid #1e211f;
  text-align: center;
}
.page-hero .eyebrow {
  color: var(--green-mid);
  font-family: var(--font-head);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .85rem;
}
.page-hero p { max-width: 60ch; margin: 10px auto 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 12px;
  color: #e7e7e7;
}
.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-mid);
  font-weight: bold;
}
