/* --- TIMELINE --- */

/* --- KATLA/AÇ BUTONU --- */
.timeline-toggle-wrapper {
  text-align: center;
  margin: 40px 0 -20px 0;
  position: relative;
  z-index: 10;
}

.timeline-toggle-btn {
  background: linear-gradient(45deg, #ff9a9e, #ff4757);
  color: white;
  border: none;
  padding: 12px 35px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
}

.timeline-toggle-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(255, 71, 87, 0.6);
}

.timeline-area {
  position: relative;
  margin: 50px auto;
  padding: 20px;
  width: 95%;
  max-width: 1000px;
}

.timeline-area::after {
  content: "";
  position: absolute;
  width: 4px;
  background-color: #ff4d6d;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.left {
  left: 0;
}
.right {
  left: 50%;
}

.timeline-item::after {
  content: "❤️";
  position: absolute;
  width: 30px;
  height: 30px;
  right: -15px;
  background: white;
  border: 4px solid #ff4d6d;
  top: 25px;
  border-radius: 50%;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
}

.right::after {
  left: -15px;
}

.content {
  padding: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.content h2 {
  font-size: 1.4rem;
  color: #ff4757;
  margin-bottom: 5px;
}
.content .date {
  font-size: 0.85rem;
  color: #888;
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}
.content img,
.content video {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media screen and (max-width: 768px) {
  .timeline-area::after {
    left: 30px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 60px;
    padding-right: 10px;
  }
  .timeline-item::after {
    left: 15px;
  }
  .left {
    left: 0;
  }
  .right {
    left: 0;
  }
  .right::after {
    left: 15px;
  }
}
