/* Ivory & Resonance — wspólne style pomocnicze, patrz DESIGN.md */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.staff-divider {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 4rem 0;
  width: 100%;
}
.staff-divider span {
  height: 0.5px;
  background-color: #c4c7c7;
  width: 100%;
}

.piano-key {
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.piano-key:hover {
  transform: scaleY(1.05);
  background-color: #f5f3ee;
}
.piano-key.is-active {
  background-color: #fed488 !important;
  transform: scaleY(1.06);
}
.piano-key-black:hover {
  transform: scaleY(1.1);
  background-color: #30312e;
}
.piano-key-black.is-active {
  background-color: #775a19 !important;
  transform: scaleY(1.1);
}

/* Nawigacja — aktywny link podstrony */
.nav-link.active {
  color: #775a19;
}

/* Mobilne menu */
#mobile-menu {
  display: none;
}
#mobile-menu.open {
  display: flex;
}

/* Akordeon FAQ */
.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  opacity: 0;
}
.faq-item.open .faq-answer {
  opacity: 1;
}
.faq-item .faq-icon {
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* Lightbox galerii */
#lightbox {
  display: none;
}
#lightbox.open {
  display: flex;
}

/* Formularz kontaktowy — komunikat statusu */
#form-status {
  display: none;
}
#form-status.show {
  display: block;
}

/* Toast potwierdzenia klawisza pianina (dostępność / feedback bez audio) */
.key-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1b1c19;
  color: #fbf9f4;
  padding: 0.75rem 1.5rem;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 100;
}
.key-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
