/*
Theme Name: JEBBS
Theme URI: https://jebbasketballschool.com/
Author: Magnitech Marketing
Description: Custom, update-safe foundation theme for Jeb Basketball School.
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: jebbs
*/

:root {
  --jebbs-black: #090909;
  --jebbs-yellow: #fdba13;
  --jebbs-white: #ffffff;
  --jebbs-gray: #b8b8b8;
  --jebbs-panel: #151515;
  --jebbs-line: rgba(255, 255, 255, .15);
  --jebbs-display: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --jebbs-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--jebbs-black); color: var(--jebbs-white); font-family: var(--jebbs-body); line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.screen-reader-text { clip: rect(0, 0, 0, 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.site-header { position: relative; z-index: 5; border-bottom: 1px solid #d9d9d9; background: #ffffff; color: #090909; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 16px; }
.site-brand { display: inline-flex; align-items: center; min-width: 130px; text-decoration: none; }
.site-brand__logo { width: min(190px, 22vw); height: auto; }
.site-nav ul { display: flex; align-items: center; gap: 24px; padding: 0; margin: 0; list-style: none; }
.site-nav a { text-decoration: none; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.site-nav a { color: #090909; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--jebbs-yellow); }
.button { display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--jebbs-yellow); border-radius: 2px; padding: 12px 19px; background: var(--jebbs-yellow); color: var(--jebbs-black); font-weight: 900; letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.button--outline { background: transparent; color: var(--jebbs-white); }
.button:hover, .button:focus-visible { background: var(--jebbs-white); border-color: var(--jebbs-white); color: var(--jebbs-black); }
.mode-toggle { border: 1px solid var(--jebbs-line); border-radius: 2px; padding: 9px 11px; background: transparent; color: inherit; cursor: pointer; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.site-header .mode-toggle { border-color: #bdbdbd; color: #090909; }
.site-header .mode-toggle:hover, .site-header .mode-toggle:focus-visible { border-color: #090909; color: #090909; }
.mode-toggle:hover, .mode-toggle:focus-visible { border-color: var(--jebbs-yellow); color: var(--jebbs-yellow); }
.hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(68px, 10vw, 130px) 0 84px; background: #090909; }
.hero__media, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity .7s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__media:after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(9,9,9,.94) 0%, rgba(9,9,9,.76) 42%, rgba(9,9,9,.28) 100%); }
.hero:after { content: ""; position: absolute; inset: auto -5% -44% 35%; height: 80%; transform: rotate(-8deg); border-top: 2px solid rgba(253,186,19,.5); border-bottom: 2px solid rgba(253,186,19,.15); }
.eyebrow { margin: 0 0 14px; color: var(--jebbs-yellow); font-size: .78rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.display { max-width: 820px; margin: 0; font: 900 clamp(2.8rem, 7.6vw, 6.8rem)/.9 var(--jebbs-display); letter-spacing: -.025em; text-transform: uppercase; }
.display span { color: var(--jebbs-yellow); }
.hero__copy { max-width: 590px; margin: 25px 0 32px; color: #e4e4e4; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.section { padding: 90px 0; }
.section--light { background: var(--jebbs-white); color: var(--jebbs-black); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.section-heading h2 { max-width: 700px; margin: 0; font: 900 clamp(2.3rem, 5vw, 4.8rem)/.92 var(--jebbs-display); text-transform: uppercase; }
.section-heading h2 span { color: var(--jebbs-yellow); }
.section-heading p { max-width: 420px; margin: 0; color: var(--jebbs-gray); }
.section--light .section-heading p { color: #555; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border: 1px solid var(--jebbs-line); padding: 26px; background: var(--jebbs-panel); }
.section--light .card { border-color: #dedede; background: #f7f7f7; }
.card h3 { margin: 0 0 9px; font: 900 1.6rem/1 var(--jebbs-display); text-transform: uppercase; }
.card p { color: var(--jebbs-gray); }
.section--light .card p { color: #555; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--jebbs-line); }
.stat { padding: 28px; background: var(--jebbs-black); }
.stat strong { display: block; color: var(--jebbs-yellow); font: 900 clamp(2.2rem, 5vw, 4.2rem)/1 var(--jebbs-display); }
.stat span { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.site-footer { border-top: 1px solid var(--jebbs-line); padding: 34px 0; color: var(--jebbs-gray); font-size: .85rem; }
.site-footer__inner { display: flex; justify-content: space-between; gap: 20px; }
.content-card { max-width: 820px; margin-top: 34px; color: #e4e4e4; font-size: 1.08rem; }
.content-card h2, .content-card h3 { color: var(--jebbs-yellow); font-family: var(--jebbs-display); text-transform: uppercase; }
.content-card a { color: var(--jebbs-yellow); }
.content-card img { margin: 0 0 28px; }
@media (max-width: 800px) { .site-header__inner, .site-footer__inner { align-items: flex-start; flex-direction: column; padding: 18px 0; } .site-nav ul { flex-wrap: wrap; gap: 12px 16px; } .card-grid, .stats { grid-template-columns: 1fr 1fr; } .section-heading { align-items: flex-start; flex-direction: column; } }
@media (max-width: 520px) { .wrap { width: min(100% - 28px, 1180px); } .site-brand__logo { width: 160px; } .site-header__inner { gap: 13px; } .site-nav { width: 100%; } .site-nav ul { gap: 10px 13px; } .site-header .button { width: 100%; } .mode-toggle { align-self: flex-start; } .card-grid, .stats { grid-template-columns: 1fr; } .hero { padding-top: 58px; padding-bottom: 68px; } .display { font-size: clamp(2.6rem, 15vw, 4.8rem); } .hero__actions .button { width: 100%; } }
@media (max-width: 520px) { .hero__slide img { object-position: 62% center; } .hero__media:after { background: linear-gradient(90deg, rgba(9,9,9,.9), rgba(9,9,9,.42)); } }
@media (prefers-reduced-motion: reduce) { .hero__slide { transition: none; } }

html[data-theme="light"] { --jebbs-black: #f8f8f8; --jebbs-white: #111111; --jebbs-gray: #505050; --jebbs-panel: #ffffff; --jebbs-line: rgba(0, 0, 0, .16); }
html[data-theme="light"] body { background: #f8f8f8; color: #111111; }
html[data-theme="light"] .site-header { background: rgba(248, 248, 248, .94); }
html[data-theme="light"] .site-header { background: #ffffff; color: #090909; }
html[data-theme="light"] .hero { background: radial-gradient(circle at 78% 28%, rgba(253,186,19,.32), transparent 32%), linear-gradient(110deg, #f8f8f8 20%, #e5e5e5 100%); }
html[data-theme="light"] .hero:after { border-color: rgba(0, 0, 0, .18); }
html[data-theme="light"] .section--light { background: #111111; color: #ffffff; }
html[data-theme="light"] .section--light .section-heading p, html[data-theme="light"] .section--light .card p { color: #c4c4c4; }
html[data-theme="light"] .section--light .card { border-color: rgba(255,255,255,.15); background: #1a1a1a; }
