/* VARIABILI COLORI */
:root {
    --corporate-blue: #004e98;
    --dark-text: #1a1a1a;
    --light-text: #555555;
    --white: #ffffff;
    --light-bg: #f4f7f9;
    --border-color: #e0e0e0;
}

/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--dark-text);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* NAVBAR */
.navbar {
    background-color: var(--white);
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand {
    color: var(--corporate-blue);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    text-transform: lowercase;
    letter-spacing: -1px;
}

/* HERO SECTION FULL WIDTH */
.hero-full {
    width: 100%;
    height: 65vh;
    position: relative;
    /* Immagine Panoramica */
    background-image: url('https://images.unsplash.com/photo-1726731782158-fcf6822b6ca4?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Ho abbassato l'opacità: ora è molto più trasparente */
    background: linear-gradient(rgba(0, 78, 152, 0.3), rgba(0, 30, 60, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;

}

.hero-content-centered {
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.hero-content-centered h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* CONTACT SECTION */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-bg);
    margin-top: 100px; 
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    background: var(--white);
    padding: 60px;
    border-radius: 4px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.contact-text h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--corporate-blue);
    font-weight: 700;
}

.contact-text p { color: var(--light-text); font-size: 1.05rem; }

/* FORM */
.form-group { margin-bottom: 25px; }

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--dark-text);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background-color: #fafafa;
    transition: border 0.3s, background 0.3s;
}

.form-group textarea {
    min-height: 120px;
    max-height: 250px;
    resize: vertical;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--corporate-blue);
    background-color: var(--white);
}

.submit-btn {
    background-color: var(--corporate-blue);
    color: var(--white);
    padding: 16px 40px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.submit-btn:hover { background-color: #003870; }

/* FOOTER */
footer {
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--light-text);
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .hero-content-centered h1 { font-size: 2.2rem; }
    .hero-full { height: 50vh; }
    .contact-wrapper { 
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 40px;
    }
    .contact-section { margin-top: 60px; }
}