﻿body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #1a1a1a;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== NAVIGAZIONE ===== */
.barra-navigazione {
    background-color: #00adb5;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 40px;
    position: fixed; /* blocca l'header in cima durante lo scroll */
    top: 0;
    left: 0;
    width: 100%; /* occupa tutta la larghezza */
    z-index: 1000;
}

.icona-home {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
}

    .icona-home:hover {
        color: #ffffff;
        transform: translateY(-50%) scale(2.1);
    }

.collegamenti-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-right: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

    .collegamenti-menu a:hover {
        color: white;
    }

/* ===== CONTENUTO PRINCIPALE ===== */
.sezione-scura {
    background-color: #1a1a1a;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    padding-top: 90px; /* compensa l'altezza dell'header fisso */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.scatola-testo {
    max-width: 850px;
    background-color: #242424;
    border: 1px solid #333333;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

    .scatola-testo h2 {
        color: #ffffff;
        font-size: 2rem;
        margin-top: 0;
        margin-bottom: 25px;
        border-bottom: 2px solid #333;
        padding-bottom: 10px;
    }

.testo-relazione {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 35px;
}

    .testo-relazione strong {
        color: #00adb5;
        font-weight: 600;
    }

/* ===== FOTO ===== */
.contenitore-foto {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 30px 0;
}

.foto-relazione-grossa img {
    width: 800px;
    height: 600px;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.foto-relazione-piccola img {
    width: 385px;
    height: 400px;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ===== VIDEO ===== */
.video-container-bloccato {
    max-width: 100%;
    margin: 30px auto 15px auto;
    text-align: center;
}

    .video-container-bloccato video {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        border: 1px solid #333333;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        pointer-events: none;
    }

.video-a-destra {
    float: right;
    width: 400px;
    margin-left: 20px;
    margin-bottom: 10px;
}

/* ===== APPROFONDIMENTO ===== */
.approfondimento-box {
    background-color: #2c2c2c;
    border-left: 4px solid #00adb5;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
}

    .approfondimento-box h3 {
        color: #ffffff;
        margin-top: 0;
    }

/* ===== RITORNO ===== */
.Ritorno {
    margin-top: 20px;
}

    .Ritorno a:hover span {
        text-decoration: underline;
    }

/* ===== FOOTER ===== */
footer {
    background-color: #00adb5;
    padding: 20px;
    text-align: center;
    margin-top: 60px;
}

    footer p {
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.95rem;
        margin: 0;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        font-weight: 500;
        letter-spacing: 0.5px;
    }
