* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #FF9AA2;
    --secondary: #B2E2F2;
    --accent: #FFDAC1;
    --infanzia: #E2F0CB;
    --dark: #333;
    --white: #fff;
    --bg-light: #f9fbfd;
}

body { font-family: 'Quicksand', sans-serif; color: var(--dark); overflow-x: hidden; line-height: 1.6; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section { padding: 80px 0; text-align: center; }
.bg-light { background-color: var(--bg-light); }

/* Navbar corretta */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background: var(--white); position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.nav-links { display: flex; list-style: none; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 700; }

/* Hero con Overlay scuro */
.hero { 
    height: 100vh; position: relative;
    background: url('esterno-struttura.jpg') center/cover no-repeat;
    display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white);
}
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.65); }
.hero-content { position: relative; z-index: 2; padding: 0 20px; }
.hero h1 { font-size: 3.5rem; margin-bottom: 15px; }
.location-badge { background: var(--primary); padding: 5px 15px; border-radius: 20px; font-weight: bold; font-size: 0.8rem; }

/* Griglia Servizi */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.service-card { padding: 40px 30px; border-radius: 40px; text-align: left; transition: transform 0.3s; }
.service-card:hover { transform: translateY(-10px); }
.nido { background: var(--secondary); }
.primavera { background: var(--accent); }
.infanzia { background: var(--infanzia); }
.age-tag { font-weight: bold; color: rgba(0,0,0,0.5); display: block; margin-bottom: 5px; }

/* Liste pulite */
.clean-list { list-style: none; margin-top: 20px; }
.clean-list li { margin-bottom: 10px; position: relative; padding-left: 25px; font-weight: 600; }
.clean-list li::before { content: '•'; position: absolute; left: 0; color: var(--primary); font-size: 1.5rem; line-height: 1.2; }

/* Esperienze */
.experience-flex { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 40px; margin-top: 50px; }
.exp-card { flex: 1; min-width: 250px; padding: 20px; }
.exp-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; }

/* Galleria */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; }
.photo-grid img { width: 100%; height: 250px; object-fit: cover; border-radius: 30px; cursor: pointer; transition: 0.3s; }

/* Footer */
.footer { background: #222; color: #fff; padding: 60px 0 20px; text-align: left; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.footer h3 { color: var(--primary); margin-bottom: 20px; }
.footer p { margin-bottom: 10px; opacity: 0.8; }
.footer i { color: var(--primary); margin-right: 10px; }
.footer-bottom { border-top: 1px solid #444; margin-top: 40px; padding-top: 20px; text-align: center; font-size: 0.8rem; opacity: 0.5; }

/* Lightbox */
.lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 2000; justify-content: center; align-items: center; }
.lightbox img { max-width: 90%; max-height: 80%; border-radius: 10px; }
.close { position: absolute; top: 30px; right: 50px; color: white; font-size: 50px; cursor: pointer; }

/* Mobile */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.2rem; }
}