@font-face {
    font-family: 'Museo';
    src: url('../fonts/Museo-100.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Museo';
    src: url('../fonts/Museo-100Italic.woff2') format('woff2');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Museo';
    src: url('../fonts/Museo-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Museo';
    src: url('../fonts/Museo-300Italic.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Museo';
    src: url('../fonts/Museo-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Museo';
    src: url('../fonts/Museo-500Italic.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Museo';
    src: url('../fonts/Museo-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Museo';
    src: url('../fonts/Museo-700Italic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Museo';
    src: url('../fonts/Museo-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Museo';
    src: url('../fonts/Museo-900Italic.woff2') format('woff2');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

body {
    font-family: 'Museo', sans-serif !important;
}

.navbar-custom {
    background-color: transparent;
    padding: 0.8rem 0;
    transition: 0.2s all ease-in-out;
}

.navbar-brand img {
    height: 60px;
    width: auto;
}

.navbar-nav .nav-link {
    color: #fff;
    font-weight: 400;
    font-size: 1rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #d4af37 !important;
}

a.nav-link.active{
    color: #fff !important;
}

.nav-link.focus::after {
    content: '';
    display: block;
    width: 14px;
    height: 6px;
    background-color: #b89146;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.dropdown-menu,
.dropdown-item:active{
    background-color: #3a2117 !important;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

button{
    outline: none !important;
}

.btn-primary a{
    color: #3a2117 !important;
    text-decoration: none !important;
}

.btn-primary{
    background-color: #fff3dd !important;
    border: 0;
    color: #3a2117 !important;
}

.btn-primary:hover{
    background-color: #d6ccba !important;
    color: #47281c !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.dropdown-menu {
    background-color: #2d2520;
    border: 1px solid #444;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.dropdown-item {
    color: #ffffff;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #3d3530;
    color: #d4af37;
}

.flag-icon {
    width: 20px;
    height: auto;
    margin-right: 5px;
}

.language-dropdown .dropdown-toggle::after {
    display: none;
}

.language-dropdown .dropdown-toggle {
    background: none;
    border: none;
    color: #ffffff;
    padding: 0.5rem;
}

.language-dropdown .dropdown-toggle:focus {
    box-shadow: none;
}

.btn-close:focus{
    box-shadow: none !important;
}

@media (max-width: 991.98px) {
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.7rem 1rem !important;
        border-bottom: 1px solid #444;
        color: #000;
        text-align: left;
    }

    .nav-link.active::after{
        display: none;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    #offcanvasNavbar{
        width: 100%;
    }

}

.navbar.scrolled{
    background-color: #3a2117;
}


p{
    font-weight: 300;
}


#territorio{
    background-color: #fff;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80vh;
    object-fit: cover;
    z-index: 0;
}

.video-text {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;    
    height: 80vh;
    color: #fff;
    text-align: center;
    z-index: 5;
}

.video-text::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
    pointer-events: none; 
}
.video-text h1{
    z-index: 10;
    font-weight: 300;
}
.video-text h3 {
    font-style: italic;
    z-index: 10;
    font-weight: 200;
}

body,
.bg-color,
.card {
    background-color: #fff3dd;
}
h1,
.card-title{
    font-weight: 300 !important;
}
#produzione .card-body.left{
    padding: 1rem 1rem 1rem 4rem;
}
#produzione .card-body.right{
    padding: 1rem 4rem 1rem 1rem;
}

.py-6{
    padding-top: 5rem;
    padding-bottom:5rem;
}

.py-custom{
    padding-top: 80px;
    padding-bottom:60px;
}

.swiper-pagination-bullet{
    background-color: #c1b8a7 !important;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active{
    background-color: #fff3dd !important;
}

.row-background {
    background-image: url('../images/background-1.jpg');
    background-size: auto;
}

.row-background h1 {
    color: #fff;
}

.divider {
    display: flex;
    align-items: center;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 0.5px;
    background: #ccc;
    display: block;
}
.divider.light::before,
.divider.light::after {
    content: "";
    flex: 1;
    height: 0.5px;
    background: #3a2117;
    display: block;
}

.divider::before {
    margin-right: 0.5rem;
}

.divider::after {
    margin-left: 0.5rem;
}

.divider-icon {
    display: inline-block;
    width: 24px;
    height: 12px;
    background: #b79d45;
    border-radius: 50%;
}


#territorio .card-body {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    flex: none !important;
}
#territorio{
    border-radius: 0px !important;
}

.swiper {
    width: 100%;
    height: 100%;
    margin-top: 2rem;
}

.swiper h2{
    font-weight: 200;
}

.swiper-slide {
    text-align: center;
    display: flex;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff !important;
}

.video{
    width: 100%;
    height: 80vh;
    object-fit: cover;
}

.igp{
    width: 100px;
}

.swiper-button-next, .swiper-button-prev{
    color: #3a2117 !important;
}
footer{
    background-color: #3a2117;
}

footer a{
    text-decoration: none;
    color: #fff;
}

footer a:hover{
    cursor: pointer;
    color: #a5843e !important;
}


@media(max-width:2140px){
    #territorio .card-body {
        width: 75%;
    }
}

@media(max-width:1280px){
    h1{
        font-size: 1.5rem;
    }
    p{
        font-size: 14px;
    }

}

@media(max-width:990px){
    #territorio .col-md-6,
    #produzione .col-md-6 {
      flex: 0 0 auto !important;
      width: 100% !important;
    }
    #produzione .card-body.left{
        padding: 1rem;
    }
    #produzione .card-body.right{
        padding: 1rem;
    }
    #territorio div.col-md-6.d-flex.order-2.order-md-1,
    #produzione div.col-md-6.d-flex.align-items-center.order-2.order-md-1{
        order: 2 !important;
    }
    #territorio div.col-md-6.d-flex.order-1.order-md-2.align-items-center.justify-content-center,
    #produzione div.col-md-6.order-1.order-md-2.mb-3.mb-md-0{
        order: 1 !important;
    }

    #produzione div.col-md-6.order-1.order-md-2.mb-md-0{
        margin-bottom: 1.5rem;
        order: 1 !important
    }

    .card-body{
        padding: 2rem  !important;
    }

    #produzione .card-body{
        padding: 2rem 2rem 0rem 2rem  !important;
    }

    .py-6{
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    .video-text{
        height: 65vh;
    }
}


@media(max-width:768px){
    #territorio .card-body {
        width: 100%;
    }
    .divider-icon{
        width: 20px;
        height: 8px;
    }
    .igp{
        width: 80px;
    }
    footer img{
        width: 160px;
    }
    footer p{
        text-align: center;
    }
    #territorio,#storia,#prodotti,#produzione,#igp{
        scroll-margin-top: 90px;
    }

    #produzione div.col-md-6.order-1.order-md-2.mb-md-0{
        margin-bottom: 0rem;
    }

    a.nav-link.active{
        color: #000 !important;
    }

    a.nav-link{
        font-size: 1.5rem !important;
    }

}
@media(min-width:768px){
    .offcanvas{
        display: none;
    }
    footer img{
        width: 160px;
    }
    .swiper {
        margin-top: 2.4rem;
    }
}