/* Reset base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #333; }

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 15px 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo img { max-height: 50px; }
.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links a { text-decoration: none; color: #333; font-weight: 600; transition: color 0.3s; }
.nav-links a:hover { color: #e67e22; }

/* Hero Section (Sfondo Homepage) */
.hero {
    height: calc(100vh - 80px); /* Altezza schermo meno navbar */
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('sfondo.jpg'); /* Carica qui la tua immagine! */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}
.hero-content h1 { font-size: 3rem; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.2rem; max-width: 600px; margin: 0 auto; }

/* Pagine interne standard */
.page-content { padding: 40px 5%; max-width: 1200px; margin: 0 auto; min-height: 60vh; }

/* Responsive: Cellulari */
@media (max-width: 768px) {
    .navbar { flex-direction: column; text-align: center; padding: 15px; }
    .logo { margin-bottom: 15px; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .hero-content h1 { font-size: 2rem; }
}
