/* --- style.css --- */

/* Stili Base */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #222;
    background-color: #fcfcfc;
    line-height: 1.6;
}

/* Intestazione (Menu) */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eaeaea;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.logo a {
    text-decoration: none;
    color: #222;
}
nav a {
    text-decoration: none;
    color: #555;
    margin-left: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}
nav a:hover, nav a.attivo { 
    color: #000;
    font-weight: bold;
}

/* Classi di utilità generiche */
.container {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Pagina Home - Hero */
.hero {
    height: 70vh;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 300;
}
.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Pagina Progetti - Griglia */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.project-card {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    cursor: pointer;
}
.project-card:hover { transform: translateY(-10px); }
.project-image {
    height: 250px;
    background-color: #ccc;
}
.p-1 { background: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover; }
.p-2 { background: url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover; }
.p-3 { background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover; }
.project-info { padding: 1.5rem; }
.project-info h3 { margin: 0 0 0.5rem 0; font-size: 1.2rem; font-weight: 500; }
.project-info p { margin: 0; font-size: 0.9rem; color: #777; }

/* Pulsanti e Form */
.btn {
    display: inline-block;
    background: #222;
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}
.btn:hover { background: #000; }

/* Footer */
footer {
    background-color: #111;
    color: #fff;
    padding: 4rem 5%;
    text-align: center;
    margin-top: auto;
}
footer h2 { font-weight: 300; margin-bottom: 2rem; }
.contact-info p { margin: 0.5rem 0; color: #aaa; }