/* fibre font assets/fonts/fibre-font.otf*/
@font-face {
    font-family: 'Fibre';
    src: url('../fonts/fibre-font.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.site-branding .brand-logo img {
    max-height: 100px;
}

@media (max-width: 767px) {
    .site-branding .brand-logo img {
        max-height: 60px;
    }
}

.text-fibre {
    font-family: 'Fibre';
    position: relative;
    top: -1px;
}

.btn-wood,
.btn-wood-green {
    position: relative;
    padding: 6px 20px;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    background-size: 100% 100%;
    transition: all 0.2s ease-in-out;
    text-shadow: 0 0 5px rgba(0, 0, 0, 1);
    font-size: 20px;


    border: 1px solid #5c3a1e;
    background:
        /* Venature */
        repeating-linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 0px,
            rgba(255, 255, 255, 0.05) 2px,
            rgba(0, 0, 0, 0.05) 2px,
            rgba(0, 0, 0, 0.05) 4px),
        /* Base legno */
        linear-gradient(45deg,
            #8b5a2b,
            #a1662f,
            #b3743a,
            #8b5a2b);
    box-shadow: 0 4px 0 #4d2e17, 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-wood-green {
    border: 1px solid #1f4d2b;

    background:
        /* Venature leggere */
        repeating-linear-gradient(90deg,
            rgba(255, 255, 255, 0.04) 0px,
            rgba(255, 255, 255, 0.04) 2px,
            rgba(0, 0, 0, 0.05) 2px,
            rgba(0, 0, 0, 0.05) 4px),
        /* Base legno verde */
        linear-gradient(45deg,
            #1d5f35,
            #2e7d4b,
            #3e9d5d,
            #2e7d4b,
            #1d5f35);

    box-shadow: 0 4px 0 #10351e, 0 6px 12px rgba(0, 0, 0, 0.35);
}

/* Hover */
.btn-wood:hover,
.btn-wood-green:hover {
    background-blend-mode: overlay;
    filter: brightness(1.05);
    cursor: pointer;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 0, 0, 1);
    transform: translateY(1px) !important;
}

/* Effetto pressione */
.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
    color: #fff !important;
    border-color: transparent !important;
}

.btn.btn-wood:active,
.btn.btn-wood-green:active,
.btn-wood:active,
.btn-wood-green:active {
    transform: translateY(3px) !important;
    color: #fff !important;
    border-color: transparent !important;
}

.btn-wood:focus,
.btn-wood-green:focus {
    color: #fff !important;
}

.btn-check:checked+.btn-wood,
.btn-check:checked+.btn-wood-green {
    color: #fff !important;
    box-shadow: 0 2px 0 #4d2e17, 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(2px) !important;
    border-color: transparent !important;
}

.btn-check+.btn-wood:hover,
.btn-check+.btn-wood-green:hover {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(0, 0, 0, 1) !important;
}

@media (max-width: 767px) {

    .btn-wood,
    .btn-wood-green {
        padding: 6px 16px;
        font-size: 14px;
    }

    .btn-lg.btn-wood,
    .btn-lg.btn-wood-green {
        padding: 7px 17px;
        font-size: 18px;
    }

    .hero-content h1 {
        font-size: 50px !important;
        line-height: 1.2 !important;
    }
}

.text-wood {
    display: inline-block;

    /* Texture venature */
    background:
        repeating-linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 0px,
            rgba(255, 255, 255, 0.05) 2px,
            rgba(0, 0, 0, 0.05) 2px,
            rgba(0, 0, 0, 0.05) 4px),
        /* Base legno classico */
        linear-gradient(45deg,
            #8b5a2b,
            #a1662f,
            #b3743a,
            #8b5a2b);

    background-size: 100% 100%;
    -webkit-background-clip: text;
    background-clip: text;

    /* Il testo mostra il legno */
    color: transparent;
}


/*=== Preloader ===*/
.fd-preloader {
    bottom: 0;
    height: 100vh;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100vw;
    z-index: 99999;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: #ffffff;
}

.fd-preloader .loader {
    position: relative;
    overflow: hidden;
}

.loader {
    width: 500px;
    max-width: 80vw;
}

.container-xl {
    max-width: 1600px;
}

.titolo-galleria {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 70px;
}

.titolo-galleria::before,
.titolo-galleria::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #3e3e3e;
}

@media (max-width: 676px) {
    .titolo-galleria {
        font-size: 40px;
        gap: 15px;
    }
}

@media (max-width: 400px) {
    .titolo-galleria {
        font-size: 30px;
        gap: 10px;
    }
}

/* .titolo-galleria span {
    white-space: nowrap;
    padding: 0 10px;
    font-weight: 600;
    font-size: 1.5rem;
} */

.overlay-banner {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 0;
}