body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.timeline-container {
  max-width: 1000px;
  margin: auto;
  padding: 2rem;
  position: relative;
}

.timeline-line {
  width: 4px;
  background: #004080;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-block {
  position: relative;
  margin: 3rem 0;
  padding: 1rem;
  width: 50%;
}

.timeline-block.left {
  left: 0;
  text-align: right;
}

.timeline-block.right {
  left: 50%;
  text-align: left;
}

.year-box {
  font-weight: bold;
  font-size: 1.2rem;
}

.content ul {
  list-style: none;
  padding: 0;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
}

.gallery img {
  width: 120px;
  cursor: pointer;
  transition: transform 0.2s;
}

.gallery img:hover {
  transform: scale(1.05);
}

.blue-box {
  background-color: #004080;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  position: absolute;
  top: 0;
}

.blue-box.left {
  left: -150px;
}

.blue-box.right {
  right: -150px;
}

.side-image {
  position: absolute;
  width: 100px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.side-image.visible {
  opacity: 0.8;
}

.side-image.left {
  left: -130px;
}

.side-image.right {
  right: -130px;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
}

.lightbox .close-btn,
.lightbox .prev,
.lightbox .next {
  color: white;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  margin: 10px;
}
