@charset "utf-8";

/* Vertical Timeline Styles - Clear Daily Flow */

.timeline-subtitle {
  font-size: 14px;
  color: #777;
  margin-top: 6px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.vertical-timeline {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 45px auto;
  padding: 0 15px;
}

/* Main Timeline Line */
.vertical-timeline::before {
  content: "";
  position: absolute;
  left: 140px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(
    180deg,
    #7ba5ba 0%,
    #7ba5ba 25%,
    #e5c565 25%,
    #e5c565 37.5%,
    #8aaf84 37.5%,
    #8aaf84 75%,
    #d18b75 75%,
    #d18b75 100%
  );
  border-radius: 4px;
}

/* Period Label */
.timeline-period {
  position: relative;
  margin: 35px 0 25px 0;
  opacity: 0;
  animation: fadeInLeft 0.6s ease-out forwards;
}

.timeline-period:first-child {
  margin-top: 0;
}

.period-label {
  position: relative;
  display: inline-block;
  left: 60px;
  background: #ffffff;
  padding: 10px 26px;
  border-radius: 24px;
  font-weight: 700;
  font-size: 16px;
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  z-index: 2;
  letter-spacing: 0.04em;
}

.timeline-period[data-period="morning"] .period-label {
  background: linear-gradient(135deg, #7ba5ba 0%, #6b95aa 100%);
}

.timeline-period[data-period="noon"] .period-label {
  background: linear-gradient(135deg, #e5c565 0%, #d9b955 100%);
}

.timeline-period[data-period="afternoon"] .period-label {
  background: linear-gradient(135deg, #8aaf84 0%, #7a9f74 100%);
}

.timeline-period[data-period="evening"] .period-label {
  background: linear-gradient(135deg, #d18b75 0%, #c57b65 100%);
}

/* Timeline Entry */
.timeline-entry {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeInRight 0.6s ease-out forwards;
}

.timeline-entry:nth-child(2) {
  animation-delay: 0.1s;
}
.timeline-entry:nth-child(3) {
  animation-delay: 0.15s;
}
.timeline-entry:nth-child(5) {
  animation-delay: 0.2s;
}
.timeline-entry:nth-child(7) {
  animation-delay: 0.25s;
}
.timeline-entry:nth-child(8) {
  animation-delay: 0.3s;
}
.timeline-entry:nth-child(9) {
  animation-delay: 0.35s;
}
.timeline-entry:nth-child(11) {
  animation-delay: 0.4s;
}
.timeline-entry:nth-child(12) {
  animation-delay: 0.45s;
}

/* Time Display */
.timeline-time {
  width: 120px;
  text-align: right;
  padding-right: 22px;
  flex-shrink: 0;
}

.time-number {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: #333;
  line-height: 1.1;
}

.time-label {
  display: block;
  font-size: 11px;
  color: #999;
  margin-top: 3px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Timeline Marker (Dot) */
.timeline-marker {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 3.5px solid #7ba5ba;
  flex-shrink: 0;
  margin: 7px 0;
  z-index: 2;
  box-shadow: 0 0 0 3px rgba(123, 165, 186, 0.12);
  transition: all 0.3s ease;
}

.timeline-entry[data-time="morning"] .timeline-marker {
  border-color: #7ba5ba;
  box-shadow: 0 0 0 4px rgba(123, 165, 186, 0.18);
}

.timeline-entry[data-time="morning"]:hover .timeline-marker {
  box-shadow: 0 0 0 8px rgba(123, 165, 186, 0.25);
}

.timeline-entry[data-time="noon"] .timeline-marker {
  border-color: #e5c565;
  box-shadow: 0 0 0 4px rgba(229, 197, 101, 0.18);
}

.timeline-entry[data-time="noon"]:hover .timeline-marker {
  box-shadow: 0 0 0 8px rgba(229, 197, 101, 0.25);
}

.timeline-entry[data-time="afternoon"] .timeline-marker {
  border-color: #8aaf84;
  box-shadow: 0 0 0 4px rgba(138, 175, 132, 0.18);
}

.timeline-entry[data-time="afternoon"]:hover .timeline-marker {
  box-shadow: 0 0 0 8px rgba(138, 175, 132, 0.25);
}

.timeline-entry[data-time="evening"] .timeline-marker {
  border-color: #d18b75;
  box-shadow: 0 0 0 4px rgba(209, 139, 117, 0.18);
}

.timeline-entry[data-time="evening"]:hover .timeline-marker {
  box-shadow: 0 0 0 8px rgba(209, 139, 117, 0.25);
}

.timeline-entry:hover .timeline-marker {
  transform: scale(1.3);
}

/* Content Box */
.timeline-content-box {
  flex: 1;
  margin-left: 20px;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.timeline-content-box:hover {
  transform: translateX(6px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.06);
}

.timeline-image-wrap {
  width: 220px;
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.timeline-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.timeline-content-box:hover .timeline-image-wrap img {
  transform: scale(1.1);
}

.timeline-text {
  flex: 1;
}

.timeline-text h5 {
  font-size: 18px;
  font-weight: 700;
  color: #2b2b2b;
  margin: 0 0 6px 0;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.timeline-text p {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
  margin: 0;
  letter-spacing: 0.01em;
}

/* Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .vertical-timeline::before {
    left: 100px;
  }

  .timeline-time {
    width: 80px;
    padding-right: 15px;
  }

  .time-number {
    font-size: 24px;
  }

  .timeline-content-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    margin-left: 20px;
  }

  .timeline-image-wrap {
    width: 100%;
    height: 160px;
  }

  .period-label {
    left: 40px;
    font-size: 16px;
    padding: 10px 24px;
  }
}

@media (max-width: 768px) {
  .vertical-timeline {
    padding: 0 15px;
    margin: 40px auto;
  }

  .vertical-timeline::before {
    left: 70px;
  }

  .timeline-time {
    width: 60px;
    padding-right: 10px;
  }

  .time-number {
    font-size: 20px;
  }

  .time-label {
    font-size: 10px;
  }

  .timeline-marker {
    width: 16px;
    height: 16px;
    border-width: 3px;
    margin: 6px 0;
  }

  .timeline-content-box {
    margin-left: 15px;
    padding: 14px;
  }

  .timeline-text h5 {
    font-size: 18px;
  }

  .timeline-text p {
    font-size: 14px;
  }

  .timeline-image-wrap {
    height: 140px;
  }

  .period-label {
    left: 20px;
    font-size: 15px;
    padding: 8px 20px;
  }

  .timeline-entry {
    margin-bottom: 30px;
  }

  .timeline-period {
    margin: 30px 0 20px 0;
  }
}

@media (max-width: 576px) {
  .vertical-timeline::before {
    left: 50px;
    width: 3px;
  }

  .timeline-time {
    width: 45px;
    padding-right: 8px;
  }

  .time-number {
    font-size: 16px;
  }

  .time-label {
    font-size: 9px;
  }

  .timeline-marker {
    width: 14px;
    height: 14px;
    border-width: 3px;
  }

  .timeline-content-box {
    margin-left: 10px;
    padding: 12px;
  }

  .timeline-text h5 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .timeline-text p {
    font-size: 13px;
    line-height: 1.5;
  }

  .timeline-image-wrap {
    height: 120px;
  }

  .period-label {
    left: 8px;
    font-size: 14px;
    padding: 6px 16px;
  }

  .timeline-subtitle {
    font-size: 13px;
  }
}
