/* ===== GLOBAL BASE STYLES ===== */

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: var(--line-height-normal);
  color: var(--color-charcoal);
  background-color: var(--color-white);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: var(--line-height-tight);
}

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
}

/* ===== UTILITY CLASSES ===== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--wide {
  max-width: 1400px;
}

.container--narrow {
  max-width: 700px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ===== BUTTONS ===== */

.btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 4px;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 500;
  letter-spacing: var(--letter-spacing-wide);
  text-align: center;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn--primary {
  background: var(--color-rose-gold);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-rose-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(183, 110, 121, 0.3);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--outline {
  background: transparent;
  color: var(--color-rose-gold);
  border: 2px solid var(--color-rose-gold);
}

.btn--outline:hover {
  background: var(--color-rose-gold);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* ===== MUSIC TOGGLE ===== */

.music-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-rose-gold);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(183, 110, 121, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.music-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(183, 110, 121, 0.5);
}

.music-toggle__icon {
  display: none;
}

.music-toggle__bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
}

.music-toggle__bars span {
  display: block;
  width: 3px;
  background: var(--color-white);
  border-radius: 2px;
}

.music-toggle__bars span:nth-child(1) { height: 8px; }
.music-toggle__bars span:nth-child(2) { height: 14px; }
.music-toggle__bars span:nth-child(3) { height: 10px; }

.music-toggle.is-playing .music-toggle__bars span {
  animation: musicBar 0.8s ease-in-out infinite alternate;
}

.music-toggle.is-playing .music-toggle__bars span:nth-child(1) {
  animation-delay: 0s;
}

.music-toggle.is-playing .music-toggle__bars span:nth-child(2) {
  animation-delay: 0.2s;
}

.music-toggle.is-playing .music-toggle__bars span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes musicBar {
  0%   { height: 4px; }
  100% { height: 18px; }
}

/* ===== SECTION COMMON STYLES ===== */

.section__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section__title {
  font-family: var(--font-script);
  font-size: var(--text-script-lg);
  color: var(--color-rose-gold);
  margin-bottom: var(--space-sm);
}

.section__subtitle {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  color: var(--color-gray-dark);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  font-weight: 300;
}

.section__divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-rose-gold), transparent);
  margin: var(--space-md) auto 0;
}
