/* ===========================
   RESET E BASE GENERALE
=========================== */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: #F4F4F4;
    color: #2B2B2B;
}

/* ===========================
    HEADER / TOPBAR
=========================== */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #0E2A47;
    padding: 18px 30px;
    border-bottom: 3px solid #00A8E8;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 55px;
}

.logo-text {
    font-size: 26px;
    font-weight: 700;
    color: #FFFFFF;
}

.logo-text span {
    color: #00A8E8;  /* colore per la parola PRO */
}

/* MENU */
.nav a {
    margin-left: 25px;
    text-decoration: none;
    font-weight: 600;
    color: #FFFFFF;
    transition: 0.2s;
}

.nav a:hover {
    color: #00A8E8;
    text-decoration: underline;
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
    padding: 60px 30px;
    background: white;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: #0E2A47;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: auto;
    margin-top: 15px;
    line-height: 1.6;
}

.hero-buttons {
    margin-top: 25px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 18px;
    border-radius: 6px;
    text-decoration: none;
    margin: 8px;
    transition: 0.3s;
}

.btn-primary {
    background: #00A8E8;
    color: white;
}

.btn-primary:hover {
    background: #008ac2;
}

.btn-secondary {
    background: #0E2A47;
    color: white;
}

.btn-secondary:hover {
    background: #093456;
}

/* ---- CHI SIAMO ---- */

.chi-section {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.chi-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #003f7a;
}

.chi-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 50px;
}

.chi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.chi-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.chi-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 6px 16px rgba(0,0,0,0.15);
}

.chi-icon {
    width: 75px;
    margin-bottom: 15px;
}

.chi-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #003f7a;
}

.chi-card p {
    font-size: 16px;
    color: #444;
    line-height: 1.5;
}

/* ---- BOTTONE RICHIEDI PREVENTIVO ---- */
.btn-preventivo {
    display: inline-block;
    padding: 14px 28px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background: #0055aa;
    border: 2px solid #003f7a;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-preventivo:hover {
    background: #003f7a;
    transform: scale(1.04);
}



/* ---- SEZIONE PROCESSO (IDEA - PROGETTO - REALIZZAZIONE) ---- */

.process-section {
    text-align: center;
    padding: 50px 20px;
}

.process-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #003f7a;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.process-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 6px 14px rgba(0,0,0,0.15);
}

.process-card img {
    width: 70px;   /* ICONA PIÙ PICCOLA */
    margin-bottom: 15px;
}

.process-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #003f7a;
}

.process-card p {
    font-size: 16px;
    line-height: 1.5;
    color: #444;
}



/* --- PAGINA SERVIZI (VERSIONE MIGLIORATA) --- */

.services-header {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.services-header h1 {
    font-size: 36px;
    color: #0a1e3f;
    margin-bottom: 10px;
}

.services-header p {
    font-size: 18px;
    color: #444;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    padding: 20px;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.service-icon {
    width: 55px;
    height: auto;
    margin-bottom: 12px;
    animation: float 2s infinite ease-in-out;
}

@keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

.service-card h3 {
    color: #0a1e3f;
    font-size: 20px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 15px;
    color: #444;
    line-height: 1.5;
}

/* ----- PAGINA LAVORI ----- */

.lavori-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.lavori-title {
    font-size: 36px;
    font-weight: 700;
    color: #003f7a;
    margin-bottom: 10px;
}

.lavori-desc {
    font-size: 18px;
    color: #444;
    margin-bottom: 40px;
}

.lavori-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.lavoro-card {
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    transition: 0.3s ease;
    background: #fff;
}

.lavoro-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.3s ease;
}

/* Effetto hover professionale */
.lavoro-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.18);
}

.lavoro-card:hover img {
    transform: scale(1.05);
    opacity: 0.85;
}

/* --- PAGINA CONTATTI + FORM PREVENTIVO --- */

.contact-container {
    max-width: 900px;
    margin: 50px auto;
    background: #ffffff;
    padding: 40px 35px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-container h1 {
    text-align: center;
    font-size: 36px;
    color: #0a1e3f;
    margin-bottom: 10px;
}

.contact-container p.subtitle {
    text-align: center;
    font-size: 18px;
    color: #555;
    margin-bottom: 35px;
}

/* FORM */

.contact-form {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
}

.contact-form .full {
    grid-column: span 2;
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
    color: #0a1e3f;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    background-color: #f7f7f7;
}

.contact-form textarea {
    height: 140px;
    resize: vertical;
}

.contact-form button {
    background-color: #0a1e3f;
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    grid-column: span 2;
    transition: 0.3s ease;
}

.contact-form button:hover {
    background-color: #0c2a57;
}

/* BOX INFO CONTATTI */

.contact-info {
    margin-top: 50px;
    text-align: center;
}

.contact-info h2 {
    font-size: 26px;
    color: #0a1e3f;
    margin-bottom: 15px;
}

.contact-info p {
    font-size: 17px;
    margin: 5px 0;
}

.contact-info a {
    color: #0074a8;
    font-weight: 600;
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}


/* ===========================
   FOOTER
=========================== */
.footer {
    background: #0E2A47;
    color: white;
    padding: 40px 30px;
    margin-top: 50px;
    text-align: center;
}

.footer a {
    color: #00A8E8;
    text-decoration: none;
    font-weight: 600;
}

.footer a:hover {
    text-decoration: underline;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    margin: 0 12px;
}

.footer-info p {
    margin: 4px 0;
    font-size: 15px;
}

/* ===========================
   FORM PREVENTIVO
=========================== */
.form-container {
    max-width: 600px;
    margin: auto;
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}

.form-container label {
    display: block;
    margin: 12px 0 5px;
    font-weight: 600;
}

.form-container input,
.form-container select,
.form-container textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #999;
    margin-bottom: 15px;
    font-size: 16px;
}

.form-container button {
    background: #00A8E8;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.form-container button:hover {
    background: #008ac2;
}
