@font-face {
      font-family: 'Helvetica-Narrow';
      src: local('Helvetica-Narrow'), local('HelveticaNeue-Narrow');
    }

    @font-face {
      font-family: 'Bookman-Demi';
      src: local('Bookman-Demi'), serif;
    }
        /* HERO */
.hero-container {
  margin-top: 0; /* valore minimo ideale */
  padding-top: 85px;
  position: relative;
}


    .hero-image {
      width: 100%;
      height: 100vh;
      object-fit: cover;
      display: block;
    }

    .hero-text-overlay {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      z-index: 5;
    }

    .hero-text-overlay h1 {
      font-size: 3.2rem;
      font-family: 'Russo One', sans-serif;
      color: #ff4a4a;
      text-shadow: 
        -1px -1px 0 white,
         1px -1px 0 white,
        -1px  1px 0 white,
         1px  1px 0 white;
    }

    .hero-text-overlay p {
      font-size: 1.2rem;
      margin: 15px 0;
      text-shadow: 
        -1px -1px 0 black,
         1px -1px 0 black,
        -1px  1px 0 black,
         1px  1px 0 black;
      letter-spacing: 1px;
    }

        .cta-button {
      padding: 15px 30px;
      font-size: 1rem;
      font-weight: bold;
      background-color: #ff4a4a;
      color: black;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .cta-button:hover {
      background-color: #e52b50;
    }

    /* SECTION */
    .section {
      padding: 100px 40px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
    }

    .section h2 {
      font-size: 2rem;
      margin-bottom: 20px;
      color: #ff4a4a;
    }

    .section p {
      max-width: 600px;
      line-height: 1.6;
      font-size: 1rem;
      letter-spacing: 0.5px;
    }

    .about-image, .contact-info {
      max-width: 400px;
      margin-top: 20px;
    }

    footer {
      padding: 20px;
      text-align: center;
      background-color: #111;
      color: white;
    }

        /* OVERLAY LOGIN */
    #loginOverlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.8);
      display: none;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      z-index: 999;
      color: white;
    }

    #loginOverlay h2 {
      margin-bottom: 20px;
      font-size: 2rem;
      color: #ff4a4a;
      font-family: 'Russo One', sans-serif;
    }

    #loginOverlay button {
      padding: 10px 20px;
      margin: 10px;
      font-size: 1rem;
      background-color: #ff4a4a;
      color: black;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }

#closeOverlay {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;

  /* sempre presente ma invisibile all’inizio */
  display: block;
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;

  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* quando deve apparire */
#closeOverlay.show {
  opacity: 0.85;
  transform: scale(1);
  pointer-events: auto;
}

#closeOverlay.show:hover {
  opacity: 1;
}

/* Overlay animation helpers */
#loginOverlay {
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform-origin: center center;
}

#loginOverlay.overlay-closing {
  transition:
    transform 0.65s cubic-bezier(0.22, 0.9, 0.2, 1),
    opacity 0.65s ease,
    filter 0.65s ease;
  will-change: transform, opacity, filter;
}

#loginOverlay.overlay-hidden {
  display: none !important;
}

/* opzionale: effetto un po' “elastico” quando compare */
#loginOverlay.overlay-opening {
  animation: overlaySoftIn 0.6s ease;
}

@keyframes overlaySoftIn {
  from { transform: scale(0.995); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

    @media (max-width: 768px) {
  .hero-container {
    padding-top: 50px;
  }
}

/* =========================
   OPEN IN CHROME OVERLAY
   ========================= */

#browserSuggestionOverlay[hidden] {
  display: none;
}

#browserSuggestionOverlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.82);
  z-index: 1000001; /* sopra loader, overlay login e tutto il resto */
}

.browser-suggestion-box {
  width: 100%;
  max-width: 430px;
  background: #111;
  color: white;
  border: 1px solid rgba(255, 74, 74, 0.35);
  border-radius: 18px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

.browser-suggestion-box h2 {
  margin: 0 0 14px;
  font-size: 1.8rem;
  color: #ff4a4a;
  font-family: 'Russo One', sans-serif;
}

.browser-suggestion-text {
  margin: 0 0 12px;
  line-height: 1.55;
  font-size: 1rem;
}

.browser-suggestion-text.small {
  font-size: 0.95rem;
  opacity: 0.92;
}

.browser-suggestion-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.browser-suggestion-actions button {
  min-height: 46px;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.2s ease, background 0.25s ease;
}

.browser-suggestion-actions button:hover {
  transform: translateY(-1px);
}

#tryOpenChromeBtn {
  background: #ff4a4a;
  color: black;
}

#tryOpenChromeBtn:hover {
  background: #e52b50;
}

#copyLinkChromeBtn {
  background: #2a2a2a;
  color: white;
}

#closeBrowserSuggestionBtn {
  background: #2a2a2a;
  color: white;
}

.browser-suggestion-note {
  min-height: 22px;
  margin-top: 14px;
  font-size: 0.93rem;
  color: #f5d7d7;
}

@media (max-width: 768px) {
  .browser-suggestion-box {
    max-width: 95%;
    padding: 22px 16px;
  }

  .browser-suggestion-box h2 {
    font-size: 1.5rem;
  }

  .browser-suggestion-text {
    font-size: 0.96rem;
  }
}