/*
 * Style for nurapi index page.
 */

/* =============================================
   HERO HEADER
   ============================================= */

div#previewHeader {
    background-image: url('/images/layout/home-header.jpg');
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

div#previewHeader .button.bgWhatsapp:hover {
    background-color: #FFFFFF;
    color: #1c1c1e;
}

/* =============================================
   ROUND PRODUCTS SECTION
   ============================================= */

section#productsRound {
    background-color: #FFFFFF;
    padding: 3.5em 8% 4em;
    text-align: center;
}

.products-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 3%;
    margin-bottom: 2.5em;
    flex-wrap: nowrap;
}

.round-product {
    position: relative;
    width: 13%;
    text-align: center;
    flex-shrink: 0;
}

.round-product a {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
}

.round-product a:hover .round-img {
    transform: scale(1.05);
}

.round-img {
    width: 100%;
    padding-top: 100%;
    border-radius: 50%;
    background-color: #2e2e2e;
    background-size: cover;
    background-position: center;
    transition: transform .3s ease;
}

.badge-new {
    position: absolute;
    top: .3em;
    left: .3em;
    background-color: #ff9933;
    color: #FFFFFF;
    font-size: .65em;
    font-weight: 700;
    padding: .25em .85em;
    border-radius: 25px;
    text-transform: uppercase;
    z-index: 1;
    letter-spacing: 1px;
}

.product-name {
    font-size: .85em;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 1.2em;
    margin-bottom: .3em;
    letter-spacing: 1px;
    line-height: 1.3em;
    color: #000000;
}

.product-tag {
    font-size: .75em;
    color: #999999;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.products-action {
    text-align: center;
    margin-top: 2.5em;
}

.products-action a.button.bgWhite {
    color: #000000;
    background-color: #FFFFFF;
    border: 2px solid #000000;
    letter-spacing: 1.5px;
}

.products-action a.button.bgWhite:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

/* =============================================
   CONCEPT / TEXT SECTIONS
   ============================================= */

section.concept.space {
    padding: 4.5em 15%;
    text-align: center;
    background-color: #FFFFFF;
}

section.concept.space .title {
    margin-bottom: 1.5em;
    color: #222222;
}

section.concept.space p {
    margin-bottom: 1em;
    color: #333333;
    font-size: 1.3em;
}

/* =============================================
   BANNERS
   ============================================= */

div.banner.bgBlue {
    background-color: #33c2ff;
}

/* Banner arancione: testo descrittivo in dimensione normale, no uppercase */
div.banner.bgOrange .subtitle {
    text-transform: none;
    font-size: 1em;
    line-height: 1.8em;
    max-width: 70%;
    margin: 0 auto 1.5em;
    font-weight: normal;
}

div.banner.bgOrange .subtitle p {
    margin-bottom: .7em;
}

div.banner.bgOrange a.button.bgWhite {
    margin-top: 1.5em;
    color: #000000;
    border: 2px solid #FFFFFF;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

div.banner.bgOrange a.button.bgWhite:hover {
    background-color: #f9f9f9;
}

/* Banner blu: testo con grassetto, no uppercase forzato */
div.banner.bgBlue .title {
    text-transform: none;
    font-size: 2.5em;
    max-width: 80%;
    margin: 0 auto .5em;
    color: #000000;
}

div.banner.bgBlue .title.white {
    color: #000000;
}

div.banner a.button.bgWhatsapp {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    margin-top: 1.5em;
    border-radius: 4px;
    padding: .6em 2em;
}

div.banner.bgBlue a.button.bgWhatsapp i {
    color: #25D366;
}

div.banner.bgBlue a.button.bgWhatsapp:hover {
    background-color: #f0f0f0;
}

/* =============================================
   WHATSAPP BUTTON
   ============================================= 

.bgWhatsapp {
    background-color: #25D366;
}

.bgWhatsapp:hover {
    background-color: #20bd5a;
}*/

/* =============================================
   NEWS SECTION (homepage override)
   ============================================= */

section#news {
    padding: 3em 10% 3em !important;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media screen and (max-width: 780px) {

    .products-row {
        flex-wrap: wrap;
        gap: 4%;
    }

    .round-product {
        width: 28%;
        margin-bottom: 1.5em;
    }

    section.concept.space {
        padding: 3em 8%;
    }
}

@media screen and (max-width: 500px) {

    div#previewHeader {
        height: auto !important;
    }

    .products-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6%;
    }

    .round-product {
        width: 42%;
        margin-bottom: 2em;
    }

    section.concept.space {
        padding: 2.5em 6%;
    }

    div.banner .title,
    div.banner.bgOrange .subtitle {
        max-width: 100%!important;
        padding: 0 6%;

    }
}
