* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #2c3e50;
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo h1 {
    font-size: 28px;
    margin-bottom: 5px;
}

.logo p {
    font-size: 14px;
    color: #bdc3c7;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #f1c40f;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: #f1c40f;
    color: #2c3e50;
    padding: 14px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background: #e67e22;
    color: #fff;
    transform: scale(1.05);
}

/* Sezione servizi */
.services {
    padding: 70px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card h3 {
    background: #2c3e50;
    color: #fff;
    padding: 15px 20px;
    font-size: 20px;
}

.service-card .service-content {
    padding: 20px;
}

.service-card .price {
    color: #e67e22;
    font-weight: bold;
    font-size: 22px;
    margin: 15px 0;
}

.service-card ul {
    padding-left: 20px;
    margin: 15px 0;
}

.service-card li {
    margin: 8px 0;
    color: #555;
}

/* Sezione perché noi */
.why-us {
    padding: 70px 0;
    background: #ecf0f1;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-card {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    transition: transform 0.3s;
}

.why-card:hover {
    transform: translateY(-5px);
}

.why-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.why-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

/* CTA */
.cta {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.cta h3 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta p {
    margin-bottom: 25px;
    font-size: 18px;
}

/* Footer */
footer {
    background: #1a252f;
    color: #bdc3c7;
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
}

footer a {
    color: #f1c40f;
    text-decoration: none;
}

/* Pagina contatti - form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 60px 0;
}

.contact-info {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-detail {
    margin: 25px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-detail strong {
    color: #e67e22;
    font-size: 18px;
}

.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f1c40f;
}

/* Chi siamo */
.team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin: 50px 0;
}

.team-member {
    text-align: center;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.values {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.values ul {
    list-style: none;
    padding-left: 0;
}

.values li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.values li:before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 18px;
}

/* Badge regioni */
.regions {
    background: #f1c40f;
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    text-align: center;
    color: #2c3e50;
}

.region-badge {
    display: inline-block;
    background: #2c3e50;
    color: #fff;
    padding: 8px 16px;
    border-radius: 25px;
    margin: 5px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        text-align: center;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }
    
    .hero h2 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .team {
        gap: 20px;
    }
    
    .btn {
        padding: 12px 25px;
    }
}