﻿/* =============================================
   RESET LINK NAVBAR
   ============================================= */

body {
    color: #323232 !important;
    overflow-x: hidden;
}
.SitoNav a,
.SitoNav a:link,
.SitoNav a:visited,
.SitoNav a:hover,
.SitoNav a:active,
.SitoDropdown a,
.SitoDropdown a:link,
.SitoDropdown a:visited,
.SitoDropdown a:hover,
.SitoDropdown a:active {
    color: #323232 !important;
    text-decoration: none !important;
}

/* =============================================
   NAVBAR
   ============================================= */

.SitoNav {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0 !important;
}

    .SitoNav .navbar-brand {
        padding: 12px 0;
    }

.SitoNavLogoImg {
    height: 100px;
    width: auto;
}

.SitoNav .navbar-nav .nav-link.SitoNavLink,
.SitoNav .navbar-nav .nav-link.SitoNavLink:link,
.SitoNav .navbar-nav .nav-link.SitoNavLink:visited {
    color: #323232 !important;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background 0.2s;
}

    .SitoNav .navbar-nav .nav-link.SitoNavLink:hover {
        color: #323232 !important;
        background: #F9F9F7;
    }

.SitoNav a.SitoNavAccedi,
.SitoNav a.SitoNavAccedi:link,
.SitoNav a.SitoNavAccedi:visited {
    color: #323232 !important;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none !important;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background 0.2s;
}

    .SitoNav a.SitoNavAccedi:hover {
        background: #F9F9F7;
        color: #323232 !important;
    }

.SitoNav a.SitoNavCtaOutline,
.SitoNav a.SitoNavCtaOutline:link,
.SitoNav a.SitoNavCtaOutline:visited {
    color: #323232 !important;
    font-size: 14px;
    font-weight: 700;
    border: 2px solid #F5C200;
    border-radius: 8px;
    padding: 9px 20px;
    text-decoration: none !important;
    transition: background 0.2s;
    white-space: nowrap;
    display: inline-block;
}

    .SitoNav a.SitoNavCtaOutline:hover {
        background: #F5C200;
        color: #323232 !important;
    }

/* =============================================
   DROPDOWN
   ============================================= */

.SitoDropdown {
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 8px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    min-width: 240px;
}

.SitoDropdownHeader {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #323232 !important;
    background: #F5C200;
    padding: 8px 16px;
    margin-bottom: 4px;
}

.SitoDropdown .dropdown-item,
.SitoDropdown .dropdown-item:link,
.SitoDropdown .dropdown-item:visited {
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #323232 !important;
    text-decoration: none !important;
}

    .SitoDropdown .dropdown-item:hover {
        background: #FFF8DC;
        color: #323232 !important;
    }

    .SitoDropdown .dropdown-item i {
        font-size: 16px;
        color: #C9990A;
        width: 18px;
        flex-shrink: 0;
    }

.SitoDropdownBadge {
    margin-left: auto;
    background: #F5C200;
    color: #323232;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =============================================
   LINGUA
   ============================================= */

.FlagIcon {
    width: 20px;
    height: auto;
    display: inline-block;
    flex-shrink: 0;
}

/* =============================================
   HEADER VIDEO
   ============================================= */

.SitoHeaderVideo {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

    .SitoHeaderVideo video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.SitoHeaderVideoOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(50, 50, 50, 0.55);
}

.SitoHeaderVideoTesto {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 80%;
    max-width: 800px;
}

.SitoHeaderTitolo {
    font-family: Montserrat, sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.SitoHeaderSottotitolo {
    font-family: Montserrat, sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #ffffff !important;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* =============================================
   ETICHETTA SEZIONE
   ============================================= */

.SitoEtichetta {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #C9990A;
}

/* =============================================
   STRISCIA NUMERI
   ============================================= */

.SitoNumeroValore {
    font-family: Montserrat, sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #F5C200;
    line-height: 1;
}

.SitoNumeroDivisore {
    width: 1px;
    height: 60px;
    background: #4a4a4a;
    flex-shrink: 0;
    align-self: center;
}

/* =============================================
   PULSANTI SITO
   ============================================= */

.btn.PulsanteGrigioScuro {
    background-color: #323232 !important;
    border-color: #323232 !important;
    color: #F5C200 !important;
    display: inline-block !important;
    width: auto !important;
}

    .btn.PulsanteGrigioScuro:hover {
        background-color: #4a4a4a !important;
        border-color: #4a4a4a !important;
        color: #F5C200 !important;
    }

    .btn.PulsanteGrigioScuro:focus,
    .btn.PulsanteGrigioScuro:active,
    .btn.PulsanteGrigioScuro.active {
        background-color: #222222 !important;
        border-color: #222222 !important;
        color: #F5C200 !important;
        box-shadow: 0 0 0 0.25rem rgba(50, 50, 50, 0.5) !important;
    }

    .btn.PulsanteGrigioScuro:disabled {
        background-color: #323232 !important;
        border-color: #323232 !important;
        opacity: 0.65;
    }

/* =============================================
   SFONDO GRIGIO SCURO
   ============================================= */

.SfondoGrigioScuro {
    background-color: #323232;
}

/* =============================================
   COME FUNZIONA
   ============================================= */

.ComeFunzionaTab {
    background: transparent;
    color: #323232;
    border: none;
    border-radius: 0;
    transition: background 0.2s, color 0.2s;
}

    .ComeFunzionaTab:hover {
        background: #FFF8DC;
        color: #323232;
    }

.ComeFunzionaTabAttivo {
    background: #F5C200 !important;
    color: #323232 !important;
}

.ComeFunzionaNumero {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #F5C200;
    color: #323232;
    font-weight: 800;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ComeFunzionaLinea {
    width: 2px;
    height: 40px;
    background: #E5E7EB;
    margin-left: 23px;
    margin-bottom: 16px;
}

/* =============================================
   SERVIZI
   ============================================= */

.ServiziTag {
    background: #F9F9F7;
    border: 1px solid #E5E7EB;
    color: #323232;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.ServiziTagSocial {
    background: #F5C200;
    border: 1px solid #F5C200;
    color: #323232;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* =============================================
   FAQ ACCORDION
   ============================================= */

.accordion-button:not(.collapsed) {
    background-color: #FFF8DC;
    color: #323232;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #F5C200;
}

.accordion-button::after {
    filter: none;
}

.accordion-button:not(.collapsed)::after {
    filter: none;
}

/* =============================================
   FOOTER
   ============================================= */

footer {
    overflow-x: hidden;
}

.FooterLogo {
    height: 60px;
    width: auto;
}

.FooterColonnaTitolo {
    font-size: 12px;
    letter-spacing: 0.1em;
}

footer a.FooterLink,
footer a.FooterLink:link,
footer a.FooterLink:visited {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    font-size: 14px;
    transition: color 0.2s;
}

    footer a.FooterLink:hover {
        color: #F5C200 !important;
        text-decoration: none !important;
    }

footer a.FooterSocial,
footer a.FooterSocial:link,
footer a.FooterSocial:visited {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 18px;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s;
}

    footer a.FooterSocial:hover {
        background: #F5C200;
        color: #323232 !important;
    }

.FooterInput {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

    .FooterInput::placeholder {
        color: rgba(255, 255, 255, 0.4) !important;
    }

    .FooterInput:focus {
        background: rgba(255, 255, 255, 0.12) !important;
        box-shadow: none !important;
        border-color: #F5C200 !important;
    }