/* ===============================
   About Page Styles - Timeline Theme
   =============================== */


.about-hero {
  background: linear-gradient(rgba(1, 68, 33, 0.7), rgba(1, 68, 33, 0.7)),
  image-set(
    url('../img/avif/background.avif') 1x,
    url('../img/webp/background.webp') 1x,
    url('../img/fallback/background.png') 1x
  ) no-repeat center;
  background-size: cover;
  color: var(--gold);
  padding: 6rem 2rem;
  text-align: center;
  box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.3);
}
.about-hero h1 {
  margin-top: 1.2rem;
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.about-hero p {
  color: white;
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.timeline-profile::before {
  display: none; /* hide default golden dot */
}

.timeline-event.profile-entry .timeline-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.timeline-avatar {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
}

.timeline-content {
  flex: 1;
}

@media (max-width: 600px) {
  .timeline-event.profile-entry .timeline-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .timeline-avatar {
    width: 72px;
    height: 72px;
  }
}

.timeline-profile .timeline-content {
  padding-left: 3rem;
}

.timeline-section {
  background: rgba(255, 255, 255, 0.95);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding-left: 2rem;
  border-left: 4px solid var(--gold);
}

.timeline-event {
  position: relative;
  padding-left: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.timeline-event.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-event::before {
  content: '';
  position: absolute;
  left: -1.3rem;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--gold);
}

.timeline-event h3 {
  color: var(--dark-green);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.timeline-event p {
  color: var(--black);
  font-size: 1rem;
  line-height: 1.6;
}

.timeline-event h3 i {
  margin-right: 0.5rem;
  color: var(--gold);
}

/* Decorative Side Icons */
.side-icons-left, .side-icons-right {
  display: none;
}

@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2.25rem;
  }

  .timeline-container {
    padding-left: 1rem;
    border-left-width: 3px;
  }

  .timeline-event::before {
    left: -1rem;
    width: 0.75rem;
    height: 0.75rem;
  }

  .timeline-avatar {
    position: static;
    margin-bottom: 1rem;
  }

  .timeline-profile .timeline-content {
    padding-left: 0;
    text-align: center;
  }

  .timeline-event.timeline-profile {
    align-items: center;
  }
}

.init-info-div {
  text-align: center;
  margin: 2rem;
}

.init-info-div:after {
  max-width: 900px;
  content: "";
  background-color: var(--gold);
  width: 100%;
  height: 5px;
  display: block;
  margin: 0 auto 2rem auto;
}

.init-info-div h2 {
  color: var(--dark-green);
  font-family: 'StarsNLove', sans-serif;
  font-size: 2rem;
  font-weight: lighter;
}

.init-info-div p {
  color: var(--black);
  padding-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.hover-test {
  justify-content: center;
  align-items: center;
  display: flex;
}

.test-todo {
  font-weight: lighter;
  color: var(--dark-green);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: 2px;
  font-family: 'StarsNLove', cursive;
}

.cta-btn {
  background-color: var(--dark-green);
  color: var(--gold);
  font-weight: bold;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-radius: 25px;
  width: 30%;
  align-items: center;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-btn:hover {
  background-color: var(--gold);
  color: var(--dark-green);
}
