*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, sans-serif;
    background:#fff;
    color:#222;
}

/* HEADER */

.header{
    background:white;
    height:110px;
    padding:0 6%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 2px 12px rgba(0,0,0,0.08);
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo img{
    height:75px;
    width:auto;
}

.logo-text h2{
    color:#f10808;
    font-size:28px;
    font-weight:900;
    margin:0;
}

.logo-text span{
    color:#d71920;
}

.logo-text p{
    font-size:12px;
    color:#666;
    font-weight:bold;
    margin-top:4px;
}

nav ul{
    display:flex;
    gap:40px;
    list-style:none;
}

nav a{
    color:#111;
    text-decoration:none;
    font-weight:bold;
}

nav a:hover{
    color:#d71920;
}

.hero{
    height:75vh;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.85), rgba(0,0,0,0.25)),
        url("images/suf.m.jpeg");
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    padding-left:6%;
    color:white;
}

.hero-content{
    max-width:620px;
}

.hero h1{
    font-size:50px;
    line-height:0.95;
    font-weight:200;
    margin-bottom:15px;
}


.hero h1 span{
    color:#f1131a;
    font-weight:400;
}

.slogan{
    color:#fa060f;
    font-size:38px;
    font-family:brush-script, cursive;
    font-style:italic;
    margin:25px 0;
}
.hero p{
    font-size:20px;
    line-height:1.5;
    margin-bottom:25px;
}

.hero-buttons{
    display:flex;
    gap:20px;
}

.btn{
    background:#d71920;
    color:white;
    padding:16px 30px;
    border-radius:6px;
    text-decoration:none;
    font-weight:bold;
    text-transform:uppercase;
}

.btn-outline{
    border:2px solid white;
    color:white;
    padding:16px 30px;
    border-radius:6px;
    text-decoration:none;
    font-weight:bold;
    text-transform:uppercase;
}

/* SERVIZI */

.servizi{
    padding:35px 6% 70px;
    text-align:center;
    background:#fff;
}

.servizi h2,
.galleria h2,
.recensioni h2{
    font-size:32px;
    text-transform:uppercase;
    margin-bottom:35px;
    position:relative;
}

.servizi h2::after,
.galleria h2::after,
.recensioni h2::after,
.chi-text h2::after,
.perche h2::after,
.contatti h2::after{
    content:"";
    display:block;
    width:70px;
    height:3px;
    background:#E02020;
    margin:12px auto 0;
}

.servizi-container{
    display:grid;
    grid-template-columns:repeat(6, 1fr);
    gap:18px;
}

.card{
    background:white;
    padding:35px 18px;
    border-radius:6px;
    box-shadow:0 5px 18px rgba(0,0,0,.12);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.icon{
    color:#D71920;
    font-size:50px;
    margin-bottom:20px;
}

.card h3{
    text-transform:uppercase;
    font-size:17px;
    margin-bottom:18px;
}

.card p{
    color:#555;
    line-height:1.5;
}

/* CHI SIAMO */

.chi-siamo{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    padding:0 6% 60px;
    gap:45px;
}

.chi-img img{
    width:100%;
    height:330px;
    object-fit:cover;
    border-radius:6px;
}

.chi-text h2{
    font-size:32px;
    text-transform:uppercase;
    margin-bottom:25px;
}

.chi-text h2::after{
    margin-left:0;
}

.chi-text p{
    font-size:18px;
    line-height:1.7;
    margin-bottom:18px;
    color:#333;
}

/* PERCHE + NUMERI */

.perche{
    background:linear-gradient(90deg,#111,#2b2b2b);
    color:white;
    display:grid;
    grid-template-columns:1fr 2fr;
    gap:40px;
    padding:55px 6%;
}

.perche h2{
    text-transform:uppercase;
    margin-bottom:25px;
}

.perche h2::after{
    margin-left:0;
}

.perche-left p{
    margin:14px 0;
    font-size:16px;
}

.perche-left i{
    color:#E02020;
    margin-right:10px;
}

.numeri{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    text-align:center;
}

.numeri div{
    border-left:1px solid rgba(255,255,255,.35);
    padding:20px;
}

.numeri i{
    color:#E02020;
    font-size:40px;
    margin-bottom:10px;
}

.numeri h3{
    font-size:42px;
}

/* GALLERIA */

.galleria{
    padding:55px 6%;
    text-align:center;
    background:#f7f7f7;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:10px;
}

.gallery-grid img{
    width:100%;
    height:120px;
    object-fit:cover;
    cursor:pointer;
    border-radius:4px;
    transition:.3s;
}

.gallery-grid img:hover{
    transform:scale(1.05);
}

/* RECENSIONI */

.recensioni{
    padding:55px 6%;
    text-align:center;
}

.recensioni-container{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}

.recensione{
    width:300px;
    background:white;
    padding:28px;
    border-radius:6px;
    box-shadow:0 5px 18px rgba(0,0,0,.12);
}

.stelle{
    color:#E02020;
    font-size:22px;
    margin-bottom:15px;
}

/* CONTATTI */

.contatti{
    background:#1b1b1b;
    color:white;
    padding:45px 6%;
}

.contatti h2{
    text-transform:uppercase;
    margin-bottom:30px;
}

.contatti h2::after{
    margin-left:0;
}

.contatti-container{
    display:grid;
    grid-template-columns:1fr 2fr;
    gap:35px;
}

.info p{
    margin-bottom:15px;
}

form{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

textarea{
    grid-column:span 2;
}

input,
textarea{
    padding:14px;
    border:none;
    border-radius:5px;
}

button{
    background:#E02020;
    color:white;
    border:none;
    padding:14px;
    border-radius:5px;
    font-weight:bold;
    cursor:pointer;
}

.mappa{
    margin-top:35px;
    border-radius:8px;
    overflow:hidden;
}

/* FOOTER */

footer{
    background:#111;
    color:#aaa;
    text-align:center;
    padding:18px;
}

/* WHATSAPP */

.whatsapp-float{
    position:fixed;
    right:40px;
    bottom:40px;
    width:60px;
    height:60px;
    background:#25D366;
    color:white;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    text-decoration:none;
    z-index:999;
}

/* LIGHTBOX */

.lightbox{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.9);
    align-items:center;
    justify-content:center;
    z-index:1000;
}

.lightbox img{
    max-width:90%;
    max-height:85%;
}

.close{
    position:absolute;
    top:25px;
    right:35px;
    color:white;
    font-size:45px;
    cursor:pointer;
}

/* MOBILE */

@media(max-width:900px){

    .header{
        height:auto;
        flex-direction:column;
        padding:20px;
        gap:15px;
    }

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
        gap:18px;
    }

    .hero{
        height:75vh;
        padding:30px;
    }

    .hero h1{
        font-size:42px;
    }

    .servizi-container,
    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .chi-siamo,
    .perche,
    .contatti-container{
        grid-template-columns:1fr;
    }

    .numeri{
        grid-template-columns:repeat(2,1fr);
    }

    form{
        grid-template-columns:1fr;
    }

    textarea{
        grid-column:span 1;
    }
}

@media(max-width:500px){

    .logo{
        flex-direction:column;
        text-align:center;
    }

    .logo img{
        height:75px;
    }

    .logo h2{
        font-size:22px;
    }

    .servizi-container,
    .gallery-grid,
    .numeri{
        grid-template-columns:1fr;
    }
}
.btn{
    background:#E02020;
    color:white;
    padding:18px 40px;
    border-radius:8px;
    text-decoration:none;
    font-weight:700;
    display:inline-block;
    transition:0.3s;
}

.btn:hover{
    transform:translateY(-3px);
}
.btn-call{
    display:inline-block;
    margin-left:15px;
    padding:16px 30px;
    border:2px solid white;
    color:white;
    text-decoration:none;
    border-radius:8px;
    font-weight:bold;
    background:rgba(255,255,255,0.1);
    transition:0.3s;
}

.btn-call:hover{
    background:white;
    color:#d71920;
}
.line-red{
    width:90px;
    height:4px;
    background:#d71920;
    margin:20px 0;
}
.hero-features{
    display: block;
    margin-top: 30px;
    width: 100%;
}

.hero-features > div{
    margin-bottom: 18px;
}
.portfolio-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:25px;
    max-width:1300px;
    margin:40px auto;
}

.portfolio-card{
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.12);
    transition:.3s;
}

.portfolio-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,.18);
}

.portfolio-card img{
    width:100%;
    height:130px;
    object-fit:cover;
}

.portfolio-content{
    padding:15px;
}

.portfolio-content h3{
    font-size:18px;
    margin-bottom:8px;
}

.portfolio-content p{
    font-size:14px;
    color:#666;
    line-height:1.5;
    margin-bottom:15px;
}

.portfolio-content .btn{
    display:inline-block;
    padding:8px 16px;
    font-size:13px;
}
@media (max-width: 992px){
    .portfolio-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width: 600px){
    .portfolio-grid{
        grid-template-columns:1fr;
    }
}
.portfolio-card{
    height:370px;
}

.portfolio-card img{
    height:160px;
    object-fit:cover;
}

.portfolio-content{
    padding:15px;
}

.portfolio-content h3{
    font-size:20px;
    margin-bottom:8px;
}

.portfolio-content p{
    font-size:14px;
    line-height:1.5;
    height:45px;
    overflow:hidden;
}

.portfolio-content .btn{
    padding:8px 15px;
    font-size:13px;
}
.btn{
    background:#c62828;
    color:white;
    padding:10px 18px;
    border-radius:8px;
    text-decoration:none;
    font-size:13px;
    font-weight:600;
    transition:.3s;
}

.btn:hover{
    background:#a91f1f;
    transform:scale(1.05);
}
/* ===== PAGINA PROGETTO ===== */

.project-gallery{
    max-width:1200px;
    margin:50px auto;
    padding:20px;
}

.main-image img{
    width:100%;
    height:550px;
    object-fit:cover;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.thumb-gallery{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
    margin-top:20px;
}

.thumb-gallery img{
    width:100%;
    height:140px;
    object-fit:cover;
    border-radius:12px;
    cursor:pointer;
    transition:.3s;
}

.thumb-gallery img:hover{
    transform:scale(1.05);
    opacity:.9;
}

@media(max-width:900px){

.thumb-gallery{
    grid-template-columns:repeat(2,1fr);
}

.main-image img{
    height:320px;
}

}