/*
UniMatch - Homepage style
https://Unimatch.com
 
@author:  Jacopo Siceri, https://www.linkedin.com/in/edoardo-lo-jacono-a55514210/
*/
/* Sicer's page fade-in */
body.page-enter { opacity: 0; }
body.page-ready  { opacity: 1; transition: opacity .45s ease; }

/*Sicer's Dinamic central Text*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Sicer's General-body-settings */
body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f7;
  color: #1c1c1e;
}
/* Sicer's Bluefoto-Hero */
.hero {
  height: 150vh;
  position: relative;
}
.hero-bg {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: url('../Img/Background-img-homepage.jpg') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1);
  transform-origin: top center;
  border-radius: 0;
  z-index: 1;
  transition: transform 0.2s ease-out, border-radius 0.2s ease-out;
}
.hero-inner {
  text-align: center;
  color: white;
  max-width: 90%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  gap: 30px;
  transition: transform 0.2s ease-out;
  padding-top: 10vh;
}
/* Sicer's arrow in Hero */
.scroll-arrow {
  font-size: 2rem;
  margin-top: 40px;
  animation: bounce 1.5s infinite;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
}
/* Sicer's Typerwriter in Hero */
.typewriter {
  font-size: 2em;
  line-height: 1.5;
  word-break: break-word;
  white-space: normal;
}
/* Sicer's Media settings of typewriter */
@media (max-width: 600px) {
  .typewriter {
    font-size: 1.3em;
  }
}
/* Sicer's Cursor settings in hero*/
.cursor {
  display: inline-block;
  color: white;
  font-weight: bold;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}
/* Sicer's keyframes for hero*/
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}
/* Sicer's Page content */
/* Sicer's Unimatch intro box test */
.unimatch-intro {
  padding: 2rem 1rem 1.5rem;
  padding-left: 7.5vw; 
  max-width: none; 
  margin-top: -2rem;
  text-align: left;
}
.unimatch-intro h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.unimatch-intro p {
  font-size: 1.2rem;
  color: #444;
}
/* Sicer's Info-boxes */
.info-boxes {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 7.5vw;
  margin: 0 auto;
  flex-wrap: wrap;
}
.info-box {
  background: white;
  border-radius: 1.5rem;
  max-width: none;  
  min-width: 280px;
  flex: 1 1 calc(33.333% - 1rem);
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  text-align: left;
  padding: 2.5rem 2rem;
  will-change: transform;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0); /* senza ombra all’inizio */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  padding-bottom: 4.5rem;
}
.info-box.visible {
  opacity: 1;
  transform: translateY(0);
}
.info-box:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  z-index: 10;
}
.info-icon {
  width: 40px;
  margin-bottom: 1rem;
}
.info-plus {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border: 1px solid #000;
  border-radius: 50%;
  background: transparent;
  font-size: 1.5rem;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  z-index: 5;
}
.info-plus:hover {
  background: rgba(0,0,0,0.05);
}
/* Sicer's Media settings of box */
@media (max-width: 768px) {
  .info-boxes {
    padding: 2rem 1rem; /* aggiunge spazio orizzontale */
    flex-direction: column;
    align-items: center;
  }

  .info-box {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem 1rem 3.5rem 1rem;
    margin: 1rem 0;
    padding: 2.5rem 2rem 4.5rem 2rem;
  }

    .info-box-button {
    bottom: 1rem;
    right: 1rem;
  }
}
/* Sicer's Infobox Overlay */
.overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}
.overlay.visible {
  opacity: 1;
  pointer-events: auto;
}
.overlay-content {
  background: white;
  border-radius: 2rem;
  padding: 2rem;
  padding-top: 3.5rem; 
  max-width: 600px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  position: relative;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.overlay-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.overlay-content.visible {
  opacity: 1;
  pointer-events: auto;
}
.overlay-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: 2px solid #999;
  border-radius: 50%;
  font-size: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.overlay-close:hover {
  background: rgba(0, 0, 0, 0.05);
}
/* Sicer's promotional section */
.promo-section {
  margin: 2rem 7.5vw;  
  border-radius: 20px;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
              url("https://images.pexels.com/photos/31085769/pexels-photo-31085769.jpeg?cs=srgb&dl=pexels-davegarcia-31085769.jpg&fm=jpg") 
              center center / cover no-repeat;
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
}
.promo-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.promo-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}
.promo-section .promo-button {
  display: inline-block;
  background-color: #007BFF;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}
.promo-section .promo-button:hover {
  background-color: #0056b3;
}
.promo-section {
  margin: 2rem 7.5vw;
  border-radius: 20px;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
              url("https://images.pexels.com/photos/31085769/pexels-photo-31085769.jpeg?cs=srgb&dl=pexels-davegarcia-31085769.jpg&fm=jpg") 
              center center / cover no-repeat;
  padding: 4rem 2rem;
  text-align: center;
  color: #fff;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
/* Sicer's Zoom effect of promo */
.promo-section:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.2);
}
.promo-section-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
/* Sicer's Media settings small display for promotion section */
@media (max-width: 600px) {
  .promo-content h2 {
    font-size: 1.5rem;
    text-align: center;
    line-height: 1.3;
  }
  .promo-content p {
    text-align: center;
    font-size: 0.9rem;
  }
  .promo-button {
    margin: 1rem auto 0;
    display: block;
  }
}

/* Sicer's Media settings dark mode */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #1c1c1e;
    color: #f5f5f7;
  }
  .info-box {
    background-color: #2c2c2e; 
    color: #f5f5f7;
    border: 1px solid #3a3a3c;
  }
  .info-plus {
    border-color: #f5f5f7;
    color: #f5f5f7;
  }
  a {
    color: #0a84ff; 
  }
  .overlay-content {
    background: rgba(28, 28, 30, 0.60);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: #f5f5f7;
    border: 1px solid #3a3a3c; 
  }

  .overlay-content h1,
  .overlay-content h2,
  .overlay-content h3,
  .overlay-content p,
  .overlay-content a {
    color: #f5f5f7;
  }

  .overlay-close {
    color: #f5f5f7;
    border-color: #8e8e93;
  }
  .overlay-close:hover {
    background: rgba(255, 255, 255, 0.08);
  }
  .unimatch-intro p {
    color: #ffffff; /* bianco puro per leggibilità */
  }
}


/*  Prodotto da $1C3Я

███████╗██╗ ██████╗███████╗██████╗ 
██╔════╝██║██╔════╝██╔════╝██╔══██╗
███████╗██║██║     █████╗  ██████╔╝
╚════██║██║██║     ██╔══╝  ██╔══██╗
███████║██║╚██████╗███████╗██║  ██║
╚══════╝╚═╝ ╚═════╝╚══════╝╚═╝  ╚═╝
2027
*/