/* Stili per la sezione testimonianze */
.testimonials { padding: 4rem 0; background: #f9f9f9; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin: 3rem 0; }
.testimonial-card { background: white; border-radius: 15px; padding: 2rem; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: transform 0.3s ease; }
.testimonial-card:hover { transform: translateY(-5px); }
.testimonial-avatar { text-align: center; margin-bottom: 1.5rem; }
.avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.testimonial-content { text-align: left; }
.testimonial-text { font-size: 1.1rem; line-height: 1.6; margin-bottom: 1rem; font-style: italic; color: #444; }
.testimonial-author { font-weight: bold; margin-bottom: 0.3rem; color: #333; }
.testimonial-location { color: #666; font-size: 0.9rem; }
.rating { color: #ffd700; margin-top: 0.5rem; font-size: 1.2rem; }
.trust-indicators { display: flex; justify-content: space-around; flex-wrap: wrap; margin-top: 4rem; text-align: center; }
.trust-item { padding: 1rem; }
.trust-number { font-size: 2.5rem; font-weight: bold; color: #2c5282; display: block; margin-bottom: 0.5rem; }
.trust-item p { color: #666; font-size: 1.1rem; }
@media (max-width: 768px) {
    .testimonials-grid { grid-template-columns: 1fr; }
    .trust-indicators { flex-direction: column; }
    .trust-item { margin: 1rem 0; }
}

/* Stili per la lista comuni */
.comuni-list {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.comuni-list h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.comuni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.comune-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.comune-card:hover {
    transform: translateY(-5px);
}

.comune-card a {
    text-decoration: none;
    color: inherit;
}

.comune-card h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.comune-card p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.search-filters {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.search-filters form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.search-filters input,
.search-filters select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.search-filters button {
    padding: 0.5rem 1rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.alert {
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
    text-align: center;
}

.alert-info {
    background-color: #e3f2fd;
    color: #1565c0;
    border: 1px solid #bbdefb;
}

.alert-error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* Stili per la sezione documenti */
.documents-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.document-card {
    text-align: center;
    max-width: 300px;
    transition: transform 0.3s ease;
}

.document-card:hover {
    transform: translateY(-5px);
}

.document-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.document-card h3 {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #333;
}

.document-card p {
    color: #666;
    margin-top: 0.5rem;
}

.document-card .pdf-button {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #667eea;
    color: white;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.document-card .pdf-button:hover {
    background-color: #5a6eea;
}

.document-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Aggiungi qui altri stili specifici */