/* ============================================
   Bach to Bebop Music School — Shared Styles
   ============================================ */

html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; color: #2d3748; background: #faf8f4; }

/* ── Nav ── */
#mobile-menu { display: none; }
#mobile-menu.open { display: block; }

/* ── Ornament dividers ── */
.ornament {
  display: flex; align-items: center; gap: 12px;
  justify-content: center; margin-bottom: 1rem;
}
.ornament::before, .ornament::after {
  content: ''; flex: 1; max-width: 80px; height: 1px; background: #c9973a;
}

/* ── Decorative photo frame ── */
.photo-frame { position: relative; display: inline-block; }
.photo-frame::before {
  content: '';
  position: absolute; top: -8px; left: -8px;
  width: 60px; height: 60px;
  border-top: 3px solid #c9973a;
  border-left: 3px solid #c9973a;
  z-index: 2;
}
.photo-frame::after {
  content: '';
  position: absolute; bottom: -8px; right: -8px;
  width: 60px; height: 60px;
  border-bottom: 3px solid #c9973a;
  border-right: 3px solid #c9973a;
  z-index: 2;
}
.photo-frame img {
  display: block;
  border: 3px solid #1e3558;
  position: relative; z-index: 1;
}

/* ── Instrument / generic cards ── */
.instrument-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.instrument-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(30,53,88,0.14);
}

/* ── Testimonial ── */
.testimonial-card { border-left: 4px solid #c9973a; }

/* ── Timeline ── */
.timeline-item { position: relative; }
.timeline-item::before {
  content: '';
  position: absolute; left: -29px; top: 5px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #c9973a;
  border: 2px solid #1e3558;
}

/* ── Audio player ── */
audio {
  width: 100%;
  height: 32px;
  accent-color: #c9973a;
}

/* ── Hero staff lines ── */
.staff-lines {
  position: absolute; inset: 0;
  overflow: hidden; pointer-events: none; opacity: 0.07;
}
.staff-lines svg { width: 100%; height: 100%; }

/* ── Scroll indicator bounce ── */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}
.scroll-bounce { animation: bounce 1.8s ease-in-out infinite; }

/* ── Hero fade-up animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-title { animation: fadeUp 0.8s ease forwards; }
.hero-sub   { animation: fadeUp 0.8s 0.2s ease both; }
.hero-tag   { animation: fadeUp 0.8s 0.35s ease both; }
.hero-btns  { animation: fadeUp 0.8s 0.5s ease both; }

/* ── Page hero (sub-pages, shorter than full-vh) ── */
.page-hero {
  background: #1e3558;
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero-content { position: relative; z-index: 10; }

/* ── Belief cards ── */
.belief-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.belief-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30,53,88,0.12);
}

/* ── Recognition table ── */
.recognition-table th {
  background: #1e3558; color: #c9973a;
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 8px 12px;
  font-weight: 700;
}
.recognition-table td {
  padding: 7px 12px; font-size: 0.85rem;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}
.recognition-table tr:last-child td { border-bottom: none; }
.recognition-table tr:hover td { background: #fdf6e8; }

/* ── Accordion ── */
.accordion-btn { cursor: pointer; user-select: none; }
.accordion-body { display: none; }
.accordion-body.open { display: block; }
.accordion-chevron { transition: transform 0.2s ease; }
.accordion-btn.open .accordion-chevron { transform: rotate(180deg); }

/* ── Contact icon cards ── */
.contact-card {
  transition: background 0.2s ease;
}
.contact-card:hover { background: rgba(255,255,255,0.12); }

/* ── Active nav link ── */
.nav-active { color: #c9973a !important; }
