/*
Theme Name: PFC Clean
Theme URI: https://ppfc.com/
Author: OpenAI
Author URI: https://openai.com/
Description: A custom WordPress theme for Pikes Peak FC with a clean, modern structure and real parent/child page navigation.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pfc-clean
*/

:root {
  --ppfc-purple: #5f1ec6;
  --ppfc-purple-deep: #46158f;
  --ppfc-grey: #474747;
  --ppfc-grey-soft: #717171;
  --ppfc-green: #137a00;
  --ppfc-bg: #ffffff;
  --ppfc-bg-soft: #f5f5f8;
  --ppfc-border: #e7e7ed;
  --ppfc-text: #1f1f1f;
  --ppfc-shadow: 0 18px 45px rgba(17, 15, 41, .08);
  --ppfc-radius: 22px;
  --ppfc-content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ppfc-text);
  background: var(--ppfc-bg);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.65;
}
a { color: var(--ppfc-purple); text-decoration: none; }
a:hover { color: var(--ppfc-purple-deep); }
img { max-width: 100%; height: auto; display: block; }

.container { width: min(var(--ppfc-content), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.content-area { padding: 56px 0 88px; }
.section-shell { margin-bottom: 32px; }
.section-shell:last-child { margin-bottom: 0; }
.section-title {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
  margin: 0 0 16px;
}
.section-subtitle {
  color: var(--ppfc-grey-soft);
  max-width: 760px;
  font-size: 1.05rem;
  margin: 0 0 28px;
}
.eyebrow {
  color: var(--ppfc-green);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.label {
  display: inline-block;
  font-size: .8rem;
  color: var(--ppfc-purple);
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.quote-block {
  padding: 22px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(95, 30, 198, .08), rgba(95, 30, 198, .03));
  border-left: 5px solid var(--ppfc-purple);
  font-weight: 700;
}

.btn,
button,
input[type="submit"],
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: .22s ease;
}
.btn-primary,
input[type="submit"],
.wp-block-button__link {
  background: linear-gradient(135deg, var(--ppfc-purple), var(--ppfc-purple-deep));
  color: #fff;
}
.btn-primary:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover { transform: translateY(-1px); color: #fff; }
.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, .9);
  color: #fff;
}
.btn-secondary:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-secondary-dark {
  background: transparent;
  border-color: var(--ppfc-purple);
  color: var(--ppfc-purple);
}
.btn-secondary-dark:hover { background: var(--ppfc-purple); color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, var(--ppfc-purple-deep), var(--ppfc-purple));
  box-shadow: 0 6px 22px rgba(18, 8, 44, .18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}
.site-branding a {
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
}
.site-branding img { width: 158px; }
.site-nav { display: flex; align-items: center; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav li { position: relative; }
.site-nav a {
  color: #fff;
  font-weight: 700;
  font-size: .96rem;
}
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a,
.site-nav a:hover { color: #d9ffc8; }
.site-nav .menu-item-has-children > a::after {
  content: '▾';
  font-size: .75rem;
  margin-left: 7px;
}
.site-nav .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 260px;
  background: #fff;
  box-shadow: var(--ppfc-shadow);
  border-radius: 16px;
  padding: 10px;
  flex-direction: column;
  gap: 0;
}
.site-nav li:hover > .sub-menu { display: flex; }
.site-nav .sub-menu a {
  color: var(--ppfc-grey);
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
}
.site-nav .sub-menu a:hover { background: var(--ppfc-bg-soft); color: var(--ppfc-purple); }
.menu-toggle {
  display: none;
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.22);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,10,29,.8) 0%, rgba(14,10,29,.6) 34%, rgba(14,10,29,.22) 66%, rgba(14,10,29,.14) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding: 96px 0;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: .96;
  margin: 0 0 14px;
}
.hero p {
  font-size: 1.1rem;
  max-width: 540px;
  color: rgba(255,255,255,.93);
  margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero {
  background: linear-gradient(180deg, rgba(95,30,198,.09), rgba(95,30,198,.04));
  padding: 72px 0 46px;
  border-bottom: 1px solid var(--ppfc-border);
}
.page-hero p { max-width: 760px; margin: 0; color: var(--ppfc-grey-soft); }
.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  margin: 0 0 12px;
  line-height: 1.02;
}

.pathway-grid,
.card-grid,
.pillar-grid,
.photo-grid,
.stat-grid,
.faq-grid,
.mini-grid,
.footer-grid,
.sponsors-grid {
  display: grid;
  gap: 24px;
}
.pathway-grid { grid-template-columns: repeat(4, 1fr); }
.card-grid { grid-template-columns: repeat(2, 1fr); }
.pillar-grid { grid-template-columns: repeat(3, 1fr); }
.photo-grid { grid-template-columns: repeat(5, 1fr); }
.stat-grid { grid-template-columns: repeat(4, 1fr); }
.faq-grid { grid-template-columns: repeat(2, 1fr); }
.mini-grid { grid-template-columns: repeat(3, 1fr); }
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
.sponsors-grid { grid-template-columns: 1.4fr repeat(4, 1fr); }

.pathway-band { background: var(--ppfc-bg-soft); }
.card,
.pathway-item,
.pillar,
.stat,
.faq-item,
.info-panel,
.contact-card {
  background: #fff;
  border: 1px solid var(--ppfc-border);
  border-radius: var(--ppfc-radius);
  box-shadow: var(--ppfc-shadow);
}
.pathway-item,
.pillar,
.stat,
.faq-item,
.info-panel,
.contact-card { padding: 26px; }
.pathway-item { transition: transform .2s ease, border-color .2s ease; }
.pathway-item:hover { transform: translateY(-4px); border-color: rgba(95,30,198,.28); }
.pathway-item .kicker,
.stat-number { color: var(--ppfc-green); font-weight: 800; }
.pathway-item strong { display: block; margin: 8px 0 10px; font-size: 1.12rem; }

.card { overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
.card:hover { transform: translateY(-4px); }
.card-image { min-height: 250px; background-size: cover; background-position: center; }
.card-body { padding: 24px; }
.card-body h3 { margin-top: 0; }

.pillar-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(95,30,198,.1);
  color: var(--ppfc-purple);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; margin-bottom: 14px;
}
.photo-grid img {
  width: 100%; height: 220px; object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--ppfc-shadow);
}
.stat-number { font-size: 1.15rem; text-transform: uppercase; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}
.split-content,
.split-media { min-width: 0; }
.split-media img {
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--ppfc-shadow);
  object-fit: cover;
}
.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.list-check li {
  position: relative;
  padding-left: 30px;
}
.list-check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ppfc-green);
  font-weight: 800;
}

.band-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--ppfc-purple), var(--ppfc-purple-deep));
  color: #fff;
}
.band-cta .section-title,
.band-cta p { max-width: 760px; margin-inline: auto; }

.sponsors-band {
  background: #fff;
  border-top: 1px solid var(--ppfc-border);
}
.sponsors-head { margin-bottom: 18px; }
.sponsor-card {
  background: #fff;
  border: 1px solid var(--ppfc-border);
  border-radius: 18px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-shadow: var(--ppfc-shadow);
}
.sponsor-card img { max-height: 72px; width: auto; object-fit: contain; }
.sponsor-wide img { max-height: 62px; }
.sponsor-placeholder {
  background: linear-gradient(135deg, rgba(95,30,198,.05), rgba(95,30,198,.02));
}
.sponsor-placeholder-text {
  text-align: center;
  color: var(--ppfc-grey-soft);
}
.sponsor-placeholder-text strong {
  display: block;
  color: var(--ppfc-purple);
  margin-bottom: 4px;
}

.site-footer {
  background: #2f2f34;
  color: rgba(255,255,255,.86);
  padding: 54px 0 26px;
}
.footer-logo img { width: 160px; margin-bottom: 16px; }
.site-footer h3 { color: #fff; margin-top: 0; font-size: 1.05rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .95rem;
}

.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }

@media (max-width: 1080px) {
  .pathway-grid,
  .stat-grid,
  .photo-grid,
  .mini-grid,
  .footer-grid,
  .sponsors-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid,
  .faq-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--ppfc-purple-deep);
    padding: 16px 20px 22px;
    border-top: 1px solid rgba(255,255,255,.14);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 12px; }
  .site-nav .sub-menu {
    position: static;
    display: block;
    background: transparent;
    box-shadow: none;
    padding: 8px 0 0 12px;
  }
  .site-nav .sub-menu a { color: rgba(255,255,255,.84); padding: 6px 0; }
  .site-nav .sub-menu a:hover { background: transparent; color: #fff; }
  .split,
  .card-grid,
  .pillar-grid,
  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(var(--ppfc-content), calc(100% - 28px)); }
  .section { padding: 68px 0; }
  .section-sm { padding: 42px 0; }
  .content-area { padding: 42px 0 68px; }
  .pathway-grid,
  .stat-grid,
  .photo-grid,
  .mini-grid,
  .footer-grid,
  .sponsors-grid { grid-template-columns: 1fr; }
  .header-inner { min-height: 78px; }
  .site-branding img { width: 132px; }
  .hero { min-height: 74vh; }
  .hero-content { padding: 72px 0; }
  .photo-grid img { height: 240px; }
}
