@font-face {
  font-family: 'mausoleum';
  src: url('font/Mausoleum-Thin.otf') format('opentype');
  font-weight: 100; 
  font-style: normal;
}

@font-face {
  font-family: 'mausoleum';
  src: url('font/Mausoleum-Light.otf') format('opentype');
  font-weight: 300; 
  font-style: normal;
}

@font-face {
  font-family: 'mausoleum';
  src: url('font/Mausoleum-Regular.otf') format('opentype');
  font-weight: 400; 
  font-style: normal;
}

@font-face {
  font-family: 'mausoleum';
  src: url('font/Mausoleum-Medium.otf') format('opentype');
  font-weight: 500; 
  font-style: normal;
}

@font-face {
  font-family: 'mausoleum';
  src: url('font/Mausoleum-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: 'mausoleum';
  src: url('font/Mausoleum-Bold.otf') format('opentype');
  font-weight: 700; /* Standard per il Bold */
  font-style: normal;
}





*{
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none; /* Chrome, Safari, Opera */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */
    user-select: none;         /* Standard */
    color: #D2F500;
    font-weight: 400;
    font-size: 20px;
    font-family: 'mausoleum', sans-serif;
}
html,body{
  overflow-x: hidden;
}
body{
      background-color:#000;
      color: #D2F500;
	    padding: 0;
	    margin: 0 auto;
	    height: 100%;
	    width: 100%;
      overflow-x: hidden;
      opacity: 0;
      transition: opacity 0.8s ease-in-out;
}
body.is-visible {
    opacity: 1;
}
img {
  width: 100%;
  max-width: 100%;
  -webkit-user-drag: none;
    user-drag: none;
}
ul,li{
  text-decoration: none;
  margin: 0;
  padding: 0;
  list-style: none;
}
b{
  font-weight: 500;
}
a {
  color: unset;
  text-decoration: none;
}
p{
  margin: 10px 0;
}
.center{text-align: center;}
.site{
      position: relative;
    width: 100%;
}
.button{
    font-size: 20px;
    border-radius: 50px;
    width: max-content;
    padding: 5px 20px;
    flex: none !important;
    background-color: #D2F500;
    color: #000;
    min-width: 150px;
    font-weight: 400;
}

.button-empty{
    font-size: 20px;
    border-radius: 50px;
    width: max-content;
    padding: 5px 30px;
    flex: none !important;
    color: #D2F500;
    background-color: transparent;
    border: 2px solid;
    min-width: 200px;
    font-weight: 400;
    margin: 10px 0;
}

.bkg-green{
  background-color: #D2F500;;
}

.w100{
  width: 100%!important; 
  max-width: 100%!important; 
}
.margin-50{
  margin: 50px 20px;
}



.button.active{
  color: #919699 !important;
    background: #D2F500 !important;
}

h3{
    font-size: 30px;
    font-weight: 600;
    margin: 10px 0;
}
h4{
  font-size: 28px;
  font-weight: 400;
  margin: 10px 0;
}



/**MENU**/
header{
  position: fixed;
  z-index: 1000;
}

.menu-sx{
  position: fixed;
  left: 50px;
  top: 50px;
}
.menu-dx{
  position: fixed;
  right: 50px;
  top: 50px;
}
.menu-button{
  position: fixed;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 400;
  transition: opacity 0.5s ease;
}


.menu-aperto {
    
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;

    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 190px;

    background-image: url(img/bkg-menu.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position-y: 40px;
    .logo-menu{
      cursor: pointer;
      width: 60px;
    }
    .main-nav{
        background-color: #D2F500;
        border-radius: 10px;
        padding: 15px;
        box-sizing: border-box;
        margin-top: 5px;
      li a{
        color: #000;
        text-transform: uppercase;
        font-size: 24px;
        line-height: 30px;
        FONT-WEIGHT: 400;
      }
    }
}

.header-menu.is-open .menu-aperto {
    opacity: 1;
    pointer-events: auto;
}
.menu-button {
    cursor: pointer;
}
.header-menu.is-open .menu-button {
    opacity: 0;
}




/***FOOTER***/
footer{
  padding: 25px;
  box-sizing: border-box;
  @media screen and (min-width: 769px){
    padding: 50px;
  }
  .flex>div{
    flex: 1;
  }
  .text-footer{
    max-width: 1094px;
    margin: auto;
    font-size: 16px;
    padding: 20px 0 40px 0;
    @media screen and (min-width: 960px){
    font-size: 20px;
    }
  }

} 

  .copy,.link-site-mobile,.link-site-mobile a{
    font-size: 16px;
    @media screen and (min-width: 769px){
    font-size: 18px;
    }
  }

/**autoscroll**/
.fascia{
  position: relative;
  background-color: #D2F500;
  height: 100px;
}
.string {
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   overflow: hidden;
   z-index: 0;
}
.string .striscia-wrapper {
   width: 100000px;
   overflow: hidden;
   position: relative;
   left: 0;
   top: 0;
   transform: translateX(0px);
}
.string .striscia-wrapper .wrap {
   float: left;
   overflow: hidden;
}
.string .striscia-wrapper .wrap span {
    display: block;
    float: left;
    color: #000;
    font-size: 70px;
    font-weight: 400;
    line-height: 100px;
    color: #000 !important;
    text-transform: uppercase;
}

@media screen and (max-width: 768px){
  .fascia{
    height: 70px;
  }
  .string .striscia-wrapper .wrap span {
    font-size: 50px;
    line-height: 70px;
  }
}
/******/




h1{
  font-size: clamp(2.5rem, 15vw, 18rem);
  white-space: nowrap; 
  margin: 0;
      font-weight: 400;
}

.hero {
  position: relative;
  height: 60vh; 
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
  @media screen and (min-width: 769px){
    height: calc(100vh);
  }
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; 
  z-index: -1;      
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2;
  transform: translate(-50%, -50%);
  object-fit: cover; 
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); 
  z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 1200px;
    height: calc(80vh);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.home-logo img{
    width: calc(100vw - 100px);
}

.home-sx{
  position: absolute;
  left: 50px;
  top: 50px;
}
.home-sx2{
  position: absolute;
  left: 50px;
  bottom: 50px;
}
.home-dx{
  position: absolute;
  right: 50px;
  top: 50px;
}
.home-dx2{
  position: absolute;
  right: 50px;
  bottom: 50px;
}


/**CONTACT**/

@media screen and (max-width: 1100px){
  .contact .flex{
    flex-direction: column;
    gap: 0px;
  }
}

.contact-button{
  overflow: hidden;
  position: relative;
}
.contact-button span {
  font-size: 20px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;          
  width: 100%;
  transition: transform 0.4s ease-in-out; 
  flex-shrink: 0;         
}

.contact-button span.hover {
  margin-top: 5px;
  position: absolute;
  left: 0;
  background-color: #D2F500;
  color: #000;
}

.contact-button:hover span {
  transform: translateY(-100%);
}









/* Contenitore principale del video */
        .video-wrapper {
            position: relative;
            width: 100%;
            height: auto;
            aspect-ratio: 16 / 9; /* Mantiene la proporzione cinema standard */
            background-color: #000;
            overflow: hidden;
            margin: 0 auto!important;
        }

        /* Forziamo il video a occupare tutto lo spazio */
        .video-wrapper video {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Copre l'area senza distorcere */
            display: block;
        }

        /* Overlay per il bottone di Play */
        .video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.2); 
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: opacity 0.4s ease;
            z-index: 2;
        }

        /* Bottone Play personalizzato (Stile Youtube/Netflix) */
        .play-button {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: transform 0.2s ease, background-color 0.2s ease;
        }

        /* Il triangolo del Play realizzato in CSS */
        .play-button::after {
            content: "";
            display: block;
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 15px 0 15px 26px;
            border-color: transparent transparent transparent #fff;
            margin-left: 6px; 
            scale: 2;
        }

        

        /* Classe per nascondere l'overlay quando il video parte */
        .video-overlay.is-hidden {
            opacity: 0;
            pointer-events: none; /* Impedisce di cliccarlo ancora */
        }



/* --- IL CONTENITORE PRINCIPALE (3 Colonne su Desktop, 1 su Mobile) --- */
.box-video-3 {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr; /* 1 colonna su mobile */
  gap: 20px;
  justify-items: center;
  box-sizing: content-box;
}

/* --- IL WRAPPER DEL VIDEO (Racchiude video + overlay) --- */
.video-wrapper-3 {
  position: relative; 
  width: 100%;
  overflow: hidden;
  border-radius: 12px; 
}

/* --- I VIDEO VERTICALI --- */
.video-wrapper-3 video {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 16; 
  object-fit: cover;
  background-color: #000;
}

/* --- MEDIA QUERY DESKTOP --- */
@media (min-width: 768px) {
  .box-video-3 {
    grid-template-columns: repeat(3, 1fr); /* Si trasforma in 3 colonne */
    gap: 20px;    
    align-items: center;
  }
}



/**SINGLE WORK**/
.flex{
  display: flex;
  flex-direction: column; 
  gap: 20px;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .flex {
    flex-direction: row; 
  }
}
.container{
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
  box-sizing: border-box;
  @media (min-width: 1250px) {
   box-sizing: content-box;
  }
}
.hero-work h1{
  text-transform: uppercase;
    font-size: clamp(2rem, 10vw, 18rem);
    white-space: nowrap;
    margin: 0;
    line-height: 90%;
}
.work .head{
  margin: 50px auto;
  padding: 0 20px;
  box-sizing: border-box;
  @media (min-width: 768px) {
    padding: 0 40px;
  }
  .title {
    h2{
    font-size: 40px;
    margin: 0;
    text-transform: uppercase;
    font-weight: 400;  
    }
    p{
      text-transform: uppercase;
      font-weight: 400;
      margin: 10px 0;
      font-size: clamp(2rem, 6vw, 4rem);
      line-height: 90%;
    }
  }
}
.text-area{
  max-width: 850px;
  padding: 0 20px;
  margin: 50px auto;
  font-size: 20px;
  @media (min-width: 768px) {
    margin: 150px auto;
    font-size: 24px;
    p,p b {
      font-size: 24px;
    }
  }
}
.box-img{
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr; 
  gap: 20px;
  align-items: stretch;
  justify-items: center; 
  @media (min-width: 768px) {
     gap: 40px;
     margin: 40px auto;
    &.col2 {
        grid-template-columns: repeat(2, 1fr); 
    } 
    &.col3 {
        grid-template-columns: repeat(3, 1fr); 
    } 
  }
}

.title-section{
  margin: 50px 0 0px 0;
  padding: 0 20px;
}

.w50{
  @media (min-width: 768px) {
    width: 50%;
  }
}





.video-swiper {
  margin: 40px auto;
  padding: 0 50px; 
  position: relative;
  box-sizing: border-box;
}

/* Allinea le slide al centro */
.video-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Il tuo contenitore del video (Verticale 9:16) */
.video-swiper  .video-init {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.video-swiper  .video-init video {
  width: 100%;
  display: block;
  aspect-ratio: 9 / 16; 
  object-fit: cover;
}


.swiper-wrapper {
  transition-timing-function: linear !important;
}

.swiper-dx {
  margin: 40px auto;
  padding: 0 50px; 
  position: relative;
  box-sizing: border-box;
}

.swiper-dx .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-sx {
  margin: 40px auto;
  padding: 0 50px; 
  position: relative;
  box-sizing: border-box;
}

.swiper-sx .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide{
  img {
    border-radius: 20px;
  }
}



/***MOBILE**/
@media screen and (max-width: 768px){

  .menu-sx,.menu-dx{display: none;}

  .contact-button span {
    transform: translateY(-100%)!important;
  }


}






/* ==========================================================================
   1. STATO INIZIALE (Nascosto)
   ========================================================================== */

/* Classe base: nasconde l'elemento e imposta la transizione fluida */
.reveal {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1) .5s, 
              transform 1s cubic-bezier(0.25, 1, 0.5, 1) .5s;
  will-change: opacity, transform; /* Ottimizza le prestazioni della GPU */
}

/* Variante 1: Parte spostato verso il basso (testi) */
.reveal-fade-up {
  transform: translateY(40px);
}

/* Variante 2: Parte spostato a sinistra (immagini) */
.reveal-fade-left {
  transform: translateX(-50px);
}

/* Variante 3: Parte leggermente rimpicciolito (immagini/box) */
.reveal-zoom {
  transform: scale(0.95);
}


/* ==========================================================================
   2. STATO FINALE (Visibile) - Attivato dal JavaScript
   ========================================================================== */

/* Quando l'elemento entra nello schermo, azzeriamo i movimenti e torna visibile */
.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}