/*
Theme Name: Nextawards Child
Template: nextawards
*/

/* Custom Style */


.page-template-blank .spacer{height:140px;}
@media (min-width: 768px) {
  .header__content{height:120px; align-items:center;}
  
}
@media (max-width: 1190px) {
  .menu{top:90px;}
}

@media (min-width:1190px) {
  .menu li a{
    padding: .5em .8em;
    position:relative;
    color:#352557;
  }
  .menu li a:before,
  .menu li a:after{
    content:"";
    height:14px;
    width:14px;
    position:absolute;
    transition: all .35s ease;
    opacity:0;
  }
  .menu li a:before{
    content:"";
    right:0;
    top:0;
    border-top: 3px solid #4fc4ce;
    border-right: 3px solid #4fc4ce;
    transform: translate(100%, -50%);
  
  }
  
  .menu li a:after{
    content:"";
    left:0;
    bottom:0;
    border-bottom: 3px solid #4fc4ce;
    border-left: 3px solid #4fc4ce;
    transform: translate(100%, -50%);
  
  }
  .menu li a:hover:before,
  .menu li a:hover:after{
    transform:translate(0,0);
    opacity:1;
  }
  .menu li a:hover{
    color:#030303;
  }
}

.header__content,
.header__menu li {
  border: none;
}


/* .menu li a:hover{
  color: #045057;
  transform: scale(1.1);
  text-shadow: 0 0 1px #ffffff;
} */

.header {
  border: none;
  border-bottom: 1px solid #67568c;
}

.wp-block-column.column-heading.is-layout-flow.wp-block-column-is-layout-flow
  .column-heading-h1 {
  max-width: 400px !important;
}

.left-column-hero,
.right-column-hero {
  display: flex;
  flex-direction: column;
  min-height: 600px;
}

.left-column-hero{z-index:999;}
.right-column-hero{z-index:0;}
.img-mobile{display:none;}
.img-desktop{display:block;}

@media (max-width: 768px) {
  .img-desktop{display:none;}
  .img-mobile{display:block;}
}
/* .f-bolder{color: #67568c;
	-webkit-text-stroke: 1px #5b5862;
	text-shadow: 0px 2px 4px rgb(53, 52, 52);} */


.evidenzia {
  background: #4fc3ce16;
  padding: 8px;
}

/* .bg-copertina {position:relative; background-color: none!important; z-index:99;} */

@media (min-width: 1487px) {
  .evidenzia {
    width: 55%;
  }
}
@media (max-width: 768px) {
  .header {
    padding: 20px;
  }
  .hero-column {
    flex-direction: column-reverse;
  }
  .right-column-hero {
    min-height: 200px;
  }
  .left-column-hero {
    min-height: auto;
    position: relative;
  }
  .left-column-hero h1 {
    margin-top: 40px !important;
  }
  .left-column-hero h2 {
    margin-bottom: 22px !important;
  }
}
/* Hero section */
/* Button */

.button-hero .wp-block-button__link:hover,
.button-hero-squared .wp-block-button__link:hover,
.cta-button .wp-block-button__link:hover {
  background-color: initial;
  color: #fbdc72 !important;
}

.button-hero .wp-element-button {
  position: relative;
  animation: my-animation 5s 3 ease-in-out;
  overflow: hidden;
  z-index: 999;
}
.button-hero-squared .wp-element-button {
  position: relative;
  animation: my-animation 5s 3 ease-in-out;
  overflow: hidden;
  z-index: 999;
}
.cta-button .wp-element-button {
  position: relative;
  animation: my-animation 5s 3 ease-in-out;
  overflow: hidden;
  z-index: 999;
}

.button-hero-squared .wp-element-button:before,
.cta-button .wp-element-button:before {
  content: "";
  position: absolute;
  background-color: hsl(258, 42%, calc(25% - 10%));
  top: 0;
  left: 0;
  height: 100%;
  width: 24px;
  transition: 0.4s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  z-index: -1;
}
.button-hero .wp-element-button:before {
  content: "";
  position: absolute;
  background-color: hsl(186, 58%, calc(55% - 15%));
  top: 0;
  left: 0;
  height: 100%;
  width: 24px;
  transition: 0.4s cubic-bezier(0.785, 0.135, 0.15, 0.86);
  z-index: -1;
}
.button-hero .wp-element-button:hover:before,
.cta-button .wp-element-button:hover:before {
  width: 100%;
}
.button-hero-squared .wp-element-button:hover:before {
  width: 100%;
}

/* Services section */
.arrow-par {
  position: relative;
}
.arrow-par:after {
  content: "";
  position: absolute;
  top: 20px;
  right: -20px;
  max-width: 100%;
  max-height: 100%;
  background: url(./img/Arrow.png) no-repeat center right;
  background-size: contain;
  width: 90px;
  height: 50px;
  animation: moveArrow 1.5s infinite ease-in-out; /* Applica l'animazione */
}
/* Animazione */
@keyframes moveArrow {
  0% {
    transform: translate(0, -50%); /* Posizione iniziale */
  }
  50% {
    transform: translate(20px, -50%); /* Spostamento in avanti */
  }
  100% {
    transform: translate(0, -50%); /* Torna alla posizione iniziale */
  }
}
.overlay-animated {
  position: relative;
  overflow: hidden;
}
.overlay-animated:after {
  position: absolute;
  content: "";
  background: #ffffff52;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  opacity: 1;
  pointer-events: none;
}
.overlay-animated:hover:after {
  transition: all 400ms linear;
  opacity: 0;
  height: 100%;
}
@media (max-width: 768px) {
  .arrow-par {
    display: none;
  }
}
/* .card-button {
  position: relative;
}
.card-button:after {
  position: absolute;
  content: "";
  bottom: 11px;
  right: 0;
  width: 50px;
  height: 20px;
  background: url(img/arr2.png) no-repeat right center;
  background-size: contain;
}
.card-button .wp-block-button__link {
  background-color: transparent !important;
} */

.card:after {
  position: absolute;
  z-index: 9999;
  content: "";
  top: 0;
  left: 0;
  width: 120px;
  height: 124px;
  background: url(img/dots\ 2.png) no-repeat right center;
  background-size: contain;
}

.card {
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease-in-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 400px;
  height: calc(400px + 14vh);
  z-index:0;
}

.info-box {
  position: absolute;
  top: 50%;
  left:50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 70%;
  
  background-color: rgba(115, 9, 105, 0.8);
  color: white;
  display: none;
  justify-content: center;
  /* align-items: center; */
  /* text-align: center; */
  border-radius: 20px;
  padding: 30px;
  box-sizing: border-box;
  flex-direction: column;
  z-index:9999;
}
.none{display:none;}


.clickable-parent:not(a) {
  position: static;
}

.clickable-parent:not(a) > a::after {
  content: "";
  position: absolute;
  inset: 0;
  cursor: pointer !important;
  display: flex;
}
.focus-parent :focus {
  outline: none !important;
  box-shadow: none !important;
}


.image-card-contain {
  position: absolute;
  bottom: -40px; /* L'immagine supera il bordo inferiore della card */
  left: 50%;
  transform: translateX(-50%); /* Centra l'immagine */
  width: 80%; /* Regola la larghezza in base alla card */
  z-index: 99; /* Sotto il contenuto */
}
@media (max-width: 768px) {
  .image-card-contain img {
    position: relative;
    width: calc(50% + 40px);
    left: 50%;
    transform: translateX(-50%);
  }
}
.card:hover {
  transform: translateY(-15px); /* Spostamento verso l’alto */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Ombra più pronunciata */
  cursor:pointer;
}

.services-card-content{
  min-height:100px;
}



/* Portfolio Card */
.portfolio-card{position:relative;  overflow:auto; width:auto; height:300px; overflow: hidden;} 
.portfolio-card .wp-block-image{position:relative; width:100%; height:100%;}
.portfolio-card .wp-block-image img{
  width:100%;
  height:auto;
  position:absolute; 
  top:0; 
  transform: translateY(0); 
  transition: transform 6s ease-in-out;
}

.portfolio-card:hover .wp-block-image img{
  transform: translateY(calc(-100% + 300px));
}

.portfolio-card .wp-block-image:after {
  position: absolute;
  content:"";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); 
  opacity: 0; 
  transition: opacity 0.5s ease; 
  pointer-events: none; /* Non interferisce con il mouse */
}

.portfolio-card:hover .wp-block-image:after {
  opacity: 1; 
}

/* Media Section */
@media only screen and (min-width: 789px) {
  .img-section-benefit img {
    margin: 0 !important;
  }
}

@media (max-width: 768px) {
  .column-direction {
    flex-direction: column-reverse;
  }
}

/* Testimonials Section */
.card-testimonials {
  position: relative;
  min-height: 500px;
  height: calc(500px + 10vh);
  transition: box-shadow 0.3s ease-in-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-testimonials-content {
  position: relative; 
  padding: 20px;
}

.card-testimonials::before {
  content: ""; 
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent; 
  pointer-events: auto; /* pseudo-elemento interattivo */
}
.card-testimonials:hover {
  transform: translateY(-15px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.image-testimonials {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 99999;
}
@media (min-width: 1190px) {
  .card-testimonials {
    height: 500px;
  }
}

/* Help Column */
.help-column{height:350px;}

/* Form */
/* Stile generale del modulo */
.form-visible{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.wpcf7-form {
  max-width: 600px; /* Larghezza massima del modulo */
  margin: 0 auto; 
  font-family: Arial, sans-serif; 
}

/* Righe del modulo */
.form-row {
  display: flex; 
  flex-wrap: wrap; 
  justify-content: space-between; 
  margin-bottom: 15px; 
}

/* Colonne del modulo */
.form-column {
  flex: 1; /* Adatta la colonna allo spazio disponibile */
  margin-right: 10px; 
}

.form-column:last-child {
  margin-right: 0; /* Rimuove il margine dall'ultima colonna */
}

.wpcf7-not-valid-tip {
  color: #1e1232;
  font-weight: bold;
}

.wpcf7 form.invalid .wpcf7-response-output {
  border-color: #1e1232;
}

/* Input e textarea */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%; /* Occupa il 100% della colonna */
  padding: 10px; /* Spazio interno */
  border: 1px solid #ccc; /* Bordo standard */
  border-radius: 4px; /* Angoli arrotondati */
  font-size: 14px; /* Dimensione del testo */
  transition: border-color 0.3s, outline-color 0.3s; /* Transizione fluida sul focus */
}

/* Cambia l'outline e il bordo al focus */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
  outline: 2px solid #c4b9dd; /* Colore dell'outline */
  border-color: #c4b9dd; /* Colore del bordo */
}

/* Stile specifico per la textarea */
textarea {
  min-height: 100px; /* Altezza minima */
  resize: vertical; /* Ridimensionabile solo verticalmente */
  width: 100%; /* Assicura che la textarea occupi tutta la colonna */
}

/* Pulsanti */
.form-buttons {
  display: flex; /* Disposizione flessibile per mettere i pulsanti in linea */
  justify-content: space-between; /* Spaziatura uniforme tra i pulsanti */
  align-items: center; /* Allinea verticalmente */
  margin-top: 20px; /* Spazio tra i pulsanti e il resto del modulo */
}

.wpcf7-form button[type="submit"] {
  padding: 14px 39px; 
  text-align: center; 
  background-color: #352557; 
  color: #fadd79; 
  border: none; 
  border-radius: 4px; 
  font-size: 14px; 
  cursor: pointer;
  transition: background-color 0.3s; 
  box-sizing: border-box; /* Assicura che padding e larghezza funzionino bene */
}

.wpcf7-form button[type="submit"]:hover {
  background-color: #1e1232; 
  color: #fff;
}


/* .reset-button {
  display: inline-block; 
  width: calc(50% - 5px); 
  padding: 10px 20px; 
  text-align: center; 
  background-color: #f8f9fa; 
  color: #333; 
  border: 1px solid #ccc; 
  border-radius: 4px; 
  font-size: 14px; 
  cursor: pointer; 
  transition: background-color 0.3s, color 0.3s; 
  box-sizing: border-box; 
  margin-left: 10px; /
} */

/* .reset-button:hover {
  color: #000; 
} */

@media (max-width: 768px) {
  .form-row {
    flex-direction: column; 
  }

  .form-column {
    width: 100%; 
    margin-right: 0;
    margin-bottom: 10px;
  }

  .form-buttons {
    flex-direction: column; 
    gap: 10px; 
  }

  .wpcf7-form input[type="submit"],
  .reset-button {
    width: 100%; 
    margin-left: 0; 
    margin-bottom: 10px; 
  }

  .wpcf7 {
    width: 100%;
  }
}
/* Footer */
footer p:not(.portfolio-contact){line-height: 1.6;}
footer {
  background: #413b4e;
  width: 100%;
  /* margin-top: -20px; */
  color: #c3bfbf;
}

footer span>a{color:#3BE6FC}

footer hr {
  border-color: #c3bfbf;
}
.img-logo {
  width: 200px;
}
.col-15 {
  width: 15%;
}

.grid > .col-100 > p:first-child {
  color: #c3bfbf;
}
.social-footer img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  transition: all 0.3s cubic-bezier(.215, .61, .355, 1);
}


.social-footer img:hover{transform: scale(1.2);}
@media (max-width: 768px) {
  .sma-10 {
    width: 10%;
  }
  .sma-8 {
    width: 8%;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.pt-2 {
  padding-top: 20px;
}
.portfolio-section-footer {
  margin: 8px;
  position: relative;
}
.portfolio-section-footer img {
  border: 2px solid #fbdb7286;
  border-radius: 10px;
}
.icons-contact img {
  width: 25px;
  height: auto;
}
.icons-contact {
  align-items: center;
}

.portfolio-section-footer a:before {
  content: "";
  opacity: 0.8;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  border-radius: 10px;
  background: #4fc4ce;
  transform: scale(0);
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}

.portfolio-section-footer a:after {
  position: absolute;
  height: 40px;
  width: 40px;
  top: 50%;
  bottom: 50%;
  left: 50%;
  margin-left: -20px;
  margin-top: -20px;
  content: "";
  text-align: center;
  line-height: 20px;
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
  background: url(img/link.png) no-repeat center center;
  background-size: contain;
}

.portfolio-section-footer a:hover:before {
  -webkit-transform: scale(1);
  transform: scale(1);
}
.portfolio-section-footer a:hover:after {
  -webkit-transform: scale(1);
  transform: scale(1);
}

/* Footer icon email and phone animation */
.animated{
  animation: animazione 1s infinite;
}

@keyframes animazione{
  0% {
   transform:translateY(0);
  }
  50% {
    transform:translateY(-7px);
   }
   50% {
    transform:translateY(-15px);
   }
  100%{
    transform:translateY(0);
  }
}
.attiva-animazione-razzo:hover .razzo-icon{
  animation: razzoAnimation 3s infinite ease-in-out;
}

@keyframes razzoAnimation{
  0%{
    transform: translate(0,0) rotate(0deg);
  }
  30%{
   
    transform:translate(10px,-30px) rotate(45deg);
  }
  50%{
    
    transform:translate(80px,-30px) rotate(45deg);
  }
  100%{
    transform:translateX(200px, -30px) rotate(45deg) ;
  }
  
 
 
}

.attiva-animazione-razzo:hover .contact-animated{
  animation: contactAnimated 3s infinite ease-in-out;
}
@keyframes contactAnimated{

  0% {
    color:#352557;
    font-weight: lighter;
  }
  30% {
    color:#352557;
    font-weight: lighter;
  }
  70% {
    color:#fadd79;
    font-weight: bolder;
  }
  
  90% {
    color:#352557;
    font-weight: lighter;
  }
 

}


.hidden-number {
  font-size: 1rem;
  background: none;
  padding: 0;
  display: inline-block;
  color: #c3bfbf;
  letter-spacing: 2px;
  position: relative;
  cursor: pointer;
}

.hidden-number:hover .tooltip {
  opacity: 1;
  transform: translateY(-10px);
}

.tooltip {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.visible-number {
  font-size: 1rem;
  color:#c3bfbf;
  display: none;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #E4E4E4;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  text-align: center;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.modal button {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight:bold;
  text-transform: uppercase;
  color: #fbdc72 !important;
  background: #413b4e;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 1s cubic-bezier(.215, .61, .355, 1);
}

.modal button:hover {
  background: #fbdc72!important;
  color: #413b4e!important; 
  font-weight:bold;
}

.error {
  color: #413b4e;
  font-size: 0.9rem;
  font-weight: bolder;
  margin-top: 15px;
}
