/*
Theme Name: Shorts To Future Theme
Version: 1.1
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');

/* === HEADER === */
.site-header {
  background-color: #db642d;
  height: 15vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: height 0.3s ease; /* 👈 transizione su altezza e colore */
}

.site-logo img {
  width: auto;
  height: 8vh;
  display: block;
  transition: height 0.3s ease; /* 👈 transizione anche sul logo */
}

.partner-logo {
  position: absolute;
  right: 10%;       /* distanza dal bordo destro */
  top: 50%;          /* centrato verticalmente */
  transform: translateY(-50%);/* correzione perfetta del centraggio */
}

.partner-logo img {
  height: 6vh;
  width: auto;
  display: block;
  transition: height 0.3s ease; 
}

/* Effetto shrink */
.site-header.shrink {
  height: 10vh;
}

.site-header.shrink .site-logo img {
  height: 6vh;
}
.site-header.shrink .partner-logo img {
  height: 4vh;
}

/* Reset base */
html, body {
  margin: 0;
  padding: 0;
}


/* === FINE HEADER === */

/* === FOOTER === */
.footer-wrap {
  background-color: #444444; /* colore richiesto */
  height: 35px;              /* altezza richiesta */
  display: flex;             /* per centrare il contenuto */
  align-items: center;       /* centratura verticale */
  justify-content: center;   /* centratura orizzontale */
  width: 100%;
}
.footer-content {
    background-color: #444444;
    width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: auto;
}

.logo {
    width: 20px; /* Personalizza la dimensione */
    height: auto;
    cursor: pointer;
    transition: transform 0.5s ease-in-out;
    z-index: 2;
}

.logotitolo, .made-possible {
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    position: absolute;
}

/* POSIZIONAMENTO DI PARTENZA */
.logotitolo {
    width: 100px;
    transform: translateX(0);
    left: 50%;
    margin-left: 3px; /* Sposta leggermente per centrare */
}

.made-possible {
    width: 100px;
    transform: translateX(0);
    right: 50%;
    margin-right: 3px;
}

/* ANIMAZIONE HOVER */
.footer-content:hover .logo {
    transform: rotate(360deg);
}

.footer-content:hover .logotitolo {
    opacity: 1;
    transform: translateX(10px); /* Muove verso DESTRA */
}

.footer-content:hover .made-possible {
    opacity: 1;
    transform: translateX(-10px); /* Muove verso SINISTRA */
}

/* ANIMAZIONE INVERSA */
.footer-content:not(:hover) .logotitolo, 
.footer-content:not(:hover) .made-possible {
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.projects-footer{
    overflow: hidden;
}
/* === FINE FOOTER === */

html{ background:#444444; }  

.hero-div {
  background-color: #db642d;             /* larghezza massima */
  margin: 0 auto;              /* centrato */
  padding-top: 14vh;              /* spazio interno */
}

/* === HERO SECTION === */
.hero-section {
  position: relative;
  height: 90vh;
  background: url('assets/img/s2f-hero-image.png') center center / cover no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(219, 100, 45, 0.60); /* arancione leggero */
  z-index: 1;
}

.hero-logo {
  position: relative;
  z-index: 2;
  height: 25vh;
}

.hero-text {
  font-family: 'Montserrat';
  font-weight: 500;
  position: relative;
  z-index: 2;
  margin-top: 2vh;
  color: white;
  font-size: 4vh;
  text-align: center;
  padding-bottom:10vh;
}

.scopri {
  position: absolute;
  bottom: 8vh;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  font-size: 3vh;
  font-family: 'Montserrat';
  font-weight: 600;
  color: #ffffff;
  background-color: #db642d;
  border: 2px solid #db642d;
  border-radius: 50px;
  padding: 1.2vh 4vh;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

/* Effetto hover */
.scopri:hover {
  background-color: #ffffff;
  color: #db642d;
  border: 2px solid #ffffff;
  transform: translateX(-50%) translateY(-50%) scale(1.08);
}

/* (Opzionale) Focus per accessibilità */
.scopri:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(219, 100, 45, 0.4);
}
/* === HOME PAGE === */

.body-white {
  background-color: white;
  padding: 2vh;
}

.body-white h2 {
  margin-top: 1vh;
}

.body-white p {
  margin-top: 2vh;
  padding-left: 50vh;
  padding-right: 50vh;
}


/* === HOME PAGE === */
h1 {
  font-size: 4vh;
  font-family: 'Montserrat';
  font-weight: 700;
  margin: 0;
  text-align: center;
}
h2 {
  font-size: 3vh;
  font-family: 'Montserrat';
  font-weight: 500;
  margin: 0;
  text-align: center;
}
h3 {
  font-size: 2.85vh;
  font-family: 'Montserrat';
  font-weight: 500;
  margin: 0;
  text-align: center;
  font-style: italic;
}

p {
  font-size: 2.50vh;
  font-family: 'Montserrat';
  font-weight: 500;
  margin: 0;
  text-align: justify;
}
/* === DECISION MAKERS === */
.decision-makers {
  height: 100vh;
  background: url('assets/img/sfondo-breve-scaled.png') center center / cover no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.decision-makers h1 {
  color: white;
}
.decision-makers p {
  color: white;
}


/* === MOBILE === */

@media (max-width: 768px) {
  .body-white {
    padding: 4vh;
  }
  .body-white p {
  margin-top: 2vh;
  padding-left:2vh;
  padding-right:2vh;
  text-align: justify;
  }
  .site-logo {
  position: absolute;
  left: 7%;       /* distanza dal bordo destro */
  top: 50%;          /* centrato verticalmente */
  transform: translateY(-50%); /* correzione perfetta del centraggio */
  }
  .partner-logo {
  position: absolute;
  right: 7%;       /* distanza dal bordo destro */
  top: 50%;          /* centrato verticalmente */
  transform: translateY(-50%); /* correzione perfetta del centraggio */
  }
  .partner-logo img {
    height: 3.5vh;
  }
  .site-header.shrink .partner-logo img {
    height: 3.5vh;
  }

  .hero-text {
  font-family: 'Montserrat';
  font-weight: 500;
  position: relative;
  z-index: 2;
  margin-top: 3vh;
  padding-right:2vh;
  padding-left:2vh;
  color: white;
  font-size: 3.5vh;
  text-align: center;
  padding-bottom:15vh;
  }

  .hero-logo {
    height: 15vh;
  }

  .hero-section{
    height:100vh;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;  /* spingi tutto un po’ sotto l’header */
    gap: 0vh;                     /* distanza logo↔testo */
  }
  .scopri {
    bottom:20vh;
    font-size: 2.8vh;
  }

  .decision-makers p {
    margin-top: 2vh;
    padding-right: 4vh;
    padding-left: 4vh;
  }
}