/* ─────────────────────────────────────────────
   YSHAI AFTERMAN PERCUSSION SCHOOL — Global CSS
   ───────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --deep:        #270949;
  --brand:       #4654A3;
  --brand-mid:   #5B6BBF;
  --accent:      #C49A3C;   /* warm gold — for eyebrows and decorative detail */
  --light:       #EDE8DC;   /* warm linen (was cool lavender) */
  --pale:        #FAF7F2;   /* warm cream (was blue-tinted) */
  --white:       #FFFFFF;
  --border:      #E0D8C8;   /* warm greige (was lavender-grey) */
  --text-dark:   #1A0A3C;
  --text-body:   #4A4468;
  --text-muted:  #8878A8;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 500; line-height: 1.15; }
p { line-height: 1.7; }
a { text-decoration: none; }

.eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.6rem;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 68px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
}

.nav-logo img { height: 38px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-body);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--brand); }

.nav-cta {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  color: var(--white) !important;
  background: var(--brand);
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--deep) !important; color: var(--white) !important; }

/* ── FOOTER ── */
footer {
  background: var(--deep);
  color: rgba(255,255,255,0.6);
  padding: 4rem 2.5rem 3rem;
  border-top: 1px solid rgba(196,154,60,0.3);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand img { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: 0.85; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: white; }

.footer-bottom {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}
.btn svg { width: 14px; height: 14px; }

.btn-primary {
  background: var(--brand);
  color: var(--white);
}
.btn-primary:hover { background: var(--deep); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
}
.btn-ghost:hover { background: var(--brand); color: var(--white); }

.btn-white {
  background: white;
  color: var(--deep);
}
.btn-white:hover { background: var(--light); }

/* ── SECTION WRAPPER ── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-sm { padding: 4rem 2rem; }

/* ── DIVIDER ── */
hr.rule {
  border: none;
  border-top: 1px solid rgba(196,154,60,0.28);
}

/* ── DARK-SECTION HEADING FADE ── */
/* On deep/dark backgrounds, the italic em part of a heading recedes softly */
.page-hero h1 em,
.masterclass-strip h2 em,
.who-section h2 em,
.announce-section h2 em,
.about-hero-text h1 em {
  font-style: italic;
  color: rgba(255,255,255,0.72);
}

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.2s;
}
.nav-hamburger:hover { background: var(--pale); }
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── RESPONSIVE NAV ── */
@media (max-width: 600px) {
  nav { padding: 0 1.25rem; }
  .footer-inner { gap: 1.5rem; }
}

@media (max-width: 768px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem 0 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(39,9,73,0.08);
    z-index: 199;
    list-style: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(224,216,200,0.4);
  }
  .nav-links li:last-child a {
    margin: 0.75rem 2rem 0;
    width: calc(100% - 4rem);
    text-align: center;
    border-bottom: none;
    border-radius: 8px;
  }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-col { display: none; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
