@charset "UTF-8";

/* Bootstrap Primary Color Override */
:root {
    --bs-primary: #52b4a6;
    --bs-dark: #3c3c3b;
    --bs-body-color: #3c3c3b;
    --bs-primary-rgb: 82, 180, 166;
    --bs-dark-rgb: 60, 60, 59;
}

/* Font di base e corpo */
body {
    font-family: "Work Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    background-color: #ffffff;
    letter-spacing: normal;
    color: #3c3c3b;
}

.text-dark {
    color: #3c3c3b !important;
}


.work-sans {
    font-family: "Work Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.playfair-display {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-style: normal;
}

/* Utility Classes */
.card-title {
    font-size: 1.0rem;
    letter-spacing: 0.02rem;
    font-weight: 700;
}

.shadow-txt {
    text-shadow: 2px 2px 8px #3c3c3b;
}

.rounded-20 {
    border-radius: 20px;
}

.rounded-15 {
    border-radius: 18px;
}

.rounded-sotto-15 {
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

.fs-5 {
    font-size: 1.25rem;
}

.fs-7 {
    font-size: 0.8rem;
}

.fs-8 {
    font-size: 0.7rem;
}

.fs-9 {
    font-size: 0.6rem;
}

.fs-10 {
    font-size: 0.5rem;
}

.padding-x20 {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* Classi di sfondo e contenitori della Nav */
.bg-m.scrolled {
    background-color: #fff !important;
    transition: background-color 0.25s linear;
}

    .bg-m.scrolled .nav-link {
        /*color: #555 !important;*/
    }

.mainLogo {
    transition: height 0.25s ease-in-out;
}

.bg-m.scrolled .mainLogo {
    height: 65px;
}

.bg-menu {
    background-color: #ffffff;
    border-radius: 50px;
    /* Semplificato: 50px su tutti i lati */
    padding: 12px;
    margin-top: 15px;
}

.bg-icogioco {
    background-color: #ffffff;
    border-radius: 50px;
    padding: 0px;
    margin-top: 15px;
}

/* Comportamento Bootstrap Navbar */
.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 0;
    align-items: center;
}

/* Link della Nav */
.nav-link {
    color: #3c3c3b;
    text-decoration: none;
    font-weight: 600;
    transition: color .15s ease-in-out;
}

    .nav-link:hover,
    .nav-link.active {
        color: #52b4a6 !important;
    }

/* Icona Social (Cerchio grigio) */
.ico-circle {
    width: 40px;
    height: 40px;
    background: #E6E6E6;
    border-radius: 50%;
    display: inline-block;
    /* Per garantire il rendering corretto */
}

/* Dropdown Customization */
.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    min-width: 25px;
    text-align: center;
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.dropdown-item {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: color .15s ease-in-out;
}

    .dropdown-item:hover {
        background-color: transparent;
        color: #52b4a6;
    }

/* Hover Dropdown - Apri al passaggio del mouse */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}


.card-image-willmington {
    padding: 60px 90px;
    border-radius: 30px 30px 30px 150px;
    min-height: 400px;
    height: 100%;
    background-size: cover;
    background-image: url(../images/Wilmington-1.jpg);
    background-position: bottom;
}

.card-image-landmark {
    padding: 60px 90px;
    border-radius: 150px 30px 30px 30px;
    min-height: 400px;
    height: 100%;
    background-size: cover;
    background-image: url(../images/Wilmington-2.jpg);
    background-position: center;
}




/* --- Media Queries (Responsività) --- */

@media (min-width: 768px) {
    .nav-link {
        padding-top: 0.4rem;
        padding-right: 0.3rem !important;
        padding-left: 0.3rem !important;
        font-size: 0.7rem;
        line-height: 0.9rem;
    }
}

@media (min-width: 992px) {
    .nav-link {
        padding-right: 0.7rem !important;
        padding-left: 0.7rem !important;
        font-size: 0.8rem;
    }
}

/* Utilità per il logo */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* --- Struttura Generale Carosello --- */
.bg-carousel {
    vertical-align: top;
}

.carousel-item {
    /* L'altezza di default viene definita nelle media queries sotto */
}

.carousel-caption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    text-align: start;
    /* Bootstrap posiziona il caption in bottom: 1.25rem, 
     lo stile personalizzato qui gestisce l'allineamento interno */
}

/* --- Immagini di Sfondo (Specifiche per Slide) --- */
/* Mobile First / Default */
.bg-image-slide-01,
.bg-image-slide-02,
.bg-image-slide-03 {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: -79px center;
}

.bg-image-slide-01 {
    background-image: url(../images/img-cover-slider-01.jpg);
}

.bg-image-slide-02 {
    background-image: url(../images/img-cover-slider-02.jpg);
}

.bg-image-slide-03 {
    background-image: url(../images/img-cover-slider-03.jpg);
}

.bg-image-slide-04 {
    background-size: cover;
    background-image: url(../images/img-cover-slider-04.jpg);
}

.bg-image-slide-05 {
    background-size: cover;
    background-image: url(../images/img-cover-slider-05.jpg);
    background-position: center;
}

.bg-image-slide-products-01 {
    background-size: cover;
    background-image: url(../images/Header\ products\ B2C.jpg);
}


.bg-image-slide-business-01 {
    background-size: cover;
    background-image: url(../images/Header\ B2B.jpg);
}


.bg-image-slide-willington {
    background-position: center;
    background-size: cover;
    background-image: url(../images/Header-Wilmingoton.jpg);
}

.bg-image-slide-brochure {
    background-position: center;
    background-size: cover;
    background-image: url(../images/Header-brochure.jpg);
}


.product-freezer {
    position: relative;
    top: 115px;
}




/* --- Tipografia e decorazioni --- */
.txt-titolo {
    font-family: "Playfair Display", serif;
    font-size: 4rem;
    line-height: 3.9rem;
}

h1 {
    font-family: "Playfair Display", serif;
    font-size: 2.6rem;
    line-height: 2.9rem;
}


h2 {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    line-height: 2.2rem;
}

.txt_titoletto {
    font-size: 1.2rem;
    line-height: 1.4rem;
}

.flemmata {
    position: relative;
    right: -300px;
    top: 20px;
    width: 50px !important;
}

/* --- Pulsante Carosello --- */
.btn-standard-carousel {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.05rem;
    background-color: #52b4a6;
    padding: 5px 25px;
    border: solid #52b4a6 2px;
    box-shadow: none;
    border-radius: 50px;
    transition: 417ms;
    transform: translateY(0);
    display: inline-flex;
    /* Adattato da flex-direction row */
    align-items: center;
    cursor: pointer;
    text-decoration: none;
}

    .btn-standard-carousel:hover {
        background-color: #3c3c3b;
        color: #ffffff;
        border: solid 2px #3c3c3b;
    }

/* --- Media Queries: Comportamento Responsivo --- */

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

    .bg-image-slide-01,
    .bg-image-slide-02,
    .bg-image-slide-03 {
        background-position: left center;
    }

    .flemmata {
        top: 30px;
    }
}

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

    .bg-image-slide-01,
    .bg-image-slide-02,
    .bg-image-slide-03 {
        background-position: center center;
    }
}

/* Desktop Large (max-width: 1400px) */
@media (max-width: 1400px) {
    .carousel-item {
        height: 520px;
    }

    .txt-titolo {
        font-size: 2.8em;
    }

    .txt_titoletto {
        font-size: 1.1em;
        line-height: 1.4rem;
    }
}

/* Desktop Ultra (min-width: 1400px) */
@media (min-width: 1400px) {
    .carousel-item {
        height: 590px;
    }

    .flemmata {
        right: -391px;
        top: 14px;
        width: 70px !important;
    }
}

/* Mobile Small (max-width: 576px) */
/*@media (max-width: 576px) {
  .txt-titolo {
    font-size: 1em;
    margin-top: 2rem;
  }

  .txt_titoletto {
    font-size: 0.6em;
  }

  .btn-standard-carousel {
    font-size: 0.6rem;
    padding: 5px 15px;
  }
}*/

.card-gelato-for-people {
    background-image: url('../images/People.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 90px;
    border-radius: 150px 30px 30px 30px;
}

.people-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 20px;
    background-color: #f0eee9;
    color: #0b2a4a;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
}

.card-gelato-tubs {
    background-image: url('../images/Tub\ B2B.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 90px;
    border-radius: 150px 30px 30px 30px;
}




@media (min-width: 575px) and (max-width: 1199px) {

    .card-gelato-for-people {
        padding: 60px 60px !important;
    }

    .card-gelato-tubs {
        padding: 60px 60px !important;
    }

    .card-gelato-for-business {
        padding: 60px 60px !important;
    }

    .card-gelato-pins {
        padding: 60px 60px !important;
    }

    .card-gelato-for-people-btn,
    .card-gelato-for-business-btn,
    .card-learn-more-btn {
        bottom: -15px;
        left: 60px !important;
    }
}


@media (min-width: 466px) and (max-width: 575px) {
    .card-gelato-for-people {
        padding: 60px 60px !important;
    }

    .card-gelato-tubs {
        padding: 60px 60px !important;
    }

    .card-gelato-for-business {
        padding: 60px 60px !important;
    }

    .card-gelato-pins {
        padding: 60px 60px !important;
    }


    .card-gelato-for-people-btn,
    .card-gelato-for-business-btn,
    .card-learn-more-btn {
        bottom: -15px;
        left: 60px !important;
    }
}


@media (max-width: 465px) {
    .card-gelato-for-people {
        padding: 50px 50px;
    }

    .card-gelato-tubs {
        padding: 50px 50px !important;
    }

    .card-gelato-for-business {
        padding: 50px 50px !important;
    }

    .card-gelato-pins {
        padding: 50px 50px !important;
    }


    .card-gelato-for-people-btn,
    .card-gelato-for-business-btn,
    .card-learn-more-btn {
        bottom: -15px;
        left: 50px !important;
    }
}




.card-gelato-for-business {
    background-image: url('../images/Business.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 90px;
    border-radius: 30px 30px 150px 30px;
}


.card-gelato-pins {
    background-image: url('../images/Pint B2B.jpg');
    background-size: cover;
    background-position: right center;
    color: white;
    padding: 60px 90px;
    border-radius: 30px 30px 150px 30px;
}

.card-freezer {
    background-color: #ffffff;
    color: #3c3c3b;
    border-radius: 30px 30px 30px 30px;
}

.freezer-line {
    width: 55%;
    height: 2px;
    margin: 1rem auto 1.5rem;
    border: 0;
    background-color: #52b4a6;
    opacity: 1;
}

.freezer-detail {
    margin-bottom: 1.4rem;
}

    .freezer-detail strong {
        display: block;
        margin-bottom: .25rem;
    }

    .freezer-detail span {
        display: block;
        white-space: pre-line;
    }



.card-learn-more {
    background-color: #3c3c3b;
    color: white;
    border-radius: 30px 30px 30px 30px;
    padding: 45px 90px;
}

.card-learn-more-wrapper {
    padding-right: 90px;
    position: relative;
}

.card-production-site-wrapper {
}

@media (min-width: 1200px) {
    .card-production-site-wrapper {
        padding: 50px 200px;
    }
}

@media (max-width: 991px) {
    .card-learn-more-image-wrapper {
        height: 252px !important;
    }
}


.card-learn-more-image {
    width: 470px;
    height: 352px;
    border-radius: 30px 30px 30px 90px;
    position: absolute;
    bottom: -110px;
    right: -140px;
}


@media (min-width: 768px) and (max-width: 991px) {
    .card-learn-more-image {
        width: 600px;
        height: 449px;
        border-radius: 30px 30px 30px 90px;
        position: absolute;
        bottom: -280px;
        right: -140px;
    }

    .card-learn-more {
        padding-left: 60px !important;
    }

    .card-learn-more-btn {
        bottom: 260px !important;
    }

    .card-learn-more-wrapper {
        margin-bottom: 280px !important;
    }
}


@media (min-width: 576px) and (max-width: 767px) {
    .card-learn-more-image {
        width: 450px;
        height: 337px;
        border-radius: 30px 30px 30px 90px;
        position: absolute;
        bottom: -180px;
        right: -140px;
    }

    .card-learn-more {
        padding-left: 60px !important;
    }

    .card-learn-more-btn {
        bottom: 260px !important;
    }

    .card-learn-more-wrapper {
        margin-bottom: 280px !important;
    }
}



@media (max-width: 575px) {

    .card-learn-more-wrapper {
        padding-right: 30px !important;
    }

    .card-learn-more-image {
        width: 345px;
        height: 258px;
        border-radius: 30px 30px 30px 90px;
        position: absolute;
        bottom: -70px;
        right: -39px;
    }

    .card-learn-more {
        padding-left: 30px !important;
    }

    .card-learn-more-btn {
        bottom: 250px !important;
        left: 40px !important;
    }

    .card-learn-more-wrapper {
        margin-bottom: 50px !important;
    }
}


.card-gelato-for-people-btn,
.card-gelato-for-business-btn,
.card-learn-more-btn {
    bottom: -15px;
    left: 90px;
}

.card-discover-freezer-btn {
    bottom: -15px;
    right: 90px;
}


.carousel-certificate-image {
    background-image: url('../images/Bollo\ gelato.png');
    background-size: cover;
    background-position: center;
    width: 150px;
    aspect-ratio: 1/1;
    position: absolute;
    bottom: -30px;
    right: -125px;
}

@media (min-width: 450px) and (max-width: 575px) {
    .carousel-certificate-image {
        width: 130px;
        bottom: -30px;
        right: -85px;
    }
}


@media (max-width: 449px) {
    .carousel-certificate-image {
        width: 110px;
        bottom: -30px;
        right: -35px;
    }
}

.bg-footer-light {
    background-color: #e2e2e2;
}

.bg-footer-dark {
    background-color: #3c3c3b;
    color: white !important;
}

/* --- Tipografia Footer --- */
.footer-links {
    color: #333333;
    text-decoration: none;
}

    .footer-links:hover {
        color: #ab9671;
        text-decoration: none;
    }


/* --- Form di Contatto (Design Lineare) --- */
.form-control-design {
    display: block;
    width: 100%;
    padding: .375rem .75rem .2rem 0rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #333333;
    border-radius: 0;
    transition: border-color .15s ease-in-out;
}

    .form-control-design::placeholder {
        color: #333333;
        text-transform: uppercase;
        font-size: 0.8rem;
    }

/* --- Newsletter (Design Circolare) --- */
.form-control-circular {
    border-radius: 1.5rem;
}

.form-control-newsletter {
    background-color: #fff;
    border: none;
}

.btn-circular-section {
    border-top-right-radius: 1.5rem !important;
    border-bottom-right-radius: 1.5rem !important;
    background-color: #333;
    border: #333;
    color: #fff;
}

/* --- Pulsante Invio Standard --- */
.btn-standard {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.05rem;
    background-color: #52b4a6;
    padding: 5px 25px;
    border: solid #52b4a6 2px;
    border-radius: 50px;
    transition: 417ms;
    cursor: pointer;
    display: flex;
    align-items: center;
}

    .btn-standard:hover {
        background-color: #333333;
        color: #ffffff;
        border: solid 2px #333333;
    }

.iconsFooter {
    height: 2rem;
    width: 2rem;
}

.footer-link-ig {
    background-image: url('../images/Instagram.png?view=4');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all 0.3s ease-in-out;
    transform: scale(1);
}

    .footer-link-ig:hover {
        background-image: url('../images/Instagramhover.png?view=4');
        transform: scale(1.1);
    }

.footer-link-fb {
    background-image: url('../images/Facebook.png?view=4');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all 0.3s ease-in-out;
    transform: scale(1);
}


    .footer-link-fb:hover {
        background-image: url('../images/Facebook hover.png?view=4');
        transform: scale(1.1);
    }


.footer-link-yt {
    background-image: url('../images/YouTube.png?view=4');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all 0.3s ease-in-out;
    transform: scale(1);
}


    .footer-link-yt:hover {
        background-image: url('../images/YouTube hover.png?view=4');
        transform: scale(1.1);
    }

.imgMappamondo {
    height: 200px;
    transform: scale(1.6);
    margin-bottom: -5px;
}

/* Large (≥992px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .imgMappamondo {
        height: 200px;
        transform: scale(1.5);
    }
}

/* Medium (≥768px) */
@media (min-width: 768px) and (max-width: 991px) {

    .card-production-site-content {
        padding-left: 70px !important;
    }

    .imgMappamondo {
        height: 200px;
        transform: scale(1.8);
        margin-bottom: 20px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .card-production-site-content {
        padding-left: 0px !important;
    }

    .imgMappamondo {
        height: 400px;
        transform: scale(1.1) translateY(-50px);
    }
}


@media (max-width: 575px) {
    .card-production-site-content {
        padding-left: 0px !important;
    }

    .imgMappamondo {
        /*height: 400px;*/
        width: 80%;
        height: auto;
        transform: scale(0.8) translateY(-30px);
    }

    .card-learn-more {
        padding: 30px 20px;
    }
}

.card-production-site-content {
    padding-left: 60px;
}

/* Full Width Background Section */
.full-width-bg-section {
    background-image: url('../images/Sfondosito_cut2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    position: relative;
    margin-bottom: 68px;
}

    .full-width-bg-section .container-fluid {
        position: relative;
        z-index: 2;
    }

.imgCoppetta {
    background-image: url('../images/Coppetta e icone.png');
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    width: 1000px;
    height: 398px;
    bottom: -68px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

.imgCoppettaEIcone {
    width: 100% !important;
    position: relative;
    bottom: -74px;
}


.imgCoppettaSingola {
    display: none;
}


/* SVG Sun Animation */
.svg-sun-pulse {
    z-index: 10;
    position: absolute;
    top: 13%;
    left: 32%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}



@media (min-width: 1200px) and (max-width: 1399px) {
    .imgCoppettaEIcone {
        width: 100% !important;
        position: relative;
        bottom: -130px;
    }

    .svg-sun-pulse {
        z-index: 10;
        position: absolute;
        top: 13%;
        left: 30%;
        transform: translate(-50%, -50%);
        cursor: pointer;
    }

    .imgCoppettaSingola {
        display: none;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .imgCoppettaEIcone {
        width: 100% !important;
        position: relative;
        bottom: -129px;
    }

    .full-width-bg-section {
        min-height: 550px;
    }

    .imgCoppettaSingola {
        display: none;
    }

    .svg-sun-pulse {
        z-index: 10;
        position: absolute;
        top: 13%;
        left: 30%;
        transform: translate(-50%, -50%);
        cursor: pointer;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .imgCoppettaEIcone {
        width: 100% !important;
        position: relative;
        bottom: -110px;
    }


    .full-width-bg-section {
        background-image: url('../images/Sfondosito_cut2.jpg');
    }


    .imgCoppettaSingola {
        display: none;
    }

    .full-width-bg-section {
        min-height: 450px;
        margin-bottom: 50px;
    }

    .imgCoppetta {
        width: 750px;
        height: 298px;
        bottom: -53px;
    }


    .svg-sun-pulse {
        z-index: 10;
        position: absolute;
        top: 13%;
        left: 29%;
        transform: translate(-50%, -50%);
        cursor: pointer;
    }
}

.navbar {
    z-index: 1030;
}

@media (min-width: 576px) and (max-width: 767px) {
    .imgCoppetta {
        width: 570px;
        bottom: -130px;
        background-image: url('../images/Coppetta\ Gelarto.png');
    }

    .full-width-bg-section {
        background-image: url('../images/Sfondosito_cut2.jpg');
    }

    .imgCoppettaEIcone {
        display: none;
    }

    .imgCoppettaSingola {
        display: block;
        width: 100% !important;
        position: relative;
        bottom: -201px;
    }


    .svg-sun-pulse {
        display: none;
    }
}


@media (max-width: 575px) {


    .full-width-bg-section {
        background-image: url('../images/Sfondosito_cut2.jpg');
    }


    .imgCoppettaEIcone {
        display: none;
    }

    .imgCoppettaSingola {
        display: block;
        width: 375px !important;
        position: relative;
        bottom: -148px;
    }

    .full-width-bg-section {
        min-height: 400px;
        margin-bottom: 50px;
    }

    .imgCoppetta {
        width: 400px;
        aspect-ratio: 1000 / 398;
        bottom: -210px;
        background-image: url('../images/Coppetta\ Gelarto.png');
    }


    .svg-sun-pulse {
        display: none;
    }
}



@media (min-width: 576px) and (max-width: 767px) {
    .card-production-site-content {
        padding-left: 0px !important;
    }

    .imgMappamondo {
        height: 400px;
        transform: scale(1.1) translateY(-50px);
    }
}

.card-image-our-roots {
    color: white;
    padding: 60px 90px;
    border-radius: 30px 30px 30px 150px;
    min-height: 400px;
    height: 100%;
    background-size: cover;
    background-image: url(../images/Roots.jpg);
    background-position: center;
}

.section-our-journey {
    background-color: #e2e2e2;
}


.card-image-our-journey {
    color: white;
    padding: 60px 90px;
    border-radius: 150px 30px 30px 30px;
    min-height: 400px;
    height: 100%;
    background-size: cover;
    background-image: url(../images/Journey.jpg);
    background-position: center;
}

.card-image-gallery {
    color: white;
    border-radius: 30px 30px 30px 150px;
    min-height: 400px;
    height: 100%;
}

.items-gallery {
    border-radius: 30px 30px 30px 150px;
}



.cardPeople {
    aspect-ratio: 3 / 4;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: #e2e2e2;
    cursor: pointer;
}

    .cardPeople img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 30px;
    }

.cardPeople-description {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(51, 51, 51, 0.85);
    color: #ffffff;
    padding: 30px;
    font-size: 1.1rem;
    line-height: 1.35;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.cardPeople:hover .cardPeople-description,
.cardPeople:focus-within .cardPeople-description {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}




.people-line {
    width: 30%;
    height: 2px;
    /* Lo spessore desiderato */
    background-color: #52b4a6;
    /* Il colore della linea */
    border: none;
    /* Rimuove il bordo di default del browser */
}

a {
    color: #52b4a6;
    text-decoration: none;
}

.email-people {
    font-size: 1rem;
}


    .email-people:hover {
        color: rgba(51, 51, 51, 1);
    }

.white-tooltip {
    /* Cambia lo sfondo in bianco (usando la variabile Bootstrap o colore HEX) */
    --bs-tooltip-bg: var(--bs-white);
    /* Cambia il testo in nero */
    --bs-tooltip-color: var(--bs-black);
    /* Aggiunge un bordo e un'ombra per farlo vedere su sfondi chiari */
    border: 0px solid #dee2e6;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: "Work Sans", sans-serif;
    font-size: 0.70rem;
    line-height: 0.85rem;
    z-index: 9999;
}

    /* Opzionale: rende anche la freccetta bianca */
    .white-tooltip .tooltip-arrow::before {
        border-top-color: var(--bs-white) !important;
        z-index: 9999;
    }

.for-people-description-wrapper {
    border-radius: 30px;
    transform: translateY(-50px);
}

.card {
    margin-top: 100px;
    background-color: transparent;
    width: 350px;
    height: 350px;
    border: none;
    border-radius: 30px;
    /* Angoli molto arrotondati */
    padding: 0px;
    text-align: center;
    /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);*/
    position: relative;
}

.product-image {
    width: 100%;
    /* Regola in base all'immagine reale */
    margin-top: -112px;
    /* Fa "uscire" il barattolo dalla card */
    margin-bottom: -40px;
    filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.2));
}

.imgBack-wrapper {
    position: absolute;
    top: -33px;
}

/* Large (≥992px) */
@media (min-width: 992px) and (max-width: 1199px) {

    .product-image {
        margin-top: -80px;
        margin-bottom: -20px;
    }

    .imgBack-wrapper {
        position: absolute;
        top: -23px;
    }
}



@media (min-width: 768px) and (max-width: 991px) {
    .imgBack-wrapper {
        position: absolute;
        top: -31px;
    }
}


.imgBack {
    /*margin-top: -167px!important;*/
    filter: brightness(0.6);
}


.title {
    margin-top: 30px !important;
    font-family: 'Work Sans', sans-serif !important;
    font-size: 1.3rem !important;
}

.title {
    font-size: 24px;
    font-weight: 800;
    color: #333d3d;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    margin: 0;
}

.title-wrapper {
    margin-top: -120px;
    height: 300px;
    background-color: red;
}

/* Effetto hover per dinamismo */
.card {
    perspective: 1000px;
}

.card-content-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.card:hover .card-content-wrapper {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 300px;
    backface-visibility: hidden;
}

.card-front {
    background-color: white;
    border-radius: 30px;
}

.card-pint-business-front {
    background-color: #e2e2e2 !important;
}

.card-back {
    border-radius: 30px;
    background-color: #3c3c3b;
    color: white !important;
    transform: rotateY(180deg);
}

.titleBack {
    color: white !important;
}


/* Personalizzazione Font e Colori */
.maps-section {
    padding: 80px 0;
    background-color: #fff;
}
.map-business-wrapper {
    display: grid;
}

    .map-business-wrapper > .location-map-component,
    .map-business-wrapper > .btn-add-business-map {
        grid-area: 1 / 1;
    }

.btn-add-business-map {
    align-self: end;
    justify-self: center;
    z-index: 10;
    margin-bottom: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px 8px 8px;
    border: 0;
    border-radius: 50px;
    background-color: var(--bs-primary);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-add-business-map-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #ffffff;
    color: var(--bs-primary);
    font-size: 1.15rem;
}

.btn-add-business-map:hover {
    background-color: #3c3c3b;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

    .btn-add-business-map:hover .btn-add-business-map-icon {
        color: #3c3c3b;
    }


.outer-card {
    background-color: #e9e9e9;
    /* Grigio chiaro dello sfondo */
    border-radius: 30px;
    position: relative;
    text-align: center;
    height: 400px;
    border: none;
}

.floating-badge {
    background-color: #3d3d3d;
    /* Grigio scuro del box */
    color: white;
    border-radius: 30px;
    padding: 30px 40px;
    max-width: 500px;
    margin: 0 auto -60px auto;
    /* Il margine negativo inferiore crea l'incastro */
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.maps-title {
    font-family: "Playfair Display", serif;
    font-size: 2.8rem;
    color: #333;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .maps-title {
        font-size: 2.5rem;
    }

    .floating-badge {
        margin: 0 15px -60px 15px;
        padding: 20px;
    }
}

/* ===== DUPLICATED STYLES FOR TUBE CARDS ===== */

.card-tube {
    margin-top: 100px;
    background-color: transparent;
    width: 100%;
    height: 280px;
    border: none;
    border-radius: 30px;
    padding: 0px;
    text-align: center;
    position: relative;
    perspective: 1000px;
}

.product-image-tube {
    width: 100%;
    margin-top: -100px;
    margin-bottom: -40px;
    filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.2));
}

.imgBack-wrapper-tube {
    position: absolute;
    top: -33px;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .product-image-tube {
        margin-top: -80px;
        margin-bottom: -20px;
    }

    .imgBack-wrapper-tube {
        position: absolute;
        top: -23px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .imgBack-wrapper-tube {
        position: absolute;
        top: -31px;
    }
}

.imgBack-tube {
    filter: brightness(0.6);
}

.title-tube {
    margin-top: 30px !important;
    font-family: 'Work Sans', sans-serif !important;
    font-size: 1.3rem !important;
    font-size: 24px;
    font-weight: 800;
    color: #333d3d;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    margin: 0;
}

.titleFront-tube {
    color: inherit;
}

.card-content-wrapper-tube {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.card-tube:hover .card-content-wrapper-tube {
    transform: rotateY(180deg);
}

.card-front-tube,
.card-back-tube {
    position: absolute;
    width: 100%;
    height: 250px;
    backface-visibility: hidden;
}

.card-front-tube {
    background-color: white;
    border-radius: 30px;
}

.card-back-tube {
    border-radius: 30px;
    background-color: #3c3c3b;
    color: white !important;
    transform: rotateY(180deg);
}

/* ----------- */

/* Contenitore per gestire il posizionamento dell'overlay */
.img-container {
    position: relative;
    width: 300px;
    height: 300px;
    /* Assicurati che sia quadrato come l'immagine */
    z-index: 2;
    /* Sopra al footer */
}

.flavor-img {
    width: 100%;
    border-radius: 100%;
    transition: opacity 0.3s ease-in-out;
    display: block;
}

/* Overlay inizialmente invisibile */

.overlay-gris {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e2e2e2;
    /* Colore dell'hover */
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    /* Permette di cliccare l'immagine sotto se serve */
}

/* Effetto Hover */
.img-container:hover .overlay-gris {
    opacity: 1;
}




.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    /* Colore dell'hover */
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    /* Permette di cliccare l'immagine sotto se serve */
}

.overlay-text-kcal {
    color: #3d3d3d;
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: 3px;
}

.overlay-text-description {
    font-weight: normal;
    font-size: 0.8rem;
    margin-bottom: 3px;
}

/* Effetto Hover */
.img-container:hover .overlay {
    opacity: 1;
    /* Mostra l'overlay bianco */
}

.img-container:hover .flavor-img {
    opacity: 1;
}







/* Flavor Card - Rimpicciolita */
.flavor-card {
    width: 250px !important;
    display: flex;
    flex-direction: column;
}

    .flavor-card .img-container {
        width: 220px;
        height: 220px;
    }

    .flavor-card > div:last-child {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

.flavor-card-wrapper {
    padding: 0 23px;
}

.flavor-card-footer {
    width: 100% !important;
    background-color: #3d3d3d !important;
    color: white !important;
    padding-top: 140px !important;
    padding-bottom: 20px !important;
    margin-top: -140px !important;
    border-radius: 30px 30px 20px 20px !important;
    position: relative !important;
    z-index: 1 !important;
    text-align: center !important;
    flex-grow: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.link-author {
    color: #ffffff !important;
    font-weight: bold !important;
}

    .link-author:hover {
        color: #c2c2c2 !important;
        text-decoration: none;
    }

.title-tube {
    text-transform: capitalize !important;
    font-size: 18px !important;
    margin-top: 15px !important;
    font-weight: 600 !important;
    padding: 0 10px;
}

.home-carousel-subtitle {
    max-width: 80%;
}
@media (max-width: 767px) {
    .home-carousel-subtitle {
        max-width: 75%;
    }
}

.add-business-modal {
    border: 0;
    border-radius: 30px;
    padding: 20px;
}

    .add-business-modal .modal-title {
        color: #3c3c3b;
        font-size: 2rem;
        font-weight: 700;
    }

    .add-business-modal .form-label {
        margin-bottom: .35rem;
        color: #3c3c3b;
        font-size: .85rem;
        font-weight: 700;
    }

.add-business-input {
    min-height: 46px;
    border: 1px solid #d8d8d8;
    border-radius: 12px;
}

    .add-business-input:focus {
        border-color: var(--bs-primary);
        box-shadow: 0 0 0 .2rem rgba(82, 180, 166, .15);
    }

.btn-add-business-submit {
    border: 2px solid var(--bs-primary);
    border-radius: 50px;
    background-color: var(--bs-primary);
    padding: 9px 28px;
    color: #ffffff;
    font-size: .9rem;
    font-weight: 700;
    transition: .2s ease;
}

    .btn-add-business-submit:hover {
        border-color: #3c3c3b;
        background-color: #3c3c3b;
        color: #ffffff;
    }
.add-business-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.add-business-field-error {
    min-height: 18px;
    margin-top: 4px;
    color: #dc3545;
    font-size: .75rem;
    line-height: 1.2;
}

.add-business-input.is-invalid {
    border-color: #dc3545 !important;
}

.add-business-status {
    margin-bottom: 20px;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: .9rem;
}

    .add-business-status.is-success {
        background-color: rgba(82, 180, 166, .16);
        color: #245f57;
    }

    .add-business-status.is-error {
        background-color: rgba(220, 53, 69, .12);
        color: #842029;
    }

.legal-page {
    padding-top: 130px;
    min-height: 60vh;
}

    .legal-page h1 {
        color: #3c3c3b;
    }

#cookiebot-cookie-policy {
    font-size: 0.95rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}