html, body {
  margin: 0;
  font-family: 'Georgia', serif;
  color: #111;
  background: #f4f1ec;
  line-height: 1.6;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

.section {
  position: relative;
  padding: 6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(8px);
  background: inherit;
  z-index: 1;
  opacity: 0.3;
}

.p { 
  background-image: url('./images/IMG_0448.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f4f1ec; /* Fallback color */
}
.f { background-image: url('images/piano2.jpg'); }
.e { background-image: url('images/piano3.jpg'); }
.t { background-image: url('images/piano4.jpg'); }
.c { background-image: url('images/piano5.jpg'); }

.content {
  max-width: 600px;
  z-index: 2;
}

h1, h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.125rem;
}

.cite {
  font-style: italic;
  font-size: 1rem;
  margin-top: 1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

input, textarea {
  padding: 1rem;
  border: none;
  font-size: 1rem;
  border-radius: 4px;
}

button {
  background: #000;
  color: #fff;
  padding: 1rem;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
}

.letter-bg {
  position: absolute;
  font-size: 22rem;
  font-weight: bold;
  opacity: 0.05;
  z-index: 1;
  top: 0;
  left: 5%;
  line-height: 1;
}

/* Colors */
.light { background: #f4f1ec; color: #111; }
.sand { background: #ded9cf; color: #111; }
.orange { background: #e74c00; color: #fff; }
.dark { background: #1e1e1e; color: #fff; }

@media (max-width: 768px) {
  h1, h2 { font-size: 1.75rem; }
  .letter-bg { font-size: 12rem; left: 10%; }
}

@media (max-width: 600px) {
  .hero-image {
    max-width: 100%;
  }
}

.site-header {
  background-color: #f4f1ec;
  color: #111;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 99;
  border-bottom: 1px solid #ddd;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-weight: bold;
  font-size: 1.1rem;
  font-family: 'Georgia', serif;
}

.nav-toggle {
  font-size: 1.5rem;
  cursor: pointer;
}

.section .content {
  position: relative;
  z-index: 2;
}

.stack-card {
  scroll-snap-align: start;
  height: 100vh;
  position: relative;
  transform-origin: center center;
  transition: all 0.3s ease;
  transform: translateY(0) scale(1);
  opacity: 0.7;
  will-change: transform, opacity;
}

.stack-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  z-index: 2;
}

.stack-card:not(.active) {
  transform: translateY(-10px) scale(0.98);
}

@media (max-width: 768px) {
  .stack-card:not(.active) {
    transform: translateY(-5px) scale(0.99);
  }
}