/*
Theme Name: Splash Child
Theme URI: https://pocketcitybasketball.com
Description: Child theme of Splash. Adds a clean, fast "Modern Home" page template that matches the Pocket City Basketball app's current branding, without touching or slowing down any other page on the site.
Author: Pocket City Basketball
Template: splash
Version: 1.0.0
Text Domain: splash-child
*/

/* ==========================================================================
   Modern Home template styles
   Everything below is scoped under body.pcb-modern-home so it can never
   affect any other page on the site (this stylesheet loads site-wide as
   the standard WP child-theme cascade). Design matches the app-aligned
   "Modern Home" mock approved by the client.
   ========================================================================== */

body.pcb-modern-home {
  --red: #ef1b24;
  --red2: #b90913;
  --ink: #08090b;
  --panel: #111318;
  --muted: #aeb3be;
  --line: #272a32;
  --white: #fff;
  --max: 1180px;
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}
body.pcb-modern-home * { box-sizing: border-box; }
body.pcb-modern-home html { scroll-behavior: smooth; }
body.pcb-modern-home a { color: inherit; text-decoration: none; }
body.pcb-modern-home button { font: inherit; }
body.pcb-modern-home .wrap { width: min(var(--max), calc(100% - 40px)); margin: auto; }

/* Top bar */
body.pcb-modern-home .topbar { background: var(--red); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-align: center; padding: 8px 16px; }

/* Nav */
body.pcb-modern-home .nav { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
body.pcb-modern-home .brand { display: flex; align-items: center; gap: 13px; font-weight: 900; letter-spacing: 0.05em; }
body.pcb-modern-home .brand img { width: 60px; height: 60px; object-fit: contain; }
body.pcb-modern-home .brand span { font-size: 18px; }
body.pcb-modern-home .navlinks { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 800; }
body.pcb-modern-home .pill, body.pcb-modern-home .primary, body.pcb-modern-home .secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 7px; font-weight: 900; letter-spacing: 0.02em; }
body.pcb-modern-home .pill, body.pcb-modern-home .primary { background: var(--red); box-shadow: 0 10px 30px rgba(239,27,36,.25); }
body.pcb-modern-home .secondary { border: 1px solid rgba(255,255,255,.333); background: rgba(11,12,14,.8); }
body.pcb-modern-home .menu { display: none; background: none; border: 0; color: #fff; font-size: 27px; }

/* Hero */
body.pcb-modern-home .hero { min-height: 630px; background: linear-gradient(90deg, rgba(8,9,11,.95) 0%, rgba(8,9,11,.79) 48%, rgba(8,9,11,.133) 100%), url("https://pocketcitybasketball.com/wp-content/themes/splash-child/assets/pcb-hero-mock.png") center center / cover; display: flex; align-items: center; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
body.pcb-modern-home .hero::after { content: ""; position: absolute; inset: auto -4% -100px 45%; height: 190px; background: var(--red); transform: skewY(-5deg); opacity: .9; }
body.pcb-modern-home .hero-copy { position: relative; z-index: 1; max-width: 720px; padding: 88px 0; }
body.pcb-modern-home .eyebrow { display: flex; align-items: center; gap: 11px; color: #ff7379; font-size: 13px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
body.pcb-modern-home .eyebrow::before { content: ""; width: 36px; height: 3px; background: var(--red); }
body.pcb-modern-home .hero h1 { font-size: clamp(48px, 7vw, 88px); line-height: .93; letter-spacing: -.055em; margin: 22px 0; text-transform: uppercase; max-width: 700px; }
body.pcb-modern-home .outline { -webkit-text-stroke: 1.5px white; color: transparent; }
body.pcb-modern-home .hero p { font-size: 19px; color: #d4d7dd; max-width: 610px; margin: 0 0 30px; }
body.pcb-modern-home .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Quick-nav strip, overlaps hero */
body.pcb-modern-home .quick { position: relative; z-index: 2; margin-top: -45px; }
body.pcb-modern-home .quick-grid { display: grid; grid-template-columns: repeat(3,1fr); background: var(--white); color: var(--ink); border-radius: 10px; overflow: hidden; box-shadow: 0 24px 55px rgba(0,0,0,.533); }
body.pcb-modern-home .quick a { padding: 24px 28px; border-right: 1px solid #ddd; display: flex; justify-content: space-between; align-items: center; }
body.pcb-modern-home .quick a:last-child { border: 0; }
body.pcb-modern-home .quick small { display: block; color: #777; font-weight: 700; }
body.pcb-modern-home .quick strong { font-size: 17px; }
body.pcb-modern-home .arrow { color: var(--red); font-size: 25px; }

/* Section shell */
body.pcb-modern-home section { padding: 94px 0; }
body.pcb-modern-home .section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
body.pcb-modern-home .section-head h2 { font-size: clamp(34px, 5vw, 54px); line-height: 1; margin: 8px 0 0; text-transform: uppercase; letter-spacing: -.04em; }
body.pcb-modern-home .section-head p { max-width: 500px; color: var(--muted); margin: 0; }

/* Find Your Court — program cards (all active/upcoming programs) */
body.pcb-modern-home .programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
body.pcb-modern-home .card { background: linear-gradient(145deg,#181a20,#0f1014); border: 1px solid rgba(239,27,36,0.45); border-radius: 12px; padding: 28px; min-height: 300px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
body.pcb-modern-home .card::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 100%; height: 4px; background: var(--red); transform: scaleX(.18); transform-origin: left center; transition: .25s; }
body.pcb-modern-home .card:hover::before { transform: scaleX(1); }
body.pcb-modern-home .status { align-self: flex-start; background: #2b1013; color: #ff7d83; border: 1px solid #612127; border-radius: 100px; padding: 5px 10px; font-size: 12px; font-weight: 900; text-transform: uppercase; }
body.pcb-modern-home .card h3 { font-size: 27px; line-height: 1.05; margin: 24px 0 12px; }
body.pcb-modern-home .card p { color: var(--muted); margin: 0; }
body.pcb-modern-home .card-link { margin-top: auto; font-weight: 900; color: #fff; padding-top: 18px; display: inline-block; }
body.pcb-modern-home .card-link span { color: var(--red); margin-left: 8px; }

/* One App. Every Game. */
body.pcb-modern-home .app { background: #f3f3f4; color: #111; }
body.pcb-modern-home .app-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 70px; align-items: center; }
body.pcb-modern-home .app .eyebrow { color: var(--red2); }
body.pcb-modern-home .app h2 { font-size: clamp(42px,5vw,66px); line-height: .95; text-transform: uppercase; letter-spacing: -.05em; margin: 18px 0; color: #111; }
body.pcb-modern-home .app p { color: #545861; font-size: 18px; }
body.pcb-modern-home .features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
body.pcb-modern-home .feature { background: #fff; border: 1px solid #ddd; border-radius: 8px; padding: 14px; font-weight: 800; color: #111; }
body.pcb-modern-home .phone { max-width: 390px; margin: auto; background: #090a0d; border: 10px solid #202129; border-radius: 42px; padding: 22px; color: #fff; box-shadow: 0 35px 60px rgba(0,0,0,.267); transform: rotate(2deg); }
body.pcb-modern-home .phone-top { display: flex; align-items: center; gap: 10px; }
body.pcb-modern-home .phone-top img { width: 48px; height: 48px; object-fit: contain; }
body.pcb-modern-home .phone-card { background: #181a20; border: 1px solid #2d3039; border-radius: 16px; padding: 18px; margin-top: 18px; }
body.pcb-modern-home .phone-card.red { background: linear-gradient(135deg,#ef1b24,#a60912); }
body.pcb-modern-home .phone-label { font-size: 11px; text-transform: uppercase; letter-spacing: .13em; color: #bbb; }
body.pcb-modern-home .phone-card.red .phone-label { color: #ffd5d7; }
body.pcb-modern-home .score { font-size: 28px; font-weight: 900; margin: 5px 0; }
body.pcb-modern-home .phone-row { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.133); padding-top: 12px; margin-top: 12px; }
body.pcb-modern-home .phone-nav { display: flex; justify-content: space-around; color: #aaa; font-size: 11px; margin-top: 22px; }
body.pcb-modern-home .phone-nav b { color: #ff4d55; }

/* The Pocket Legacy */
body.pcb-modern-home .proof { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
body.pcb-modern-home .news { min-height: 410px; background: linear-gradient(0deg, rgba(9,10,13,.96), rgba(9,10,13,.133)), url("https://pocketcitybasketball.com/wp-content/themes/splash-child/assets/pcb-news-mock.png") center center / cover; border-radius: 12px; padding: 30px; display: flex; flex-direction: column; justify-content: end; }
body.pcb-modern-home .news h3 { font-size: 32px; line-height: 1.05; margin: 10px 0; }
body.pcb-modern-home .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
body.pcb-modern-home .stat { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
body.pcb-modern-home .stat strong { font-size: 44px; color: var(--red); display: block; line-height: 1; }
body.pcb-modern-home .stat span { color: var(--muted); font-weight: 700; }
body.pcb-modern-home .stat-motto strong { font-size: 20px; color: var(--white); line-height: 1.35; }

/* Partners */
body.pcb-modern-home .partners { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
body.pcb-modern-home .partners p { color: var(--muted); font-size: 13px; letter-spacing: .13em; text-transform: uppercase; font-weight: 900; }
body.pcb-modern-home .partner-names { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; font-size: 20px; font-weight: 900; color: #ccc; }

/* CTA band */
body.pcb-modern-home .cta { background: var(--red); padding: 72px 0; }
body.pcb-modern-home .cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
body.pcb-modern-home .cta h2 { font-size: clamp(34px,5vw,56px); line-height: 1; margin: 0; text-transform: uppercase; letter-spacing: -.04em; }
body.pcb-modern-home .cta .secondary { border-color: #fff; background: #fff; color: #111; }

/* Footer */
body.pcb-modern-home footer { padding: 45px 0; }
body.pcb-modern-home .footer { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; color: var(--muted); }
body.pcb-modern-home footer .brand { color: #fff; margin-bottom: 18px; }
body.pcb-modern-home .footer h4 { color: #fff; margin: 0 0 12px; }
body.pcb-modern-home .footer a { display: block; margin: 7px 0; }
body.pcb-modern-home .copyright { border-top: 1px solid var(--line); margin-top: 35px; padding-top: 20px; font-size: 13px; color: #777; }

@media (max-width: 860px) {
  body.pcb-modern-home .navlinks { display: none; }
  body.pcb-modern-home .menu { display: block; }
  body.pcb-modern-home .hero { min-height: 590px; background-position: 62% center; }
  body.pcb-modern-home .hero-copy { padding: 65px 0 90px; }
  body.pcb-modern-home .quick-grid, body.pcb-modern-home .app-grid, body.pcb-modern-home .proof { grid-template-columns: 1fr; }
  body.pcb-modern-home .quick a { border-right: 0; border-bottom: 1px solid #ddd; }
  body.pcb-modern-home .quick a:last-child { border-bottom: 0; }
  body.pcb-modern-home .section-head { align-items: start; flex-direction: column; }
  body.pcb-modern-home .app-grid { gap: 45px; }
  body.pcb-modern-home .phone { transform: none; }
  body.pcb-modern-home .footer { grid-template-columns: 1fr 1fr; }
  body.pcb-modern-home .cta .wrap { align-items: start; flex-direction: column; }
}
@media (max-width: 560px) {
  body.pcb-modern-home .wrap { width: min(calc(100% - 28px), var(--max)); }
  body.pcb-modern-home .topbar { font-size: 11px; }
  body.pcb-modern-home .brand span { display: none; }
  body.pcb-modern-home .nav { height: 72px; }
  body.pcb-modern-home .brand img { width: 52px; height: 52px; }
  body.pcb-modern-home .hero { min-height: 610px; }
  body.pcb-modern-home .hero p { font-size: 17px; }
  body.pcb-modern-home .actions a { width: 100%; }
  body.pcb-modern-home .footer { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  body.pcb-modern-home .programs { grid-template-columns: 1fr; }
}