/* ====================================
   CV Section - Professional Timeline
   ==================================== */

.cv-compact {
    padding: var(--section-padding) 2rem;
    background: var(--bg-light);
}

/* ====================================
   Timeline Container
   ==================================== */

.cv-timeline {
    position: relative;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: 40px;
}

/* Clean vertical line */
.cv-timeline::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-green);
}

/* Remove glow effect */
.cv-timeline::after {
    display: none;
}

/* ====================================
   Timeline Items - Clean Cards
   ==================================== */

.cv-item {
    position: relative;
    margin-bottom: 2rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all var(--duration-fast) var(--transition-smooth);
}

.cv-item:last-child {
    margin-bottom: 0;
}

/* Professional timeline dot */
.cv-item::before {
    content: '';
    position: absolute;
    left: -31px;
    top: 24px;
    width: 12px;
    height: 12px;
    background: var(--bg-white);
    border: 3px solid var(--primary-green);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--bg-light);
    transition: all var(--duration-fast) ease;
    z-index: 1;
}

.cv-item:hover::before {
    background: var(--primary-green);
    transform: scale(1.2);
}

/* ====================================
   CV Header - Clean and Clickable
   ==================================== */

.cv-header {
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color var(--duration-fast) ease;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: start;
    user-select: none;
}

.cv-header:hover {
    background: var(--bg-light);
}

.cv-header:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: -2px;
}

/* Simple expand arrow */
.cv-header::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-green);
    transition: transform var(--duration-fast) ease;
    line-height: 1;
}

.cv-item.expanded .cv-header::after {
    content: '−';
}

/* ====================================
   CV Content Text - Professional Typography
   ==================================== */

.cv-role {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.cv-company {
    font-size: 1rem;
    color: var(--text-body);
    font-weight: 500;
}

.cv-location {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 0.25rem;
}

.cv-duration {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

/* ====================================
   Expandable Details Section
   ==================================== */

.cv-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-slow) var(--transition-smooth);
    border-top: 1px solid var(--border-color);
}

.cv-item.expanded .cv-details {
    max-height: 1000px;
}

/* ====================================
   Details List - Clean Bullets
   ==================================== */

.cv-details ul {
    list-style: none;
    padding: 1.5rem;
    margin: 0;
}

.cv-details li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: var(--text-body);
    line-height: 1.7;
    font-size: 0.95rem;
}

.cv-details li:last-child {
    margin-bottom: 0;
}

/* Professional bullet point */
.cv-details li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.5;
}

/* ====================================
   Skills Section - Professional Pills
   ==================================== */

.cv-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0 1.5rem 1.5rem;
}

.skill-pill {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary-green);
    font-weight: 500;
    transition: all var(--duration-fast) ease;
}

.skill-pill:hover {
    background: var(--primary-green);
    color: var(--bg-white);
    border-color: var(--primary-green);
    transform: translateY(-1px);
}

/* Subtle color variations */
.cv-item:nth-child(even) .skill-pill {
    color: var(--accent-olive);
}

.cv-item:nth-child(even) .skill-pill:hover {
    background: var(--accent-olive);
    border-color: var(--accent-olive);
    color: var(--bg-white);
}

/* ====================================
   Animation States - Minimal
   ==================================== */

.cv-item[data-animate] {
    opacity: 1;
    transform: none;
}

.cv-item[data-animate].animate-in {
    opacity: 1;
    transform: none;
}

/* Remove stagger delays */
.cv-item[data-animate]:nth-child(n) {
    transition-delay: 0s;
}

/* ====================================
   Active/Current Position Indicator
   ==================================== */

.cv-item.current {
    border-left: 4px solid var(--primary-green);
}

.cv-item.current::before {
    background: var(--primary-green);
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px var(--bg-light), 0 0 12px rgba(45, 80, 22, 0.3);
}

.cv-item.current .cv-role {
    color: var(--primary-green);
}

/* Remove playful pulse animation */
@keyframes pulse-current {
    /* Disabled */
}

/* ====================================
   Expanded State
   ==================================== */

.cv-item.expanded {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-green);
}

.cv-item.expanded .cv-header {
    background: var(--bg-light);
}
