﻿/* RESET BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Century Gothic', sans-serif;
    
    background-size: cover;
    color: #2b1a0f;
    background: url('immagini/informatica.jpg')fixed no-repeat;
    line-height: 1.7;
}

/* HEADER */
.intensazione {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contenitore {
    max-width: 1200px;
    margin: auto;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logospazio {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 80px;
    height: auto;
}

.logotesto {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* NAV */
.navigazione ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navigazione a {
    text-decoration: none;
    font-weight: 600;
    color: #603d1c;
    transition: color 0.3s;
}

    .navigazione a:hover {
        color: #a38333;
    }

/* SEZIONI */
section {
    max-width: 1100px;
    margin: 60px auto;
    padding: 60px;

    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
}

    section h2 {
        font-size: 2.3rem;
        margin-bottom: 20px;
        color: #a38333;
    }

    section p {
        max-width: 750px;
        margin: auto;
        font-size: 1.1rem;
    }

    /* IMMAGINI */
    section img {
        margin-top: 30px;
        width: 100%;
        max-width: 500px;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

/* BOTTONE MENU */
.Menu-pulsante {
    display: inline-block;
    margin-top: 40px;
    padding: 14px 40px;
    border-radius: 40px;
    background: #603d1c;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .Menu-pulsante:hover {
        background: #a38333;
        transform: translateY(-3px);
    }

/* FOOTER */
footer {
    background: #1f1f1f;
    color: #eee;
    text-align: center;
    padding: 40px 20px;
}

    footer p {
        margin: 10px 0;
    }

.link-maps {
    color: #a38333;
    text-decoration: none;
    font-weight: 600;
}

    .link-maps:hover {
        text-decoration: underline;
    }

/* RESPONSIVE */
@media (max-width: 768px) {
    .contenitore {
        flex-direction: column;
        gap: 15px;
    }

    .navigazione ul {
        flex-direction: column;
        gap: 15px;
    }

    section {
        padding: 40px 25px;
    }
}


/* CONTATTI */
.contatti-wrapper {
    max-width: 900px;
    margin: auto;
}

.contatti p {
    margin-bottom: 30px;
}

.social-box {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

    .social-icons img {
        width: 60px;
        transition: transform 0.3s ease;
    }

        .social-icons img:hover {
            transform: scale(1.1);
        }

/* MENU */
.menu-list {
    max-width: 700px;
    margin: 30px auto;
    text-align: left;
}

    .menu-list li {
        margin-bottom: 12px;
        font-size: 1.05rem;
        padding-left: 10px;
    }
section {
    max-width: 1100px; /* larghezza riquadro */
    margin: 60px auto; /* centra il riquadro */
    padding: 60px; /* spazio interno */
    border-radius: 15px; /* bordi arrotondati */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* ombra */
    /* SFONDO CON IMMAGINE */
    
    background-image: url('immagini/sfondo.png');
    
    background-size: cover; /* riempie tutto il riquadro */
    background-position: center; /* centra l’immagine */
    background-repeat: no-repeat; /* evita ripetizioni */

    position: relative; /* necessario per overlay */
}

    /* overlay chiaro sopra l’immagine, per rendere leggibile il testo */
    section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255,255,255,0.85); /* leggermente trasparente */
        border-radius: 15px;
    }

    /* contenuto sopra overlay */
    section > * {
        position: relative;
        z-index: 1;
    }


