/**
 * Timeline Widget Styles
 */

/* ========== WRAPPER ========== */
.tw-timeline-wrapper {
    width: 100%;
    background-color: #1a1a2e;
    padding: 40px;
    box-sizing: border-box;
    border-radius: 8px;
}

/* ========== CONTAINER ========== */
.tw-timeline-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* ========== YEARS COLUMN ========== */
.tw-years-column {
    flex-shrink: 0;
}

.tw-years-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tw-year-item {
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 5px 0;
}

.tw-year-item:hover {
    color: rgba(255, 255, 255, 0.8);
}

.tw-year-item.active {
    color: #00d4ff;
    transform: scale(1.1);
}

/* ========== CONTENT COLUMN ========== */
.tw-content-column {
    flex: 1;
    position: relative;
    min-height: 300px;
}

.tw-content-item {
    display: none;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tw-content-item.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

/* ========== CONTENT TEXT ========== */
.tw-content-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tw-content-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.tw-content-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

/* ========== CONTENT IMAGE ========== */
.tw-content-image {
    width: 100%;
    margin-top: 10px;
}

.tw-content-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* ========== RESPONSIVE - TABLET ========== */
@media (max-width: 1024px) {
    .tw-timeline-wrapper {
        padding: 30px;
    }

    .tw-timeline-container {
        gap: 30px;
    }

    .tw-content-title {
        font-size: 24px;
    }
}

/* ========== RESPONSIVE - MOBILE ========== */
@media (max-width: 767px) {
    .tw-timeline-wrapper {
        padding: 20px;
    }

    .tw-timeline-container {
        gap: 20px;
    }

    .tw-years-column {
        flex-shrink: 0;
    }

    .tw-years-list {
        gap: 10px;
    }

    .tw-year-item {
        font-size: 14px;
        padding: 4px 0;
    }

    .tw-content-column {
        min-height: auto;
    }

    .tw-content-title {
        font-size: 18px;
    }

    .tw-content-description {
        font-size: 14px;
    }
}

/* ========== RESPONSIVE - SMALL MOBILE ========== */
@media (max-width: 480px) {
    .tw-timeline-wrapper {
        padding: 15px;
    }

    .tw-timeline-container {
        gap: 15px;
    }

    .tw-years-list {
        gap: 8px;
    }

    .tw-year-item {
        font-size: 12px;
    }

    .tw-content-title {
        font-size: 16px;
    }

    .tw-content-description {
        font-size: 13px;
    }
}
