

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

/* ------------------------
   HEADER
------------------------ */
.site-header {
    background-color: #87CEEB; /* celeste */
    color: white;
    padding: 20px 30px;

    display: flex;
    align-items: center;  /* centra verticalmente logo e testo */
    gap: 20px;            /* spazio tra logo e testo */
}

.site-header img {
    max-width: 200px;
    height: auto;
}

.header-text {
    display: flex;
    flex-direction: column; /* titolo sopra sottotitolo */
}

.site-header h1 {
    margin: 0;
    font-size: 2em;
}

.site-header h2 {
    margin: 5px 0 0;
    font-size: 1.2em;
    font-weight: normal;
    color: white;
}

/* ------------------------
   NAV
------------------------ */
nav {
    background-color: #1E90FF; /* blu */
    padding: 10px 20px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav li {
    margin-right: 15px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
}

nav a:hover {
    background-color: #104E8B; /* blu scuro hover */
    border-radius: 4px;
}

/* ------------------------
   MAIN
------------------------ */
main {
    display: flex;
    min-height: 400px;
}

/* Aside a sinistra */
aside {
    width: 25%;
    padding: 20px;
    background-color: #f0f0f0;
}

/* Section a destra */
section {
    width: 75%;
    padding: 20px;
    background-color: #e0e0e0;
}

/* ------------------------
   FOOTER
------------------------ */
footer {
    background-color: #1E90FF; /* stesso blu del nav */
    color: white;
    padding: 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text p {
    margin: 4px 0;
}

.footer-social img {
    width: 28px;
    height: 28px;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.footer-social img:hover {
    transform: scale(1.2);
}

/* ------------------------
   RESPONSIVE
------------------------ */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        text-align: center;
    }

    main {
        flex-direction: column;
    }

    aside, section {
        width: 100%;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav li {
        margin-bottom: 10px;
    }
}

/* --------------------------
     PULSANTE DOWNLOAD
---------------------------*/
.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

/*---------------------------
       SOCIAL
---------------------------
.contact-person {
    margin-top: 30px;
}

.contact-person h3 {
    margin-bottom: 10px;
}

.contact-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    color: #333; /*  color: #0077b5; 
    transition: transform 0.2s ease, color 0.2s ease;
}
.contact-links li a img {
    width: 22px;
    height: 22px;
}

.contact-links li a:hover {
    transform: scale(1.05);
    color: #25D366;

.contact-links li a:hover {
    transform: scale(1.05);
    color: #0077b5; /* LinkedIn blu per hover 
}

*/

/*
.contact-links li a:hover {
    color: #25D366; /* verde stile WhatsApp 
}
*/
.contact-person {
    margin-top: 30px;
}

.contact-person h3 {
    margin-bottom: 10px;
    font-size: 1.4em;
}

.contact-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    color: #333;
    transition: transform 0.2s ease, color 0.2s ease;
}

.contact-links li a img {
    width: 22px;
    height: 22px;
}

.contact-links li a:hover {
    transform: scale(1.05);
    /* colore hover personalizzabile per ogni brand */
}

.contact-links li a[href*="wa.me"]:hover { color: #25D366; } /* WhatsApp verde */
.contact-links li a[href*="signal.me"]:hover { color: #3A76F0; } /* Signal blu */
.contact-links li a[href*="t.me"]:hover { color: #0088CC; } /* Telegram azzurro */
.contact-links li a[href*="skype"]:hover { color: #00AFF0; } /* Skype blu */
.contact-links li a[href*="linkedin.com"]:hover { color: #0077B5; } /* LinkedIn blu */


/* lingua */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-text {
    margin-left: 15px;
}

.language-switch img {
    width: 32px;
    height: auto;
    margin-left: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.language-switch img:hover {
    transform: scale(1.1);
}

.doc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 20px;   /* spazio tra testo e pulsante */
}

.btn {
    background-color: #87CEEB;
    color: white;
    padding: 6px 14px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease;
}

.btn:hover {
    background-color: #5aaed6;
}
