/* CSS di int-stefano.com */
/* se stai leggendo il codice e ti piace, fammelo sapere, ma non mi copiare! int-stefano.com */

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* BODY */

body{

    font-family:Arial, Helvetica, sans-serif;

    font-size:18px;
    line-height:1.6;

    color:#333;
    background:#f5f5f5;
}

/* CONTENITORE */

.container{

    width:100%;
    max-width:1200px;

    margin:auto;

    padding:20px;
}

/* HEADER */

header{

    background:#222;
    color:white;
}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;
}

.logo{
    font-size:1.4rem;
    font-weight:700;
}

/* MENU */

.menu{

    list-style:none;

    display:flex;

    gap:20px;

    flex-wrap:wrap;
}

.menu a{

    text-decoration:none;

    color:white;

    transition:0.3s;
}

.menu a:hover{

    color:#4db8ff;
}

/* TESTA */

.hero{

    background:
        linear-gradient(
            rgba(0,0,0,0.5),
            rgba(0,0,0,0.5)
        ),
        url("images/testa.jpg");

    background-size:cover;

    background-position:center;

    min-height:300px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    color:white;
}

.hero h1{

    font-size:3rem;

    margin-bottom:20px;
}

.hero p{

    max-width:700px;

    margin:auto;

    margin-bottom:30px;
}

/* TASTO */

.btn{

    display:inline-block;

    background:#2c7be5;

    color:white;

    padding:12px 24px;

    text-decoration:none;

    border-radius:6px;

    font-weight:bold;
}

.btn:hover{

    background:#1f5fb8;
}

/* TITOLI */

h2{

    margin-bottom:25px;

    text-align:center;
}

/* CARDS */

.cards{

    display:flex;

    flex-wrap:wrap;

    gap:20px;
}

.card{

    flex:1 1 300px;

    background:white;

    padding:25px;

    border-radius:10px;

    box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.card h3{

    margin-bottom:15px;
}

/* GALLERY GRID */

.gallery{

    display:grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(250px,1fr)
        );

    gap:15px;
}

.gallery img{

    width:100%;

    height:250px;

    object-fit:cover;

    display:block;

    border-radius:8px;
}

/* ABOUT */

.about{

    display:flex;

    gap:30px;

    align-items:center;

    flex-wrap:wrap;
}

.about > div{

    flex:1 1 400px;
}

/* IMMAGINI RESPONSIVE */

img{

    max-width:100%;

    height:auto;

    display:block;
}

/* FOOTER */

footer{

    background:#222;

    color:white;

    text-align:center;

    margin-top:50px;

    padding:30px 0;
}

/* TABLET */

@media (max-width:768px){

    body{

        font-size:17px;
    }

    .hero h1{

        font-size:2.2rem;
    }

    header .container{

        flex-direction:column;
    }

    .menu{

        justify-content:center;
    }

}

/* SMARTPHONE */

@media (max-width:480px){

    body{

        font-size:16px;
    }

    .hero{

        padding:50px 15px;
    }

    .hero h1{

        font-size:1.8rem;
    }

    .card{

        padding:20px;
    }

    .gallery img{

        height:180px;
    }

}
/* SERVICE BOX */

.service-boxes{

    display:flex;

    flex-wrap:wrap;

    gap:20px;
}

.service-box{

    flex:1 1 350px;

    background:white;

    padding:25px;

    border-radius:10px;

    box-shadow:0 2px 10px rgba(0,0,0,0.08);

    transition:transform 0.2s ease, box-shadow 0.2s ease;
}

.service-box:hover{

    transform:translateY(-5px);

    box-shadow:0 8px 20px rgba(0,0,0,0.12);
}

/* TITOLI */
.service-box h3{

    margin-bottom:15px;

    color:#222;
}

/* TESTO */
.service-box p{

    margin-bottom:15px;

    color:#555;
}

/* LISTA */
.service-box ul{

    list-style:none;

    padding-left:0;
}

.service-box ul li{

    padding:6px 0;

    padding-left:18px;

    position:relative;

    color:#444;
}

/* CHECK BULLET */
.service-box ul li::before{

    content:"✓";

    position:absolute;

    left:0;

    color:#0077cc;

    font-weight:bold;
}

.services-text{
    margin-top:40px;
    text-align:center;
    max-width:800px;
    margin-left:auto;
    margin-right:auto;
}

.services-text h3{
    font-size:22px;
    margin-bottom:12px;
    color:#222;
}

.services-text p{
    color:#555;
    line-height:1.7;
}

/*LOGOS LIST SERVICE*/

.logo-list-section {
    margin-top: 50px;
    text-align: center;
}

.logo-list-section h3 {
    margin-bottom: 30px;
}

.logo-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.logo-list img {
    max-height: 55px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: grayscale(15%);
}

.logo-list img:hover {
    transform: scale(1.08);
    filter: grayscale(0%);
}
.logo-category {
    margin-bottom: 40px;
}

.logo-category h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}