/* IMPACT */
@font-face {
    font-family: 'Impact';
    src: url('../fonts/impact.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* MONTSERRAT REGULAR */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
}

/* MONTSERRAT BOLD */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
}

body{
    background-color: #eaeaea;
}

body, a {
    font-family: 'Montserrat', sans-serif;
}
p{
    font-size: 15px;
}
h1, h2, h3, button, .btn {
    font-family: 'Impact', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
}

.navbar-brand{
    position: absolute;
    top: 30%;
    right: calc(50% - 165px);
    margin: 0;
    padding: 0;
}

.nav-item{
    text-transform: uppercase;
}

.subtitle-banner{
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: -3px;
    line-height: 0.9;
}

.btn{
    border-radius: 0;
    padding: 1rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 20px;
}

.btn:hover{
    background-color: transparent;
    border: solid 1px white;
    color: white;
}

.btn-sec{
    border-radius: 0;
    padding: 1rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 20px;
    border: solid 1px black;
    color: black;
    background-color: transparent;
}

.btn-sec:hover{
    background-color: #ca0c0c;
    border: 1px solid #ca0c0c;
    color: white;
}

/* HERO */
.hero {
    position: relative;
    height: 90vh;
    background: url('../img/hero.jpg') center/cover no-repeat;
    color: white;
    border-radius: 5px;
    margin: 56px 0.5rem 0.5rem;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: 20px;
    letter-spacing: 2px;
}

.custom-navbar {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background-color: #eaeaea !important;
}

/* CLAIM */
.claim {
    padding: 80px 0;
    background: #eaeaea;
}

.claim h2 {
    font-size: 50px;
    font-weight: 900;
}

.claim h3{
    text-transform: none;
    font-size: 50px;
    line-height: 1
}

.claim span {
    color: #ca0c0c;
}

/* PRODUCT */
.product {

height: 85vh;

    background: #fff;
}

.vertical-menu {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
    font-weight: bold;
    background: #f1f1f1;
}

.vertical-menu div {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.product-image img {
    width: 100%;
}

section.product div.vertical-accordion {
        height: 85vh;
}

/* CONTENITORE */
.vertical-accordion {
    display: flex;
    width: 100%;
    overflow: hidden;
    flex-direction: column;
}

/* ITEM */
.va-item {
    display: flex;
    height: 100%;
}

/* HEADER */
/* =======================================================
   HEADER COMPATTO CON LOGHI A CAVALLO DEFINITIVO
   ======================================================= */

/* Stile Base per Smartphone e Tablet (Mobile) */
.custom-header-pc {
    display: block !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.custom-brand-container {
    gap: 6px;
    float: right;
    margin-top: -0px; /* Calibrato per ricentrare i loghi più grandi rispetto all'hamburger */
    position: relative;
    z-index: 1060;
    display: flex !important;
    align-items: center;}

.custom-logo-responsive {
    height: 48px !important; /* Ingrandisce i loghi per riempire la barra bianca */
    width: auto;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;}

/* Gestione tendina mobile */
.navbar-collapse {
    clear: both !important;
    width: 100% !important;
    padding-top: 15px;
}

.custom-nav-list {
    gap: 10px;
    list-style: none;
    padding-left: 10px;
    margin: 0;
}

/* =======================================================
   Regole Specifiche solo per COMPUTER (PC Desktop >= 992px)
   ======================================================= */
@media (min-width: 992px) {
    
    /* Riduce lo spessore della barra bianca su PC */
    .custom-header-pc {
        display: flex !important;
        height: 65px !important; 
        padding: 0 3rem !important;
    }

    /* Centra matematicamente il blocco dei loghi a metà della barra */
    .custom-brand-container {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: 0 !important;
        margin-top: 0 !important;
        gap: 8px;
        z-index: 1050;
        float: none;
    }

    /* Ingrandisce i loghi e li fa scendere a cavallo dello sfondo grigio */
    .custom-logo-responsive {
        height: 95px !important;
        background: transparent;
    }

    /* Distanzia i link tra loro in orizzontale */
    .custom-nav-list {
        gap: 25px !important;
        padding-left: 0 !important;
    }
    
    /* MODIFICATA: Applica il flex solo alla navbar PC e non a quella mobile */
    .navbar-expand-lg .navbar-collapse {
        padding-top: 0 !important;
        clear: none !important;
        display: flex !important;
        width: auto !important;
    }
    
    /* MARGINI DI SICUREZZA: Evitano che i link si avvicinino troppo al centro */
    .navbar-nav.me-auto {
        margin-right: 160px !important; /* Spinge Home e Video a sinistra del logo */
    }
    .navbar-nav.ms-auto {
        margin-left: 160px !important; /* Spinge Catalogo, Azienda ecc. a destra del logo */
    }

    .header-flag {
        margin-top: -3px;
    }

    /* ========================================================
       AGGIUNGI QUESTO IN FONDO: Forzatura totale anti-tendina su PC
       ======================================================== */
    .d-lg-none {
        display: none !important;
    }
    #menu-unificato.d-lg-none {
        display: none !important;
    }
}
/* --------------------------------------------------------------------------------*/





.va-header {
    min-width: 120px;
    background: white;
    padding: 1rem;

    border: solid 2px #eaeaea;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    cursor: pointer;
    transition: 0.3s;

    font-family: 'Impact', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 40px;
}

.va-header:hover {
    background: #ca0c0c;
    color: white;
}

/* CONTENUTO */
.va-content {
    height: 0;
    flex-grow: 0;
    overflow: hidden;
    position: relative;
    border: 2px solid #eaeaea;
    border-right-width: 1px;
    border-left-width: 1px;
}

/* ITEM ATTIVO */
.va-item.active .va-content {
    width: 100%;
    flex-grow: 1;
    height: 100%;
}

/* IMMAGINE */
.va-content img {
    width: 100%;
    height: 85%;
    object-fit: cover;
    object-position: bottom;

    transition: transform 0.4s ease;
}

.va-desc{
    display: block;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    height: 15%;
}

.va-desc p {
    display: block;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
    margin-bottom: 0px;
    font-size: 15px;
}

/* DEFAULT (chiuso) */
.va-item {
    display: flex;
    flex: 0;
    overflow: hidden;

    transition: flex 0.6s cubic-bezier(.77,0,.18,1);
}

/* ATTIVO (aperto) */
.va-item.active {
    flex: 1;
    transition: all 0.4s linear;
}

/* GALLERY */
.gallery {
    padding: 80px 0;
}

.gallery h2 {
    font-size: 50px;
    font-weight: 400;
    line-height: 1;
}

.gallery span {
    color: #ca0c0c;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.footer p:first-child {
    font-size: 15px;
}

.footer p {
    font-size: 12px;
}

.footer img{
    height: 150px;
}

.product{
    display: none;
}

.product-mobile{
    display: block;
}

.va-item{
    display: block;
}

.va-header img{
    display: none;
    tran_sform: rotate(180deg);
}

.modal-title{
    color: #ca0c0c;
}

a{
    color: #ca0c0c;
}

/* VIDEO */
.video-section {
    padding: 0.5rem;
    margin-top: 3rem;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* AGGIUNGI QUESTA RIGA: */
    scroll-margin-top: 0px; /* Più aumenti i pixel (es. 120px), più la pagina si fermerà in alto */
}

.video {
    width: 100%;
    height: 300px;
    border-radius: 10px;
}


/* tablet */
@media (min-width: 768px) {

    p{
        font-size: 20px;
    }

    .va-header img{
        display: block;
    }

    .va-desc{
        display: flex;
    }

    .va-desc p {
        display: block;
        justify-content: flex-start;
        align-items: center;
        width: 50%;
        height: 100%;
        font-size: 20px;
    }

    .gallery h2, .video-section h2 {
        font-size: 90px;
    }

    .subtitle-banner{
        font-size: 6rem;
    }

    .claim h3{
        font-size: 90px;
    }


    .footer p:first-child {
        font-size: 25px;
    }

    .footer p {
        font-size: 15px;
    }


    .footer img{
        height: 200px;
    }

    .video {
        width: 100%;
        height: 85vh;
    }
    
    #video {
        scroll-margin-top: -100px !important; /* Ristabilisce la distanza generosa che andava bene su PC */
    }
}

/* desktop */
@media (min-width: 992px) {

    .va-item{
        display: flex;
    }

    .va-content {
        width: 0;
        height: 100%;
    }

    .va-content img {
        width: 100%;
        height: 85%;
        object-fit: cover;

        transition: transform 0.4s ease;
    }

    .va-header {
        width: 120px;
        min-width: 120px;
        background: white;
        padding: 1rem;

        border: solid 2px #eaeaea;

        display: flex;
        align-items: flex-start;
        justify-content: space-between;

        writing-mode: vertical-rl;
        transform: rotate(180deg);

        cursor: pointer;
        transition: 0.3s;

        font-family: 'Impact', sans-serif;
        text-transform: uppercase;
        font-weight: 400;
        font-size: 40px;
    }

    .va-header img{
        disp_lay: none;
        transform: rotate(180deg);
    }

    .vertical-accordion {
        height: 80vh;
        flex-direction: row;
    }

    /* DEFAULT (chiuso) */
    .va-item {
        flex: 0;
        overflow: visible;
    }

    /* ATTIVO (aperto) */
    .va-item.active {
        flex: 1;
        transition: all 0.4s linear;
    }


    .product{
        display: block;
    }

    .product-mobile{
        display: none;
    }

    .gallery h2, .video-section h2 {
        font-size: 90px;
    }

}
