body{
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
}

.bottone-whatsapp{
position: fixed;
bottom: 0;
left: 0;
margin-bottom: 20px;
margin-left: 20px;
z-index: 1000;
}
.bottone-whatsapp a img{
    width: 80px;
}
.bottone-whatsapp a img:hover{
    width: 100px;
    transition: all 0.3s ease-in-out;
}
/* Responsive per dispositivi mobili */
@media (max-width: 768px) {
    .bottone-whatsapp{
        margin-bottom: 76px !important;
        right: 0;
        margin-right: 15px;
    }
    .bottone-whatsapp a img{
        width: 70px;
    }
}
/* CPT HERO HOME */
.hero-section {
    position: relative;
    height: 86vh;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 2s ease-in-out, transform 5s ease-out;
    z-index: 1;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1);
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding-top: 10vh;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-text-container {
    margin-top: 20px;
    width: fit-content;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.hero-logo {
    max-width: 250px;
    margin: 0 auto;
    margin-bottom: 20px;
    position: relative;
    z-index: 5;
    perspective: 1000px; /* Adds 3D perspective for better coin flip effect */
}

/* Stili per l'animazione del logo */
.hero-logo img {
    width: 100%;
    height: auto;
    will-change: opacity, transform;
    transform-origin: center center;
    animation: logoReveal 1.5s cubic-bezier(0.26, 0.86, 0.44, 0.985) forwards;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.7));
    transform-style: preserve-3d; /* Ensures 3D effect works properly */
}
.hero-tagline{
    font-size: 30px;
    font-family: var(--font-titoloNav);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    position: relative;
    display: inline-block;
    min-height: 40px;
    margin-bottom: 10px;
}

/* Cursore lampeggiante per simulare la digitazione */
.hero-tagline::after {
    content: '|';
    position: absolute;
    right: -10px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-logo img.spinning {
    animation: coinFlip 2s ease-in-out;
}

.hero-title {
    font-size: 50px;
    margin-bottom: 1.2rem;
    font-family: var(--font-titoloHomeHero);
    font-weight: 600;
    color: white;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
    position: relative;
    display: block; /* Changed from inline-block to block for full width */
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards 0.8s;
    line-height: 65px !important;
}

.hero-title::after {
    
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--colore-primario-due);
    animation: expandWidth 0.8s ease-out forwards 1.5s;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-top: 20px;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    font-family: var(--font-titoloHomeHero);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards 1.2s;
   /*  background-color: rgba(0, 0, 0, 0.4); */
    padding: 15px 25px;
    border-radius: 8px;
    /* backdrop-filter: blur(5px); */
    display: block; /* Changed from inline-block to block for full width */
}

/* Nuova animazione per il logo */
@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: scale(0.7) translateY(-20px);
        filter: brightness(0) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    }
    30% {
        opacity: 0.7;
        filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: brightness(1) drop-shadow(0 0 15px rgba(255, 255, 255, 0.7));
    }
}

/* Animazione per il flip della moneta */
@keyframes coinFlip {
    0% {
        transform: rotateY(0);
    }
    25% {
        transform: rotateY(180deg);
    }
    50% {
        transform: rotateY(360deg);
    }
    75% {
        transform: rotateY(540deg);
    }
    100% {
        transform: rotateY(720deg);
    }
}

/* Animazioni esistenti modificate */
@keyframes fadeInUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes expandWidth {
    0% {
        width: 0;
        opacity: 0;
    }
    100% {
        width: 80px;
        opacity: 1;
    }
}

/* Effetto onda nella parte inferiore - migliorato */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 4;
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.1));
}

.wave-container svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
    animation: waveAnimation 15s linear infinite;
}

.wave-container .shape-fill {
    fill: #FFFFFF;
}

@keyframes waveAnimation {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-2%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Pallini indicatori dell'hero posizionati verticalmente a destra */
.hero-dots {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    z-index: 5;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 5px 0;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.hero-dot.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Responsive per i pallini su dispositivi mobili */
@media (max-width: 768px) {
    .hero-logo{
        margin-top: 25px;
        width: 200px;
    }
    .hero-dots {
        right: 15px;
    }
    
    .hero-dot {
        width: 10px;
        height: 10px;
        margin: 4px 0;
    }
    .hero-title {
        margin-top: -30px;
        font-size: 35px;
    }
    .hero-subtitle {
        font-size: 18px;
    }
    .hero-tagline {
        font-size: 19px;
    }
}

/* Overlay scuro per migliorare la leggibilità del testo */
.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* --------------------------
SEPARATORE ONDA HOMEPAGE
--------------------------- */
.wave-separator {
    position: relative;
    width: 100%;
    height: 80px;
    margin-top: -80px;
    z-index: 5;
    overflow: hidden;
    pointer-events: none;
}

.wave-separator svg {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: translateY(1px) rotate(180deg); /* Capovolge l'onda sottosopra */
}

.wave-path {
    fill: #ffffff; /* Colore dell'onda - adattalo al colore del tuo sfondo */
    filter: drop-shadow(0 -2px 2px rgba(0, 0, 0, 0.1));
}

/* Responsive per il separatore a onda */
@media (max-width: 768px) {
    .wave-separator {
        height: 60px;
        margin-top: -60px;
    }
    
    .wave-separator svg {
        height: 100%;
        width: 180%; /* Allarga l'SVG per rendere le onde più distanziate */
        left: -65%; /* Centra l'SVG allargato */
    }
    
    .wave-path {
        stroke-width: 0.5px; /* Aggiunge un leggero contorno per migliorare la visibilità */
        stroke: rgba(0, 0, 0, 0.1);
    }
}

/* Per schermi molto piccoli */
@media (max-width: 480px) {
    .wave-separator {
        height: 40px;
        margin-top: -40px;
    }
    
    .wave-separator svg {
        width: 300%; /* Ancora più largo per schermi molto piccoli */
        left: -100%;
    }
}

/* --------------------------
HOME ITINERARI SOTTO ONDA HOME
--------------------------- */
.flex-design{
    display: flex;
    margin-top: 50px;
    width: 100%;
    justify-content: space-between;
    align-items: center; /* Allinea verticalmente al centro */
}

.tour-home{
    margin-bottom: 50px;
    width: 40%;
    justify-content: center; /* Centra verticalmente il contenuto */
    
}

.destinazioni-home-schede{
    width: 53%;
    position: relative;
    display: flex;
    align-items: center; /* Allinea verticalmente al centro */
}
.tour-home h3{
    font-family: var(--font-titoloHomeHero);
    text-align: center;
    line-height: 48px;
    font-size: 43px !important;
}
.tour-home h3>span{
   margin-top: 20px !important;
   font-size: 20px !important;
}
.linea_sotto_titolo{
    background-color: var(--colore-primario-due);
    width: 100px;
    height: 5px;
    margin: 0 auto;
    margin-top: 15px;
    margin-bottom: 15px;
}
.tour-home p{
    background: var(--colore-gradient-scuro);
    color: #FFFFFF;
    padding: 10px;
    border-radius: 20px;
    margin-top: 10px;
    text-align: center;
    font-size: 18px;
}

/* Stili per Swiper.js per le schede delle destinazioni */
.swiper-destinazioni {
    width: 100%;
    height: 100%;
    padding-right: 40px; /* Aggiungi spazio a destra per i bullet */
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Modifica la posizione della paginazione da bottom a right */
.swiper-pagination {
    bottom: auto !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: auto !important;
    left: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.swiper-button-next, 
.swiper-button-prev {
    color: var(--colore-primario-due) !important;
}
.swiper-button-next{
    display: none !important;
}
.swiper-button-prev{
    display: none !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--colore-primario-due) !important;
}

/* Stile aggiuntivo per i bullet verticali */
.swiper-pagination-bullet {
    width: 30px !important;
    height: 30px !important;
    margin: 5px 0 !important; /* Spazio verticale tra i bullet */
    margin-left: 10px;
}

.swiper-pagination {
    bottom: 0 !important;
}

.swiper-button-next, 
.swiper-button-prev {
    color: var(--colore-primario-due) !important;
}
.swiper-button-next{
display: none !important;
}
.swiper-button-prev{
   display: none !important;
}

.swiper-pagination-bullet-active {
    background-color: var(--colore-primario-due) !important;
}

/* --------------------------
Componente Destinazioni shortcode
componente con le destinazioni che compare in home es Torre del bollo - cala dragunara ...
--------------------------- */
.cardSingola {
    max-width: 300px;
    text-align: center;
    color: rgb(40, 39, 39);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.6) 1.95px 1.95px 2.6px;
    background-color: white;
}

.titolo-destinazioni h3{
    background: var(--colore-gradient-scuro);
    font-family: var(--font-titoloHomeHero);
    font-weight: 100;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 18px;
    color: white;
}
.img-destinazioni {
    overflow: hidden !important;
    height: 260px !important;
    position: relative !important;
    bottom: 10px !important;
}
.img-destinazioni img {
    width: 100% !important;
    height: 100% !important;
    position: relative;
    bottom: 10px;
    object-fit: cover;
    box-shadow: rgba(0, 0, 0, 0.3) 1.95px 1.95px 2.6px;
}

.divisore_luoghi {
    width: 70px;
    height: 5px;
    background-color: var(--colore-primario-due);
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 16px;
}

/* Descrizione */
.desc-destinazioni p {
    color: #ffffff;
    font-size: 16px;
    padding-left: 3%;
    padding-right: 3%;
    background-color: white;
    color: black;
    padding-bottom: 10px;
}

/* ############
LUOGHI DA VISITARE
############ */
.location-da-visitare{
    margin-top: 10px;
}
.linea-bianca{
    width: 10%;
    height: 5px;
    background-color: #FFFFFF;
    margin: 0 auto;
    margin-top: 15px;
    margin-bottom: 5px;
}
.immagine-posti{
    width: 40%;
    max-height: 600px;
    position: relative;
    overflow: hidden;
}

.immagine-posti img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* mix-blend-mode:multiply; */
   /*  opacity: 0.8; */ /* Aggiunge un po' di trasparenza per migliorare l'effetto */
}

.lista-posti{
    width: 60%;
    background-color: var(--colore-secondario-due);
    color: white;
    text-align: center;
}
.lista-posti h4{
    font-size: 33px;
    font-family: var(--font-titoloHomeHero);
    padding-top: 25px;
}
.location {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    justify-content: center;
    padding-bottom: 20px;
}

.caletta {
    background-color: rgba(0, 0, 0, 0.35);
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* ################
ATTIVITa' DA SVOLGERE CON NOI POTRAI FARE-.....
#################### */
.attivita-da-svolgere{
margin-top: 70px;
}
.attivita-da-svolgere h4{
    font-size: 35px;
    font-family: var(--font-titoloHomeHero);
    text-align: center;
    margin-bottom: 50px;
}

/* --------------------------
CPT Componente ATTIVITA 
--------------------------- */
.attivita-list{
    display: flex;
    flex-wrap: wrap;
    column-gap: 5rem;
    width: 100%;
    justify-content: center;
}
.attivita-card{
    width: 300px;
}
.attivita-thumbnail{
    width: 350px;
    height: 180px;
    border: 1px solid rgba(0, 0, 0, 0.576);
    box-shadow: 10px 10px 10px -3px rgba(0, 0, 0, 0.502);
}

.attivita-thumbnail > img{
    width: 100% !important;
    height: 100% !important;
   object-fit: cover !important;
  
}
.titolo-attivita{
    background: var(--colore-gradient-scuro);
    color: white;
    font-size: 18px;
    font-weight: 600;
   display: inline-block;
   padding: 10px 30px 10px 15px;
   position: relative;
   bottom: 30px;
   /* border: 4px solid var(--color-secondario); */
   clip-path: polygon(0 0, 100% 0%, 88% 100%, 0% 100%); 
}

/* ############
BANNER SOPRA FOOTER
############ */
.banner_sopra_footer {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    padding: 20px 0;
    overflow: hidden;
}

.banner_sopra_footer .banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    z-index: 0;
}

.banner_sopra_footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 46, 58, 0.7);   
    z-index: 1;
}

.banner_sopra_footer .logo-container {
    z-index: 2;
    margin-bottom: 30px;
    text-align: center;
}

.banner_sopra_footer .logo-container img {
    max-width: 270px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}
.logo-container{
    padding-top: 30px !important;
}
.banner_sopra_footer .social-icons {
    display: flex;
    gap: 6px;
    z-index: 2;
    margin-bottom: 30px;
}

.social-icons a{
    text-decoration: none;
}
.social-icons a i{
    color: white;

    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
/*     background-color: rgba(255, 255, 255, 0.2); */
}

.banner_sopra_footer .social-icons a:hover {
    transform: translateY(-5px);
    background-color: var(--colore-secondario-due);
    color: white;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .banner_sopra_footer {
        height: 250px;
    }
    
    .banner_sopra_footer .logo-container img {
        max-width: 150px;
    }
    
    .banner_sopra_footer .social-icons a {
        font-size: 20px;
        width: 40px;
        height: 40px;
    }
    .social-icons a i{
        color: white;
        font-size: 30px;
        width: 40px !important;
        height: 40px !important;
        
    }
}

/* #####################
PAGINA PREZZARIO COMPONENTE - FORMATO GRID
##################### */

.prezzi-grid-container {
    display: flex;
    gap: 30px;
    margin: 40px 0 60px;
    justify-content: center;
}

.card_prezzo_grid {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    min-width: 35%;
}

.card_prezzo_grid:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.immagine_prezzo_grid {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.immagine_prezzo_grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card_prezzo_grid:hover .immagine_prezzo_grid img {
    transform: scale(1.05);
}

.titolo_prezzo_grid {
    background-color: var(--colore-secondario-due);
    color: white;
    margin: 0;
    padding: 15px;
    font-size: 18px;
    text-align: center;
    font-weight: 600;
}

.descrizione_prezzo_grid {
    padding: 15px;
    color: #555;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.periodi_grid_container {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
}

.periodo_card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f9f9f9;
}

.periodo_header {
    background-color: var(--colore-gradient-chiaro);
    color: white;
    padding: 10px;
    font-weight: 600;
    text-align: center;
    font-size: 16px;
}

.periodo_date, .periodo_orario, .periodo_persone {
    padding: 10px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
}

.periodo_date i, .periodo_orario i, .periodo_persone i {
    margin-right: 8px;
    color: var(--colore-primario-due);
    width: 20px;
    text-align: center;
}

.periodo_prezzi {
    padding: 10px;
    background-color: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.prezzo_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.prezzo_label {
    font-weight: 500;
}

.prezzo_valore_grid {
    font-weight: 700;
    color: var(--colore-primario-due);
    font-size: 16px;
}

.btn-prenota-grid {
    display: block;
    background: var(--colore-gradient-scuro);
    color: white;
    text-align: center;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 600;
    margin: 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-prenota-grid:hover {
    background-color: var(--colore-primario-due);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .prezzi-grid-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .prezzi-grid-container {
        grid-template-columns: 1fr;
    }
}

