/* === NAVBAR HEADER === */
.navbar .header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.navbar .header-left img {
  width: 60px;
  height: auto;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.navbar .header-titles h1 {
  font-size: 18px;
  font-weight: 500;
  margin-left: -170px;
}

.navbar .header-titles h2 {
  font-size: 15px;
  font-weight: 500;
  margin-left: -170px;
}

/* === TIMELINE SEJARAH === */
.timeline-container {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 20px 20px;
  position: relative;
}

/* Garis vertikal di tengah */
.timeline-container::after {
  content: "";
  position: absolute;
  width: 4px;
  background-color: var(--primary-red);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-in-out;
}

.timeline-item.show {
  opacity: 1;
  transform: translateY(0);
}

/* Posisi item (Kiri & Kanan) */
.left {
  left: 0;
}
.right {
  left: 50%;
}

/* Lingkaran pada garis waktu */
.timeline-item::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--white);
  border: 4px solid var(--primary-red);
  top: 20px;
  border-radius: 50%;
  z-index: 1;
}

.right::after {
  left: -10px;
}

/* Kotak Konten */
.content {
  padding: 20px 30px;
  background-color: #f1f9ff;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--primary-red);
}

.content h3 {
  color: #1512c0;
  font-size: 20px;
  margin-bottom: 10px;
}

.content .year {
  display: inline-block;
  background: var(--primary-red);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 15px;
}

.content p {
  color: #000000;
  font-size: 15px;
  line-height: 1.7;
}

/* === RESPONSIVE DESIGN === */
@media screen and (max-width: 768px) {
  .timeline-container::after {
    left: 31px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  .timeline-item.right {
    left: 0%;
  }
  .timeline-item::after {
    left: 21px;
  }
  .navbar .header-left {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .navbar .header-left img {
    width: 50px;
    height: auto;
  }
  .navbar .header-titles h1 {
    margin-left: -280px;
    font-size: 16px;
    font-weight: 400;
  }
  .navbar .header-titles h2 {
    margin-left: -280px;
    font-size: 14px;
    font-weight: 400;
  }
  .page-header {
    height: 270px;
  }
  .page-header h2 {
    font-size: 28px;
    margin: 30px 0;
  }
  .page-header p {
    font-size: 18px;
    margin-bottom: 5px;
  }
}

@media (max-width: 480px) {
  .navbar .header-left {
    display: flex;
    align-items: center;
  }
  .navbar .header-left img {
    margin-left: -35px;
    width: 35px;
    height: auto;
  }
  .navbar .header-titles h1 {
    margin-left: -100px;
    font-size: 10px;
    font-weight: 400;
  }
  .navbar .header-titles h2 {
    margin-left: -100px;
    font-size: 9px;
    font-weight: 400;
  }
  .page-header {
    height: 220px;
  }
  .page-header h2 {
    font-size: 18px;
    margin: -5px 0 20px 0;
  }
  .page-header p {
    font-size: 10px;
    margin-bottom: 20px;
  }
  .bar {
    margin-right: -10px;
  }
}
