
/* IMPOSTAZIONI GENERALI */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: #0b1423;
    color: white;
}

/* NAVBAR */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    background-color: #0b1423;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo span {
    color: #38bdf8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #38bdf8;
}

/* SEZIONE HERO */

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #38bdf8;
}

.hero p {
    font-size: 18px;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 35px;
}

/* PULSANTE */

.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #38bdf8;
    color: #0b1423;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background-color: #7dd3fc;
    transform: translateY(-3px);
}

/* SMARTPHONE */

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        min-height: 75vh;
        text-align: center;
        justify-content: center;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 16px;
    }
}

/* SEZIONE SERVIZI */

.servizi {
    padding: 100px 8%;
    background-color: #111e30;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 38px;
    margin-bottom: 15px;
}

.section-heading p {
    color: #cbd5e1;
    font-size: 17px;
}

.servizi-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.servizio-card {
    background-color: #192b42;
    padding: 35px 25px;
    border-radius: 14px;
    border: 1px solid #2a4059;
    transition: 0.3s;
}

.servizio-card:hover {
    transform: translateY(-8px);
    border-color: #38bdf8;
}

.servizio-icon {
    font-size: 36px;
    margin-bottom: 25px;
}

.servizio-card h3 {
    font-size: 21px;
    margin-bottom: 15px;
}

.servizio-card p {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.7;
}

/* RESPONSIVE SERVIZI */

@media (max-width: 900px) {
    .servizi-container {
        grid-template-columns: 1fr;
    }

    .servizi {
        padding: 70px 6%;
    }
}


/* SEZIONE CHI SONO */

.chi-sono {
    padding: 110px 8%;
    background-color: #0b1423;
}

.chi-sono-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 70px;
    align-items: center;
}

/* IMMAGINE */

.chi-sono-immagine {
    width: 100%;
    min-width: 0;
}

.chi-sono-immagine img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
}

/* TESTO */

.chi-sono-testo .etichetta {
    color: #38bdf8;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
}

.chi-sono-testo h2 {
    font-size: 40px;
    line-height: 1.2;
    margin: 20px 0 25px;
}

.chi-sono-testo h2 span {
    color: #38bdf8;
}

.chi-sono-testo p {
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.chi-sono-testo .btn {
    display: inline-block;
    margin-top: 15px;
}

/* VERSIONE SMARTPHONE E TABLET */

@media (max-width: 900px) {

    .chi-sono {
        padding: 70px 6%;
    }

    .chi-sono-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .chi-sono-testo h2 {
        font-size: 32px;
    }

}
/* LOGO PROTECTA */

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 280px;
    height: auto;
    display: block;
}

/* NAVBAR */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
}

/* SMARTPHONE */

@media (max-width: 768px) {
    .logo img {
        width: 190px;
    }
}


/* NUOVA HOME PROTECTA */

.hero {
    background: linear-gradient(
        135deg,
        #0b1423 0%,
        #162d50 65%,
        #263c7a 100%
    );
}

.hero-label {
    display: inline-block;
    color: #79a9df;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #79a9df;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn {
    background-color: #79a9df;
    color: #0b1423;
}

.btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid #79a9df;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-secondary:hover {
    background-color: #263c7a;
}

@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
    }
}

/* SEZIONE CONTATTI */

.contatti {
    padding: 100px 8%;
    background-color: #111e30;
}

.contatti-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


.contatti-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.contatto-card {
    min-width: 0;
}

.contatto-card p {
    overflow-wrap: anywhere;
}

/* TABLET */

@media (max-width: 1100px) {
    .contatti-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* SMARTPHONE */

@media (max-width: 600px) {
    .contatti-container {
        grid-template-columns: 1fr;
    }
}

/* WHATSAPP */

.whatsapp-container {
    text-align: center;
    margin-top: 65px;
}

.whatsapp-container h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

.whatsapp-btn {
    display: inline-block;
    padding: 16px 30px;
    background-color: #25d366;
    color: #092b17;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    background-color: #1ebe5d;
    transform: translateY(-3px);
}

/* SMARTPHONE */

@media (max-width: 900px) {
    .contatti {
        padding: 70px 6%;
    }

    .contatti-container {
        grid-template-columns: 1fr;
    }
}

/* SEZIONE CONTATTI */

.contatti {
    padding: 100px 8%;
    background-color: #111e30;
}

.contatti-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.contatto-card {
    background-color: #192b42;
    padding: 35px 25px;
    border: 1px solid #2a4059;
    border-radius: 14px;
    text-align: center;
    transition: 0.3s;
}

.contatto-card:hover {
    transform: translateY(-6px);
    border-color: #79a9df;
}

.contatto-icon {
    font-size: 35px;
    margin-bottom: 20px;
}

.contatto-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.contatto-card p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 20px;
    overflow-wrap: anywhere;
}

.contatto-card a {
    color: #79a9df;
    text-decoration: none;
    font-weight: bold;
}

.contatto-card a:hover {
    text-decoration: underline;
}

/* WHATSAPP */

.whatsapp-container {
    text-align: center;
    margin-top: 65px;
}

.whatsapp-container h3 {
    font-size: 24px;
    margin-bottom: 25px;
}

.whatsapp-btn {
    display: inline-block;
    padding: 16px 30px;
    background-color: #25d366;
    color: #092b17;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    background-color: #1ebe5d;
    transform: translateY(-3px);
}

/* SMARTPHONE */

@media (max-width: 900px) {
    .contatti {
        padding: 70px 6%;
    }

    .contatti-container {
        grid-template-columns: 1fr;
    }
}

/* SEZIONE MARCHI E PRODOTTI */

.prodotti {
    padding: 100px 8%;
    background-color: #0b1423;
}

.prodotti .etichetta {
    display: block;
    margin-bottom: 15px;
}

.prodotti-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.prodotto-card {
    background-color: #192b42;
    border: 1px solid #2a4059;
    border-radius: 14px;
    padding: 35px 20px;
    min-height: 115px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.3s;
}

.prodotto-card h3 {
    color: white;
    font-size: 21px;
    text-align: center;
}

.prodotto-card:hover {
    transform: translateY(-6px);
    border-color: #79a9df;
    background-color: #203957;
}

/* TABLET */

@media (max-width: 900px) {
    .prodotti-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* SMARTPHONE */

@media (max-width: 480px) {
    .prodotti {
        padding: 70px 6%;
    }

    
/* GRIGLIA MARCHI */

.prodotti-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

/* RIQUADRI MARCHI */

.prodotto-card {
    width: 100%;
    height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #192b42;
    border: 1px solid #2a4059;
    border-radius: 14px;

    padding: 20px;
    box-sizing: border-box;

    transition: 0.3s;
}

.prodotto-card h3 {
    color: white;
    font-size: 21px;
    text-align: center;
}

.prodotto-card:hover {
    transform: translateY(-6px);
    border-color: #79a9df;
    background-color: #203957;
}

/* TABLET */

@media (max-width: 900px) {
    .prodotti-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* SMARTPHONE */

@media (max-width: 480px) {
    .prodotto-card {
        height: 95px;
        padding: 12px;
    }

    .prodotto-card h3 {
        font-size: 17px;
    }
}
    .prodotto-card h3 {
        font-size: 17px;
    }
}

.prodotti .section-heading p {
    max-width: 760px;
    margin: 0 auto 15px;
    line-height: 1.8;
}

/* ALTRI MARCHI */

.altri-marchi {
    margin-top: 35px;
    text-align: center;
}

.altri-marchi p {
    color: #a8bdd5;
    font-size: 15px;
    font-style: italic;
    letter-spacing: 0.3px;
    line-height: 1.7;
    white-space: nowrap;
}

.contatti-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.contatto-card {
    min-width: 0;
}

.contatto-card p {
    overflow-wrap: anywhere;
}

/* TABLET */

@media (max-width: 1100px) {
    .contatti-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* SMARTPHONE */

@media (max-width: 600px) {
    .contatti-container {
        grid-template-columns: 1fr;
    }
}
