@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");

:root {
  --accent1: #fbd4c5;
  --accent2: #f8b195;
  --accent3: #f67280;
  --accent4: #c06c84;
  --title: #ffffff;
  --text: #c7c7c7;
  --bg: #161c22;
  --section-bg: #1e242c;
}

.about-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10%;
  background-color: #1e242c;
  color: var(--text);
  gap: 40px;
  flex-wrap: wrap;
  min-height: 100vh;
}

.about-hero-text {
  max-width: 600px;
}

.about-hero-text h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 101px;
  font-weight: 300;
  color: var(--title);
  margin-top: 0;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.about-subtitle {
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 35px;
  color: var(--accent3);
  margin-bottom: 20px;
}

.about-hero-text p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.about-social-icons {
  display: flex;
  gap: 25px;
}

.about-social-icons a {
  font-size: 1.8rem;
  color: var(--accent1);
  transition: color 0.3s ease, transform 0.3s ease;
}

.about-social-icons a:hover {
  color: var(--accent3);
  transform: translateY(-4px);
}

.about-hero-image img {
  max-width: 500px;
  border-radius: 12px;
}

.tech-section {
  background-color: var(--bg);
  padding: 80px 10%;
  color: var(--text);
  text-align: center;
}

.section-title {
  font-size: 4.5rem;
  font-weight: 300;
  font-family: "Bebas Neue", sans-serif;
  margin-top: 0;
  margin-bottom: 40px;
  color: var(--title);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  justify-items: center;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.tech-item i {
  font-size: 2.2rem;
  color: var(--accent1);
  margin-bottom: 10px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.tech-item span {
  font-size: 0.95rem;
}

.tech-item:hover i {
  transform: scale(1.3);
  color: var(--accent3);
}

.skills {
  background-color: var(--section-bg);
  color: var(--text);
  padding: 80px 10%;
  text-align: center;
}

.skills h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 4.5rem;
  text-transform: uppercase;
  color: var(--title);
  font-weight: 300;
  margin-top: 0;
  margin-bottom: 20px;
}

.skills-intro {
  font-size: 1.1rem;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  justify-items: center;
}

.skill-card {
  background-color: var(--bg);
  padding: 20px 15px;
  border-radius: 10px;
  font-weight: bold;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  text-align: center;
}

.skill-card:hover {
  transform: translateY(-5px);
  background-color: #f67280;
  color: #ffffff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.experience-timeline {
  background-color: var(--bg);
  color: var(--text);
  padding: 80px 10%;
}

.experience-timeline h2 {
  margin-top: 0;
  text-align: center;
  font-size: 4rem;
  font-family: "Bebas Neue", sans-serif;
  color: var(--title);
  margin-bottom: 60px;
  text-transform: uppercase;
  font-weight: 300;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background-color: var(--accent1);
  z-index: 1;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
  opacity: 0;
  transition: all 0.8s ease-out;
}

.timeline-item.left {
  left: 0;
  transform: translateX(-80px);
  text-align: left;
}

.timeline-item.right {
  left: 50%;
  transform: translateX(80px);
  text-align: left;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 24px;
  width: 20px;
  height: 20px;
  background-color: var(--accent1);
  border-radius: 50%;
  z-index: 2;
}

.timeline-item.left::before {
  right: -10px;
}

.timeline-item.right::before {
  left: -10px;
}

.timeline-content {
  background-color: var(--section-bg);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 460px;
  display: inline-block;
}

.timeline-content h4 {
  color: var(--accent3);
  margin-bottom: 10px;
}

.timeline-meta {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 12px;
}

@media screen and (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 20px;
  }

  .timeline-item.left,
  .timeline-item.right {
    left: 0;
    transform: translateY(60px);
    text-align: left;
  }

  .timeline-item.visible {
    transform: translateY(0);
  }

  .timeline-item::before {
    left: 20px;
  }

  .timeline-content {
    text-align: left;
    display: block;
  }
}
