/* Stili per la pagina curriculum */

.left {
    width: 50%;
    padding: 50px;
    padding-right: 0;
    padding-left: 60px;
}

.right {
    width: 50%;
    height: 100vh;
    overflow-y: auto;
    padding: 50px 60px 50px 40px;
}

.right img.curriculum {
    position: fixed !important;
    width: calc(46%) !important;
    top: 45% !important;
    transform: translateY(-50%) !important;
    object-fit: contain !important;
}

/* Sezione curriculum */
.curriculum-section {
    margin-bottom: 60px;
}

.curriculum-content p:first-letter {
    font-size: 1.3em;
    font-weight: 500;
}

/* Stili per date e anni */
.year {
    font-weight: 600;
    color: var(--color-primary-1);
}

.location {
    font-style: italic;
    color: var(--link-not-active);
}

/* Lista cronologica */
.timeline {
    position: relative;
    margin: 30px 0;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 25px;
    border-left: 2px solid #e5e5e5;
    padding-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 6px;
    width: 10px;
    height: 10px;
    background: var(--color-primary-1);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 2px #e5e5e5;
}

.timeline-item:last-child {
    border-left-color: transparent;
}

.timeline-year {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary-1);
    margin-bottom: 8px;
}

.timeline-content {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
}

.timeline-content strong {
    font-weight: 600;
    color: var(--text);
}

/* Sezioni di formazione e esperienza */
.formation-section,
.experience-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 14px;
    opacity: 0.8;
}

/* Card per elementi importanti */
.highlight-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--color-primary-1);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.highlight-card h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.highlight-card .meta {
    font-size: 12px;
    color: var(--link-not-active);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.highlight-card p {
    margin: 0;
    line-height: 1.6;
    color: var(--text);
}

/* Quote o citazioni */
.quote {
    background: #f8f9fa;
    padding: 25px;
    margin: 25px 0;
    border-left: 4px solid var(--color-primary-1);
    font-style: italic;
    position: relative;
}

.quote::before {
    content: '"';
    font-size: 48px;
    color: var(--color-primary-1);
    position: absolute;
    top: 10px;
    left: 15px;
    line-height: 1;
    opacity: 0.3;
}

.quote p {
    margin: 0;
    padding-left: 30px;
    font-size: 16px;
    line-height: 1.6;
}

/* Contatti o informazioni aggiuntive */
.contact-info {
    background: var(--color-primary-1);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.contact-info h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 500;
}

.contact-info p {
    margin: 5px 0;
    font-size: 14px;
    opacity: 0.9;
}

/* Skills o competenze */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.skill-item {
    background: white;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.skill-item .icon {
    font-size: 24px;
    color: var(--color-primary-1);
    margin-bottom: 10px;
}

.skill-item h5 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.skill-item p {
    margin: 0;
    font-size: 12px;
    color: var(--link-not-active);
    line-height: 1.4;
}

/* Animazioni */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.curriculum-section {
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-item {
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.1s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.3s;
}

/* Accessibility */
.timeline-item:focus-within,
.highlight-card:focus-within {
    outline: 2px solid var(--color-primary-1);
    outline-offset: 2px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selezione del testo */
::selection {
    background: var(--color-primary-1);
    color: white;
}