/* --- INIZIO FILE STYLE.CSS --- */

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0px rgba(166, 124, 82, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(166, 124, 82, 0); }
    100% { box-shadow: 0 0 0 0px rgba(166, 124, 82, 0); }
}

.btn-floating {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 999999 !important;
    background-color: #a67c52 !important;
    color: white !important;
    padding: 15px 25px !important;
    border-radius: 50px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    text-decoration: none !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    animation: pulse-animation 2s infinite !important;
    cursor: pointer;
    /* Rimuove interferenze da tag padre */
    transform: none !important; 
}

/* Spostamento lingua a destra nella navbar */
.nav-lang-dropdown {
    margin-left: auto !important;
}

/* --- FINE BLOCCO NUOVO --- */

:root { 
            --primary: #a67c52; 
            --primary-light: #c5a686; 
            --bg: #f5f0e6; 
            --card-bg: #fdfcf9;
            --text: #3d3d3d; 
        }
        
        * { margin:0; padding:0; box-sizing:border-box; }
        html { scroll-behavior: smooth; }
        body { font-family: 'Lora', serif; background: var(--bg); color: var(--text); line-height: 1.7; overflow-x: hidden; }
        
        /* Fix per mobile */
        @media (max-width: 600px) {
            .btn-floating span { display: none; }
            .btn-floating { padding: 15px !important; border-radius: 50%; }
        }

        /* --- Navbar (Centrata) --- */
        /* NAVBAR GENERALE: la manteniamo sottile */
        nav { 
            position: fixed; 
            width: 100%; 
            top: 0; 
            left: 0;
            padding: 10px 40px; 
            background: rgba(245, 240, 230, 0.85); 
            backdrop-filter: blur(12px); 
            z-index: 10000; 
            display: flex !important; 
            align-items: center; 
            justify-content: space-between; 
            box-sizing: border-box;
        }

        /* BRAND: non occupa più spazio inutile */
        .navbar-brand { 
            display: flex; 
            align-items: center; 
            text-decoration: none;
            width: 300px; /* Riserva spazio fisso al logo per bilanciare la lingua */
            flex-shrink: 0;
        }

        .navbar-brand img { height: 50px; width: auto; margin-right: 15px; }
        .nav-cin { font-size: 0.65rem; font-family: 'Montserrat'; background: rgba(166, 124, 82, 0.1); padding: 4px 10px; border-radius: 4px; color: var(--primary); font-weight: 700; }
        
        /* MENU CENTRALE: lo centriamo senza allargare la nav */
        .navbar-menu { 
            display: flex; 
            gap: 20px; 
            justify-content: center;
            flex-grow: 1; /* Prende lo spazio centrale */
        }

        .navbar-menu a { 
            text-decoration: none; 
            color: var(--text); 
            font-family: 'Montserrat'; 
            font-weight: 700; 
            font-size: 0.75rem; 
            text-transform: uppercase; 
            transition: all 0.3s ease; /* Transizione fluida */
            position: relative;
        }

        /* L'effetto Glowing al passaggio del mouse */
        .navbar-menu a:hover { 
            color: var(--primary); 
            text-shadow: 0 0 10px rgba(166, 124, 82, 0.5), 0 0 20px rgba(166, 124, 82, 0.3); 
        }

        /* Sottolineatura animata (opzionale, per completare l'effetto) */
        .navbar-menu a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: var(--primary);
            transition: width 0.3s ease;
        }

        .navbar-menu a:hover::after {
            width: 100%;
        }        .navbar-menu a.active { color: var(--primary); border-bottom: 2px solid var(--primary); }

        .nav-spacer-right { min-width: 250px; } /* Bilancia il logo per centrare il menu */

        /* ALLINEAMENTO NAVBAR */
        .nav-links {
            display: flex;
            align-items: center; /* Allinea tutto perfettamente sulla stessa linea */
            gap: 25px;
        }

        .nav-link-click {
            position: relative;
            z-index: 1001;
            cursor: pointer !important;
        }

        /* --- Sezioni --- */
        section { padding: 80px 20px; max-width: 1100px; margin: auto; opacity: 0; transform: translateY(40px); transition: all 1s ease-out; scroll-margin-top: 100px;}
        section.reveal { opacity: 1; transform: translateY(0); }
        h2 { font-family: 'Playfair Display'; font-size: 2.8rem; text-align: center; margin-bottom: 45px; color: #2c2c2c; }
        h2::after { content: ''; display: block; width: 60px; height: 3px; background: var(--primary); margin: 15px auto; border-radius: 2px; }
        .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 50px; align-items: center; }
        .section-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); border: 8px solid white; transition: 0.5s; }
        .section-img:hover { transform: translateY(-10px) rotate(1deg); }

        .services { 
            display: grid; 
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
            gap: 25px; 
            margin-top: 40px; 
            align-items: stretch;
        }

        .service-card h4 { 
            font-family: 'Montserrat', sans-serif; 
            font-size: 0.75rem; /* Dimensione ridotta per un look più raffinato */
            text-transform: uppercase; /* Forza il maiuscolo */
            letter-spacing: 1.5px; /* Aumenta lo spazio tra le lettere per leggibilità */
            margin-bottom: 12px; 
            color: var(--text);
            font-weight: 700;
        }

        .service-card { 
            background: var(--card-bg); 
            padding: 30px 20px; 
            border-radius: 20px; 
            border: 1px solid #e8e0d0; 
            text-align: center; 
            display: flex; 
            flex-direction: column; 
            align-items: center;
            /* Transizione fluida per l'effetto ingrandimento e luce */
            transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
            position: relative;
            overflow: hidden;
        }

        /* Effetto al passaggio del mouse (Hover) */
        .service-card:hover { 
            transform: translateY(-10px) scale(1.03); /* Ingrandimento e sollevamento */
            background: #fff; /* Sbianca leggermente per l'effetto luce */
            border-color: var(--primary); 
            /* Luce esterna (Glow) color bronzo/oro */
            box-shadow: 0 20px 40px rgba(166, 124, 82, 0.15); 
        }

        /* Effetto luce interna (riflesso) */
        .service-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 70%);
            opacity: 0;
            transition: opacity 0.5s;
            pointer-events: none;
        }

        .service-card:hover::before {
            opacity: 1; /* Attiva il riflesso di luce al centro della card */
        }

        .service-card i { 
            font-size: 2rem; 
            color: var(--primary); 
            margin-bottom: 15px;
            transition: transform 0.4s ease;
        }

        /* Ingrandisce leggermente anche l'icona quando passi il mouse */
        .service-card:hover i {
            transform: scale(1.15);
        }

        /* --- Social & Buttons --- */
        .socials { margin-bottom: 30px; display: flex; justify-content: center; gap: 20px; }
        .socials a { width: 55px; height: 55px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.4rem; box-shadow: 0 4px 10px rgba(0,0,0,0.05); text-decoration: none; transition: 0.3s; }
        .socials a:hover { transform: translateY(-5px); background: var(--primary); color: white; }

        .btn { display: inline-block; padding: 15px 35px; background: var(--primary); color: white; border-radius: 50px; text-decoration: none; font-family: 'Montserrat'; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; cursor: pointer; border: none; transition: 0.4s; }
        .btn:hover { background: #8c653f; transform: translateY(-3px); }

        /* --- Modal --- */
        .modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 2000; align-items: center; justify-content: center; backdrop-filter: blur(8px); }
        .modal-content { background: var(--bg); padding: 40px; border-radius: 30px; text-align: center; max-width: 450px; width: 90%; position: relative; }
        .close-modal { position: absolute; top: 20px; right: 20px; font-size: 1.5rem; cursor: pointer; color: var(--text); }
        .modal-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 100%;
            border-radius: 12px;
            font-family: 'Montserrat';
            font-weight: 700;
            text-decoration: none;
            color: white;
            transition: 0.3s;
            padding: 18px; /* Padding standard per i tasti grandi */
        }

        .modal-btn:hover {
            transform: translateY(-3px);
            filter: brightness(1.1);
        }
        /* --- Hero --- */
        header { height: 85vh; background: #eee url('../img/hero.jpg') center/cover no-repeat; display: flex; align-items: center; justify-content: center; text-align: center; color: white; position: relative; }
        header::after { content:''; position:absolute; inset:0; background:rgba(0,0,0,0.35); }
        .hero-text { z-index: 2; padding: 20px; text-align: center; color: white;}
        .hero-text h1 { font-family: 'Playfair Display'; font-size: clamp(3.5rem, 10vw, 5.5rem); margin-bottom: 10px; color: white;}

        footer { text-align: center; padding: 60px; background: #2c2c2c; color: #a8a8a8; }

        @media (max-width: 768px) {
            nav { flex-direction: column; padding: 15px; height: auto; }
            .navbar-brand, .nav-spacer-right { min-width: 0; margin-bottom: 10px; }
            .navbar-menu { gap: 10px; flex-wrap: wrap; font-size: 0.65rem; }
        }

        /* Animazione Luccichio */
        @keyframes starShine {
            0% { transform: scale(1); opacity: 1; filter: drop-shadow(0 0 0px #ffb400); }
            50% { transform: scale(1.2); opacity: 0.8; filter: drop-shadow(0 0 5px #ffb400); }
            100% { transform: scale(1); opacity: 1; filter: drop-shadow(0 0 0px #ffb400); }
        }

        .reviews-section {
        padding: 90px 0;
        }

        .reviews-section .container {
        max-width: 1180px;
        margin: 0 auto;
        padding: 0 20px;
        }

        .reviews-intro {
        max-width: 760px;
        margin: 0 auto 36px;
        text-align: center;
        color: #7a6b5c;
        font-family: 'Lora', serif;
        font-style: italic;
        font-size: 1rem;
        }

        .reviews-carousel-shell {
        --reviews-side-align: 72px;
        opacity: 0;
        transform: translateY(28px);
        transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .reviews-carousel-shell.is-visible {
        opacity: 1;
        transform: translateY(0);
        }

        .reviews-carousel-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        margin: 0 auto 20px;
        flex-wrap: wrap;
        width: calc(100% - (var(--reviews-side-align) * 2));
        }

        .reviews-summary-pill {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: rgba(166, 124, 82, 0.08);
        color: #8e6843;
        border: 1px solid rgba(166, 124, 82, 0.18);
        border-radius: 999px;
        padding: 12px 18px;
        font-family: 'Montserrat', sans-serif;
        font-size: 0.74rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.2px;
        }

        .reviews-summary-pill i {
        color: #d6a019;
        animation: starShine 2.4s ease-in-out infinite;
        }

        .reviews-google-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 13px 20px;
        border-radius: 999px;
        text-decoration: none;
        background: var(--primary);
        color: #fff;
        font-family: 'Montserrat', sans-serif;
        font-size: 0.76rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.3px;
        box-shadow: 0 10px 25px rgba(166, 124, 82, 0.22);
        transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
        }

        .reviews-google-btn:hover {
        transform: translateY(-3px);
        background: #8e6843;
        box-shadow: 0 16px 30px rgba(166, 124, 82, 0.28);
        }

        .reviews-carousel-stage {
        display: grid;
        grid-template-columns: 54px minmax(0, 1fr) 54px;
        align-items: stretch;
        gap: 18px;
        }

        .reviews-arrow {
        align-self: center;
        width: 54px;
        height: 54px;
        border: 1px solid rgba(166, 124, 82, 0.2);
        background: rgba(255,255,255,0.85);
        color: var(--primary);
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 12px 24px rgba(0,0,0,0.06);
        transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease;
        font-size: 1rem;
        }

        .reviews-arrow:hover {
        transform: translateY(-4px) scale(1.03);
        background: var(--primary);
        color: #fff;
        box-shadow: 0 18px 30px rgba(166, 124, 82, 0.22);
        }


        .reviews-track {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        min-height: 100%;
        }

        .reviews-track.is-animating .review-card {
        animation: reviewsCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
        }

        @keyframes reviewsCardIn {
        from {
            opacity: 0;
            transform: translateY(26px) scale(0.985);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
        }


        .review-card {
        position: relative;
        background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(253,252,249,0.98) 100%);
        border: 1px solid #e8e0d0;
        border-radius: 22px;
        padding: 16px 16px 14px;
        min-height: 100%;
        text-align: left;
        overflow: hidden;
        cursor: pointer;
        box-shadow: 0 16px 34px rgba(0,0,0,0.06);
        transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.45s ease, border-color 0.45s ease;
        outline: none;
        display: flex;
        flex-direction: column;
        gap: 10px;
        }

        .review-card:hover,
        .review-card:focus-visible {
        transform: translateY(-10px);
        box-shadow: 0 24px 46px rgba(166, 124, 82, 0.16);
        border-color: rgba(166, 124, 82, 0.35);
        }

        .review-card-glow {
        position: absolute;
        inset: auto -20% 68% auto;
        width: 180px;
        height: 180px;
        background: radial-gradient(circle, rgba(166, 124, 82, 0.12) 0%, rgba(166, 124, 82, 0) 72%);
        pointer-events: none;
        }


        .review-card-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        position: relative;
        z-index: 1;
        min-height: 38px;
        }

        .review-source-pill,
        .review-rating-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border-radius: 999px;
        padding: 8px 12px;
        font-family: 'Montserrat', sans-serif;
        font-size: 0.68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.1px;
        }

        .review-source-pill {
        color: #5f4c3b;
        background: rgba(166, 124, 82, 0.10);
        }

        .review-source-booking { background: rgba(0, 53, 128, 0.10); color: #003580; }
        .review-source-airbnb { background: rgba(255, 90, 95, 0.12); color: #c53f45; }
        .review-source-google { background: rgba(66, 133, 244, 0.10); color: #3367d6; }

        .review-rating-badge {
        background: rgba(214, 160, 25, 0.12);
        color: #9b7311;
        flex-shrink: 0;
        }

        .review-stars {
        display: flex;
        gap: 6px;
        color: #d6a019;
        font-size: 0.85rem;
        }


        .review-card-title {
        font-family: 'Playfair Display', serif;
        font-size: 1.18rem;
        line-height: 1.12;
        color: #2f2a27;
        margin: 0;
        min-height: 2.1em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        }


        .review-card-text {
        margin: 0;
        color: #6b6157;
        font-size: 0.86rem;
        line-height: 1.52;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 5.9em;
        }


        .review-card-footer {
        margin-top: auto;
        padding-top: 12px;
        border-top: 1px solid rgba(166, 124, 82, 0.12);
        display: grid;
        grid-template-columns: minmax(0, 1fr) 146px;
        align-items: end;
        gap: 12px;
        min-height: 60px;
        }


        .review-card-meta {
        min-width: 0;
        min-height: 46px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        gap: 5px;
        }

        .review-card-author {
        margin: 0;
        font-family: 'Montserrat', sans-serif;
        font-size: 0.79rem;
        font-weight: 700;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        color: #3b3636;
        line-height: 1.15;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        }


        .review-card-date {
        margin: 0;
        font-size: 0.77rem;
        color: #8a7f74;
        line-height: 1.15;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        }


        .review-read-more {
        border: none;
        background: rgba(166, 124, 82, 0.10);
        color: var(--primary);
        border-radius: 999px;
        padding: 9px 13px;
        font-family: 'Montserrat', sans-serif;
        font-size: 0.68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.1px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
        width: 146px;
        min-width: 146px;
        white-space: nowrap;
        align-self: end;
        }

        .review-read-more:hover {
        transform: translateX(4px);
        background: var(--primary);
        color: #fff;
        }

        .reviews-carousel-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        flex-wrap: wrap;
        width: calc(100% - (var(--reviews-side-align) * 2));
        margin: 20px auto 0;
        }

        .reviews-dots {
        display: flex;
        gap: 10px;
        align-items: center;
        }

        .reviews-dot {
        width: 11px;
        height: 11px;
        border-radius: 50%;
        border: none;
        background: rgba(166, 124, 82, 0.22);
        cursor: pointer;
        transition: transform 0.3s ease, background 0.3s ease, width 0.3s ease;
        }

        .reviews-dot.is-active {
        width: 32px;
        border-radius: 999px;
        background: var(--primary);
        }

        .reviews-helper {
        margin: 0;
        color: #8a7f74;
        font-family: 'Montserrat', sans-serif;
        font-size: 0.72rem;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        }


        .review-modal-overlay {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.78);
        z-index: 999999999;
        padding: 24px;
        overflow: hidden;
        overscroll-behavior: contain;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        }

        .review-modal-overlay.is-open {
        display: block;
        }

        html.review-modal-open,
        body.review-modal-open {
        overflow: hidden;
        }

        .review-modal-box {
        width: min(860px, calc(100vw - 48px));
        max-height: calc(100vh - 48px);
        overflow-y: auto;
        background: #f4eee8;
        border-radius: 30px;
        padding: 34px 30px;
        position: absolute;
        top: 50vh;
        left: 50%;
        transform: translate(-50%, -50%);
        box-shadow: 0 28px 60px rgba(0,0,0,0.35);
        border: 1px solid rgba(166, 124, 82, 0.22);
        animation: reviewModalAppear 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
        outline: none;
        }


        @keyframes reviewModalAppear {
        from {
            opacity: 0;
            transform: translate(-50%, calc(-50% + 24px)) scale(0.96);
        }
        to {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }
        }

        .review-modal-close {
        position: absolute;
        top: 16px;
        right: 18px;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: none;
        background: rgba(166, 124, 82, 0.12);
        color: var(--primary);
        font-size: 1.8rem;
        line-height: 1;
        cursor: pointer;
        transition: transform 0.3s ease, background 0.3s ease;
        }

        .review-modal-close:hover {
        transform: scale(1.08);
        background: rgba(166, 124, 82, 0.18);
        }

        .review-modal-meta {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
        margin-bottom: 18px;
        }

        .review-modal-source,
        .review-modal-date {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border-radius: 999px;
        padding: 9px 13px;
        font-family: 'Montserrat', sans-serif;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.1px;
        }

        .review-modal-source {
        background: rgba(166, 124, 82, 0.12);
        color: #6e5134;
        }

        .review-modal-date {
        background: rgba(59, 54, 54, 0.06);
        color: #6c635a;
        }

        .review-modal-title {
        font-family: 'Playfair Display', serif;
        font-size: clamp(2rem, 3vw, 2.6rem);
        color: #2f2a27;
        margin: 0 0 20px;
        line-height: 1.08;
        }

        .review-modal-author-row {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 24px;
        }

        .review-modal-avatar {
        width: 58px;
        height: 58px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        background: linear-gradient(135deg, #b89268 0%, #8e6843 100%);
        color: #fff;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        letter-spacing: 1px;
        box-shadow: 0 12px 24px rgba(166, 124, 82, 0.22);
        }

        .review-modal-author,
        .review-modal-rating {
        margin: 0;
        }

        .review-modal-author {
        font-family: 'Montserrat', sans-serif;
        font-size: 0.92rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.3px;
        color: #3b3636;
        }

        .review-modal-rating {
        color: #8a7f74;
        font-size: 0.95rem;
        margin-top: 4px;
        }

        .review-modal-body {
        color: #4c443d;
        font-size: 1.02rem;
        line-height: 1.95;
        }

        .review-modal-body p + p {
        margin-top: 16px;
        }

        .review-modal-actions {
        margin-top: 26px;
        }

        .review-modal-google-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        }

        @media (max-width: 991px) {
        .reviews-carousel-stage {
            grid-template-columns: 1fr;
        }

        .reviews-arrow {
            width: 50px;
            height: 50px;
        }

        .reviews-carousel-stage .reviews-arrow-prev,
        .reviews-carousel-stage .reviews-arrow-next {
            position: absolute;
            top: calc(50% - 25px);
            z-index: 5;
        }

        .reviews-carousel-stage {
            position: relative;
            padding: 0 18px;
        }

        .reviews-carousel-stage .reviews-arrow-prev {
            left: -6px;
        }

        .reviews-carousel-stage .reviews-arrow-next {
            right: -6px;
        }
        }

        @media (max-width: 767px) {
        .reviews-section {
            --reviews-side-align: 0px;
            padding: 60px 0;
        }

        .reviews-intro {
            margin-bottom: 28px;
            font-size: 0.95rem;
        }

        .reviews-carousel-topbar {
            justify-content: center;
            width: 100%;
        }

        .reviews-summary-pill,
        .reviews-google-btn {
            width: 100%;
            justify-content: center;
        }

        .reviews-track {
            grid-template-columns: 1fr;
            gap: 18px;
        }


        .review-card {
            padding: 20px 18px 17px;
        }


        .review-card-title {
            font-size: 1.28rem;
            min-height: auto;
        }


        .review-card-text {
            -webkit-line-clamp: 5;
            min-height: auto;
        }


        .review-card-footer {
            grid-template-columns: 1fr;
            align-items: stretch;
        }

        .review-read-more {
            width: 100%;
            justify-content: center;
        }

        .reviews-carousel-footer {
            justify-content: center;
            width: 100%;
        }

        .reviews-helper {
            text-align: center;
        }

        .review-modal-box {
            width: min(100vw - 24px, 100%);
            max-height: calc(100vh - 24px);
            padding: 28px 20px;
            border-radius: 24px;
        }

        .review-modal-title {
            padding-right: 34px;
        }

        .review-modal-author-row {
            align-items: flex-start;
        }
        }

        @media (prefers-reduced-motion: reduce) {
        .reviews-carousel-shell,
        .review-card,
        .reviews-arrow,
        .reviews-google-btn,
        .reviews-dot,
        .review-modal-box {
            transition: none !important;
            animation: none !important;
        }

        .reviews-carousel-shell {
            opacity: 1 !important;
            transform: none !important;
        }
        }



        /* CONTENITORE DROPDOWN */
        /* --- NAVBAR LINKS & GLOW EFFECT --- */
        .navbar-menu a { 
            text-decoration: none; 
            color: var(--text); 
            font-family: 'Montserrat'; 
            font-weight: 700; 
            font-size: 0.75rem; 
            text-transform: uppercase; 
            transition: all 0.3s ease; 
            position: relative;
        }

        /* Effetto Glow al passaggio del mouse su tutti i link della nav */
        .navbar-menu a:hover { 
            color: var(--primary); 
            text-shadow: 0 0 10px rgba(166, 124, 82, 0.5), 0 0 20px rgba(166, 124, 82, 0.3); 
        }

        /* --- CONTENITORE DROPDOWN --- */
        .dropdown {
            position: relative;
            display: flex;
            align-items: center;
            height: 100%;
        }

        /* LA FRECCETTA ACCANTO A OSTUNI (Integrazione Rotazione) */
        .dropdown-toggle::after {
            /* Ripristiniamo solo l'icona e la rotazione come nel tuo codice */
            content: '\f107'; 
            display: none !important;
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            margin-left: 8px;
            font-size: 0.6rem;
            transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .dropdown-toggle span::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: var(--primary);
            transition: width 0.3s ease;
        }

        /* Rotazione freccetta al passaggio del mouse */
        .dropdown:hover .dropdown-toggle::after {
            transform: rotate(180deg);
            color: var(--primary);
        }

        .dropdown:hover .dropdown-toggle span::after {
            width: 100%;
        }

        /* Questo permette al link di stare "sopra" il ponte invisibile */
        .dropdown-toggle {
            position: relative;
            z-index: 1001; 
            cursor: pointer !important;
        }

        .dropdown-toggle span {
            position: relative;
            display: inline-block;
        }

        /* MENU A TENDINA CON ANIMAZIONE (Mantenendo il tuo stile) */
        .dropdown-content {
            display: block; 
            visibility: hidden; 
            opacity: 0;
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(15px); 
            background-color: #ffffff;
            min-width: 220px; /* Leggermente più largo per le icone */
            box-shadow: 0 15px 35px rgba(166, 124, 82, 0.2);
            border-radius: 15px;
            padding: 10px 0;
            z-index: 1000;
            border: 1px solid rgba(166, 124, 82, 0.1);
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
            pointer-events: none; 
        }

        /* MOSTRA IL MENU CON ANIMAZIONE */
        .dropdown:hover .dropdown-content {
            visibility: visible;
            opacity: 1;
            transform: translateX(-50%) translateY(0); 
            pointer-events: auto;
        }

        /* Ponte invisibile per non far chiudere il menu */
        .dropdown-content::before {
            content: "";
            position: absolute;
            top: -15x;
            left: 0;
            width: 100%;
            height: 15px;
            z-index: -1; /* <--- Fondamentale: lo mette dietro al link */
        }

        /* STILE LINK INTERNI (Rimosso Glow per leggibilità nel sottomenu) */
        .dropdown-content a {
            color: var(--text) !important;
            padding: 12px 20px !important;
            text-transform: uppercase;
            font-size: 0.7rem !important;
            letter-spacing: 1px;
            display: flex !important;
            align-items: center;
            gap: 10px;
            transition: 0.3s;
            text-shadow: none !important; /* Pulizia visiva dentro il dropdown */
        }

        .dropdown-content a:hover {
            background-color: rgba(166, 124, 82, 0.05) !important;
            color: var(--primary) !important;
            padding-left: 25px !important;
        }

        /* Sottolineatura animata solo per i link principali, non per il dropdown */
        .navbar-menu > a::after, .dropdown > a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: var(--primary);
            transition: width 0.3s ease;
        }

        .navbar-menu > a:hover::after, .dropdown:hover > a::after {
            width: 100%;
        }

        /* Rimuove lo sfondo bianco e centra la sezione */
        /* Allineamento sottotitolo sezione */
        /* Struttura della Griglia */
        /* Struttura della Card per allineamento verticale */
        /* Struttura della Card */
        .ostuni-grid {
            display: grid !important;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
            gap: 20px !important;
            max-width: 1100px !important;
            margin: 40px auto !important;
            padding: 0 20px !important;
        }
        
        .ostuni-card {
            background: #a67c52 !important;
            border-radius: 20px !important;
            padding: 25px !important;
            text-decoration: none !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            text-align: center !important;
            /* Altezza ridotta per eliminare il vuoto eccessivo */
            min-height: 220px !important; 
            transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
            box-shadow: 0 8px 20px rgba(166, 124, 82, 0.15) !important;
            position: relative;
        }

        /* ANIMAZIONE: Sollevamento della card */
        .ostuni-card:hover {
            transform: translateY(-8px) !important;
            box-shadow: 0 15px 30px rgba(166, 124, 82, 0.3) !important;
            background: #b88a5e !important;
        }

        .ostuni-card i {
            color: white !important;
            font-size: 1.6rem !important;
            margin-bottom: 12px !important;
        }

        .ostuni-card h3 {
            font-family: 'Montserrat', sans-serif !important;
            color: white !important;
            font-size: 0.95rem !important;
            font-weight: 700 !important;
            text-transform: uppercase !important;
            letter-spacing: 1px !important;
            margin: 0 0 8px 0 !important;
        }

        .ostuni-card p {
            font-family: 'Lora', serif !important;
            color: rgba(255, 255, 255, 0.9) !important;
            font-size: 0.8rem !important;
            margin-bottom: 15px !important; /* Spazio ridotto qui */
            line-height: 1.4 !important;
        }

        /* Tasto Esplora */
        .ostuni-btn-explore {
            color: white !important;
            font-family: 'Montserrat', sans-serif !important;
            font-size: 0.65rem !important;
            font-weight: 700 !important;
            text-transform: uppercase !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 8px !important;
            margin-top: auto; /* Mantiene l'allineamento sul fondo ma senza vuoti enormi */
        }

        /* Icona freccia */
        .ostuni-btn-explore i {
            font-size: 0.8rem !important;
            margin-bottom: 0 !important;
            margin-left: 5px;
            transition: transform 0.3s ease !important; /* Riattiva animazione freccia */
        }

        /* ANIMAZIONE: Movimento freccia al passaggio del mouse */
        .ostuni-card:hover .ostuni-btn-explore i {
            transform: translateX(5px) !important;
        }

        /* Container della griglia */
        /* --- NUOVO STILE CARD VISIVE --- */
        /* --- FIX GRID HOME --- */
        /* --- RESET E FIX GRID --- */
        /* --- GRID HOME STILE COMFORT --- */
        /* --- GRID HOME DEFINITIVA --- */
        /* --- GRID HOME MINIMALE --- */
        /* --- GRID HOME DEFINITIVA (COLOR INVERTED) --- */
        /* --- GRID HOME COMPATTA (BRONZO SLIM) --- */
        /* --- GRID HOME 5 IN LINEA --- */
        /* --- GRID HOME 5 IN LINEA BLOCCATA --- */
        .civico-grid {
            display: grid;
            /* FORZA 5 COLONNE SU DESKTOP */
            grid-template-columns: repeat(5, 1fr); 
            gap: 15px; 
            padding: 60px 20px;
            max-width: 1350px; /* Allargato per far respirare le 5 card */
            margin: 0 auto;
        }

        /* Responsive: scalano solo se lo schermo è davvero piccolo */
        @media (max-width: 1100px) {
            .civico-grid { grid-template-columns: repeat(3, 1fr); }
        }
        @media (max-width: 768px) {
            .civico-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 480px) {
            .civico-grid { grid-template-columns: 1fr; }
        }

        @media (max-width: 768px) {
            .grid { grid-template-columns: 1fr !important; }
            .grid div { order: initial !important; text-align: center !important; }
            #tradizione { padding: 50px 20px; }
        }

        .civico-card {
            perspective: 1000px;
        }

        .civico-card-body {
            background: #a67c52;
            padding: 25px 15px;
            border-radius: 25px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(166, 124, 82, 0.05);
            border: 3px solid rgba(255, 255, 255, 0.05); /* Bordo base invisibile */
            transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
            display: flex;
            flex-direction: column;
            align-items: center;
            height: 100%; /* Le rende tutte alte uguali */
        }

        /* --- ANIMAZIONE MARCATISSIMA RIGA UNICA --- */
        .civico-card:hover .civico-card-body {
            transform: translateY(-20px) scale(1.05); 
            border-color: rgba(255, 255, 255, 1); /* Bordo bianco pieno */
            box-shadow: 0 15px 45px rgba(255, 255, 255, 0.3); /* Glow luminoso */
            z-index: 10; /* Evita che il glow finisca sotto le altre card */
        }

        /* Tipografia coordinata */
        .civico-card-body i.main-icon {
            font-size: 1.6rem;
            color: #fdfcf9;
            margin-bottom: 12px;
        }

        .civico-card-body span {
            font-family: 'Montserrat', sans-serif;
            font-size: 0.7rem; /* Compatto per stare in riga */
            text-transform: uppercase;
            color: #ffffff;
            margin-bottom: 8px;
            display: block;
        }

        .civico-card-body h3 {
            font-family: 'Montserrat', sans-serif;
            font-size: 0.95rem; /* Ridotto per evitare che il titolo vada a capo */
            text-transform: uppercase;
            color: #fdfcf9;
            margin: 0 0 10px 0;
            font-weight: 700;
        }

        .civico-card-body p {
            font-family: 'Lora', serif;
            font-style: italic;
            color: rgba(253, 252, 249, 0.85);
            font-size: 0.8rem;
            line-height: 1.3;
            margin-bottom: 15px;
            min-height: 45px;
        }

        .civico-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 15px;
            border: 1px solid rgba(253, 252, 249, 0.6);
            border-radius: 50px;
            color: #fdfcf9;
            font-family: 'Montserrat';
            font-size: 8px;
            font-weight: 700;
            text-transform: uppercase;
            text-decoration: none;
            margin-top: auto; 
            transition: 0.3s;
        }

        .civico-btn:hover {
            background: #ffffff;
            color: #a67c52 !important;
            box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
        }

        /* --- 1. STILE DEI NUOVI LINK IT|EN|DE --- */
        .lang-selector {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-left: 20px;
        }

        .lang-selector a {
            text-decoration: none;
            color: var(--primary, #a67c52) !important;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase !important;
            transition: 0.3s;
            letter-spacing: 1px;
        }

        .notranslate {
            translate: no !important;
        }

        .lang-selector a:hover {
            opacity: 0.6;
        }

        .lang-selector .sep {
            color: #ccc;
            font-size: 0.7rem;
        }

        /* DROPDOWN LINGUA: Posizionamento a destra */
        .nav-lang-dropdown {
            width: 300px; /* Stessa larghezza del logo per centrare perfettamente il menu centrale */
            display: flex;
            justify-content: flex-end; /* Spinge "IT" tutto a destra */
            position: relative;
            padding: 15px 0;
            margin-left: auto;
        }

        .lang-current {
            text-decoration: none;
            color: var(--text, #333); 
            font-family: 'Montserrat', sans-serif !important;
            font-weight: 700 !important;
            font-size: 0.75rem !important;
            text-transform: uppercase !important;
            display: flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
            letter-spacing: 0.5px; /* Per dare quel tocco luxury */
        }

        .lang-current i {
            color: var(--primary, #a67c52);
            font-size: 0.8rem;
        }

        /* LA TENDINA: il trucco del margine per non farla sparire */
        .lang-dropdown-content {
            display: none;
            position: absolute;
            top: 45px; /* Attaccata al tasto */
            right: 0;
            background: white;
            min-width: 140px;
            box-shadow: 0 8px 16px rgba(0,0,0,0.1);
            border-radius: 4px;
            z-index: 1100;
            left: auto;
        }

        /* I link dentro la tendina */
        .lang-dropdown-content a {
            font-family: 'Montserrat', sans-serif !important;
            font-weight: 700 !important;
            font-size: 0.7rem !important;
            text-transform: uppercase !important;
            color: #333 !important;
            padding: 12px 16px;
            display: block;
            text-decoration: none;
            transition: 0.3s;
        }

        /* Questo elemento invisibile "unisce" il tasto alla tendina */
        .nav-lang-dropdown::after {
            content: "";
            position: absolute;
            top: 100%;
            right: 0;
            width: 100%;
            height: 20px;
        }
        
        .lang-dropdown-content a:hover {
            background-color: #F5F0E6 !important; /* Colore crema del tuo sito */
            color: var(--primary, #a67c52) !important;
        }

        /* Mostra la tendina al passaggio del mouse */
        .nav-lang-dropdown:hover .lang-dropdown-content {
            display: block;
        }

        /* Animazione della freccetta */
        .nav-lang-dropdown:hover .fa-chevron-down {
            transform: rotate(180deg);
        }

        .fa-chevron-down {
            font-size: 0.6rem;
            transition: 0.3s;
        }

        /* --- 2. IL COLPO DI GRAZIA A GOOGLE TRANSLATE UI --- */

        /* Nasconde fisicamente ogni tipo di barra, frame o banner di Google */
        #google_translate_element,
        .skiptranslate,
        .goog-te-banner-frame,
        .goog-te-banner-frame.skiptranslate,
        iframe.goog-te-banner-frame,
        #goog-gt-tt,
        .goog-te-balloon-frame,
        .goog-te-spinner-pos {
            display: none !important;
            visibility: hidden !important;
            opacity: 0 !important;
        }

        /* BLOCCA IL SITO IN ALTO: Impedisce a Google di iniettare margini */
        html {
            margin-top: 0px !important;
            padding-top: 0px !important;
        }

        body {
            top: 0px !important;
            position: static !important;
            margin-top: 0px !important;
            padding-top: 0px !important;
        }

        /* Rimuove l'alone azzurro/giallo che Google mette sui testi tradotti */
        .goog-text-highlight {
            background-color: transparent !important;
            box-shadow: none !important;
            border: none !important;
        }

        /* Sezione con lo sfondo uguale al resto del sito */
        .trasporti-section {
            padding: 80px 40px;
            background-color: #F5F0E6; /* Colore crema originale del sito */
            text-align: center;
        }

        .trasporti-grid {
            display: flex;
            justify-content: center;
            align-items: stretch; /* Forza tutte le card ad avere la stessa altezza */
            gap: 20px;
            margin-top: 40px;
            flex-wrap: wrap;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Card bianche per staccare dallo sfondo crema */
        .trasport-card {
            background: #ffffff;
            padding: 40px 30px;
            border-radius: 15px;
            flex: 1;
            min-width: 280px;
            max-width: 380px;
            border: 1px solid rgba(166, 124, 82, 0.1);
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            
            /* Layout interno alla card */
            display: flex;
            flex-direction: column; /* Dispone gli elementi in verticale */
            justify-content: space-between; /* Spinge il pulsante in fondo, allineandolo agli altri */
            text-align: center;
            transition: all 0.3s ease;
        }

        .trasport-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(166, 124, 82, 0.15);
        }

        .trasport-card i {
            font-size: 2.8rem;
            color: #a67c52;
            margin-bottom: 20px;
            height: 50px; /* Altezza fissa per l'area icona */
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .trasport-card h3 {
            font-family: 'Montserrat', sans-serif;
            min-height: 50px; /* Forza i titoli su due righe o una, mantenendo lo spazio */
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            font-size: 1.1rem;
            font-weight: 700;
        }

        .trasport-card p {
            flex-grow: 1; /* Questo fa sì che il testo occupi tutto lo spazio centrale */
            margin-bottom: 25px;
            display: flex;
            align-items: center; /* Centra il testo verticalmente se è più corto */
        }

        /* Pulsante link stilizzato */
        .btn-link {
            display: inline-block;
            color: #a67c52;
            text-decoration: none;
            font-weight: 700;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            padding-bottom: 3px;
            border-bottom: 2px solid #a67c52;
            transition: 0.3s;
            align-self: center;
        }

        .btn-link:hover {
            color: #333;
            border-bottom-color: #333;
            letter-spacing: 1.5px;
        }

        .trasport-note {
            margin-top: 50px;
            font-size: 0.85rem;
            color: #888;
        }

/*index*/

:root { --primary: #a67c52; --text: #333; --bg: #F5F0E6; }
        body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Montserrat', sans-serif; overflow-x: hidden; }
        
        /* Navbar specifica per le sottopagine */
        nav { 
            display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; 
            padding: 15px 40px; background: rgba(245, 240, 230, 0.95); backdrop-filter: blur(10px);
            position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(166,124,82,0.15);
        }
        .nav-back { text-decoration: none; color: var(--text); font-weight: 700; font-size: 0.7rem; text-transform: uppercase; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
        .nav-back:hover { color: var(--primary); transform: translateX(-5px); }
        .nav-logo { font-family: 'Playfair Display'; font-size: 1.4rem; font-weight: 700; }

        /* Header Pagina */
        .hero-info { padding: 80px 20px; text-align: center; }
        .hero-info h1 { font-family: 'Playfair Display'; font-size: 3rem; margin-bottom: 10px; }
        .hero-info p { font-style: italic; font-family: 'Lora'; color: var(--primary); }

        /* Contenitore Punti di Interesse */
        .poi-container { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }
        
        .poi-item { 
            display: flex; align-items: center; gap: 50px; margin-bottom: 100px; 
            opacity: 0; transform: translateY(30px); transition: all 0.8s ease;
        }
        .poi-item.visible { opacity: 1; transform: translateY(0); }
        .poi-item:nth-child(even) { flex-direction: row-reverse; }

        .poi-image { 
            flex: 1; border-radius: 30px; overflow: hidden; 
            box-shadow: 0 20px 40px rgba(0,0,0,0.1); height: 400px;
        }
        .poi-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
        .poi-item:hover .poi-image img { transform: scale(1.05); }

        .poi-text { flex: 1; }
        .poi-text span { color: var(--primary); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
        .poi-text h2 { font-family: 'Playfair Display'; font-size: 2rem; margin: 15px 0; }
        .poi-text p { font-family: 'Lora'; line-height: 1.8; color: #666; }

        .btn-map { 
            display: inline-flex; 
            align-items: center; 
            justify-content: center;
            gap: 10px;
            margin-top: 25px;
            padding: 12px 25px; 
            border: 2px solid var(--primary); 
            border-radius: 50px;
            text-decoration: none; 
            color: var(--primary); 
            font-size: 0.7rem; 
            font-weight: 700;
            text-transform: uppercase; 
            letter-spacing: 1px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: transparent;
        }

        /* Animazione Hover */
        .btn-map:hover { 
            background: var(--primary); 
            color: white !important; 
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 5px 15px rgba(166, 124, 82, 0.3);
        }

        .btn-map i {
            transition: transform 0.3s ease;
        }

        .btn-map:hover i {
            transform: translateX(5px); /* La freccetta si muove a destra */
        }

        .poi-text span {
            display: block;
            text-align: center;
            margin-bottom: 10px; /* per dare un po' di respiro al titolo */
        }

        .poi-text p {
            text-align: center;
        }

        .poi-text h2 {
            text-align: center;
        }
        
        .poi-text {
            display: flex;
            flex-direction: column; /* Mette gli elementi uno sotto l'altro */
            align-items: center;    /* Centra tutto orizzontalmente: span, h2, p e tasto */
            text-align: center;     /* Centra il testo dentro i paragrafi */
        }

        /* Se vuoi distanziare un po' il tasto dal testo sopra */
        .poi-text .btn-map, .poi-text .wa-contact {
            margin-top: 20px;
        }

        @media (max-width: 768px) {
            .poi-item, .poi-item:nth-child(even) { flex-direction: column; text-align: center; gap: 20px; }
            .poi-image { height: 250px; width: 100%; }
        }

        .poi-text {
            display: flex;
            flex-direction: column; /* Mette gli elementi uno sotto l'altro */
            align-items: center;    /* Centra tutto orizzontalmente: span, h2, p e tasto */
            text-align: center;     /* Centra il testo dentro i paragrafi */
        }

        /* Se vuoi distanziare un po' il tasto dal testo sopra */
        .poi-text .btn-map, .poi-text .wa-contact {
            margin-top: 20px;
        }

        /* Impedisce a Google di spostare il layout */
        #google_translate_element, .skiptranslate, .goog-te-banner-frame { 
            display: none !important; 
        }
        body { top: 0px !important; position: static !important; }

        /* Stile Montserrat per il menu lingua */
        .lang-current, .lang-dropdown-content a {
            font-family: 'Montserrat', sans-serif !important;
            text-transform: uppercase !important;
            font-weight: 700 !important;
        }

/*cosa vedere*/

:root { --primary: #a67c52; --text: #333; --bg: #F5F0E6; }
        
        body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Montserrat', sans-serif; overflow-x: hidden; }
        
        /* --- NAVBAR (Copia esatta Punti di Interesse) --- */
        nav { 
            display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; 
            padding: 15px 40px; background: rgba(245, 240, 230, 0.95); backdrop-filter: blur(10px);
            position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(166,124,82,0.15);
        }
        .nav-back { text-decoration: none; color: var(--text); font-weight: 700; font-size: 0.7rem; text-transform: uppercase; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
        .nav-back:hover { color: var(--primary); transform: translateX(-5px); }
        .nav-logo { font-family: 'Playfair Display'; font-size: 1.4rem; font-weight: 700; text-align: center; }

        /* --- HEADER --- */
        .hero-info { padding: 80px 20px; text-align: center; }
        .hero-info h1 { font-family: 'Playfair Display'; font-size: 3rem; margin-bottom: 10px; }
        .hero-info p { font-style: italic; font-family: 'Lora'; color: var(--primary); font-size: 1.1rem; }

        /* --- CONTENITORE SCACCHIERA (Identico a poi-container) --- */
        .poi-container { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }
        
        .poi-item { 
            display: flex; align-items: center; gap: 50px; margin-bottom: 100px; 
            opacity: 0; transform: translateY(30px); transition: all 0.8s ease;
        }
        .poi-item.visible { opacity: 1; transform: translateY(0); }
        .poi-item:nth-child(even) { flex-direction: row-reverse; }

        .poi-image { 
            flex: 1; border-radius: 30px; overflow: hidden; 
            box-shadow: 0 20px 40px rgba(0,0,0,0.1); height: 400px;
        }
        .poi-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
        .poi-item:hover .poi-image img { transform: scale(1.05); }

        .poi-text { flex: 1; }
        .poi-text span { color: var(--primary); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
        .poi-text h2 { font-family: 'Playfair Display'; font-size: 2rem; margin: 15px 0; color: #333; }
        
        /* Descrizione: Lora Italic, pulita e proporzionata */
        .poi-text p { 
            font-family: 'Lora'; 
            font-style: italic; 
            line-height: 1.8; 
            color: #666; 
            font-size: 1rem;
            margin-bottom: 25px;
        }

        /* --- TASTO PORTAMI LÌ (Copia esatta btn-map) --- */
        .btn-map { 
            display: inline-flex; 
            align-items: center; 
            justify-content: center;
            gap: 10px;
            padding: 12px 25px; 
            border: 2px solid var(--primary); 
            border-radius: 50px;
            text-decoration: none; 
            color: var(--primary); 
            font-size: 0.7rem; 
            font-weight: 700;
            text-transform: uppercase; 
            letter-spacing: 1px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: transparent;
        }

        .btn-map:hover { 
            background: var(--primary); 
            color: white !important; 
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 5px 15px rgba(166, 124, 82, 0.3);
        }

        .btn-map i { transition: transform 0.3s ease; }
        .btn-map:hover i { transform: translateX(5px); }

        @media (max-width: 768px) {
            .poi-item, .poi-item:nth-child(even) { flex-direction: column; text-align: center; gap: 20px; }
            .poi-image { height: 250px; width: 100%; }
        }

        /* --- NUOVO TASTO CHIAMA --- */
        .btn-call {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-left: 20px; /* Spazio dal tasto mappa */
            text-decoration: none;
            color: var(--text);
            font-family: 'Montserrat', sans-serif;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: 0.3s;
            border-bottom: 1px solid transparent;
            padding-bottom: 2px;
        }

        .btn-call i {
            font-size: 0.8rem;
            color: var(--primary);
        }

        .btn-call:hover {
            color: var(--primary);
            border-bottom: 1px solid var(--primary);
        }

        /* Fix per mobile: mette i tasti uno sopra l'altro se lo schermo è piccolo */
        @media (max-width: 480px) {
            .btn-call { margin-left: 0; margin-top: 15px; }
            .poi-text { display: flex; flex-direction: column; align-items: center; }
        }

        /* --- SCRITTA SPIAGGIA LIBERA --- */
        .text-free {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-left: 20px;
            color: #999; /* Grigio chiaro per indicare che non è un tasto cliccabile */
            font-family: 'Montserrat', sans-serif;
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
        }

        .text-free i {
            font-size: 0.8rem;
            color: #ccc;
        }

        @media (max-width: 480px) {
            .text-free { margin-left: 0; margin-top: 15px; }
        }

        .poi-text {
            display: flex;
            flex-direction: column; /* Mette gli elementi uno sotto l'altro */
            align-items: center;    /* Centra tutto orizzontalmente: span, h2, p e tasto */
            text-align: center;     /* Centra il testo dentro i paragrafi */
        }

        /* Se vuoi distanziare un po' il tasto dal testo sopra */
        .poi-text .btn-map, .poi-text .wa-contact {
            margin-top: 20px;
        }

        /* Impedisce a Google di spostare il layout */
        #google_translate_element, .skiptranslate, .goog-te-banner-frame { 
            display: none !important; 
        }
        body { top: 0px !important; position: static !important; }

        /* Stile Montserrat per il menu lingua */
        .lang-current, .lang-dropdown-content a {
            font-family: 'Montserrat', sans-serif !important;
            text-transform: uppercase !important;
            font-weight: 700 !important;
        }

/*spiagge*/

        :root { --primary: #a67c52; --text: #333; --bg: #F5F0E6; }
        body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Montserrat', sans-serif; overflow-x: hidden; }

        /* --- NAVBAR --- */
        nav { 
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            align-items: center; 
            padding: 15px 40px;
            background: rgba(245, 240, 230, 0.95);
            backdrop-filter: blur(10px);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(166,124,82,0.15);
        }

        .nav-back {
            text-decoration: none;
            color: var(--text);
            font-weight: 700;
            font-size: 0.7rem;
            text-transform: uppercase;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: 0.3s;
        }

        .nav-back:hover {
            color: var(--primary);
            transform: translateX(-5px);
        }

        .nav-logo {
            font-family: 'Playfair Display';
            font-size: 1.4rem;
            font-weight: 700;
            text-align: center;
        }

        /* --- HEADER --- */
        .hero-info {
            padding: 80px 20px;
            text-align: center;
        }

        .hero-info h1 {
            font-family: 'Playfair Display';
            font-size: 3rem;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .hero-info p {
            font-style: italic;
            font-family: 'Lora';
            color: var(--primary);
            font-size: 1.1rem;
        }

        /* --- CONTENITORE SCACCHIERA --- */
        .poi-container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .poi-item {
            display: flex;
            align-items: center;
            gap: 50px;
            margin-bottom: 100px;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s ease;
        }

        .poi-item.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .poi-item:nth-child(even) {
            flex-direction: row-reverse;
        }

        .poi-image {
            flex: 1;
            border-radius: 30px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            height: 350px;
        }

        .poi-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: 0.5s;
        }

        .poi-item:hover .poi-image img {
            transform: scale(1.05);
        }

        /* --- TESTO --- */
        .poi-text {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            width: 100%;
        }

        .poi-text span {
            display: block;
            width: 100%;
            text-align: center;
            margin-bottom: 10px;
            color: var(--primary);
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .poi-text h2 {
            font-family: 'Playfair Display';
            font-size: 1.8rem;
            margin: 15px 0;
            color: #333;
            text-align: center;
        }

        .poi-text p {
            font-family: 'Lora';
            font-style: italic;
            line-height: 1.7;
            color: #666;
            font-size: 0.95rem;
            margin-bottom: 25px;
            text-align: center;
        }

        /* --- CTA --- */
        .actions {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            margin-top: 20px;
            flex-wrap: nowrap;
        }

        .actions .btn-map {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            gap: 10px;
            padding: 12px 25px;
            border: 2px solid var(--primary);
            border-radius: 50px;
            text-decoration: none;
            color: var(--primary);
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: 0.3s;
            margin: 0 !important;
            width: auto !important;
            flex: 0 0 auto;
        }

        .actions .btn-map:hover {
            background: var(--primary);
            color: white !important;
            transform: translateY(-3px);
        }

        .actions .text-free {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--primary);
            white-space: nowrap;
            margin: 0 !important;
            flex: 0 0 auto;

            position: relative;
            top: 2px; /* ← micro correzione verticale */
        }

        /* Reset SOLO dentro la CTA della pagina spiagge */
        .poi-text .actions a,
        .poi-text .actions .btn-map,
        .poi-text .actions .text-free {
            margin: 0 !important;
            width: auto !important;
        }

        /* --- RESPONSIVE --- */
        @media (max-width: 768px) {
            .poi-item,
            .poi-item:nth-child(even) {
                flex-direction: column !important;
                text-align: center;
                gap: 20px;
            }

            .poi-image {
                height: 250px;
                width: 100%;
            }

            .actions {
                justify-content: center;
                gap: 15px;
            }
        }

        @media (max-width: 480px) {
            .actions {
                flex-direction: column;
                gap: 12px;
            }
        }

        /* Impedisce a Google di spostare il layout */
        #google_translate_element,
        .skiptranslate,
        .goog-te-banner-frame { 
            display: none !important; 
        }

        body {
            top: 0px !important;
            position: static !important;
        }

        /* Stile Montserrat per il menu lingua */
        .lang-current,
        .lang-dropdown-content a {
            font-family: 'Montserrat', sans-serif !important;
            text-transform: uppercase !important;
            font-weight: 700 !important;
        }

/*sapori*/

:root { --primary: #a67c52; --text: #333; --bg: #F5F0E6; --whatsapp: #25D366; }
        body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Montserrat', sans-serif; overflow-x: hidden; }
        
        /* --- NAVBAR --- */
        nav { 
            display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; 
            padding: 15px 40px; background: rgba(245, 240, 230, 0.95); backdrop-filter: blur(10px);
            position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(166,124,82,0.15);
        }
        .nav-back { text-decoration: none; color: var(--text); font-weight: 700; font-size: 0.7rem; text-transform: uppercase; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
        .nav-back:hover { color: var(--primary); transform: translateX(-5px); }
        .nav-logo { font-family: 'Playfair Display'; font-size: 1.4rem; font-weight: 700; text-align: center; }

        /* --- HEADER --- */
        .hero-info { padding: 80px 20px; text-align: center; }
        .hero-info h1 { font-family: 'Playfair Display'; font-size: 3rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 2px; }
        .hero-info p { font-style: italic; font-family: 'Lora'; color: var(--primary); font-size: 1.1rem; }

        /* --- CONTENITORE SCACCHIERA --- */
        .poi-container { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }
        .poi-item { display: flex; align-items: center; gap: 50px; margin-bottom: 100px; opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
        .poi-item.visible { opacity: 1; transform: translateY(0); }
        .poi-item:nth-child(even) { flex-direction: row-reverse; }

        .poi-image { flex: 1; border-radius: 30px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); height: 350px; }
        .poi-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
        .poi-item:hover .poi-image img { transform: scale(1.05); }

        .poi-text { flex: 1; }
        .poi-text span { color: var(--primary); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
        .poi-text h2 { font-family: 'Playfair Display'; font-size: 1.8rem; margin: 15px 0; color: #333; }
        .poi-text p { font-family: 'Lora'; font-style: italic; line-height: 1.7; color: #666; font-size: 0.95rem; margin-bottom: 25px; }

        /* --- WHATSAPP CTA --- */
        .wa-contact {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            color: var(--text);
            font-size: 0.8rem;
            font-weight: 700;
            transition: 0.3s;
            border-bottom: 1px solid transparent;
        }
        .wa-contact i { color: var(--whatsapp); font-size: 1.4rem; }
        .wa-contact:hover { color: var(--primary); border-bottom: 1px solid var(--primary); }

        .poi-text {
            display: flex;
            flex-direction: column; /* Mette gli elementi uno sotto l'altro */
            align-items: center;    /* Centra tutto orizzontalmente: span, h2, p e tasto */
            text-align: center;     /* Centra il testo dentro i paragrafi */
        }

        /* Se vuoi distanziare un po' il tasto dal testo sopra */
        .poi-text .btn-map, .poi-text .wa-contact {
            margin-top: 20px;
        }

        @media (max-width: 768px) {
            .poi-item, .poi-item:nth-child(even) { flex-direction: column !important; text-align: center; gap: 20px; }
            .poi-image { height: 250px; width: 100%; }
        }

        /* Impedisce a Google di spostare il layout */
        #google_translate_element, .skiptranslate, .goog-te-banner-frame { 
            display: none !important; 
        }
        body { top: 0px !important; position: static !important; }

        /* Stile Montserrat per il menu lingua */
        .lang-current, .lang-dropdown-content a {
            font-family: 'Montserrat', sans-serif !important;
            text-transform: uppercase !important;
            font-weight: 700 !important;
        }

/*attività*/

:root { --primary: #a67c52; --text: #333; --bg: #F5F0E6; }
        body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Montserrat', sans-serif; overflow-x: hidden; }
        
        /* --- NAVBAR --- */
        nav { 
            display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; 
            padding: 15px 40px; background: rgba(245, 240, 230, 0.95); backdrop-filter: blur(10px);
            position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(166,124,82,0.15);
        }
        .nav-back { text-decoration: none; color: var(--text); font-weight: 700; font-size: 0.7rem; text-transform: uppercase; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
        .nav-back:hover { color: var(--primary); transform: translateX(-5px); }
        .nav-logo { font-family: 'Playfair Display'; font-size: 1.4rem; font-weight: 700; text-align: center; }

        /* --- HEADER --- */
        .hero-info { padding: 80px 20px; text-align: center; }
        .hero-info h1 { font-family: 'Playfair Display'; font-size: 3rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 2px; }
        .hero-info p { font-style: italic; font-family: 'Lora'; color: var(--primary); font-size: 1.1rem; }

        /* --- CONTENITORE SCACCHIERA --- */
        .poi-container { max-width: 1000px; margin: 0 auto; padding: 40px 20px; }
        .poi-item { display: flex; align-items: center; gap: 50px; margin-bottom: 100px; opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
        .poi-item.visible { opacity: 1; transform: translateY(0); }
        .poi-item:nth-child(even) { flex-direction: row-reverse; }

        .poi-image { flex: 1; border-radius: 30px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); height: 400px; }
        .poi-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
        .poi-item:hover .poi-image img { transform: scale(1.05); }

        .poi-text { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
        .poi-text span { color: var(--primary); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; display: block; }
        .poi-text h2 { font-family: 'Playfair Display'; font-size: 1.8rem; margin: 15px 0; color: #333; }
        .poi-text p { font-family: 'Lora'; font-style: italic; line-height: 1.8; color: #666; font-size: 0.95rem; margin-bottom: 25px; }

        /* --- BOTTONE MAPPE --- */
        .btn-map { 
            display: inline-flex; 
            align-items: center; 
            justify-content: center;
            gap: 10px;
            margin-top: 15px;
            padding: 12px 25px; 
            border: 2px solid var(--primary); 
            border-radius: 50px;
            text-decoration: none; 
            color: var(--primary); 
            font-size: 0.7rem; 
            font-weight: 700;
            text-transform: uppercase; 
            letter-spacing: 1px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: transparent;
        }

        .btn-map:hover { 
            background: var(--primary); 
            color: white !important; 
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 5px 15px rgba(166, 124, 82, 0.3);
        }

        .btn-map i { transition: transform 0.3s ease; }
        .btn-map:hover i { transform: translateX(5px); }

        @media (max-width: 768px) {
            .poi-item, .poi-item:nth-child(even) { flex-direction: column !important; text-align: center; gap: 20px; }
            .poi-image { height: 250px; width: 100%; }
            .hero-info h1 { font-size: 2.2rem; }
            nav { padding: 15px 20px; }
        }

        /* Impedisce a Google di spostare il layout */
        #google_translate_element, .skiptranslate, .goog-te-banner-frame { 
            display: none !important; 
        }
        body { top: 0px !important; position: static !important; }

        /* Stile Montserrat per il menu lingua */
        .lang-current, .lang-dropdown-content a {
            font-family: 'Montserrat', sans-serif !important;
            text-transform: uppercase !important;
            font-weight: 700 !important;
        }

/*dintorni*/

:root { 
            --primary: #a67c52; 
            --bg: #f5f0e6; 
            --card-bg: #ffffff;
            --text: #3d3d3d; 
        }

        body { 
            font-family: 'Lora', serif; 
            background: var(--bg); 
            color: var(--text); 
            margin: 0; padding: 0;
            opacity: 0; transform: translateY(20px);
            animation: fadeIn 0.8s ease-out forwards;
        }

        @keyframes fadeIn {
            to { opacity: 1; transform: translateY(0); }
        }

        /* Navbar Coerente */
        /* Navbar con Ombra Elegante */
        nav { 
            display: grid; 
            grid-template-columns: 1fr auto 1fr; 
            align-items: center; 
            padding: 15px 40px;
            background: rgba(245, 240, 230, 0.95); 
            backdrop-filter: blur(10px);
            position: sticky; 
            top: 0; 
            z-index: 1000;
            /* L'effetto ombra che hai chiesto */
            box-shadow: 0 4px 20px rgba(166, 124, 82, 0.15); 
            border-bottom: 1px solid rgba(166, 124, 82, 0.1);
        }

        /* Effetto dinamico per "Torna al Sito" */
        .nav-back {
            text-decoration: none; 
            color: var(--text); 
            font-family: 'Montserrat'; 
            font-weight: 700; 
            font-size: 0.75rem; 
            text-transform: uppercase; 
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s ease;
            justify-self: start;
        }

        .nav-back i {
            transition: transform 0.3s ease;
        }

        /* Quando l'utente passa il mouse sopra */
        .nav-back:hover {
            color: var(--primary);
            transform: translateX(-5px); /* Sposta leggermente a sinistra */
        }

        .nav-back:hover i {
            transform: scale(1.2); /* Ingrandisce la freccetta */
        }

        /* Logo Centrale */
        .nav-logo {
            font-family: 'Playfair Display'; 
            font-weight: 700; 
            font-size: 1.4rem; 
            justify-self: center;
            color: var(--text);
            /* Ombra leggera sotto il testo del logo */
            text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
        }

        .container { max-width: 1000px; margin: 40px auto; padding: 20px; text-align: center; }

        h1 { font-family: 'Playfair Display'; font-size: 2.8rem; margin-bottom: 10px; color: #2c2c2c; }
        .subtitle { font-family: 'Montserrat'; font-size: 0.8rem; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 40px; }

        /* Contenitore Calendario Premium */
        .calendar-wrapper {
            background: var(--card-bg);
            padding: 15px;
            border-radius: 30px;
            box-shadow: 0 20px 50px rgba(166, 124, 82, 0.15);
            border: 1px solid #e8e0d0;
            overflow: hidden;
            position: relative;
            transition: transform 0.3s ease;
        }
        .calendar-wrapper:hover { transform: translateY(-5px); }

        iframe { border: none; border-radius: 20px; }

        /* Tasti Portali Esterni */
        .portal-links {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-top: 40px;
        }
        .portal-btn {
            display: flex; align-items: center; justify-content: center; gap: 10px;
            padding: 15px; border-radius: 15px; text-decoration: none;
            font-family: 'Montserrat'; font-weight: 700; font-size: 0.75rem;
            color: white; transition: 0.3s;
        }
        .btn-booking { background: #003580; }
        .btn-airbnb { background: #FF5A5F; }
        .portal-btn:hover { transform: translateY(-3px); opacity: 0.9; }

        footer { margin-top: 60px; padding: 40px; font-size: 0.8rem; color: #888; }

        @media (max-width: 768px) {
            h1 { font-size: 2rem; }
            nav { padding: 15px 20px; }
        }

        /* Impedisce a Google di spostare il layout */
        #google_translate_element, .skiptranslate, .goog-te-banner-frame { 
            display: none !important; 
        }
        body { top: 0px !important; position: static !important; }

        /* Stile Montserrat per il menu lingua */
        .lang-current, .lang-dropdown-content a {
            font-family: 'Montserrat', sans-serif !important;
            text-transform: uppercase !important;
            font-weight: 700 !important;
        }

/* calendario */        

/* FORZATURA MODALE */
#m.modal {
    display: none; /* Viene cambiato in 'flex' da JS */
    position: fixed !important;
    z-index: 999999 !important;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8) !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(5px);
}

#m .modal-content {
    display: block !important; /* Forza la comparsa del box */
    background-color: white !important;
    margin: auto;
    padding: 30px !important;
    border-radius: 20px !important;
    width: 90% !important;
    max-width: 400px !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    text-align: center;
}

/* Stile per i tasti dentro la modale */
.modal-btn-group a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    color: white !important;
    font-family: sans-serif;
    transition: transform 0.2s;
}

.modal-btn-group a:hover {
    transform: scale(1.02);
}

/* STILE TASTO HEADER */
.nuovo-tasto-prenota {
    background-color: #a67c52;
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.nuovo-tasto-prenota:hover {
    transform: scale(1.05);
    background-color: #8e6843;
}

/* STILE BOTTONI DENTRO IL POPUP */
.link-prenota-wa, .link-prenota-bk, .link-prenota-ab, .link-prenota-dir {
    display: block;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    color: white !important;
    font-family: sans-serif;
}

.link-prenota-wa { background: #25D366; }
.link-prenota-bk { background: #003580; }
.link-prenota-ab { background: #FF5A5F; }
.link-prenota-dir { background: #a67c52; }

/* RESET E ANIMAZIONE */
#box_bianco {
    animation: comparsaMorbida 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes comparsaMorbida {
    from { opacity: 0; transform: scale(0.95) translateY(30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* TASTI POPUP */
.btn-popup {
    display: block !important;
    padding: 16px !important;
    border-radius: 15px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.9rem !important;
    color: white !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    border: none !important;
}

.btn-popup:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 20px rgba(0,0,0,0.15) !important;
    filter: brightness(1.05);
}

/* COLORI TASTI */
.btn-whatsapp { background: #25D366 !important; }
.btn-booking  { background: #003580 !important; }
.btn-airbnb   { background: #FF5A5F !important; }
.btn-diretto  { background: #a67c52 !important; } /* Colore Oro/Bronzo di Civico34 */

/* --- STILE HEADER CENTRATO (HERO-INFO) --- */
.hero-info {
    background-color: #f4eee8; /* Il crema leggermente più scuro che volevi */
    padding: 100px 20px 80px 20px; /* Crea lo spazio verticale */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-container {
    max-width: 800px;
}

.hero-info h1 {
    font-family: 'Playfair Display', serif !important;
    font-size: 3.2rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-info .divider {
    width: 50px;
    height: 2px;
    background-color: #a67c52; /* Colore Oro */
    margin: 20px auto;
}

.hero-info p {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1.1rem;
    color: #7a6b5c;
    line-height: 1.6;
    margin-top: 10px;
    letter-spacing: 0.5px;
}

/* Fix per Mobile */
@media (max-width: 768px) {
    .hero-info h1 { font-size: 2.2rem; }
    .hero-info { padding: 60px 20px; }
}

/* --- SEZIONE RICONOSCIMENTI --- */
.recognition-section {
    background-color: #fdfaf5;
    padding: 100px 20px;
    text-align: center;
    border-top: 1px solid rgba(166, 124, 82, 0.1);
    width: 100%;
    box-sizing: border-box;
}

/* Animazione di entrata */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.award-card-animated {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.award-card-delay {
    animation-delay: 0.3s;
}

/* Stile comune dei riquadri */
.award-item {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    border: 1px solid rgba(166, 124, 82, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.award-item:hover {
    transform: translateY(-5px);
}

.award-footer-line {
    border-top: 1px solid #eee;
    padding-top: 20px;
    width: 100%;
    margin-top: auto;
}

/* --- SEZIONE RICONOSCIMENTI CIVICO34 --- */
.c34-recognition {
    background-color: #fdfaf5 !important;
    padding: 100px 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* Animazione */
/* --- SEZIONE RICONOSCIMENTI CIVICO34 --- */
body .c34-recognition {
    background-color: #f4eee8 !important; /* Colore crema identico all'header */
    padding: 100px 20px !important;
    text-align: center;
    width: 100%;
    display: block !important;
    box-sizing: border-box;
}

/* Animazione */
/* --- ANIMAZIONE RICONOSCIMENTI --- */

/* 1. Definiamo l'animazione con un nome unico */
/* --- ANIMAZIONE RICONOSCIMENTI FLUIDA --- */

/* --- ANIMAZIONE STANDARD COERENTE CON IL SITO --- */



/* --- NUOVA ANIMAZIONE RICONOSCIMENTI --- */
/* --- SEZIONE RICONOSCIMENTI: STILE E BORDO ANIMATO --- */

/* --- SEZIONE RICONOSCIMENTI: VERSIONE DEFINITIVA --- */

/* Forza lo stile del riquadro */
/* --- SEZIONE RICONOSCIMENTI: EFFETTO BORDO FLUIDO --- */

.c34-award-card {
    background: #ffffff !important;
    border-radius: 15px !important;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06) !important;
    padding: 40px !important;
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative;
    
    /* BORDO INIZIALE: quasi invisibile */
    border: 2px solid rgba(166, 124, 82, 0.1) !important;
    
    /* TRANSIZIONE: regola la fluidità del colore e del movimento */
    transition: transform 0.6s ease, box-shadow 0.6s ease, border-color 1.2s ease-in-out !important;
}

/* ANIMAZIONE DEL COLORE: si attiva quando AOS fa apparire il riquadro */
.c34-award-card.aos-animate {
    border-color: #a67c52 !important; /* Il bordo diventa oro */
}

/* HOVER: alzata fluida */
.c34-award-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(166,124,82,0.12) !important;
    border-color: #a67c52 !important;
}

/* LINEA INTERNA */
.c34-footer-line {
    border-top: 1px solid #eee !important;
    padding-top: 20px !important;
    width: 100% !important;
    margin-top: auto !important;
}

/* --- TITOLO DISPONIBILITÀ STILE ESPERIENZE --- */
/* --- FORZATURA TITOLO DISPONIBILITÀ --- */
/* --- RESET E FORZATURA TITOLO DISPONIBILITÀ --- */
.availability-section-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Centra orizzontalmente */
    justify-content: center !important; /* Centra verticalmente */
    text-align: center !important;
    min-height: 200px; /* Regola questa altezza in base a quanto spazio vuoi */
    width: 100% !important;
    margin: 0 auto !important;
}

.availability-title {
    font-family: 'Playfair Display', serif !important;
    font-size: 3.5rem !important;
    color: #3b3636 !important;
    font-weight: 400 !important;
    font-style: italic !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    line-height: 1.2 !important;
    margin: 0 0 10px 0 !important; /* Rimuove margini che sfasano la centratura */
    padding: 0 !important;
}

.availability-subtitle {
    font-family: 'Lora', serif !important;
    font-style: italic !important;
    font-size: 1.1rem !important;
    color: #7a6b5c !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- GALLERIA ORIGINALE RIPRISTINATA --- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px 0;
}

.gallery img {
    width: 100%;
    aspect-ratio: 1 / 1; 
    object-fit: cover;
    padding: 6px;
    background: #fff;
    border: 1px solid #e0d8c8;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    filter: sepia(0.1) brightness(0.95);
}

.gallery img:hover {
    transform: scale(1.05) rotate(1deg);
    filter: sepia(0) brightness(1.05);
    box-shadow: 0 12px 25px rgba(166, 124, 82, 0.2);
}

/* Fix per Mobile */
@media (max-width: 600px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Lightbox2: fix z-index senza conflitti con ID personalizzati */
#lightboxOverlay {
    z-index: 2147483646 !important;
}

#lightbox {
    z-index: 2147483647 !important;
}

.lb-outerContainer,
.lb-dataContainer,
.lb-nav {
    z-index: 2147483647 !important;
}
