/*
Theme Name: B.O.C.E.K Foundation
Theme URI: https://bocekfoundation.org
Author: B.O.C.E.K Foundation
Description: Custom nonprofit WordPress theme for B.O.C.E.K Foundation: Building Our Community, Empowering Kids.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: bocek-foundation
*/

:root {
  --bocek-orange: #f58220;
  --bocek-green: #2f7d32;
  --bocek-blue: #0b4f8a;
  --bocek-black: #0d0d0d;
  --bocek-charcoal: #171717;
  --bocek-gray: #f4f4f1;
  --bocek-white: #ffffff;
  --bocek-text: #202020;
  --bocek-muted: #5b5b5b;
  --bocek-radius: 24px;
  --bocek-shadow: 0 20px 60px rgba(0,0,0,.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--bocek-text);
  background: #fff;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; top: -40px; left: 12px; background: var(--bocek-black); color: #fff; padding: 8px 12px; z-index: 999; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; letter-spacing: .06em; }
.brand img { width: 62px; height: auto; }
.brand span { display: grid; line-height: 1.05; }
.brand small { font-size: 11px; letter-spacing: .12em; color: var(--bocek-orange); }
.main-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 0; margin: 0; list-style: none; }
.main-nav a { display: block; text-decoration: none; padding: 12px 14px; border-radius: 999px; font-weight: 800; font-size: 14px; }
.main-nav a:hover, .main-nav .current-menu-item > a { background: var(--bocek-gray); color: var(--bocek-orange); }
.nav-toggle { display: none; border: 0; background: var(--bocek-black); color: #fff; border-radius: 999px; padding: 10px 14px; font-weight: 900; }

.btn, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; text-decoration: none; font-weight: 900; border: 2px solid transparent; transition: .2s ease; }
.btn-primary { background: var(--bocek-orange); color: var(--bocek-black); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(245,130,32,.3); }
.btn-dark { background: var(--bocek-black); color: #fff; }
.btn-outline { background: transparent; color: var(--bocek-black); border-color: var(--bocek-black); }
.btn-outline:hover { background: var(--bocek-black); color: #fff; }

.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 15% 20%, rgba(245,130,32,.22), transparent 32%), linear-gradient(135deg, #101010 0%, #202020 45%, #0d0d0d 100%); color: #fff; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 38px 38px; opacity: .3; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; padding: 88px 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--bocek-orange); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.kicker::before { content: ""; width: 34px; height: 4px; background: var(--bocek-orange); border-radius: 999px; }
h1, h2, h3 { line-height: 1.05; margin: 0 0 18px; }
h1 { font-size: clamp(44px, 7vw, 86px); letter-spacing: -.05em; }
h2 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.04em; }
h3 { font-size: 24px; }
.lead { font-size: clamp(18px, 2vw, 22px); color: rgba(255,255,255,.88); max-width: 730px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-card { position: relative; border-radius: 32px; overflow: hidden; box-shadow: var(--bocek-shadow); border: 1px solid rgba(255,255,255,.16); }
.hero-card img { width: 100%; height: 520px; object-fit: cover; }
.hero-badge { position: absolute; left: 22px; bottom: 22px; right: 22px; background: rgba(13,13,13,.82); border: 1px solid rgba(255,255,255,.22); padding: 18px; border-radius: 22px; backdrop-filter: blur(8px); font-weight: 900; }

.section { padding: 86px 0; }
.section-alt { background: var(--bocek-gray); }
.section-dark { background: var(--bocek-black); color: #fff; }
.section-dark p { color: rgba(255,255,255,.78); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.section-heading p { max-width: 680px; margin: 0; color: var(--bocek-muted); }
.section-dark .section-heading p { color: rgba(255,255,255,.72); }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border-radius: var(--bocek-radius); padding: 30px; box-shadow: 0 8px 32px rgba(0,0,0,.08); border: 1px solid rgba(0,0,0,.06); }
.section-dark .card { background: #171717; color: #fff; border-color: rgba(255,255,255,.1); }
.icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; margin-bottom: 20px; background: rgba(245,130,32,.14); color: var(--bocek-orange); font-size: 30px; }
.card p { margin-bottom: 0; color: var(--bocek-muted); }
.section-dark .card p { color: rgba(255,255,255,.72); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: center; }
.split img { border-radius: 30px; box-shadow: var(--bocek-shadow); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.stat { background: #fff; border-left: 5px solid var(--bocek-orange); padding: 20px; border-radius: 18px; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.stat strong { display: block; font-size: 32px; line-height: 1; }
.stat span { font-weight: 800; color: var(--bocek-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }

.cookout-band { background: linear-gradient(135deg, var(--bocek-black), #2b160a); color: #fff; border-radius: 34px; padding: 42px; overflow: hidden; position: relative; }
.cookout-band::after { content:""; position:absolute; width:440px; height:440px; border-radius:50%; background:rgba(245,130,32,.14); right:-170px; top:-120px; }
.cookout-band > * { position: relative; z-index: 1; }
.pill-list { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 0; padding: 0; list-style: none; }
.pill-list li { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 9px 14px; font-weight: 800; }

.gallery { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.gallery img { border-radius: 24px; width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.gallery-side { display: grid; gap: 18px; }

.cta { text-align: center; background: radial-gradient(circle at 50% 0, rgba(245,130,32,.26), transparent 35%), var(--bocek-black); color: #fff; padding: 72px 28px; border-radius: 36px; }
.cta p { max-width: 760px; margin-left: auto; margin-right: auto; color: rgba(255,255,255,.78); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list a { color: var(--bocek-orange); font-weight: 900; text-decoration: none; }

.site-footer { background: #0b0b0b; color: #fff; padding: 52px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 28px; }
.site-footer p, .site-footer li { color: rgba(255,255,255,.72); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 18px; font-size: 14px; color: rgba(255,255,255,.62); }
.legal-note { font-size: 13px; color: rgba(255,255,255,.6); }

.page-hero { padding: 68px 0; background: linear-gradient(135deg, #111, #2b160a); color: #fff; }
.page-content { padding: 70px 0; }
.page-content .container { max-width: 920px; }
.wp-block-image img { border-radius: 24px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; top: 84px; left: 0; right: 0; background: #fff; padding: 18px 20px 22px; border-bottom: 1px solid rgba(0,0,0,.08); }
  .main-nav.open { display: block; }
  .main-nav ul { display: grid; gap: 6px; }
  .hero-inner, .split, .grid-2, .grid-3, .footer-grid, .gallery { grid-template-columns: 1fr; }
  .hero-card img { height: 380px; }
  .section-heading { display: block; }
  .stat-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1160px); }
  .hero-inner, .section { padding: 56px 0; }
  .card, .cookout-band { padding: 24px; }
  .brand span { display:none; }
}
