/* ================================================
   MANARE RESIDENCE — Text Section (Animated Quote)
   ================================================ */

.text-section {
  position: relative;
  width: 100%;
  height: auto;
  padding: 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  overflow: hidden;
}

.text-section__quote {
  font-family: var(--font-secondary);
  font-size: clamp(1.3rem, 2.8vw, 2.5rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--color-blue-dark);
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
  letter-spacing: 0.02em;
}

/* Word-by-word animation */
.text-section__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  margin-right: 0.3em;
}

.text-section__word.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle decorative line above and below */
.text-section__line {
  width: 60px;
  height: 1px;
  background-color: var(--color-blue-dark);
  opacity: 0.2;
  margin: 0 auto;
}

.text-section__line--top {
  margin-bottom: 3rem;
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.text-section__line--bottom {
  margin-top: 3rem;
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.8s ease 1.5s, transform 0.8s ease 1.5s;
}

.text-section.is-animating .text-section__line--top,
.text-section.is-animating .text-section__line--bottom {
  opacity: 0.2;
  transform: scaleX(1);
}
