/* ============================================================
   STILE GENERALE E RESET
   ============================================================ */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Roboto', sans-serif; 
    line-height: 1.6; 
    color: #333; 
    background: #f4f7f6; 
}

.container { 
    max-width: 1100px; 
    margin: auto; 
    overflow: hidden; 
    padding: 0 20px; 
}

/* ============================================================
   HEADER E NAVIGAZIONE
   ============================================================ */
header { 
    background: #0a192f; 
    color: #fff; 
    padding: 20px 0; 
    position: sticky; 
    top: 0; 
    z-index: 100; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo { 
    font-size: 1.5rem; 
    font-weight: bold; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span { 
    color: #64ffda; 
}

nav ul { 
    display: flex; 
    list-style: none; 
    align-items: center;
}

nav ul li a { 
    color: #fff; 
    text-decoration: none; 
    padding: 10px 15px; 
    transition: 0.3s; 
    font-size: 0.9rem;
}

nav ul li a:hover { 
    color: #64ffda; 
}

.btn-contact { 
    background: #64ffda; 
    color: #0a192f !important; 
    border-radius: 5px; 
    font-weight: bold; 
    margin-left: 10px;
}

/* ============================================================
   HERO SECTION (HOME)
   ============================================================ */
.hero { 
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.85)), 
                url('https://unsplash.com');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero h1 { 
    font-size: 3.5rem; 
    margin-bottom: 1rem; 
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.cta { 
    display: inline-block; 
    background: #64ffda; 
    color: #0a192f; 
    padding: 15px 35px; 
    text-decoration: none; 
    border-radius: 5px; 
    font-weight: bold; 
    margin-top: 30px; 
    transition: 0.3s;
}

.cta:hover {
    background: #4cd3b2;
    transform: translateY(-2px);
}

/* ============================================================
   GRIGLIA SERVIZI E CARD
   ============================================================ */
.section-title { 
    text-align: center; 
    margin: 60px 0 40px; 
    font-size: 2.2rem; 
    color: #0a192f;
}

.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    margin-bottom: 60px; 
}

.card { 
    background: #fff; 
    padding: 25px; 
    border-radius: 8px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); 
    text-align: center; 
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card img { 
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    border-radius: 5px; 
    margin-bottom: 20px; 
}

.card h3 { 
    margin-bottom: 15px; 
    color: #0a192f; 
}

/* ============================================================
   PAGINE INTERNE (CHI SIAMO / CONTATTI)
   ============================================================ */
.content-section { 
    padding: 80px 20px; 
    min-height: 70vh; 
}

.content-section h1 { 
    margin-bottom: 25px; 
    color: #0a192f; 
    font-size: 2.5rem;
}

.content-section h2 { 
    margin: 40px 0 20px; 
    color: #0a192f; 
    border-left: 4px solid #64ffda;
    padding-left: 15px;
}

.content-section p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.content-section ul { 
    margin-left: 25px; 
    margin-bottom: 30px; 
}

.content-section li { 
    margin-bottom: 12px; 
}

/* ============================================================
   FOOTER
   ============================================================ */
footer { 
    background: #0a192f; 
    color: #8892b0; 
    text-align: center; 
    padding: 40px 0; 
    margin-top: 60px; 
    border-top: 1px solid #233554;
}

footer p {
    font-size: 0.9rem;
}
