/* Reset e impostazioni di base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #6B8F71 0%, #A1B5A1 100%); /* Verde salvia */
    color: white;
    text-align: center;
    padding: 60px 20px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

header .subtitle {
    font-size: 1.2rem;
    font-weight: 300;
}

/* Sezioni principali */
section {
    padding: 60px 0;
}

section:nth-child(even) {
    background-color: #ECE9E4; /* Tortora chiaro */
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #4A5A4F; /* Verde scuro neutro */
}

/* Stile per le liste e i paragrafi */
p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

ul li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="%234A5A4F" d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Sezione servizi */
.service {
    background-color: white;
    margin: 20px 0;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.service h3 {
    color: #6B8F71; /* Verde salvia principale */
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Sezione Chi Siamo */
#chi-siamo {
    text-align: center;
}

#giulio-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 20px auto;
    display: block;
    border: 5px solid #6B8F71; /* Verde salvia */
}

/* Sezione Contatti */
#contatti {
    background: linear-gradient(135deg, #A1B5A1 0%, #D8E2D0 100%); /* Verde salvia chiaro + tortora/verde */
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #4A5A4F; /* Verde scuro neutro */
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

#contact-form textarea {
    height: 120px;
    resize: vertical;
}

#contact-form button {
    background-color: #6B8F71; /* Verde salvia */
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    width: 100%;
}

#contact-form button:hover {
    background-color: #4A5A4F; /* Verde scuro */
}

/* Footer */
footer {
    background-color: #5D4037;
    color: white;
    text-align: center;
    padding: 20px 0;
}

footer a {
    color: #D7CCC8;
    text-decoration: none;
}

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

.whatsapp-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #25D366; /* Colore verde di WhatsApp */
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #128C7E; /* Colore verde scuro di WhatsApp al passaggio del mouse */
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .service {
        padding: 20px 15px;
    }

    ul li {
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    }
}
