/* ==================== ABOUT.HTML SPECIFIC STYLES ==================== */
/* Common styles are in common.css */

/* ==================== ABOUT SECTION ==================== */
.about-section {
  display: flex;
  gap: 50px;
  padding: 8vh 0;
}

.about-left {
  flex: 0 0 300px;
  text-align: center;
}

.about-left img.profile-picture {
  width: 100%;
  border-radius: 30px;
  margin-bottom: 20px;
}

.about-left .hero-image-title {
  width: 100%;
  height: auto;
  padding-bottom: 20px;
}

.about-left .social-links {
  margin-top: 20px;
}

.about-left .social-links img {
  height: 24px;
  margin: 0 8px;
  transition: transform 0.2s ease;
}

.about-left .social-links a:hover img {
  transform: scale(1.1);
}

.about-right {
  flex: 1;
  color: var(--color-text-header);
  line-height: 1.7;
}

.about-right h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-top: 30px;
  margin-bottom: 15px;
}

.about-right ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 40px;
}

.about-right ul li {
  padding-left: 25px;
  position: relative;
  margin-bottom: 8px;
}

.about-right ul li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

/* ==================== COLLABORATIONS SECTION ==================== */
.collaborations-section {
  padding: 5vh 0;
  text-align: center;
}

.collaborations-section h3 {
  font-family: "Raleway", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 30px;
  font-weight: normal;
}

.logos-container img {
  width: 100%;
  height: auto;
}

/* ==================== CTA SECTION ==================== */
.cta-wrapper {
  display: flex;
  justify-content: center;
  margin: 10vh 0;
}

.cta-section {
  max-width: 800px;
  width: 100%;
  padding: 30px 40px;
  border-radius: 50px;
  background: url("Media/Backgrounds/gradient.png") center/cover;
  text-align: center;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.cta-section a {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-text);
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

.cta-section a .original-text,
.cta-section a .copied-text {
  transition: opacity 0.3s ease;
}

.cta-section a .copied-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.cta-section a.copied .original-text {
  opacity: 0;
}

.cta-section a.copied .copied-text {
  opacity: 1;
}

/* ==================== INFO SECTION ==================== */
.info-section {
  text-align: center;
  padding: 5vh 0;
  color: var(--color-text-header);
  padding-bottom: 15px;
}

.info-section h4 {
  color: blueviolet;
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: normal;
}

.info-section ul {
  list-style: none;
  padding: 0;
  margin: 0 auto 5vh auto;
  max-width: 650px;
  text-align: left;
}

.info-section ul li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.info-section ul li::before {
  content: "+";
  color: var(--color-accent);
  position: absolute;
  left: 0;
}

/* ==================== TIMELINE SECTION ==================== */
.timeline-section {
  padding: 5vh 0 10vh 0;
  text-align: center;
}

.timeline-section h4 {
  color: blueviolet;
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: normal;
}

.timeline-section p {
  max-width: 600px;
  margin: 0 auto 50px auto;
  color: var(--color-text-header);
  line-height: 1.7;
}

.time-text.place {
  font-size: small;
  margin: 0;
  padding: 5px;
}

@keyframes scroll-timeline {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.timeline-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.timeline {
  display: flex;
  width: max-content;
  animation: scroll-timeline 30s linear infinite;
}

.timeline-wrapper:hover .timeline {
  animation-play-state: paused;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
}

.timeline-event {
  min-width: 150px;
  text-align: center;
  position: relative;
  padding: 20px 10px;
  color: var(--color-text-header);
}

.timeline-event::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 15px;
  background-color: var(--color-accent);
  border-radius: 50%;
  border: 3px solid #000;
}

.timeline-event .date {
  font-weight: bold;
  color: #fff;
  margin-bottom: 10px;
}

/* ==================== RESPONSIVE - ABOUT SPECIFIC ==================== */
@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-left {
    flex: none;
    width: 100%;
    max-width: 300px;
  }

  .about-right {
    text-align: left;
  }

  .info-section ul {
    padding: 0 20px;
  }

  .cta-section {
    padding: 25px 20px;
    border-radius: 30px;
  }

  .cta-section a {
    font-size: 1.1rem;
  }

  .timeline-wrapper {
    max-width: 100%;
  }
}
