html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    background: #D6C38926;
}

h1, h2 {
    font-family: 'Cormorant Garamond', serif;
}

p, body {
    font-family: 'DM Sans', sans-serif;
}

p {
    font-size: 16px;
}

.wg-information p {
    letter-spacing: 0.3px;
    margin-top: 12px !important;
}

.page-title .content .heading {
    font-family: 'Cormorant Garamond';
    font-size: 75px;
    line-height: 100px;
    letter-spacing: 3px;
    padding-left: 9px;
    margin-top: 17px;
    margin-bottom: 5px;
}

.page-title .content .text {
    font-weight: 500;
    font-size: 18px;
    font-family: 'DM sans';
    font-style: normal;
    line-height: 32px;
    color: #ffffff;
    letter-spacing: 0.6px;
}

.heading-section .main {
    color: #0E1927;
    font-size: 45px;
    font-weight: 600;
    line-height: 55px;
    text-transform: uppercase;
    letter-spacing: 2.3px;
    margin-top: 11px;
    margin-bottom: 25px;
}

.wg-about-us .content p {
    color: #0E1927;
    margin-left: 3px;
    margin-bottom: 43px;
    max-width: 605px;
}

ul.list-content li p {
    color: #0E1927;
    margin-bottom: 8px;
    letter-spacing: 0.1px;
}

.box-icon .title {
    font-weight: 600;
    font-family: 'Cormorant Garamond';
    font-size: 30px;
    line-height: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

    .box-icon .title a {
        color: #0E1927;
    }
.box-icon p {
    margin: auto;
    max-width: 235px;
    color: #0E1927;
}

.wg-box-icon::before {
    background-color: #fff;
}

.box-icon .icon {
    width: 129px;
    height: 129px;
    border-radius: 50%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    margin-bottom: 32px;
    position: relative;
}

.heading-section .sub {
    color: #c6ac83;
    font-family: 'DM sans';
    font-size: 18px;
    line-height: 12px;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.6px;
    margin-bottom: 16px;
}

.heading-section .main {
    font-family: 'Cormorant Garamond';
    color: #0E1927;
    font-size: 60px;
    font-weight: 600;
    line-height: 55px;
    text-transform: none;
    letter-spacing: 2.3px;
    margin-top: 11px;
    margin-bottom: 25px;
}

.img-style {
    object-fit: cover;
    height: 600px;
}

.button-two-line {
    color: #0E1927 !important;
}

.wg-philosophy .content p {
    color: #0e1927;
    margin-bottom: 25px;
}

.wg-philosophy .content {
    text-align: left;
}

.img1{
    height: 620px;
}

.wg-video-full.img-2{
    width: 100%;
    height: 469px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../images/box-item/video-2.jpg) !important;
    position: relative;
}

.site-logo-wrap img {
    width: 170px;
    height: auto;
}

.site-logo-wrap {
    padding: 10px 46px 13px 46px;
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-bottom-left-radius: 72.5px;
    border-bottom-right-radius: 72.5px;
    background-color: transparent;
}

@media (max-width: 700px) {
    .page-title .content .heading {
        font-size: 50px !important;
        line-height: 60px !important;
    }
}

.page-title .content {
    padding-top: 334px;
    padding-bottom: 310px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

#header_main {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent !important;
    box-shadow: none !important;
}

    /* In alto resta tutto trasparente */
    #header_main .header-top,
    #header_main .header-inner,
    #header_main .header-inner-wrap,
    #header_main .site-logo-wrap {
        background: transparent !important;
        box-shadow: none !important;
    }

    /* Quando scrolli diventa scuro tutto l'header */
    #header_main.scrolled {
        background: rgba(14, 25, 39, 0.92) !important;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

        /* Evita che il tema rimetta sfondi strani dentro */
        #header_main.scrolled .header-top,
        #header_main.scrolled .header-inner,
        #header_main.scrolled .header-inner-wrap,
        #header_main.scrolled .site-logo-wrap {
            background: transparent !important;
            box-shadow: none !important;
        }

    /* Logo */
    #header_main .site-logo-wrap {
        padding: 0 !important;
        border: none !important;
        border-radius: 0 !important;
    }

        #header_main .site-logo-wrap img,
        #header_main #logo_header {
            display: block !important;
            width: 170px !important;
            max-width: none !important;
            height: auto !important;
            opacity: 1 !important;
            visibility: visible !important;
        }

    #header_main .header-left,
    #header_main #site-logo,
    #header_main .site-logo-wrap,
    #header_main .main-logo {
        width: 180px !important;
        min-width: 180px !important;
    }

.wg-philosophy .content .sub {
    font-size: 18px;
    margin-bottom: 18px;
}


#header_main .header-left,
#header_main #site-logo,
#header_main .site-logo-wrap,
#header_main .main-logo {
    width: 180px !important;
    min-width: 180px !important;
}

#header_main #logo_header {
    width: 170px !important;
    max-width: none !important;
    height: auto !important;
    display: block !important;
}
.wg-information svg image {
    filter: brightness(0) invert(1);
}

img#logo_footer {
    width: 200px;
}

.wg-private-event {
    padding-top: 125px;
    padding-bottom: 142px;
    position: relative;
    overflow: hidden;
    background-image: url(../assets/images/box-item/video-2.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
}

    /* Overlay scuro */
    .wg-private-event::before {
        content: "";
        position: absolute;
        width: 100%;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 1;
    }

    /* Contenuto sopra l'overlay */
    .wg-private-event .themesflat-container {
        position: relative;
        z-index: 2;
    }

.wg-private-event2 {
    padding-top: 125px;
    padding-bottom: 142px;
    position: relative;
    overflow: hidden;
    background-image: url(../assets/images/box-item/video-1.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
}

    /* Overlay scuro */
    .wg-private-event2::before {
        content: "";
        position: absolute;
        width: 100%;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 1;
    }

    /* Contenuto sopra l'overlay */
    .wg-private-event2 .themesflat-container {
        position: relative;
        z-index: 2;
    }

.wg-philosophy .content > a {
    margin: 0;
    margin-top: 43px;
}

.wg-video-full.style-1 {
    height: 450px;
    background-image: url(../assets/images/box-item/about-1.jpg);
}

.gallery-item img {
    width: 100%;
    object-fit: cover;
    height: 600px;
}

.banner-page.gallery-page {
    background-image: url(../assets/images/bg-section/bg-home-1.jpg);
}

.banner-page.contact-page {
    background-image: url(../assets/images/bg-section/bg-home-1.jpg);
}

.text-dark {
    color: #0E1927 !important;
}

.contact-item .title {
    color: #0E1927;
}

.wg-map .bottom::after {
    content: none;
}

.map-wrapper {
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

    .map-wrapper iframe {
        width: 100%;
        height: 100%;
        display: block;
    }

/* ============================= */
/* RESPONSIVE GENERALE */
/* ============================= */

img {
    max-width: 100%;
    height: auto;
}

body {
    overflow-x: hidden;
}

/* ============================= */
/* TABLET */
/* da 768px a 991px circa */
/* ============================= */

@media (max-width: 991px) {

    /* Testi generali */
    p {
        font-size: 15px;
        line-height: 28px;
    }

    .heading-section .sub {
        font-size: 15px;
        line-height: 22px;
    }

    .heading-section .main {
        font-size: 46px;
        line-height: 52px;
        letter-spacing: 1.5px;
    }

    .page-title .content {
        padding-top: 300px !important;
        padding-bottom: 240px !important;
    }

        .page-title .content .heading {
            font-size: 58px;
            line-height: 68px;
        }

        .page-title .content .text {
            font-size: 16px;
            line-height: 28px;
            max-width: 720px;
            margin-left: auto;
            margin-right: auto;
        }

    /* Header */
    #header_main #logo_header,
    #header_main .site-logo-wrap img {
        width: 135px !important;
    }

    #header_main .header-left,
    #header_main #site-logo,
    #header_main .site-logo-wrap,
    #header_main .main-logo {
        width: 145px !important;
        min-width: 145px !important;
    }

    #header_main .header-inner-wrap {
        padding-left: 20px;
        padding-right: 20px;
    }

    .main-nav .menu-primary-menu > li > a {
        font-size: 13px;
        letter-spacing: 1px;
    }

    #header_main .button-default {
        padding: 16px 28px;
        font-size: 12px;
    }

    .wg-information p {
        font-size: 13px;
        line-height: 22px;
    }

    /* Immagini */
    .img-style,
    .img1 {
        width: 100%;
        height: 430px;
        object-fit: cover;
    }

    .gallery-item img {
        height: 420px;
        object-fit: cover;
    }

    .wg-video-full.img-2,
    .wg-video-full.style-1 {
        height: 360px;
        background-attachment: scroll;
    }

    .wg-private-event,
    .wg-private-event2 {
        padding-top: 95px;
        padding-bottom: 105px;
    }

    .map-wrapper {
        height: 380px;
    }
}


/* ============================= */
/* MOBILE */
/* fino a 767px */
/* ============================= */

@media (max-width: 767px) {

    .header-left {
        padding: 0;
    }

    /* Testi generali */
    p {
        font-size: 14px;
        line-height: 26px;
    }

    .heading-section .sub {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 10px;
    }

    .heading-section .main {
        font-size: 36px;
        line-height: 42px;
        letter-spacing: 1px;
        margin-bottom: 18px;
    }

    .page-title .content {
        padding-top: 210px !important;
        padding-bottom: 190px !important;
        background-attachment: scroll;
    }

        .page-title .content .heading {
            font-size: 42px !important;
            line-height: 50px !important;
            letter-spacing: 1px;
            padding-left: 0;
        }

        .page-title .content .text {
            font-size: 14px;
            line-height: 24px;
            padding-left: 20px;
            padding-right: 20px;
        }

    /* Header mobile */
    #header_main {
        background: rgba(14, 25, 39, 0.92) !important;
    }

        #header_main .header-top {
            display: none !important;
        }

        #header_main .header-inner {
            background: transparent !important;
        }

        #header_main .header-inner-wrap {
            min-height: 82px;
            padding-left: 16px;
            padding-right: 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        #header_main #logo_header, #header_main .site-logo-wrap img {
            width: 105px !important;
            padding-top: 15px;
        }

        #header_main .header-left,
        #header_main #site-logo,
        #header_main .site-logo-wrap,
        #header_main .main-logo {
            width: 115px !important;
            min-width: 115px !important;
        }

    .main-nav {
        display: none !important;
    }

    .mobile-button {
        display: block !important;
    }

    #header_main .button-right {
        display: none !important;
    }

    /* Immagini */
    .img-style,
    .img1 {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }

    .gallery-item img {
        height: 300px;
        object-fit: cover;
    }

    .wg-video-full.img-2,
    .wg-video-full.style-1 {
        height: 280px;
        background-attachment: scroll;
        background-position: center center;
    }

    .wg-private-event,
    .wg-private-event2 {
        padding-top: 80px;
        padding-bottom: 85px;
    }

        .wg-private-event .heading-section .main,
        .wg-private-event2 .heading-section .main {
            font-size: 34px;
            line-height: 40px;
        }

    /* Sezioni */
    .wg-philosophy .content {
        padding-top: 40px;
        text-align: center;
    }

        .wg-philosophy .content p {
            margin-left: auto;
            margin-right: auto;
        }

        .wg-philosophy .content > a {
            margin-left: auto;
            margin-right: auto;
        }

    .box-icon .title {
        font-size: 24px;
        line-height: 28px;
    }

    .box-icon .icon {
        width: 100px;
        height: 100px;
        margin-bottom: 22px;
    }

    .map-wrapper {
        height: 320px;
        border-radius: 12px;
    }
}

#mobile-logo_header {
    width: 105px;
}

.wg-map .top {
    filter: none;
}

.map-wrapper {
    border-radius: 0;
}

.page-title .content::before {
    background-color: rgba(7, 11, 12, 0.5);
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    left: 25px;
    bottom: 25px;
    z-index: 99999;
    font-family: inherit;
}

/* Popup nascosto */
.whatsapp-popup {
    position: absolute;
    left: 0;
    bottom: 75px;
    width: 300px;
    max-width: calc(100vw - 40px);
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Apertura all'hover */
.whatsapp-widget:hover .whatsapp-popup,
.whatsapp-widget:focus-within .whatsapp-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Header */
.whatsapp-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #25d366;
    color: #ffffff;
}

.whatsapp-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #ffffff;
}

    .whatsapp-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.whatsapp-header-text {
    flex: 1;
}

    .whatsapp-header-text h5 {
        margin: 0;
        font-size: 17px;
        font-weight: 600;
        color: #ffffff;
    }

    .whatsapp-header-text small {
        display: block;
        margin-top: 2px;
        font-size: 13px;
        color: #ffffff;
        opacity: 0.9;
    }

/* Body */
.whatsapp-body {
    padding: 18px;
    background: #f4f7f5;
}

.whatsapp-message {
    background: #ffffff;
    color: #333333;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

/* Footer */
.whatsapp-footer {
    padding: 15px;
    background: #ffffff;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 13px 16px;
    background: #25d366;
    color: #ffffff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .whatsapp-button:hover {
        background: #1ebe5d;
        color: #ffffff;
        text-decoration: none;
    }

/* Floating button */
.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    transition: all 0.3s ease;
    padding: 0;
}

    .whatsapp-float-btn:hover {
        background: #1ebe5d;
        transform: scale(1.08);
    }

    .whatsapp-float-btn i {
        color: #ffffff;
    }

/* Mobile */
@media (max-width: 575px) {
    .whatsapp-widget {
        right: 15px;
        bottom: 15px;
    }

    .whatsapp-popup {
        width: 310px;
        bottom: 70px;
    }

    .whatsapp-float-btn {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}