.deta-timeline {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

.deta-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  background-color: #000;
  transform: translateX(-50%);
  z-index: 0;
}

.deta-timeline-item {
  display: flex;
  align-items: stretch;
  margin-bottom: 120px;
  position: relative;
}

.timeline-left,
.timeline-right {
  width: 50%;
  padding: 0 20px;
}

.timeline-left {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.timeline-year-wrapper {
  position: sticky;
  top: 100px; /* Sticky mesafesi */
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.timeline-year {
    font-size: 38px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    padding-right: 60px;
    padding-top: 30px;
}

.timeline-circle {
    width: 10px;
    height: 10px;
    border: 0px solid black;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 6px #0a0a0a;
    position: absolute;
    right: -25px;
}

.timeline-right .timeline-content {
    padding: 0 60px;
    border-radius: 12px;
}

.timeline-content h4 {
  color: #e94112;
  font-weight: bold;
  margin-bottom: 10px;
}

.timeline-content p {
    color: #000;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    display: block;
}

.timeline-content img {
    width: 100%;
    border-radius: 8px;
    margin-top: 15px;
    height: 340px;
    object-fit: cover;
}

.timeline-year-wrapper.is-active .timeline-year {
  color: #000;
  font-weight: 600;
  transform: scale(1.1);
}

@media (max-width: 991px) {
    .deta-timeline {
        margin: 0 auto;
        padding: 32px 0;
    }
    .deta-timeline::before {
        display: none;
    }
    .deta-timeline-item {
        flex-direction: column;
        margin-bottom: 32px;
    }
    .timeline-year {
        font-size: 26px;
        padding-right: 0;
        padding-top: 0;
    }
    .timeline-circle {
        display: none;
    }
    .timeline-right .timeline-content {
        padding: 0;
    }
    .timeline-left {
        width: 100%;
        padding: 0 0;
        justify-content: center;
        align-items: center;
    }
    .timeline-right {
        width: 100%;
        padding: 0 0;
    }
    .timeline-content h4,
    .timeline-content p {
        text-align: center;
    }

}

