
        * {
            box-sizing: border-box;
        }

        :root {
            --text-main: #6a544a;
            --text-soft: #8b7265;
        }

        html {
            scroll-behavior: smooth;
        }

        html, body {
            margin: 0;
            padding: 0;
            width: 100%;
            overflow-x: hidden;
            font-family: "Lora", serif;
            color: var(--text-main);
        }

body {
    /* Un colore di base caldo per evitare il bianco flash prima del caricamento */
    background-color: #f9f7f4; 

    /* Immagine botanica: elegante, sfocata e artistica */
    background-image: url("/img/sfondo.png");
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* L'immagine resta ferma, il contenuto scorre sopra */
    position: relative;
}

/* Aggiungiamo un "velo" sopra l'immagine per garantire che i testi si leggano bene */
body::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Overlay bianco seta leggermente trasparente */
    background: rgba(255, 255, 255, 0.5); 
    pointer-events: none;
    z-index: -1;
}

        /* HEADER */
        .header {
            padding: 20px 0 10px;
            text-align: center;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
        }

       .logo img {
            width: 350px; 
            height: auto; 
            max-width: 85%; 
        }

        /* HERO */
        .hero {
            min-height: 50vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px 20px;
            text-align: center;
            position: relative;
        }

        .hero-inner {
            max-width: 800px;
            margin: 0 auto;
        }

        .hero-title {
            font-family: "Tangerine", cursive;
            font-size: 56px;
            line-height: 1.05;
            margin: 0 0 16px;
            font-weight: 700;
        }

        .hero-subtitle {
            font-size: 18px;
            line-height: 1.7;
            color: var(--text-soft);
            max-width: 600px;
            margin: 0 auto 32px;
        }

        .hero-cta {
            display: flex;
            justify-content: center;
            gap: 12px;
        }

        .btn {
            padding: 10px 22px;
            font-size: 16px;
            text-decoration: none;
            border-radius: 999px;
            border: 1px solid transparent;
            transition: 0.25s ease;
            font-family: "Lora", serif;
        }

        .btn-primary {
            background-color: var(--text-main);
            color: white;
        }

        .btn-secondary {
            background-color: transparent;
            color: var(--text-main);
            border-color: rgba(106, 84, 74, 0.35);
        }

        /* MENU DESKTOP */
        .main-nav {
            position: fixed;
            bottom: 50px;
            left: 50%;
            transform: translateX(-50%);
            padding: 12px 32px;
            display: flex;
            justify-content: center;
            gap: 32px;
            background: rgba(255, 255, 255, 0.65);
            border: 1px solid rgba(203, 181, 160, 0.45);
            border-radius: 40px;
            backdrop-filter: blur(8px);
            width: fit-content;
            z-index: 900;
        }

        .main-nav a {
            text-decoration: none;
            color: var(--text-main);
            font-size: 16px;
        }

        footer {
            padding: 48px 7vw 120px;
            text-align: center;
            font-size: 14px;
            color: var(--text-soft);
        }
        .portfolio-item:hover img {
        transform: scale(1.1);
    }
    .portfolio-item:hover .portfolio-overlay {
        opacity: 1 !important;
    }


.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.slider-wrapper::-webkit-scrollbar { display: none; }

.slider-wrapper img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
}

.slider-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255,255,255,0.8);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 10px;
    text-transform: uppercase;
    color: var(--text-main);
}


.portfolio-card {
        background: #fdfbf9;
        border-radius: 20px;
        padding: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }

    .slider-container {
        position: relative;
        width: 100%;
        aspect-ratio: 9/16; 
        border-radius: 12px;
        overflow: hidden;
    }

    .slider-wrapper {
        display: flex;
        width: 100%;
        height: 100%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .slider-wrapper::-webkit-scrollbar { display: none; }

    .slider-wrapper img {
        flex: 0 0 100%;
        width: 100%;
        height: 100%;
        object-fit: cover;
        scroll-snap-align: start;
    }

    /* Stile Frecce */
    .nav-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.7);
        color: var(--text-main);
        border: none;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        transition: 0.3s;
        backdrop-filter: blur(4px);
    }

    .nav-arrow:hover { background: rgba(255, 255, 255, 1); }
    .nav-arrow.prev { left: 10px; }
    .nav-arrow.next { right: 10px; }

    .project-info { text-align: center; }

        /* ---------------- MOBILE ---------------- */
        .main-nav-mobile { display: none; }
        .nav-mobile-menu { display: none; }

        @media (max-width: 768px) {
            .main-nav { display: none; }

            .main-nav-mobile {
                display: flex;
                position: fixed;
                bottom: 50px;
                left: 50%;
                transform: translateX(-50%);
                width: 75%;
                max-width: 420px;
                padding: 12px 22px;
                justify-content: space-between;
                align-items: center;
                background: rgba(255, 255, 255, 0.75);
                border: 1px solid rgba(203, 181, 160, 0.45);
                border-radius: 40px;
                backdrop-filter: blur(10px);
                z-index: 10002;
            }

            .nav-mobile-logo {
                font-family: "Tangerine", cursive;
                font-size: 32px;
                font-weight: 700;
                text-decoration: none;
                color: var(--text-main);
            }

            /* HAMBURGER BUTTON */
            .nav-mobile-toggle {
                display: block;
                width: 30px;
                height: 24px;
                background: none;
                border: none;
                padding: 0;
                cursor: pointer;
                position: relative;
                z-index: 10003;
            }

            .nav-mobile-toggle span {
                display: block;
                position: absolute;
                height: 3px;
                width: 100%;
                background: var(--text-main);
                border-radius: 10px;
                opacity: 1;
                left: 0;
                transform: rotate(0deg);
                transition: .25s ease-in-out;
            }

            /* Posizioni iniziali linee */
            .nav-mobile-toggle span:nth-child(1) { top: 0px; }
            .nav-mobile-toggle span:nth-child(2) { top: 10px; }
            .nav-mobile-toggle span:nth-child(3) { top: 20px; }

            /* Animazione X */
            .nav-mobile-toggle.open span:nth-child(1) {
                top: 10px;
                transform: rotate(135deg);
            }
            .nav-mobile-toggle.open span:nth-child(2) {
                opacity: 0;
                left: -40px;
            }
            .nav-mobile-toggle.open span:nth-child(3) {
                top: 10px;
                transform: rotate(-135deg);
            }

            /* FULLSCREEN MENU */
            .nav-mobile-menu {
                display: flex;
                position: fixed;
                inset: 0;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                gap: 30px;
                background: rgba(255, 255, 255, 0.98);
                backdrop-filter: blur(20px);
                opacity: 0;
                pointer-events: none;
                transition: opacity 0.4s ease;
                z-index: 10001;
            }

            .nav-mobile-menu.open {
                opacity: 1;
                pointer-events: auto;
            }

            .nav-mobile-menu a {
                text-decoration: none;
                color: var(--text-main);
                font-size: 24px;
                font-family: "Lora", serif;
            }
        }


        .price-card {
        background: white;
        flex: 1;
        min-width: 280px;
        max-width: 350px;
        padding: 40px 30px;
        border-radius: 20px;
        border: 1px solid rgba(106, 84, 74, 0.1);
        text-align: center;
        transition: all 0.3s ease;
        position: relative;
    }

    .price-card.featured {
        border: 2px solid var(--text-main);
        transform: scale(1.05);
        box-shadow: 0 20px 40px rgba(106, 84, 74, 0.1);
        z-index: 2;
    }

    .badge {
        position: absolute;
        top: -15px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--text-main);
        color: white;
        padding: 5px 20px;
        border-radius: 20px;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .package-name {
        font-family: 'Lora', serif;
        font-size: 24px;
        margin-bottom: 10px;
        color: var(--text-main);
    }

    .price {
        font-size: 38px;
        font-weight: 500;
        margin-bottom: 10px;
        color: var(--text-main);
    }

    .features-list {
        list-style: none;
        padding: 0;
        margin: 30px 0;
        text-align: left;
    }

    .features-list li {
        font-size: 14px;
        margin-bottom: 12px;
        color: var(--text-soft);
        display: flex;
        align-items: center;
    }

    .features-list li::before {
        content: "—";
        margin-right: 10px;
        color: var(--text-main);
    }

    .btn-price {
        display: block;
        padding: 12px;
        border: 1px solid var(--text-main);
        border-radius: 8px;
        text-decoration: none;
        color: var(--text-main);
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: 0.3s;
    }

    .btn-price:hover {
        background: var(--text-main);
        color: white;
    }

    .featured-btn {
        background: var(--text-main);
        color: white;
    }

    @media (max-width: 768px) {
        .price-card.featured {
            transform: scale(1);
            margin: 20px 0;
        }
    }

    .cta-container {
    text-align: center;
    margin-top: 40px; /* Spazio sopra il pulsante */
    margin-bottom: 40px;
}

.btn-brochure {
    display: inline-block;
    padding: 15px 30px;
    background-color: transparent;
    color: #6a544a; /* Il tuo colore scuro */
    border: 2px solid #8b7265; /* Il tuo colore bronzo chiaro */
    text-decoration: none;
    font-family: 'Lora', serif; /* Il font che hai scelto per le scritte piccole */
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 4px; /* Un accenno di arrotondamento per eleganza */
}

.btn-brochure:hover {
    background-color: #8b7265;
    color: #ffffff;
    transform: translateY(-3px); /* Effetto sollevamento */
    box-shadow: 0 4px 15px rgba(139, 114, 101, 0.3);
}
