/* =================================
   Homepage Typography - Eternal Roam
   ================================= */

.section-header {
  max-width: 900px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-title {
  font-family: var(--font-primary);
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--tertiary-color);
  margin: 1rem auto;
}

.section-description {
  font-size: var(--er-fs-deck);
  color: var(--text-medium);
  max-width: 700px;
  margin: 0 auto;
}

/* Typography for hero section */
.hero-title {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.title-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
}

.title-word:nth-child(1) {
  animation: fadeInUp 1s ease forwards 0.4s;
}

.title-word:nth-child(2) {
  animation: fadeInUp 1s ease forwards 0.5s;
}

.title-word:nth-child(3) {
  animation: fadeInUp 1s ease forwards 0.6s;
}

.title-word:nth-child(4) {
  animation: fadeInUp 1s ease forwards 0.7s;
}

/* Gold accent line similar to Saints page */
.title-decoration {
  position: relative;
  width: 100px;
  height: 4px;
  background-color: var(--tertiary-color);
  margin: 1.5rem 0;
  border-radius: 2px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.8s;
}

.title-decoration::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 20px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--tertiary-color);
  border-radius: 50%;
  background-color: transparent;
  transform: translateX(-50%);
}

.title-decoration::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 20px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--tertiary-color);
  border-radius: 50%;
  background-color: transparent;
  transform: translateX(50%);
}

.hero-description {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 5rem; /* Increased from 2rem to 5rem for more space */
  color: var(--text-light);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.9s;
  max-width: 600px;
}

/* Category Label */
.title-category {
  display: inline-block;
  background-color: var(--tertiary-color);
  color: var(--text-light);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: var(--er-fs-floor);
  box-shadow: 0 4px 12px rgba(137, 83, 72, 0.3);
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.3s;
}

/* Saints cards typography */
.saint-name {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.saint-years {
  font-size: var(--er-fs-floor);
  color: var(--text-medium);
  margin-bottom: 0.5rem;
}

.saint-location {
  display: flex;
  align-items: center;
  font-size: var(--er-fs-floor);
  color: var(--text-medium);
  margin-bottom: 1rem;
}

/* Destinations typography */
.destination-name {
  font-family: var(--font-primary);
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.destination-description {
  font-size: var(--er-fs-deck);
  line-height: 1.6;
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

/* CTA section typography */
.card-title {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.card-subtitle {
  font-size: var(--er-fs-deck);
  color: var(--text-medium);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Quotes & testimonials */
.saint-quote blockquote {
  font-style: italic;
  font-size: var(--er-fs-deck);
  line-height: 1.5;
  margin: 0;
  padding-left: 1.5rem;
  color: var(--text-dark);
}

blockquote {
  font-style: italic;
  font-size: var(--er-fs-deck);
  line-height: 1.7;
  color: var(--text-dark);
  margin: 2.5rem 0 1.5rem;
  position: relative;
  z-index: 1;
  flex: 1;
}
