/* assets/style/sections/career.css */

#career {
    position: relative;
}

.career-now {
    text-align: center;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: bold;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50px;
    width: 4px;
    height: calc(100% - 100px);
    background: var(--medium-blue);
    z-index: 0;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    width: 46%;
    margin-bottom: 1rem;
    padding: 1.5rem;
    background: var(--medium-blue);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    border-left: 3px solid var(--accent-color);
}

.timeline-item:hover {
    transform: translateX(5px);
}
.timeline-item:nth-of-type(even):hover {
    transform: translateX(-5px);
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}
.timeline-title {
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}
.timeline-place {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}
.timeline-item ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    color: var(--text-light);
}
.timeline-item li {
    margin-bottom: 0.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: var(--accent-color);
    border: 4px solid var(--dark-blue);
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.3s ease;
}

.timeline-item:nth-of-type(odd) {
    margin-left: 0;
    margin-right: auto;
}
.timeline-item:nth-of-type(even) {
    margin-left: auto;
    margin-right: 0;
    border-left: none;
    border-right: 3px solid var(--accent-color);
}

.timeline-item:nth-of-type(odd)::before {
    left: 100%;
    margin-left: calc(36px - 13px);
}
.timeline-item:nth-of-type(even)::before {
    right: 100%;
    margin-right: calc(36px - 13px);
}

.timeline-item:nth-of-type(odd):hover::before {
    transform: translateX(-5px) translateY(-50%);
}
.timeline-item:nth-of-type(even):hover::before {
    transform: translateX(5px) translateY(-50%);
}

.timeline::after {
    content: '';
    position: absolute;
    left: 50%;
    top: calc(50px + (100% - 100px));
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--medium-blue);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 1rem;
}
.skill-tag {
    background: var(--subtle-accent);
    color: var(--accent-color);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.skill-tag:hover {
    background: var(--accent-color);
    color: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(77, 150, 255, 0.3);
}