.lang-en { display: none; }
        
.info-card.active { display: block !important; }

.percorso-vita {
    padding: 60px 0 100px 0; 
    background: linear-gradient(to right, #ffffff, #e8e8e8, #ffffff);
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    min-height: 100vh;
}

.testo-introduzione {
    text-align: center;
    margin-bottom: 80px; 
}

.titolo-centrale {
    font-family: 'Georgia', serif;
    font-size: 3rem;
    color: #333;
    margin: 0;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.sottotitolo {
    font-size: 1.1rem;
    color: #666;
    margin-top: 10px;
}

.mappa-container {
    position: relative;
    width: 95%;
    max-width: 1100px;
    height: 450px;
}

.sentiero-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.tappa {
    position: absolute;
    z-index: 10;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.foto-cerchio {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    background: white;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.foto-cerchio:hover { transform: scale(1.1); }
.foto-cerchio img { width: 100%; height: 100%; object-fit: cover; }


.info-card {
    display: none;
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px; 
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    text-align: center;
    z-index: 100;
}

.info-card h3 { margin: 0 0 10px; color: #8b4513; font-size: 18px; }
.info-card p { margin: 0; font-size: 14px; color: #555; line-height: 1.5; }


.card-sotto {
    bottom: auto;
    top: 120px;
}

.vita-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center;      
    min-height: calc(100vh - 100px); 
    text-align: center;
    padding-top: 80px;         
    padding-left: 20px;
    padding-right: 20px;
    background-color: #F5F5DC; 
}

.vita-content h1 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Georgia', serif;
    text-align: center;
}

.vita-content h2 {
    font-size: 1.5rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Georgia', serif;
    text-align: center;
}

.divider {
    width: 60px;
    border: 0;
    border-top: 2px solid #C19A6B; 
    margin: 20px auto;
}

.vita-content {
    font-size: 1.2rem;
    color: #555;
    max-width: 80%; 
    line-height: 1.8;
    font-family: 'Georgia', serif;
    margin-bottom: 20px;
    text-align: justify;
}


@media (max-width: 900px) {
    .header-titolo-statico { display: none; }
    header { padding: 0 20px; }
    .titolo-centrale { font-size: 2rem; }
    .mappa-container { height: 600px; } 
}
