/*
Theme Name: Keys Strings Music Studio
Theme URI: https://littlemaestros.com
Author: Little Maestros Music Studio
Author URI: https://littlemaestros.com
Description: Keys Strings Music Studio – A warm, playful, and professional theme for children's music studios specialising in Piano, Violin, and Viola lessons for young children from age 3.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: little-maestros
Tags: music, kids, education, colorful, one-page
*/

/* ── CSS Variables ── */
:root {
  --sky: #EEF7FF;
  --navy: #1B3A5C;
  --coral: #FF6B6B;
  --yellow: #FFD166;
  --mint: #06D6A0;
  --lavender: #C3B1E1;
  --white: #FFFFFF;
  --soft-gray: #F8F5FF;
  --text: #2C3E50;
  --muted: #7F8C9A;
}

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; transition: color 0.2s; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
}

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-pad { padding: 6rem 4rem; }

/* ── Utilities ── */
.section-eyebrow {
  font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 0.6rem;
}
.section-heading {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900; color: var(--navy); margin-bottom: 0.8rem;
}
.section-sub {
  font-size: 1rem; color: var(--muted); font-weight: 600;
  max-width: 520px; line-height: 1.6; margin-bottom: 3rem;
}

/* ── Buttons ── */
.btn-main {
  display: inline-block;
  background: var(--coral); color: white;
  padding: 1rem 2.4rem; border-radius: 100px;
  font-weight: 800; font-size: 1rem;
  box-shadow: 0 6px 20px rgba(255,107,107,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
  border: none; cursor: pointer;
}
.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(255,107,107,0.45);
  color: white;
}
.btn-outline {
  display: inline-block;
  background: transparent; color: var(--navy);
  padding: 1rem 2rem; border-radius: 100px;
  font-weight: 800; font-size: 0.95rem;
  border: 2px solid rgba(27,58,92,0.2); transition: all 0.3s;
}
.btn-outline:hover {
  border-color: var(--navy);
  background: rgba(27,58,92,0.05);
  color: var(--navy);
}
.btn-white {
  display: inline-block; background: white; color: var(--coral);
  padding: 1rem 2.5rem; border-radius: 100px;
  font-weight: 900; font-size: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15); transition: all 0.3s;
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.2);
  color: var(--coral);
}

/* ── NAV ── */
#site-header {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(255,107,107,0.12);
  box-shadow: 0 2px 20px rgba(27,58,92,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 4rem;
}
.site-logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.1rem; font-weight: 900; color: var(--navy);
  white-space: nowrap;
}
.logo-icon {
  width: 38px; height: 38px; background: var(--coral);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(255,107,107,0.35);
  animation: wiggle 3s ease-in-out infinite;
}
.logo-em { color: var(--coral); }

#site-nav { display: flex; gap: 1.2rem; align-items: center; }
#site-nav a {
  font-size: 0.92rem; font-weight: 700; color: var(--text);
}
#site-nav a:hover { color: var(--coral); }
#site-nav .nav-cta {
  background: var(--coral); color: white !important;
  padding: 0.6rem 1.5rem; border-radius: 100px;
  box-shadow: 0 4px 14px rgba(255,107,107,0.35);
}
#site-nav .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,107,107,0.4);
}

/* Hamburger (mobile) */
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.menu-toggle span {
  width: 26px; height: 3px; background: var(--navy);
  border-radius: 2px; transition: all 0.3s;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #FFF9F0 0%, #EEF7FF 50%, #F5F0FF 100%);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; padding: 6rem 4rem 3rem;
  position: relative; overflow: hidden;
}
.blob {
  position: absolute; border-radius: 50%;
  opacity: 0.15; filter: blur(60px);
  animation: blobFloat 6s ease-in-out infinite;
  pointer-events: none;
}
.blob-1 { width: 400px; height: 400px; background: var(--coral); top: -100px; right: 100px; }
.blob-2 { width: 300px; height: 300px; background: var(--yellow); bottom: -50px; left: 50px; animation-delay: 2s; }
.blob-3 { width: 250px; height: 250px; background: var(--lavender); top: 30%; left: 40%; animation-delay: 4s; }

.floatie {
  position: absolute; font-size: 1.8rem;
  animation: floatUp 5s ease-in-out infinite;
  user-select: none; pointer-events: none;
}
.floatie:nth-child(4) { top: 18%; left: 8%; animation-delay: 0s; }
.floatie:nth-child(5) { top: 55%; left: 45%; animation-delay: 1.2s; font-size: 1.3rem; }
.floatie:nth-child(6) { top: 20%; right: 10%; animation-delay: 2.5s; }
.floatie:nth-child(7) { bottom: 22%; left: 25%; animation-delay: 3.5s; font-size: 1.5rem; }
.floatie:nth-child(8) { bottom: 30%; right: 20%; animation-delay: 1s; font-size: 1.2rem; }

.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,209,102,0.25); border: 2px solid rgba(255,209,102,0.6);
  padding: 0.45rem 1.1rem; border-radius: 100px;
  font-size: 0.82rem; font-weight: 800; color: #B8860B;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.7s ease both;
}
.hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  font-weight: 900; line-height: 1.1;
  color: var(--navy); margin-bottom: 1.2rem;
  animation: fadeUp 0.7s ease 0.1s both;
}
.hero h1 .highlight {
  color: var(--coral); display: inline-block; position: relative;
}
.hero h1 .highlight::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 6px; background: var(--yellow); border-radius: 3px; opacity: 0.7;
}
.hero-sub {
  font-size: 1.1rem; line-height: 1.7; color: var(--muted);
  max-width: 460px; margin-bottom: 1rem; font-weight: 600;
  animation: fadeUp 0.7s ease 0.2s both;
}
.age-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--mint); color: white;
  padding: 0.35rem 1rem; border-radius: 100px;
  font-size: 0.82rem; font-weight: 800; margin-bottom: 2rem;
  animation: fadeUp 0.7s ease 0.25s both;
}
.hero-btns {
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
  animation: fadeUp 0.7s ease 0.3s both;
}
.hero-visual {
  position: relative; z-index: 2;
  display: flex; justify-content: center; align-items: center;
  animation: fadeUp 0.8s ease 0.4s both;
}
.cards-stack { position: relative; width: 320px; height: 420px; }
.kid-card {
  position: absolute; border-radius: 2rem; padding: 2rem;
  width: 240px; text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12); transition: transform 0.3s;
}
.kid-card:hover { transform: translateY(-8px) scale(1.03) !important; }
.kid-card-1 {
  background: linear-gradient(135deg, #FFE8E8, #FFD0D0);
  top: 0; left: 20px; transform: rotate(-3deg);
  border: 3px solid rgba(255,107,107,0.2); z-index: 30 !important;
}
.kid-card-2 {
  background: linear-gradient(135deg, #F0EAFF, #DDD0FF);
  top: 70px; left: 60px; transform: rotate(2deg);
  border: 3px solid rgba(195,177,225,0.4); z-index: 20 !important;
}
.kid-card-3 {
  background: linear-gradient(135deg, #E8F8F0, #C8F0E0);
  top: 130px; left: 0; transform: rotate(-6deg);
  border: 3px solid rgba(6,214,160,0.2); z-index: 10 !important;
}
.kid-card-emoji { font-size: 4rem; display: block; margin-bottom: 0.8rem; }
.kid-card-title { font-weight: 900; font-size: 1.2rem; color: var(--navy); }
.kid-card-age { font-size: 0.78rem; font-weight: 700; color: var(--muted); margin-top: 0.3rem; }

/* ── TRUST STRIP ── */
#trust-strip {
  background: var(--navy); padding: 1.5rem 4rem;
  display: flex; justify-content: center; gap: 4rem; align-items: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.6rem;
  color: rgba(255,255,255,0.8); font-size: 0.88rem; font-weight: 700;
}
.trust-item .ti-icon { font-size: 1.3rem; }

/* ── INSTRUMENTS ── */
#instruments { padding: 6rem 4rem; background: var(--soft-gray); }
.instruments-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.instr-card {
  background: white; border-radius: 2rem;
  padding: 2.5rem 2rem; text-align: center;
  border: 2px solid transparent;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.instr-card:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(0,0,0,0.1); }
.instr-card.piano:hover { border-color: rgba(255,107,107,0.35); }
.instr-card.violin:hover { border-color: rgba(195,177,225,0.6); }
.instr-card.viola:hover { border-color: rgba(6,214,160,0.45); }
.instr-emoji { font-size: 5rem; display: block; margin-bottom: 1.2rem; }
.instr-badge {
  display: inline-block; padding: 0.3rem 0.9rem;
  border-radius: 100px; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1rem;
}
.piano .instr-badge { background: rgba(255,107,107,0.12); color: var(--coral); }
.violin .instr-badge { background: rgba(195,177,225,0.3); color: #7B68EE; }
.viola .instr-badge { background: rgba(6,214,160,0.12); color: #05A87D; }
.instr-name { font-size: 1.6rem; font-weight: 900; color: var(--navy); margin-bottom: 0.6rem; }
.instr-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.6; font-weight: 600; margin-bottom: 1.5rem; }
.instr-ages { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.age-pill {
  background: var(--sky); color: var(--navy);
  padding: 0.3rem 0.8rem; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700;
  border: 1.5px solid rgba(27,58,92,0.1);
}

/* ── WHY START EARLY ── */
#why-kids { padding: 6rem 4rem; background: white; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-visual {
  background: linear-gradient(135deg, #FFF0E8, #FFE8D6);
  border-radius: 2.5rem; padding: 3rem; position: relative;
  border: 3px solid rgba(255,107,107,0.15);
}
.big-number {
  font-size: 8rem; font-weight: 900; color: var(--coral); line-height: 1;
  opacity: 0.12; position: absolute; top: 1rem; right: 2rem; user-select: none;
}
.milestone-list { display: flex; flex-direction: column; gap: 1.2rem; }
.milestone-item {
  display: flex; align-items: center; gap: 1rem;
  background: white; border-radius: 1rem; padding: 1rem 1.2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06); font-weight: 700; color: var(--navy);
}
.milestone-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.mi-1 { background: rgba(255,107,107,0.12); }
.mi-2 { background: rgba(255,209,102,0.2); }
.mi-3 { background: rgba(195,177,225,0.25); }
.mi-4 { background: rgba(6,214,160,0.12); }
.benefits { display: flex; flex-direction: column; gap: 1.8rem; }
.benefit { display: flex; gap: 1.2rem; align-items: flex-start; }
.benefit-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.bi-1 { background: rgba(255,107,107,0.1); }
.bi-2 { background: rgba(255,209,102,0.18); }
.bi-3 { background: rgba(195,177,225,0.2); }
.bi-4 { background: rgba(6,214,160,0.1); }
.benefit-title { font-size: 1.05rem; font-weight: 900; color: var(--navy); margin-bottom: 0.3rem; }
.benefit-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.6; font-weight: 600; }

/* ── HOW IT WORKS ── */
#how-it-works { padding: 6rem 4rem; background: var(--navy); position: relative; overflow: hidden; }
#how-it-works .section-heading { color: white; }
#how-it-works .section-sub { color: rgba(255,255,255,0.5); }
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; z-index: 1; }
.step {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.5rem; padding: 2rem 1.5rem; text-align: center; transition: background 0.3s;
}
.step:hover { background: rgba(255,255,255,0.1); }
.step-num-badge {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--coral); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem; margin: 0 auto 1.2rem;
  box-shadow: 0 6px 18px rgba(255,107,107,0.4);
}
.step-emoji { font-size: 2.5rem; display: block; margin-bottom: 0.8rem; }
.step-title { font-weight: 900; font-size: 1rem; color: white; margin-bottom: 0.6rem; }
.step-desc { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.6; font-weight: 600; }

/* ── TESTIMONIALS ── */
#testimonials { padding: 6rem 4rem; background: var(--soft-gray); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testi-card {
  background: white; border-radius: 1.5rem; padding: 2rem;
  border: 2px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05); transition: transform 0.3s;
}
.testi-card:hover { transform: translateY(-6px); }
.testi-stars { color: var(--yellow); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testi-text { font-size: 0.92rem; line-height: 1.7; color: var(--text); font-weight: 600; margin-bottom: 1.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 0.8rem; }
.author-bubble { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.ab-1 { background: #FFE8E8; } .ab-2 { background: #E8F5E8; } .ab-3 { background: #E8E8FF; }
.author-name { font-weight: 900; font-size: 0.9rem; color: var(--navy); }
.author-detail { font-size: 0.75rem; color: var(--muted); font-weight: 600; }
.testi-tag {
  display: inline-block; margin-top: 0.3rem;
  background: rgba(255,107,107,0.1); color: var(--coral);
  padding: 0.15rem 0.6rem; border-radius: 100px; font-size: 0.7rem; font-weight: 800;
}

/* ── FAQ ── */
#faq { padding: 6rem 4rem; background: white; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--soft-gray); border-radius: 1.2rem; padding: 1.5rem; border: 1.5px solid rgba(0,0,0,0.04); }
.faq-q { font-weight: 900; color: var(--navy); font-size: 0.95rem; margin-bottom: 0.6rem; display: flex; gap: 0.6rem; align-items: flex-start; }
.faq-q::before {
  content: 'Q'; background: var(--coral); color: white;
  width: 22px; height: 22px; border-radius: 6px; min-width: 22px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 900; flex-shrink: 0; margin-top: 1px;
}
.faq-a { font-size: 0.86rem; color: var(--muted); line-height: 1.65; font-weight: 600; padding-left: 1.8rem; }

/* ── CTA ── */
#cta {
  background: linear-gradient(135deg, var(--coral) 0%, #FF8E53 100%);
  padding: 5rem 4rem; text-align: center; position: relative; overflow: hidden;
}
#cta h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); color: white; margin-bottom: 1rem; }
#cta p { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 480px; margin: 0 auto 2.5rem; line-height: 1.6; font-weight: 600; }
.cta-note { color: rgba(255,255,255,0.6); font-size: 0.82rem; margin-top: 1rem; font-weight: 600; }

/* ── FOOTER ── */
#site-footer {
  background: var(--navy); padding: 2.5rem 4rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-logo { display: flex; align-items: center; gap: 0.6rem; font-size: 1.3rem; font-weight: 900; color: white; }
.footer-copy { color: rgba(255,255,255,0.35); font-size: 0.82rem; font-weight: 600; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: rgba(255,255,255,0.4); font-size: 0.82rem; font-weight: 700; }
.footer-links a:hover { color: var(--yellow); }

/* ── Animations ── */
@keyframes wiggle { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes blobFloat { 0%,100% { transform: scale(1) translateY(0); } 50% { transform: scale(1.05) translateY(-15px); } }
@keyframes floatUp { 0%,100% { transform: translateY(0) rotate(-8deg); opacity: 0.5; } 50% { transform: translateY(-18px) rotate(8deg); opacity: 0.9; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-inner { padding: 1rem 1.5rem; }
  #site-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 1.5rem; box-shadow: 0 8px 24px rgba(0,0,0,0.1); gap: 1rem; }
  #site-nav.open { display: flex; }
  .menu-toggle { display: flex; }
  #hero { grid-template-columns: 1fr; padding: 7rem 2rem 3rem; gap: 3rem; }
  .hero-visual { order: -1; }
  .instruments-grid, .why-grid, .testi-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  #trust-strip { gap: 1.5rem; padding: 1.5rem 2rem; }
  .section-pad, #instruments, #why-kids, #how-it-works, #testimonials, #faq, #cta { padding: 4rem 2rem; }
  #site-footer { flex-direction: column; text-align: center; padding: 2rem; }
  #between-lessons > div { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  .steps-row { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
}
