/* RESET BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5; /* fallback */
    background-image: url('../asset/img/bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

/* CONTAINER */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* HEADER */
header {
    text-align: center;
    padding: 0px 20px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    margin-bottom: 40px;
    border-radius: 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

header h1 {
    font-size: 2.6em;
    margin-bottom: 10px;
}

.intro {
    font-size: 1.15em;
    opacity: 0.9;
}

/* MAIN TITLE */
.main-title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 0 2px #000, 0 0 4px #000;
}

/* SECTION BOXES */
.section-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 5px solid #cc3a3a; /* rosso più soft */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.section-box h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #333;
}

/* LIST OF LINKS */
.link-list {
    list-style: none;
    padding-left: 0;
}

.link-list li {
    margin: 12px 0;
}

.link-list a {
    color: #cc3a3a;            /* rosso meno acceso */
    font-weight: 600;
    text-decoration: none;
    padding: 4px 0;
    transition: 
        color 0.25s ease,
        padding-left 0.25s ease;
}

.link-list a:hover {
    color: #aa2e2e;            /* hover elegante */
    padding-left: 4px;
    text-decoration: underline;
}

/* FOOTER */
footer {
    margin-top: 40px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    text-align: center;
    color: #555;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

footer a {
    color: #cc3a3a;
    font-weight: 600;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    header h1 {
        font-size: 2.2em;
    }

    .section-box {
        padding: 20px;
    }

    .section-box h3 {
        font-size: 1.4em;
    }

    .main-title {
        font-size: 1.7em;
    }
}