/* ! Reset */
body, html{ font-family:  Helvetica, sans-serif; font-size: 16px; box-sizing: border-box;margin: 0;padding: 0;}*,*:before,*:after{ box-sizing: border-box; }h1,h2,h3,h4,h5,h6, p, ol, ul{margin: 0 0 1rem 0;padding: 0;}ol,ul{list-style-type: none;}img{height: auto;}h1{font-size: 4rem;} h2{font-size: 3rem;} h3{font-size: 2rem;} h4{font-size: 1rem;} h5{font-size: 0.8rem;} h6{font-size: 0.6rem;}a{text-decoration:none}


.spacer{height: 100px;}


/* Menu */
:root { 
    --menu-bg: #000; 
    --menu-color: #fff; 
}

.header{ background-color: var(--menu-bg); position: fixed; top:0;  left:0; z-index: 9999; width: 100%; padding: 10px 15px; }
.header__content{max-width: 1200px;width: 100%;margin: 0 auto; display: flex;justify-content: space-between;}

.header__logo,
.header__quick{display: flex; align-items: center;color:var(--menu-color)}

.header__menu{padding: 0;margin: 0;}
.header__menu li{display: inline-block;}
.header__menu li a{color:var(--menu-color); opacity: 0.8;display: block;padding: 16px;font-size: 20px;}

@media (max-width: 768px) {
  .header__menu{   
    position: absolute; top:60px; left:0; background-color: var(--menu-bg); width: 100%; height: 100vh;
    height: 0vh; overflow: hidden;transition: all 1s cubic-bezier(.215, .61, .355, 1);
  }

  .header__content{width: 50vw;margin: 0 auto; display: flex;justify-content: space-between;}

  .header__menu li{width: 100%;border-bottom: 1px solid #444}
  .menu-open .header__menu{height: 100vh;padding: 3%;}

  .icon-hamburger{height: 50px;width: 40px;margin-left: 20px;padding-top: 5px;}
  .icon-hamburger span{height: 2px; width: 30px;background: var(--menu-color);position: relative;display: block;margin-top: 11px;transition: all 0.2s cubic-bezier(.215, .61, .355, 1);}

  .menu-open .icon-hamburger span:nth-child(1){transform: rotate(45deg) translateY(9px);}
  .menu-open .icon-hamburger span:nth-child(2){transform: rotate(-45deg) translateY(-9px);}

  .header__quick{display: flex; justify-content: flex-end; width: 50%;}


   .container{
        width: 100%; max-width:100vw ; padding: 0%;
    }

    .title{
        /* ! border: solid red;m */
        text-align: center;
        height: 100vh;
        width: 30%;
        display: flex;
        justify-content:center ;
        align-items: center;
        max-width:50% ;
        position: fixed;
        top: 0;
        left: 0;
        transform: scale(1);
        transition: all 1s cubic-bezier(.215, .61, .355, 1);
        opacity: 0;
        font-size: 3.5rem;
    
    }

 

    .video-bg{
        width: 100vw;
        height: 10vh;
        position: fixed;
        top: 0;
        left: 0;
        object-fit: cover;
        opacity: 35%;
        z-index: 0;
    }

    .header__menu{
        position: absolute;
        top: 60px;
        background-color: #000;
        width: 100wv;
        height:100vh ;
        height: 0vh;
        overflow: hidden;

    }

    .header__menu--open{
        height: 100vh;
    }

    .icon-hamburger{
        height: 50px;
        width: 50px;
        margin-left: 10px;
    }

    .icon-hamburger span{
        height: 1px;
        width: 30px;
        background: #fff;
        position: relative;
        display: block;
        margin-top: 10px;
    }

    .header__menu li{
        width: 100%;
        border-bottom: 1px solid #444;
       

    }

    .header__menu li a{
        width: 100%;
        border-bottom: 1px solid #444;
        color:var(--menu-color); opacity: 0.8;display: block;padding: 16px;font-size: 100px;
       

    }

    .header__icons{
        display: flex;
        width: 100px;
        margin-top: 10px;
    }

    .header { 
    
        /* border: 1px solid red; */
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
        width: 100vw;
        background-color: #000;
        justify-content: center;
  }

    .header__content{
    max-width: 50vw;
    width: 100%;
    margin: 0 auto;
   /* border: 1px solid red; */
    display:flexbox;
    justify-content: space-between;

}


}



/* ! Title System */
h1, .text-1 {font-size: 4rem;margin-bottom:0.5rem}
h2, .text-2 {font-size: 2.4rem;margin-bottom:1rem}
h3, .text-3  {font-size: 1.8rem;margin-bottom:1rem}
h4, p, .text-4 {font-size: 1rem;margin-bottom:1rem; line-height: 1.5;}
a{color: #fff}


/* ! backgroudn-video */
.video-bg{
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    object-fit: cover;
    opacity: 35%;
    z-index: 0;
}


.section{
   position: relative;
   z-index: 1;
   width: 100%;
   height: 100vh;
}

.title{
    /* ! border: solid red;m */
    text-align: center;
    height: 100vh;
    width: 70%;
    display: flex;
    justify-content:center ;
    align-items: center;
    max-width:50% ;
    position: fixed;
    top: 0;
    left: 0;
    margin-left:25% ;
    transform: scale(1);
    transition: all 1s cubic-bezier(.215, .61, .355, 1);
    opacity: 0;

}


.section.in-page .title{
    transform: scale(1.2);
    opacity: 1;
}

.panel{
    height:auto;
    width: 100%;
    background: black;
    position: relative;
    z-index: 2;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.panel-footer{
    height:auto;
    width: 100%;
    background: whitesmoke;
    position: relative;
    z-index: 1;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container{
    width: 80%; max-width:1000px; padding: 4% 0% 4% 0%;
}

.intro{
    font-size: 2rem;
    font-weight: bold;
}

.title-big{
    font-size: 5rem;
}

.title-med {
    font-size: 3,5rem;
}

.subtitle {
    font-size: 2rem;
    color: #666;
}

.fade-in{ opacity: 0;    transition: opacity 0.6s ease, transform 0.6s ease;;
}

.fade-in.animate {
  opacity: 1;
  transform: translateY(0);
}

.fade-in.in-page{ opacity: 1;  transform: translate(0vh);
}

.img-big-left{width: 100vw; position: relative; left: -10vw;}

.header { 
    
      /* border: 1px solid red; */
      position: fixed;
      top: 0;
      left: 0;
      z-index: 9999;
      width: 100%;
      background-color: #000;
      justify-content: space-between;
      
}

.header__content{
    max-width: 100vw;
    width: 100%;
    margin: 0 auto;
   /* border: 1px solid red; */
    display:flex ;
    justify-content:space-between;

}

.header__logo{
    
    height: 50px;
    
    
}

.header__menu li{
    display: inline-block;
    justify-content: space-between;
    max-width: 100%;
    
    
}

.header__menu li a{color: #fff; opacity: 0.8; display: block; padding: 0, 10px; align-items: flex-end;}
.header__menu li a:hover{color:#ffffffc0;}

.header__icons{
    width: 50px;
}

/* Stile per il bottone */
.btn {
    background-color: #4CAF50; /* Colore verde */
    color: white; /* Testo bianco */
    border: none;
    padding: 15px 32px; /* Spaziatura interna */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 8px; /* Bordo arrotondato */
    cursor: pointer;
    transition: background-color 0.3s ease; /* Transizione al cambio di colore */
}

/* Effetto hover */
.btn:hover {
    background-color: #45a049; /* Colore verde più scuro quando il bottone è sopra */
}

/* Stili generali per il footer */
.footer {
    background-color: #000;
    color: white;
    padding: 10px 0;
    font-family: Arial, sans-serif;
    text-align: center;
}

/* Contenitore del footer */
.footer-container {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Sezione del footer */
.footer-section {
    width: 30%;
}

/* Titoli delle sezioni */
.footer-section h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* Lista contatti */
.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin: 5px 0;
}

/* Link dei social */
.social-links {
    list-style-type: none;
    padding: 0;
}

.social-links li {
    margin: 10px 0;
}

.social-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
}

/* Effetto hover sui link dei social */
.social-links a:hover {
    color: #1da1f2; /* Colore blu di Twitter come esempio */
}

/* Footer inferiore */
.footer-bottom {
    margin-top: 20px;
    font-size: 0.9em;
}

/* Responsività */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    .footer-section {
        width: 80%;
        margin-bottom: 20px;
    }
}





a {
    color: #333;
  }

  .outline {
    width: 64px;
    height: 64px;
    border-radius: 100%;
    border: 1px solid #dbdbdb;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    mix-blend-mode: difference;
    transform: translate(-64px, -64px);
    transition: all 0.2s cubic-bezier(.215, .61, .355, 1);
    pointer-events: none;
  }

  .cursor {
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background: #dbdbdb;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    transform: translate(-8px, -8px);
    pointer-events: none;
  }

  .outline.hover {
    background: orangered;
    border-color: orangered;
    width: 128px;
    height: 128px;
  }

  .cursor.hover {
    width: 0px;
    height: 0px;
  }

  .no-cursor {
    cursor: none;
    margin: 0;
    border: 0;
  }

  /* 🔒 Disattiva cursore personalizzato su mobile */
@media (max-width: 1024px) {
  .cursor,
  .outline {
    display: none !important;
  }
  
  body {
    cursor: auto !important;
  }
}

  /* HAMBURGER MENU v */
  .nav-hamburger {
    margin: 0;
    width: 2em;
    height: 1.5em;
    position: absolute;
    z-index: 110;
    top: 30px;
    right: 10%;
    transform: rotate(0deg);
    transition: all 0.35s cubic-bezier(.215, .61, .355, 1);
  }

  .nav-hamburger span {
    left: 0;
    width: 100%;
    height: 2px;
    display: block;
    position: absolute;
    background: #fff;
    background-repeat: 10px;
    transition: all 0.35s cubic-bezier(.215, .61, .355, 1);
  }

  .nav-hamburger span:nth-child(1) {
    top: 0;
    width: 100%;
  }

  .nav-hamburger span:nth-child(2),
  .nav-hamburger span:nth-child(3) {
    top: 10px;
    width: 100%;
  }

  .nav-hamburger span:nth-child(4) {
    top: 20px;
    width: 100%;
  }

  .open .nav-hamburger {
    transform: rotate(180deg);
  }

  .open .nav-hamburger span:nth-child(1) {
    top: 2em;
    width: 0;
  }

  .open .nav-hamburger span:nth-child(2) {
    transform: rotate(45deg);
    width: 100%;
  }

  .open .nav-hamburger span:nth-child(3) {
    transform: rotate(-45deg);
    width: 100%;
  }

  .open .nav-hamburger span:nth-child(4) {
    top: 18px;
    width: 0px;
    left: 50%;
  }
  




/* SLIDER IMAGE */
  .banner{
    width: 100%;
    height: 80vh;
    text-align: center;
    overflow: hidden;
    position: relative;
  }
  .banner .slider{
    position: absolute;
    width: 200px;
    height: 250px;
    top: 30%;
    left: calc(50% - 100px);
    transform-style: preserve-3d ;
    transform: perspective(1000px);
    animation: autoRun 20s linear infinite;
  }
  @keyframes autoRun{
    from{
        transform: perspective(1000px) rotateX(-16deg) rotateY(0deg);
    }to{
        transform: perspective(1000px) rotateX(-16deg) rotateY(360deg);
    }
  }
  .banner .slider .item{
    position: absolute;
    inset: 0 0 0 0;
    transform:
       rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
       translateZ(550px);
  }
  .banner .slider .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .map-container {
    margin-top: 30px;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;   /* mantiene proporzioni */
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }

  /* Preloader fullscreen */
#preloader {
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:#000;
  display:flex;
  flex-direction: column;
  justify-content:center;
  align-items:center;
  z-index:9999;
}

/* Sfera pulsante */
.spinner {
  width:50px;
  height:50px;
  background:#fff;
  border-radius:50%;
  animation: pulse 1.2s infinite ease-in-out;
  margin-bottom:15px;
}

/* Animazione pulsante */
@keyframes pulse {
  0%, 100% { transform: scale(1);}
  50% { transform: scale(1.4);}
}

/* Testo caricamento */
.loading-text {
  color:#fff;
  font-family: Arial, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

/* Nasconde video fino a caricamento completo */
#bg-video {
  width:100%;
  height:auto;
  display:block;
}

  
  /* RESPONSIVE SMARTPHONE */
@media (max-width: 480px) {
  
  /* Header */
  .header__content {
    max-width: 100%;
    width: 100%;
    padding: 0 10px;
    justify-content: space-between;
  }

  .header__menu li a {
    font-size: 1.5rem; /* ridotto da 100px */
    padding: 12px;
    text-align: center;
  }

  /* Titoli */
  h1, .title-big { font-size: 2.2rem; }
  h2, .title-med { font-size: 1.8rem; }
  h3, .subtitle { font-size: 1.2rem; }

  .title {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    font-size: 1rem;
    padding: 0 10px;
  }

  .title-freccia {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    font-size: 4rem;
    padding: 0 10px;
  }

  /* Container */
  .container {
    width: 95%;
    max-width: 100%;
    padding: 20px 10px;
  }

  /* Slider immagini */
  .banner {
    height: 60vh;
  }
  .banner .slider {
    width: 150px;
    height: 200px;
    left: calc(50% - 75px);
    top: 25%;
  }

  /* Footer */
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-section {
    width: 100%;
    margin-bottom: 20px;
  }
}

.map-container {
  aspect-ratio: 4 / 3;   /* più quadrata su schermi piccoli */
  border-radius: 5px;
}




  

.footer {
  background: #000;
  color: #fff;
  padding: 20px 40px;
  font-family: sans-serif;
}

.footer-bottom {
  display: flex;
  justify-content: space-between; /* distribuisce gli elementi lungo tutta la larghezza */
  align-items: center;
  flex-wrap: wrap; /* permette agli elementi di andare a capo se lo schermo è stretto */
  max-width: 1200px; /* opzionale, per non allargare troppo il contenuto */
  margin: 0 auto;    /* centra il blocco */
}

.footer-bottom p {
  margin: 0;
  font-size: 1rem;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* versione mobile */
@media (max-width: 600px) {
  .footer-bottom {
    justify-content: center; /* centriamo tutto su mobile */
    gap: 15px;
  }

  .footer-bottom p {
    font-size: 0.8rem;
  }
}
.highlight {
  color: #000; /* colore vivace, puoi cambiare */
  font-weight: bold; /* opzionale, rende più evidente */
  background-color: orangered; /* opzionale, giallo come evidenziatore */
  padding: 2px 4px; /* opzionale, piccolo spazio intorno alla parola */

}

.faq-section {
  width: 100%;
  background: black;
  padding: 0;
  display: flex;
  justify-content: center;
}

.faq-container {
  width: 100%;
  max-width: 1000px;
}

.faq-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  font-weight: 600;
  color: #dbdbdb;
}

/* ===== FAQ ITEM ===== */
.faq-item {
  border-bottom: 1px solid #dbdbdb;
  padding: 18px 0;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 500;
  color: #dbdbdb;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: orangered;
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  will-change: max-height;
}

.faq-answer p {
  margin-top: 10px;
  line-height: 1.6;
  color: #dbdbdb;
}

/* ===== ACTIVE STATE ===== */
.faq-item.active .faq-answer {
  opacity: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
/*==== CONTACT FORM START =======*/
#contact-form {
  margin: 5% 1.4%;
}

#contact-form ul {
  list-style: none;
  border-radius: 5px;
  margin-bottom: 40px;
  padding: 0;
}

#contact-form li {
  padding: 10px;
}

#contact-form li:last-of-type {
  border-bottom: none;
}

#contact-form label {
  display: block;
  font-size: 0.8em;
  color: #999;
  padding-left: 5px;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 5px;
  border: none;
  resize: vertical;
  background: transparent;
  color: #fff;
  font-weight: bolder;
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border: none;
}

.textarea {
  border-bottom: 1px solid #dfdfdf;
}

.send {
  margin-left: 50px;
  text-transform: uppercase;
  padding: 20px 30px;
  background: transparent;
  color: #dfdfdf;
  font-size: 14px;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.send:hover {
  background: orangered;
  color: #101010;
}

.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: none; /* inizialmente nascosta */
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 10px;
  overflow: auto;
}

.cookie-overlay.show {
  display: flex;
}

.cookie-modal {
  background-color: #000;
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  position: relative;
  margin: auto;
}

.cookie-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 20px;
  font-weight: bold;
  color: orangered;
  cursor: pointer;
}

.cookie-close:hover {
  color: #000;
}

.cookie-modal h2 {
  margin-top: 0;
  font-size: 20px;
}

.cookie-section {
  margin-top: 20px;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  vertical-align: middle;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #ccc;
  border-radius: 20px;
  transition: 0.3s;
}

.slider:before {
  content: "";
  position: absolute;
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.3s;
}

input:checked + .slider {
  background-color: orangered;
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.arrow {
  font-size: 12px;
  margin-left: 10px;
  transform: rotate(0deg);
  transition: transform 0.3s;
}

.arrow.open {
  transform: rotate(90deg);
}

.cookie-suboptions {
  display: none;
  padding-left: 20px;
  margin-top: 10px;
}

.cookie-suboptions.show {
  display: block;
}

.suboption {
  display: flex;
  justify-content: space-between;
  margin: 5px 0;
}

.cookie-buttons {
  display:flex;
  justify-content: flex-end;
  position: relative;
  gap: 10px;
  width: 100%;

}

.cookie-buttons button {
  padding: 5px 10px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  flex: 1;
  margin-top: 20px;
  
}

.btn-accept {
  background-color: orangered;
  color: #fff;
  border-color: red;
}

.btn-reject {
  background-color: orangered;  
  color: #fff;           
  
}

.btn-save {
  background-color: orangered;
  color: #fff;
}

.btn-closepopup {
  color: orangered;
}

.btn-save:hover {
  background-color: #000;
  border: 2px solid orangered !important;
  border-color: orangered !important;
  transform: scale(1.05);
}

.btn-reject:hover {
    background-color:  #000;
    border: 2px solid orangered !important;
    border-color: orangered !important;
    transform: scale(1.05);
}

.btn-accept:hover {
  background-color: #000;
  border: 2px solid orangered !important;
  border-color: orangered !important;
  transform: scale(1.05);
}


@media (max-width: 768px) {
  #contact-form {
        margin: 5% -8%;
        width: 98%;
  }
}
/*________CONTACT FORM END_____________*/

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .faq-section {
    padding: 60px 16px;
  }
  .faq-title {
    font-size: 1.8rem;
  }
  .faq-question {
    font-size: 1.1rem;
  }
}

