/*
Theme Name: B Boys Snow Party
Theme URI: https://example.com/b-boys-snow-party
Author: B Boys Snow Party
Description: A responsive, winter-themed WordPress theme for artificial snow parties, schools, festivals, community events, and holiday celebrations.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: b-boys-snow-party
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --snow-navy: #061f4a;
  --snow-blue: #0b4f9c;
  --snow-ice: #73d8ff;
  --snow-pale: #eaf8ff;
  --snow-silver: #cbd8e8;
  --snow-white: #ffffff;
  --snow-ink: #13243c;
  --snow-muted: #58708e;
  --snow-radius: 24px;
  --snow-shadow: 0 22px 55px rgba(6, 31, 74, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--snow-ink);
  background: #fff;
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--snow-blue); }
a:hover { color: var(--snow-navy); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 92px 0; }
.section--pale { background: linear-gradient(180deg, #f4fbff 0%, #eaf7ff 100%); }
.eyebrow { margin: 0 0 12px; color: var(--snow-blue); font-size: .82rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.section-title { max-width: 760px; margin: 0 auto 16px; color: var(--snow-navy); font-size: clamp(2rem, 5vw, 3.35rem); line-height: 1.08; text-align: center; }
.section-intro { max-width: 720px; margin: 0 auto 44px; color: var(--snow-muted); text-align: center; }

.site-header { position: sticky; z-index: 50; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(11,79,156,.1); backdrop-filter: blur(14px); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-branding { display: flex; align-items: center; text-decoration: none; }
.custom-logo { display: block; width: auto; max-height: 70px; }
.brand-fallback { color: var(--snow-navy); font-size: 1.4rem; font-weight: 900; text-decoration: none; }
.main-navigation { display: flex; align-items: center; gap: 28px; }
.main-navigation ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.main-navigation a { color: var(--snow-navy); font-size: .94rem; font-weight: 800; text-decoration: none; }
.main-navigation a:hover, .main-navigation .current-menu-item > a { color: var(--snow-blue); }
.main-navigation .menu-item-has-children { position: relative; }
.main-navigation .menu-item-has-children > a::after { content: "⌄"; margin-left: 7px; color: var(--snow-blue); font-size: .9em; }
.main-navigation .sub-menu { position: absolute; top: calc(100% + 16px); left: -18px; min-width: 230px; display: block; visibility: hidden; margin: 0; padding: 12px; background: #fff; border: 1px solid #dcecf8; border-radius: 16px; box-shadow: 0 18px 44px rgba(6,31,74,.16); opacity: 0; transform: translateY(-6px); transition: .18s ease; }
.main-navigation .sub-menu::before { content: ""; position: absolute; top: -18px; right: 0; left: 0; height: 18px; }
.main-navigation .sub-menu li { display: block; }
.main-navigation .sub-menu a { display: block; padding: 10px 12px; border-radius: 10px; white-space: nowrap; }
.main-navigation .sub-menu a:hover { color: var(--snow-blue); background: var(--snow-pale); }
.main-navigation .menu-item-has-children:hover > .sub-menu,
.main-navigation .menu-item-has-children:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: translateY(0); }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; color: #fff !important; background: var(--snow-blue); border-radius: 999px; box-shadow: 0 10px 24px rgba(11,79,156,.22); }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 0; color: var(--snow-navy); background: var(--snow-pale); border: 0; border-radius: 14px; font-size: 1.5rem; cursor: pointer; }

.hero { position: relative; overflow: hidden; min-height: 720px; display: flex; align-items: center; padding: 110px 0 124px; color: #fff; background-color: #061f4a; background-image: linear-gradient(135deg, #041a3d 0%, #073776 54%, #0b5ca8 100%); background-repeat: no-repeat; background-size: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,16,42,.94) 0%, rgba(3,28,68,.82) 43%, rgba(4,35,77,.38) 70%, rgba(2,16,42,.18) 100%); }
.hero-grid { position: relative; z-index: 1; width: 100%; display: block; }
.hero-content { max-width: 760px; }
.hero .eyebrow { color: var(--snow-ice); }
.hero h1 { max-width: 780px; margin: 0 0 22px; color: #fff; font-size: clamp(3rem, 6.8vw, 5.8rem); line-height: .96; letter-spacing: -.045em; text-shadow: 0 5px 28px rgba(0,0,0,.28); }
.hero-copy { max-width: 650px; margin: 0 0 32px; color: #dceeff; font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border: 2px solid transparent; border-radius: 999px; font-weight: 900; text-decoration: none; transition: .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--snow-navy); background: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.18); }
.button--primary:hover { color: var(--snow-blue); }
.button--outline { color: #fff; border-color: rgba(255,255,255,.55); }
.button--outline:hover { color: var(--snow-navy); background: #fff; }
.trust-strip { position: relative; z-index: 2; margin-top: -34px; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; background: #fff; border: 1px solid #e3eff8; border-radius: 22px; box-shadow: var(--snow-shadow); }
.trust-grid--three { grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 24px 20px; text-align: center; }
.trust-item + .trust-item { border-left: 1px solid #e3eff8; }
.trust-icon { width: 38px; height: 38px; display: grid; place-items: center; margin: 0 auto 9px; color: var(--snow-blue); background: var(--snow-pale); border-radius: 50%; font-size: .72rem; font-weight: 900; letter-spacing: .05em; }
.trust-item strong { display: block; color: var(--snow-navy); }
.trust-item span { color: var(--snow-muted); font-size: .9rem; }

.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.card { position: relative; overflow: hidden; padding: 34px; background: #fff; border: 1px solid #dcecf8; border-radius: var(--snow-radius); box-shadow: 0 14px 36px rgba(6,31,74,.08); transition: .22s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--snow-shadow); }
.card-icon { width: 62px; height: 62px; display: grid; place-items: center; margin-bottom: 22px; color: var(--snow-blue); background: var(--snow-pale); border-radius: 18px; font-size: 1.8rem; }
.card h3 { margin: 0 0 10px; color: var(--snow-navy); font-size: 1.35rem; }
.card p { margin: 0; color: var(--snow-muted); }
.card-kicker { display: block; margin-bottom: 22px; color: var(--snow-blue); font-size: .72rem; font-weight: 900; letter-spacing: .16em; }
.event-card { padding-top: 40px; border-top: 4px solid var(--snow-blue); }
.event-card a { display: inline-block; margin-top: 22px; color: var(--snow-navy); font-weight: 900; text-decoration: none; }
.event-card a:hover { color: var(--snow-blue); }

.packages-section { background: #f7fbfe; }
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 24px; }
.package-card { position: relative; display: flex; flex-direction: column; padding: 38px 32px 34px; background: #fff; border: 1px solid #dce8f3; border-radius: 24px; box-shadow: 0 16px 42px rgba(6,31,74,.08); }
.package-card--featured { color: #fff; background: linear-gradient(145deg, #061f4a, #0b4f9c); border-color: transparent; box-shadow: 0 24px 54px rgba(6,31,74,.24); transform: translateY(-12px); }
.package-label { color: var(--snow-blue); font-size: .72rem; font-weight: 900; letter-spacing: .16em; }
.package-card--featured .package-label { color: var(--snow-ice); }
.popular-label { position: absolute; top: 0; right: 28px; padding: 7px 14px; color: var(--snow-navy); background: var(--snow-ice); border-radius: 0 0 10px 10px; font-size: .65rem; font-weight: 900; letter-spacing: .1em; }
.package-card h3 { margin: 14px 0 7px; color: var(--snow-navy); font-size: 1.75rem; }
.package-card--featured h3 { color: #fff; }
.package-audience { margin: 0 0 22px; color: var(--snow-muted); }
.package-card--featured .package-audience { color: #d8eafa; }
.package-card ul { flex: 1; list-style: none; margin: 0 0 28px; padding: 0; }
.package-card li { position: relative; margin: 11px 0; padding-left: 26px; }
.package-card li::before { content: "✓"; position: absolute; left: 0; color: var(--snow-blue); font-weight: 900; }
.package-card--featured li::before { color: var(--snow-ice); }

.split { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 72px; }
.winter-visual { position: relative; min-height: 480px; overflow: hidden; background: radial-gradient(circle at 50% 30%, #a9e9ff, #eaf8ff 42%, #cbdff2 100%); border-radius: 36px; box-shadow: var(--snow-shadow); }
.winter-visual::before { content: "❄"; position: absolute; top: 24px; left: 50%; color: #fff; font-size: 13rem; line-height: 1; text-shadow: 0 18px 40px rgba(6,31,74,.15); transform: translateX(-50%); }
.winter-visual::after { content: ""; position: absolute; right: -10%; bottom: -18%; left: -10%; height: 52%; background: #fff; border-radius: 50% 50% 0 0 / 38% 38% 0 0; box-shadow: 0 -16px 40px rgba(255,255,255,.6); }
.visual-badge { position: absolute; z-index: 2; right: 34px; bottom: 34px; left: 34px; padding: 22px; color: #fff; background: var(--snow-navy); border-radius: 20px; text-align: center; }
.split-copy h2 { margin: 0 0 18px; color: var(--snow-navy); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; }
.check-list { list-style: none; margin: 26px 0 32px; padding: 0; }
.check-list li { position: relative; margin: 12px 0; padding-left: 34px; color: var(--snow-ink); font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; top: 0; left: 0; width: 24px; height: 24px; display: grid; place-items: center; color: #fff; background: var(--snow-blue); border-radius: 50%; font-size: .8rem; }
.button--blue { color: #fff; background: var(--snow-blue); box-shadow: 0 12px 28px rgba(11,79,156,.22); }
.button--blue:hover { color: #fff; background: var(--snow-navy); }

.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 34px 30px; background: #fff; border-radius: 22px; box-shadow: 0 14px 35px rgba(6,31,74,.08); counter-increment: step; }
.step::before { content: "0" counter(step); display: block; margin-bottom: 18px; color: var(--snow-ice); font-size: 2.3rem; font-weight: 900; line-height: 1; }
.step h3 { margin: 0 0 8px; color: var(--snow-navy); }
.step p { margin: 0; color: var(--snow-muted); }

.testimonial { max-width: 850px; margin: 0 auto; padding: 46px; background: #fff; border: 1px solid #dcecf8; border-radius: 28px; box-shadow: var(--snow-shadow); text-align: center; }
.testimonial blockquote { margin: 0 0 18px; color: var(--snow-navy); font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 800; line-height: 1.45; }
.stars { color: #f5b82e; letter-spacing: .18em; }

.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { margin-bottom: 14px; background: #fff; border: 1px solid #dcecf8; border-radius: 18px; }
.faq-item summary { padding: 22px 26px; color: var(--snow-navy); font-weight: 900; cursor: pointer; }
.faq-item p { margin: 0; padding: 0 26px 24px; color: var(--snow-muted); }

.cta { position: relative; overflow: hidden; padding: 74px 0; color: #fff; background: linear-gradient(135deg, var(--snow-navy), var(--snow-blue)); text-align: center; }
.cta::before { content: "❄"; position: absolute; top: -90px; right: 3%; color: rgba(255,255,255,.08); font-size: 18rem; line-height: 1; }
.cta h2 { position: relative; margin: 0 0 16px; font-size: clamp(2.2rem, 5vw, 3.7rem); line-height: 1.05; }
.cta p { position: relative; max-width: 680px; margin: 0 auto 28px; color: #dceeff; }
.cta .button { position: relative; }

.page-hero { padding: 72px 0; color: #fff; background: linear-gradient(135deg, var(--snow-navy), var(--snow-blue)); text-align: center; }
.page-hero h1 { margin: 0; font-size: clamp(2.5rem, 6vw, 4rem); }
.content-area { padding: 72px 0; }
.entry-content { max-width: 900px; margin: 0 auto; }
.entry-content h2, .entry-content h3 { color: var(--snow-navy); }
.post-card { margin-bottom: 28px; padding: 30px; border: 1px solid #dcecf8; border-radius: 22px; }

.site-footer { color: #d9e9f8; background: #03142f; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; padding: 66px 0 46px; }
.footer-logo { width: 250px; max-width: 100%; margin-bottom: 18px; }
.site-footer h3 { margin: 0 0 18px; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: #d9e9f8; text-decoration: none; }
.site-footer a:hover { color: var(--snow-ice); }
.footer-widget { margin-bottom: 22px; }
.footer-widget:last-child { margin-bottom: 0; }
.footer-widget p:first-child { margin-top: 0; }
.footer-widget .wp-block-button__link { color: var(--snow-navy); background: #fff; border-radius: 999px; font-weight: 800; }
.footer-widget .wp-block-social-links { gap: 10px; }
.footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.12); color: #9eb6cf; font-size: .9rem; text-align: center; }

@media (max-width: 900px) {
  .menu-toggle { display: grid; place-items: center; }
  .main-navigation { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; padding: 22px 20px 28px; background: #fff; border-bottom: 1px solid #dcecf8; box-shadow: 0 18px 32px rgba(6,31,74,.1); }
  .main-navigation.is-open { display: block; }
  .main-navigation ul { align-items: stretch; flex-direction: column; gap: 4px; }
  .main-navigation a { display: block; padding: 11px 8px; }
  .nav-cta { margin-top: 10px; }
  .main-navigation .sub-menu { position: static; visibility: visible; min-width: 0; display: block; margin: 2px 0 8px 14px; padding: 4px 0 4px 12px; background: transparent; border: 0; border-left: 2px solid var(--snow-pale); border-radius: 0; box-shadow: none; opacity: 1; transform: none; }
  .main-navigation .sub-menu a { padding: 9px 8px; }
  .split { grid-template-columns: 1fr; }
  .hero { min-height: 650px; padding-top: 88px; text-align: center; }
  .hero-overlay { background: rgba(3,24,58,.78); }
  .hero-content { margin-inline: auto; }
  .hero-copy { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .cards, .steps, .packages-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; border-top: 1px solid #e3eff8; }
  .trust-item:nth-child(4) { border-top: 1px solid #e3eff8; }
  .package-card--featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 68px 0; }
  .custom-logo { max-width: 190px; max-height: 60px; }
  .hero h1 { font-size: 3.2rem; }
  .cards, .steps, .packages-grid, .trust-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-top: 1px solid #e3eff8; border-left: 0; }
  .card, .testimonial { padding: 28px 24px; }
  .winter-visual { min-height: 390px; }
  .footer-about { grid-column: auto; }
}
