/* Experience Page Styles */
.experience-page {
    background: var(--bg-primary);
    min-height: 100vh;
}

.experience-hero {
    background: linear-gradient(135deg, var(--bg-accent) 0%, var(--bg-primary) 100%);
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.experience-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

/* Timeline Styles */
.timeline-section {
    padding: 4rem 2rem;
    background: var(--bg-primary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-marker {
    position: relative;
    width: 60px;
    flex-shrink: 0;
}

.marker-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--text-accent);
    border: 3px solid var(--bg-primary);
    position: relative;
    z-index: 2;
}

.marker-dot.current {
    background: #10b981;
    animation: pulse 2s infinite;
}

.marker-dot.education {
    background: #8b5cf6;
}

.marker-line {
    position: absolute;
    left: 50%;
    top: 16px;
    bottom: -3rem;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
}

.timeline-item:last-child .marker-line {
    display: none;
}

.timeline-content {
    flex: 1;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 15px;
    padding: 2rem;
    margin-left: 1rem;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    border-color: var(--text-accent);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.timeline-title h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.company {
    color: var(--text-accent);
    font-weight: 600;
    font-size: 1.1rem;
}

.timeline-period {
    text-align: right;
}

.period {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.location {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.timeline-description p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.achievements h4 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.achievements ul {
    list-style: none;
    padding: 0;
}

.achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.achievements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--text-accent);
    font-weight: bold;
}

/* Skills Preview */
.skills-preview {
    padding: 4rem 2rem;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.skill-category h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-item {
    background: var(--bg-accent);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: var(--text-accent);
    color: white;
    transform: translateY(-2px);
}

.skills-cta {
    text-align: center;
}

/* Experience Page Responsive */
@media (max-width: 768px) {
    .experience-hero {
        padding: 5rem 1rem 3rem;
    }

    .experience-stats {
        gap: 2rem;
        flex-direction: column;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-marker {
        width: 40px;
    }

    .timeline-content {
        margin-left: 0.5rem;
        padding: 1.5rem;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-period {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}