/* =================================
   INTRO FESTIVAL OLIDAY / YOGAFEST
================================= */
.single-edizione

   {
    background:
        url('/wp-content/uploads/2026/02/mandala_chiaro.png') center top/900px no-repeat,

        /* RADIALI SUPER LEGGERI (non pieni, non sabbia) */
        radial-gradient(circle at top left,
            rgba(220, 235, 255, 0.35) 0%,
            transparent 60%
        ),
        radial-gradient(circle at bottom right,
            rgba(230, 220, 255, 0.30) 0%,
            transparent 60%
        ),

        /* BASE FREDDA E LEGGERISSIMA */
        #eef5ff;

    background-attachment: fixed;
    background-size: cover;
}

.festival-intro {
    position: relative;
    height: 800px;
    overflow: hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;

    background:
    radial-gradient(circle at center,
    #eee4f5 0%,
    #f8f1df 45%,
    #ffffff 100%);

    border-radius:30px;

    border:12px solid #b8a06a;

    box-shadow:
    0 0 0 8px #d9c7e8,
    0 15px 40px rgba(120,90,60,.18);

}






/* =================
   TITOLO
================= */


.festival-testo {

animation:
comparsa-testo 2s ease 3s forwards;

opacity:0;

}

@keyframes comparsa-testo {

from {
opacity:0;
transform:translateY(30px);
}

to {
opacity:1;
transform:none;
}

}




.data-festival {

    margin-top:20px;

    font-size:25px;

    color:#8b6f9d;

}



.luogo-festival {

    margin-top:12px;

    font-size:20px;

    color:#65745c;

}

.festival-cover {
    position:relative;
    z-index:5;
}


.festival-testo {
    position:relative;
    z-index:6;
}

.mandala {

    position:absolute;

    width:360px;
    height:360px;

    top:-200px;
    left:50%;

    margin-left:-180px;

    z-index:2;

    opacity:0;

    animation:
    scendi-mandala 4s ease forwards,
    gira-mandala 60s linear infinite 4s;

}


.mandala img {

    width:100%;
    height:100%;

}


@keyframes scendi-mandala {

0% {
    top:-200px;
    opacity:0;
    transform:scale(.3);
}


100% {

    top:50px;
    opacity:.55;
    transform:scale(1);

}

}


@keyframes gira-mandala {

from {
    rotate:0deg;
}

to {
    rotate:360deg;
}

}
.festival-testo h1 {

font-family:'Cormorant Garamond', serif;

font-size:clamp(30px,6vw,75px);

font-weight:600;

letter-spacing:2px;

color:#596b56;

}
/* =================
   UCCELLINI
================= */


.uccellino {

    position:absolute;

    z-index:8;

    opacity:.65;

}



.uccellino img {

    width:100%;

}



.u1 {
    width:100px;
    top:-80px;
    left:-100px;
    animation: voloCielo 18s ease-in-out infinite;
}



.u2 {

    width:90px;

    top:180px;

    right:-40px;

    animation: voloCielo 25s ease-in-out infinite;

}



.u3 {

    width:55px;

    top:320px;

    left:-80px;

    opacity:.4;

    animation:voloDestra 30s linear infinite;

}



/* =================
   FOGLIE
================= */


.foglia {

    position:absolute;

    z-index:7;

    font-size:45px;

    opacity:.45;

}



.f1 {

    left:40px;

    top:120px;

    animation:vento 7s ease-in-out infinite;

}


.f2 {

    right:40px;

    top:260px;

    animation:vento 9s ease-in-out infinite reverse;

}



/* =================
   FOTO
================= */


.foto-edizione img {

    width:100%;

    border-radius:25px;

    margin-top:40px;

}



/* =================
   ANIMAZIONI
================= */


@keyframes entrata {

from {

opacity:0;

transform:translateY(40px);

}

to {

opacity:1;

transform:none;

}

}



@keyframes rotazione {

from {

transform:rotate(0deg);

}

to {

transform:rotate(360deg);

}

}



@keyframes vento {

0%,100% {

transform:translate(0,0) rotate(0deg);

}


50% {

transform:translate(25px,20px) rotate(25deg);

}

}



@keyframes voloDestra {

0% {

transform:translateX(-150px);

}


100% {

transform:translateX(120vw);

}

}



@keyframes voloSinistra {

0% {

transform:translateX(150px);

}


100% {

transform:translateX(-120vw);

}

}
@keyframes voloCielo {

0% {
    transform:translate(-100px,-100px) rotate(-15deg);
    opacity:0;
}


15% {
    opacity:.75;
}


40% {
    transform:translate(35vw,120px) rotate(5deg);
}


70% {
    transform:translate(70vw,40px) rotate(-5deg);
}


100% {
    transform:translate(120vw,-40px) rotate(10deg);
    opacity:0;
}

}
.festival-cover {
    position:relative;
    z-index:6;
    width:260px;
    margin:0 auto;
    animation: locandina 4s ease forwards;
}


.festival-cover img {

    width:100%;

    border-radius:18px;

    box-shadow:
    0 20px 40px rgba(60,50,40,.25);

}
@keyframes locandina {

0% {
    transform:scale(1.8) translateY(80px);
    opacity:0;
}


40% {
    opacity:1;
}


100% {
    transform:scale(.65) translateY(0);
}

}
.intro-pulsanti a,
.btn-operatori-edizione,
.btn-programma-edizione {

    display:inline-block;

    margin:10px;

    padding:14px 28px;

    background:#9b7b3f;

    color:#fff;

    border-radius:30px;

    text-decoration:none;

    font-size:17px;

    font-weight:600;

    letter-spacing:.5px;

    box-shadow:
    0 8px 18px rgba(100,70,30,.25);

    transition:.35s ease;

}


.intro-pulsanti a:hover,
.btn-operatori-edizione:hover,
.btn-programma-edizione:hover {

    background:#b89452;

    transform:translateY(-3px);

    box-shadow:
    0 12px 25px rgba(100,70,30,.35);

}

.edizione-contenuti {

    margin-top:50px;

    padding:35px;

    background:
    rgba(255,255,255,.75);

    border-radius:30px;

    border:1px solid rgba(184,160,106,.35);

    box-shadow:
    0 15px 40px rgba(80,60,40,.12);

    backdrop-filter:blur(8px);

}
.edizione-contenuti h2 {

    font-family:'Cormorant Garamond',serif;

    color:#596b56;

    font-size:38px;

}
.edizione-contenuti p,
.edizione-contenuti div {

    color:#4f5148;

    line-height:1.7;

}
@media (max-width: 767px) {

    body.single-edizione .site-header {
        display:none;
    }

}
@media(max-width:767px){

.ast-mobile-header-wrap {
    display:none;
}


.menu-mobile-edizione {

    position:fixed;

    top:15px;
    right:15px;

    z-index:9999;

    display:flex;

    gap:10px;

}


.hamburger-edizione,
.logo-home-mobile {

    width:45px;
    height:45px;

    border-radius:50%;

    background:#9b7b3f;

    color:white;

    display:flex;

    align-items:center;
    justify-content:center;

    text-decoration:none;

    font-size:22px;

}

}
.btn-home-festival {

    display:inline-block;

    margin-top:35px;

    padding:12px 28px;

    background:#9b7b3f;

    color:white !important;

    border-radius:30px;

    text-decoration:none;

    font-size:18px;

    font-weight:600;

    box-shadow:
    0 8px 20px rgba(80,60,30,.25);

    transition:.4s;

}


.btn-home-festival:hover {

    transform:translateY(-4px);

    background:#b89a5a;

}
.video-edizione {
    width:100%;
    text-align:center;
}

.video-edizione > div {
    justify-content:center;
}

.video-wrapper {
    margin-left:auto;
    margin-right:auto;
    max-width:560px;
}

.video-wrapper iframe {
    max-width:100% !important;
}  

.sponsor-edizione .sponsor-grid {
    display:flex;
    justify-content:center;
    align-items:center;
    gap:25px;
    flex-wrap:wrap;
}


.sponsor-edizione .sponsor-grid img {

    width:140px !important;
    height:90px !important;

    max-width:140px !important;
    max-height:90px !important;

    object-fit:contain !important;

}


/* MOBILE */

@media (max-width:767px){

    .sponsor-edizione .sponsor-grid img {

        width:80px !important;
        height:60px !important;

        max-width:80px !important;
        max-height:60px !important;

    }

}
.sponsor-edizione .sponsor-grid img {
    background:white;
    padding:8px;
    border-radius:10px;
}
}
/* ==========================
   CARD CONTENUTI EDIZIONE
========================== */

.contenuti-edizione {

    position:relative;

    margin-top:40px;

    padding:40px;

    background:rgba(255,255,255,.75);

    border-radius:30px;

    box-shadow:0 10px 30px rgba(100,80,50,.12);

    overflow:hidden;

}


/* simbolo decorativo */

.simbolo-indiano {

    position:absolute;

    top:20px;

    right:25px;

    width:90px;

    height:90px;

    opacity:.25;

    animation: gira-simbolo 35s linear infinite;

}


@keyframes gira-simbolo {

from {
    transform:rotate(0deg);
}

to {
    transform:rotate(360deg);
}

}


@media(max-width:767px){

.contenuti-edizione {

    padding:25px;

}
}


.simbolo-indiano {
    position:absolute;
    top:5px;
    right:15px;

    width:150px;
    height:150px;

    opacity:.35;

    z-index:0;

    animation: gira-simbolo 40s linear infinite;
}


@keyframes gira-simbolo {

    from {
        transform:rotate(0deg);
    }

    to {
        transform:rotate(360deg);
    }

}


.faq-edizione{

    margin-top:50px;

    background:#fffdf8;

    border-radius:25px;

    padding:35px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    position:relative;

}

.faq-edizione h2{

    text-align:center;

    color:#7a6330;

    margin-bottom:25px;

}

.faq-edizione details{

    margin-bottom:15px;

    border:1px solid #eadfc7;

    border-radius:12px;

    background:white;

    overflow:hidden;

}

.faq-edizione summary{

    cursor:pointer;

    padding:18px;

    font-size:18px;

    font-weight:600;

    color:#5b6d58;

    list-style:none;

}

.faq-edizione summary::-webkit-details-marker{
    display:none;
}

.faq-edizione summary::before{

    content:"+";

    font-size:24px;

    color:#b38b3f;

    margin-right:12px;

}

.faq-edizione details[open] summary::before{

    content:"–";

}

.faq-risposta{

    padding:0 18px 18px 55px;

    line-height:1.8;

    color:#555;

}
/* SOCIAL EDIZIONE */

.social-edizione {

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:15px;

    margin:35px auto;

}


.btn-social-edizione {

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:12px 28px;

    background:#9caf88;

    color:#fff !important;

    border-radius:30px;

    font-family:'Montserrat',sans-serif;

    font-size:14px;

    font-weight:600;

    letter-spacing:1px;

    text-decoration:none;

    box-shadow:0 6px 18px rgba(156,175,136,.35);

    transition:.3s;

}


.btn-social-edizione:hover {

    transform:translateY(-3px);

    box-shadow:0 10px 25px rgba(156,175,136,.45);

}
.ticket-box{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    padding:14px 18px;
    margin:20px 0;
    background:#fff8e6;
    border:2px solid #f2c94c;
    border-radius:12px;
    flex-wrap:wrap;
}

.ticket-btn{
    display:inline-block;
    background:#8e44ad;
    color:#fff !important;
    text-decoration:none;
    padding:10px 18px;
    border-radius:30px;
    font-weight:700;
    transition:.2s;
}

.ticket-btn:hover{
    background:#73358d;
    transform:translateY(-1px);
}
/* HERO VIDEO */
.hero-mobile{
    position:relative;
    width:100%;
    height:100svh;   /* migliore sui telefoni moderni */
    overflow:hidden;
    display:none;    /* nascosta di default */
}

.hero-mobile video{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.hero-overlay{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    align-items:center;
    text-align:center;
    padding:80px 20px 20px;
    background:rgba(0,0,0,.35);
    color:#fff;
    z-index:2;
}
.hero-overlay h1{
    color:#fff;
    margin:0;
    font-size:2rem;
}

.hero-data,
.hero-luogo{
    margin-top:10px;
    font-size:1rem;
}

.scroll-down{
    position:absolute;
    bottom:30px;
    left:50%;
    transform:translateX(-50%);
    font-size:2rem;
    animation:bounce 2s infinite;
}

@keyframes bounce{
    0%,20%,50%,80%,100%{transform:translateX(-50%) translateY(0);}
    40%{transform:translateX(-50%) translateY(-10px);}
    60%{transform:translateX(-50%) translateY(-5px);}
}

/* SOLO MOBILE */
@media (max-width:767px){
    .hero-mobile{
        display:block;
    }
}
html, body {
    margin:0;
    padding:0;
    overflow-x:hidden;
}

.hero-mobile{
    width:100vw;
    margin-left:calc(50% - 50vw);
}

.hero-card{
    opacity:0;
    transform:translateY(60px);
    transition:all .9s cubic-bezier(.22,.61,.36,1);
}

.hero-card.active{
    opacity:1;
    transform:translateY(0);
}


/* elementi interni */
.reveal-child{
    opacity:0;
    transform:translateY(20px);
    transition:.7s ease;
}

.hero-card.active .reveal-child{
    opacity:1;
    transform:translateY(0);
}


/* cascata interna */
.hero-card.active .reveal-child:nth-child(1){
    transition-delay:.2s;
}

.hero-card.active .reveal-child:nth-child(2){
    transition-delay:.35s;
}

.hero-card.active .reveal-child:nth-child(3){
    transition-delay:.5s;
}


/* seconda card più lenta */
.hero-card:nth-child(2){
    transition-delay:.25s;
}
/* REVEAL HERO */

.festival-intro.reveal{
    opacity:0;
    transform:translateY(50px);
    transition:1s ease;
}

.festival-intro.reveal.active{
    opacity:1;
    transform:translateY(0);
}


/* elementi interni */

.reveal-item{
    opacity:0;
    transform:translateY(25px);
    transition:.8s ease;
}

.festival-intro.active .reveal-item{
    opacity:1;
    transform:translateY(0);
}


.festival-intro.active .festival-cover{
    transition-delay:.3s;
}

.festival-intro.active .festival-testo{
    transition-delay:.5s;
}

.festival-intro.active .intro-pulsanti{
    transition-delay:.7s;
}
.reveal-card{
    opacity:0;
    transform:translateY(80px);
    transition:
        opacity .9s ease,
        transform .9s cubic-bezier(.22,.61,.36,1);
}

.reveal-card.active{
    opacity:1;
    transform:translateY(0);
}
.float-reveal.active{
    animation:floatUp 1.2s ease forwards;
}

@keyframes floatUp{
    0%{
        transform:translateY(40px);
    }
    70%{
        transform:translateY(-5px);
    }
    100%{
        transform:translateY(0);
    }
}
.float-reveal.active{
    animation:float-arrivo .9s ease forwards;
}

@keyframes float-arrivo{
    0%{
        transform:translateY(40px);
    }
    70%{
        transform:translateY(-6px);
    }
    100%{
        transform:translateY(0);
    }
}
.edizione-contenuti.float-reveal{
    opacity:0;
    transform:translateY(70px);
    transition:
        opacity .9s ease,
        transform 1.1s cubic-bezier(.22,.61,.36,1);
}

.edizione-contenuti.float-reveal.active{
    opacity:1;
    transform:translateY(0);
    animation:card-float 1.1s ease-out;
}


@keyframes card-float{

    0%{
        transform:translateY(70px);
    }

    70%{
        transform:translateY(-8px);
    }

    100%{
        transform:translateY(0);
    }

}
.social-edizione.float-reveal{
    opacity:0;
    transform:translateY(25px);
    transition:
        opacity .7s ease,
        transform .8s cubic-bezier(.22,.61,.36,1);
}

.social-edizione.float-reveal.active{
    opacity:1;
    transform:translateY(0);
}
.social-edizione a{
    opacity:0;
    transform:translateY(15px);
    transition:.5s ease;
}

.social-edizione.active a{
    opacity:1;
    transform:translateY(0);
}

.social-edizione.active a:nth-child(1){
    transition-delay:.15s;
}

.social-edizione.active a:nth-child(2){
    transition-delay:.3s;
}

.social-edizione.active a:nth-child(3){
    transition-delay:.45s;
}