/* --- RESET BASE & FONT --- */
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    margin: 0;
    background-color: #f8fbfc;
    line-height: 1.6;
}

h1, h2, h3 { 
    font-family: 'Playfair Display', serif; 
    color: #2e4a62;
}

/* --- HEADER E CITAZIONE --- */
header {
    background-color: #dbe7f0;
    text-align: center;
    padding: 2.5em 1em;
    max-width: 950px;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.citazione { 
    font-style: italic; 
    color: #4a637a; 
    font-size: 0.95em; 
    margin: 15px auto; 
    max-width: 700px;
    line-height: 1.4;
}

nav { margin-top: 20px; }
nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #000080;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 1px;
}

/* --- HERO SECTION (Immagine Studio) --- */
#hero {
    position: relative;
    background: linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.4)), url('studio.jpg');
    background-size: cover;
    background-position: center;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    margin-bottom: 40px;
}

.hero-content h1 { font-size: 2.5em; margin-bottom: 10px; }
.hero-content p { font-size: 1.2em; color: #444; font-weight: 600; }

/* --- BOTTONE WHATSAPP --- */
.cta-whatsapp {
    display: inline-flex;
    align-items: center;
    background-color: #25D366;
    color: white !important;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    transition: 0.3s ease;
    margin-top: 20px;
}
.cta-whatsapp i { margin-right: 10px; font-size: 1.4em; }
.cta-whatsapp:hover { 
    background-color: #128C7E; 
    transform: translateY(-3px); 
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* --- SEZIONI --- */
section { max-width: 950px; margin: auto; padding: 60px 20px; }
h2 { 
    font-size: 2em;
    border-left: 6px solid #6ea3c8; 
    padding-left: 15px; 
    margin-bottom: 40px; 
}

.foto-destra {
    float: right;
    width: 300px;
    margin-left: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* --- CARDS SERVIZI --- */
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.card {
    flex: 1;
    min-width: 260px;
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
    text-align: center;
    transition: 0.3s;
    border-bottom: 4px solid #6ea3c8;
}
.card:hover { transform: translateY(-10px); }

.icon-service {
    font-size: 2.5em;
    color: #6ea3c8;
    margin-bottom: 20px;
    display: block;
}

/* --- TESTIMONIANZE --- */
.carousel-container {
    background: #fff;
    border-radius: 20px;
    padding: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.slide {
    min-width: 100%;
    padding: 20px 60px;
    box-sizing: border-box;
}

/* --- CONTATTI E MAPPA --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.social-icons { margin-top: 25px; display: flex; gap: 20px; }
.social-icons a i {
    font-size: 2em; 
    color: #2e4a62;
    transition: 0.3s;
}
.social-icons a:hover i { color: #25D366; }

.map-container { border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 50px 20px;
    background: #dbe7f0;
    font-size: 0.9em;
    color: #4a637a;
    margin-top: 40px;
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .foto-destra { float: none; width: 100%; margin: 0 0 25px 0; }
    header { margin: 10px; padding: 1.5em 1em; }
    #hero { height: 350px; }
    .hero-content h1 { font-size: 1.8em; }
}