/* ============================================
   PJESME — Zbirka poezije
   ============================================ */

/* === INTRO === */
.poems-intro { background: var(--cream); }
.poems-intro-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.poems-intro-inner > p {
  font-size: 1.1rem; font-weight: 300; color: var(--charcoal-light);
  line-height: 1.9; margin-bottom: 1rem;
}
.poems-intro-inner .section-title { margin-bottom: 1.5rem; }

.collection-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2.8rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--cream-dark);
}
.stat-item { text-align: center; }
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2.2rem;
  color: var(--crimson);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-item span {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal-light);
}

/* === FEATURED / COVER POEM === */
.featured-poem {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  text-align: center;
}
.featured-poem::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--charcoal) 0%, var(--olive-dark) 55%, var(--charcoal) 100%);
}
.featured-poem::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 15%, rgba(196,30,92,0.16) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 85%, rgba(196,163,90,0.14) 0%, transparent 55%);
}
.featured-poem-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.featured-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}
.featured-poem h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 0.6rem;
}
.featured-period {
  display: block;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 2.8rem;
}
.featured-poem .poem-line {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
  margin-bottom: 0.5rem;
}

/* Stage pills — jump to each phase */
.stage-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 3.2rem;
  padding-top: 2.6rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.stage-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.18);
  text-decoration: none;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.stage-pill:hover {
  border-color: var(--crimson-light);
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
}
.stage-pill .pill-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--white);
}
.stage-pill .pill-gloss {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
}

/* === STAGE SECTIONS === */
.stage-section { padding: 0; scroll-margin-top: 90px; }

.stage-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 460px;
}
.stage-section.reverse .stage-banner { direction: rtl; }
.stage-section.reverse .stage-banner > * { direction: ltr; }

.stage-visual {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.stage-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) brightness(0.92);
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1), filter 0.6s ease;
}
.stage-section:hover .stage-visual img {
  transform: scale(1.04);
  filter: saturate(1) brightness(1);
}

.stage-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5rem;
  background: var(--warm-white);
}
.stage-number {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 3.4rem;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stage-nigredo .stage-number { color: var(--charcoal-light); }
.stage-albedo .stage-number { color: var(--olive-light); }
.stage-citrinitas .stage-number { color: var(--gold); }
.stage-rubedo .stage-number { color: var(--crimson-light); }

.stage-content .section-label { margin-bottom: 0.3rem; }
.stage-content .section-title { margin-bottom: 1.2rem; }
.stage-content > p {
  font-weight: 300;
  font-size: 1.02rem;
  color: var(--charcoal-light);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}
.stage-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.stage-tags span {
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--cream-dark);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--olive);
}

/* Poems list */
.poems-list { padding: 4.5rem 2rem; }
.stage-nigredo .poems-list,
.stage-citrinitas .poems-list { background: var(--warm-white); }
.stage-albedo .poems-list,
.stage-rubedo .poems-list { background: var(--cream); }

.poems-list-inner { max-width: 760px; margin: 0 auto; }

.poem-item {
  border-bottom: 1px solid var(--cream-dark);
  padding: 1.5rem 0;
}
.poem-item:first-child { border-top: 1px solid var(--cream-dark); }

.poem-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  cursor: pointer;
}
.poem-head-text h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
  transition: color 0.3s ease;
}
.poem-item.is-open .poem-head-text h3 { color: var(--crimson); }

.poem-period {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
}

.poem-toggle {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border: 1px solid var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--crimson);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.poem-item.is-open .poem-toggle {
  border-color: var(--crimson);
  background: var(--crimson);
  color: var(--white);
}

.poem-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}
.poem-body.open { padding-top: 1.4rem; }

.poem-line {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--charcoal-light);
  line-height: 1.6;
  margin-bottom: 0.45rem;
}
.poem-line:last-child { margin-bottom: 0; }

/* === CLOSING NOTE === */
.closing-note { background: var(--warm-white); }
.closing-note-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  border-left: 3px solid var(--crimson);
  padding: 0.5rem 0 0.5rem 2rem;
  text-align: left;
}
.closing-note-inner p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.closing-note-inner p:last-child { margin-bottom: 0; }

/* === CTA (shared pattern) === */
.service-cta { background: var(--charcoal); text-align: center; padding: 5rem 2rem; }
.service-cta h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--white); margin-bottom: 1.5rem;
}
.service-cta p {
  font-weight: 300; color: rgba(255,255,255,0.65); margin-bottom: 2rem;
  max-width: 520px; margin-left: auto; margin-right: auto;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .stage-banner { grid-template-columns: 1fr; }
  .stage-section.reverse .stage-banner { direction: ltr; }
  .stage-visual { min-height: 280px; }
  .stage-content { padding: 3rem 2rem; }
}

@media (max-width: 768px) {
  .collection-stats { gap: 1.8rem; flex-wrap: wrap; }
  .stage-nav { gap: 0.6rem; }
  .stage-pill { padding: 0.7rem 1.1rem; }
  .poems-list { padding: 3rem 1.5rem; }
  .closing-note-inner { padding-left: 1.2rem; }
}
