
/*
Theme Name: Sing Sam
Theme URI: https://example.com/sing-sam
Author: OpenAI
Description: A colorful, responsive starter theme for the Sing Sam children's music and entertainment brand.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: sing-sam
*/
:root {
  --navy: #123b68;
  --blue: #087fbd;
  --orange: #f47716;
  --yellow: #ffc21b;
  --aqua: #46c9d8;
  --cream: #fff8e9;
  --ink: #18334f;
  --muted: #5d7185;
  --white: #fff;
  --shadow: 0 14px 36px rgba(18,59,104,.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; color:var(--ink); background:#fff; font-family: ui-rounded, "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif; line-height:1.6; }
a { color:inherit; }
img { max-width:100%; height:auto; }
.container { width:min(1160px, calc(100% - 40px)); margin-inline:auto; }
.site-header { background:var(--navy); color:white; position:relative; z-index:5; }
.header-inner { min-height:92px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand img { display:block; width:205px; max-height:78px; object-fit:contain; }
.brand-name { font-weight:900; font-size:2rem; text-decoration:none; color:#fff; }
.main-nav ul { display:flex; list-style:none; gap:26px; margin:0; padding:0; align-items:center; }
.main-nav a { color:#fff; text-decoration:none; font-weight:700; font-size:.96rem; }
.main-nav a:hover, .main-nav a:focus { color:var(--yellow); }
.menu-toggle { display:none; background:transparent; color:white; border:2px solid rgba(255,255,255,.5); border-radius:12px; padding:8px 12px; font-weight:800; }
.hero { overflow:hidden; background:linear-gradient(135deg,#e6f8fb 0%,#fff8e9 58%,#fff 100%); padding:76px 0 70px; position:relative; }
.hero-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:45px; align-items:center; }
.eyebrow { display:inline-flex; align-items:center; gap:8px; color:var(--blue); font-weight:900; letter-spacing:.08em; text-transform:uppercase; font-size:.78rem; }
.eyebrow:before { content:""; width:24px; height:4px; border-radius:5px; background:var(--yellow); }
h1,h2,h3 { line-height:1.12; margin:0 0 18px; color:var(--navy); }
h1 { font-size:clamp(2.7rem,5.4vw,4.8rem); letter-spacing:-.045em; }
h2 { font-size:clamp(2rem,3.5vw,3rem); letter-spacing:-.03em; }
h3 { font-size:1.35rem; }
.hero h1 span { color:var(--orange); }
.hero-copy p { max-width:570px; color:#405b75; font-size:1.16rem; margin:0 0 26px; }
.hero-art { position:relative; }
.hero-art img { display:block; width:100%; max-width:570px; margin:auto; filter:drop-shadow(0 18px 20px rgba(18,59,104,.10)); }
.button-row { display:flex; flex-wrap:wrap; gap:12px; }
.button { display:inline-flex; justify-content:center; align-items:center; border-radius:999px; padding:13px 23px; background:var(--yellow); color:var(--navy); text-decoration:none; font-weight:900; box-shadow:0 5px 0 #e3a900; transition:transform .15s, box-shadow .15s; }
.button:hover { transform:translateY(2px); box-shadow:0 3px 0 #e3a900; }
.button.secondary { background:var(--navy); color:#fff; box-shadow:0 5px 0 #092746; }
.section { padding:76px 0; }
.section-heading { text-align:center; max-width:720px; margin:0 auto 38px; }
.section-heading p { color:var(--muted); font-size:1.08rem; margin:0; }
.cards { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.card { border-radius:24px; padding:28px; background:#fff; box-shadow:var(--shadow); border:1px solid #edf3f7; }
.card-icon { width:58px; height:58px; border-radius:18px; display:grid; place-items:center; font-size:1.8rem; background:#e5f8fa; margin-bottom:18px; }
.card:nth-child(2) .card-icon { background:#fff1dc; }
.card:nth-child(3) .card-icon { background:#edf1ff; }
.card p { color:var(--muted); margin:0; }
.music-section { background:#eaf9fa; }
.music-feature { display:grid; grid-template-columns:1fr 1fr; gap:34px; align-items:center; }
.video-placeholder { min-height:280px; border-radius:28px; background:linear-gradient(135deg,var(--navy),#087fbd); color:white; display:grid; place-items:center; text-align:center; padding:28px; box-shadow:var(--shadow); }
.play { width:74px; height:74px; display:grid; place-items:center; border-radius:50%; background:var(--yellow); color:var(--navy); font-size:2rem; margin:0 auto 14px; padding-left:5px; }
.video-placeholder small { display:block; opacity:.8; }
.feature-copy p { color:var(--muted); }
.parent-band { background:var(--navy); color:white; border-radius:30px; padding:48px; display:grid; grid-template-columns:1.2fr .8fr; align-items:center; gap:25px; }
.parent-band h2 { color:white; }
.parent-band p { color:#dceaf5; margin-bottom:0; }
.parent-badge { justify-self:end; border:3px solid rgba(255,255,255,.3); border-radius:24px; padding:20px 25px; color:var(--yellow); font-size:1.25rem; font-weight:900; text-align:center; transform:rotate(3deg); }
.resource-card { background:var(--cream); }
.cta { text-align:center; background:linear-gradient(120deg,#fff2d5,#e5f8fa); }
.cta p { color:var(--muted); max-width:600px; margin:0 auto 24px; }
.site-footer { background:#0c2c4e; color:#dceaf5; padding:40px 0 22px; }
.footer-inner { display:flex; justify-content:space-between; gap:25px; align-items:center; }
.footer-brand { color:white; font-size:1.5rem; font-weight:900; }
.footer-links { display:flex; flex-wrap:wrap; gap:18px; }
.footer-links a { color:#dceaf5; text-decoration:none; }
.copyright { border-top:1px solid rgba(255,255,255,.16); margin-top:28px; padding-top:18px; font-size:.86rem; color:#a9c0d4; }
.entry-content { width:min(850px,calc(100% - 40px)); margin:60px auto; }
.entry-content h1 { font-size:2.8rem; }
@media (max-width:800px) {
 .header-inner { min-height:78px; }
 .brand img { width:165px; }
 .menu-toggle { display:block; }
 .main-nav { display:none; position:absolute; top:100%; left:0; right:0; background:var(--navy); padding:0 20px 20px; }
 .main-nav.is-open { display:block; }
 .main-nav ul { display:flex; flex-direction:column; align-items:flex-start; gap:0; }
 .main-nav li { width:100%; border-top:1px solid rgba(255,255,255,.14); padding:11px 0; }
 .hero { padding:52px 0; }
 .hero-grid,.music-feature,.parent-band { grid-template-columns:1fr; }
 .hero-art { max-width:500px; margin:auto; }
 .cards { grid-template-columns:1fr; }
 .parent-band { padding:32px 25px; }
 .parent-badge { justify-self:start; }
 .footer-inner { align-items:flex-start; flex-direction:column; }
}
@media (prefers-reduced-motion: reduce) { html {scroll-behavior:auto;} *,*::before,*::after {transition:none!important;} }

/* v1.2 compact branded header */
.site-header {
  background: linear-gradient(105deg, #07518d 0%, #073a70 48%, #062e5d 100%);
  color: #fff;
  position: relative;
  z-index: 20;
  border-bottom: 5px solid var(--yellow);
  box-shadow: 0 5px 14px rgba(8,45,82,.16);
}
.site-header:after {
  content:"";
  position:absolute;
  left:0; right:0; bottom:-8px;
  height:7px;
  background:var(--yellow);
  border-radius:0 0 50% 50%;
  pointer-events:none;
}
.header-inner {
  min-height:104px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.brand-lockup {
  display:flex;
  align-items:center;
  flex:0 0 auto;
  gap:7px;
  min-width:260px;
  max-width:340px;
  text-decoration:none;
}
.brand-fox {
  display:block;
  width:96px;
  height:82px;
  object-fit:contain;
  object-position:center bottom;
  filter:drop-shadow(0 3px 3px rgba(0,0,0,.12));
}
.brand-wordmark {
  display:block;
  width:190px;
  height:auto;
  max-height:64px;
  object-fit:contain;
}
.main-nav { margin-left:auto; }
.main-nav ul {
  display:flex;
  list-style:none;
  gap:5px;
  margin:0;
  padding:0;
  align-items:center;
}
.main-nav li { margin:0; padding:0; }
.main-nav a {
  color:#fff;
  text-decoration:none;
  font-weight:800;
  font-size:.91rem;
  white-space:nowrap;
  display:block;
  padding:11px 13px;
  border-radius:999px;
  transition:background .15s ease,color .15s ease;
}
.main-nav a:hover,.main-nav a:focus,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color:var(--navy);
  background:var(--yellow);
}
.menu-toggle {
  display:none;
  background:var(--yellow);
  color:var(--navy);
  border:0;
  border-radius:999px;
  padding:10px 16px;
  font-weight:900;
}
@media (max-width:1100px) {
  .header-inner { gap:12px; }
  .brand-lockup { min-width:225px; max-width:260px; gap:3px; }
  .brand-fox { width:78px; height:72px; }
  .brand-wordmark { width:155px; max-height:52px; }
  .main-nav a { font-size:.82rem; padding:10px 9px; }
}
@media (max-width:850px) {
  .header-inner { min-height:82px; }
  .brand-lockup { min-width:0; max-width:245px; }
  .brand-fox { width:70px; height:66px; }
  .brand-wordmark { width:145px; max-height:48px; }
  .menu-toggle { display:block; }
  .main-nav {
    display:none;
    position:absolute;
    top:100%;
    left:0; right:0;
    margin:0;
    background:#073766;
    padding:8px 20px 18px;
    box-shadow:0 12px 18px rgba(0,0,0,.18);
  }
  .main-nav.is-open { display:block; }
  .main-nav ul { display:flex; flex-direction:column; align-items:stretch; gap:2px; }
  .main-nav li { width:100%; }
  .main-nav a { padding:12px 14px; font-size:.96rem; }
}
@media (max-width:420px) {
  .brand-fox { width:58px; height:58px; }
  .brand-wordmark { width:124px; max-height:42px; }
  .brand-lockup { gap:0; }
}
