/* ----- font-face (aggiusta il path rispetto al file CSS) ----- */
@font-face {
  font-family: 'Disket Mono';
  src: url('../fonts/Disket-Mono-Regular.woff2') format('woff2'); /* ADATTA il percorso: se style.css è in /css usa ../fonts/ */
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Neue*/
@font-face {
  font-family: 'NeueHaas';
  src: url('/fonts/NeueHaasGrotesk55.otf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* ----- Stili globali (mantieni UNO solo body) ----- */
body {
  margin: 0;
  background-color: #000;
  color: #fff;
  font-family: "Courier New", monospace; /* font di default del sito */
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero section a tutta pagina */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Video a schermo intero */
.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* riempie tutto lo schermo */
  object-position: center; /* centra sempre il video */
}



/* Contenuto sovrapposto */
.hero-content {
  width: 100%;
  position: absolute;   /* assoluto rispetto alla sezione hero */
  bottom: 10%;          /* distanza dal fondo */
  left: 3%;             /* distanza dal bordo sinistro */
  z-index: 1;
    color: white;             /* colore base (fondamentale per il blend) */
    mix-blend-mode: difference;
}

.hero-content h1 {
  font-family: "Disket Mono";
  font-weight: bold;
  letter-spacing: 0.03em;
  font-size: 55px;
  line-height: 1.2;
  text-align:justify;
}


@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 22px; /* su tablet e telefoni */
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 18px; /* telefoni piccoli */
  }
}



/* Navbar sopra tutto */
.nav-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding: 20px 30px;
  font-family: "Disket Mono";
  font-size: 14px;
  margin-top: 10px;
  color: #fff;
  mix-blend-mode: difference;

}

.main-nav a {
  margin-left: 14px;
  text-decoration: none;
  font-size: 14px;
  font-family: "Disket Mono";
  text-transform: uppercase;
}

.main-nav a:hover {
  opacity: 0.8;
  mix-blend-mode: difference;   /* esempio: cambia blending on hover */
}


.logo {
  margin-top: -10px;
}

/* Mobile: mantieni orientamento orizzontale */
@media (max-width: 768px) {
  .video-container video {
    object-fit: cover;   /* mantiene l’aspetto orizzontale */
    height: 100%;
    width: 100%;
  }
}



/* ----- ABOUT SECTION ----- */
.about {
  position: relative;
  padding: 40px 20px 310px 20px;
  max-width: 1800px;
  margin: 0 auto;
  overflow: hidden;
}

/* titolo H3 usa Disket Mono */
.about h3 {
  font-family: 'Disket Mono', monospace;
  font-weight: 700; /* o 400 a seconda del file font */
  font-size: 40px;
  color: #fff;
  margin: 0 0 1rem 0;
  position: relative;
  z-index: 1;
}

/* paragrafo usa Courier New (o il font a tua scelta) */
.about p.testo_about {
  font-family: "NeueHaas", monospace;
  font-weight: 200;
  font-size: 35px;
  color: #fff;
  text-align: justify;
  position: relative;
  z-index: 1;
  margin: 0;
  letter-spacing: -1px; /* 👈 aumenta la spaziatura tra lettere */

}

/* gif */
.about .gif {
  position: absolute;
  top: -100px;
  left: 60%;
  transform: translateX(-50%);
  width: 60%;
  height: auto;
  object-fit: contain;
  z-index: 0;
  opacity: 0.7;
}
.scroll {
  position: relative;
  width: 100%;
  overflow: hidden;   /* nasconde ciò che esce */
  background: black;  /* opzionale: sfondo */
  white-space: nowrap;
}

.scroll-text {
  display: inline-block;
  padding-left: 100%; /* parte fuori dallo schermo a destra */
  animation: scroll-left 15s linear infinite;
}

.scroll-text h3 {
  font-size: 3rem;
  font-family: "Disket Mono";
  color: white;
  display: inline-block;
  margin-bottom: 0px;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}



/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr; /* due colonne uguali */
 
}

.gallery-row {
  display: contents; /* lascia che siano le img a occupare le celle */
}

.gallery img {
  width: 100%;
  height: 100vh; /* metà schermo */
  object-fit: cover;
}

/* seconda riga con immagine sola → occupa entrambe le colonne */
.gallery-row:nth-child(2) img {
  grid-column: 1 / -1; /* dalla prima all’ultima colonna */
}


/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 40px 30px 20px;
  background-color: #000;
  border-top: 1px solid #fff;
  font-family: "Disket Mono";
}

.site-footer h2 {
  font-size: 18px;
  line-height: 1.2;
}

.site-footer p,
.site-footer h4 {
  font-size: 12px;
  margin-top: 10px;
}

.footer-bottom {
  width: 100%;
  text-align: center;
  margin-top: 30px;
  font-size: 10px;
}

.social-icons img {
  width: 16px;
  margin-top: 10px;
}




@media (max-width: 600px) {
  .main-nav a {
    margin-left: 4px;
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .about p.testo_about {
    font-size: 20px; /* più leggibile su smartphone */
  margin-bottom: -300px;
  }
  .gif {
    scale: 150%;
    margin: 300px 0 0 0px;
  }
}


/* Smartphone */
@media (max-width: 480px) {
  .gallery img {
    height: 50vh; /* più compatto su mobile */
  
  }
}

@media (max-width: 480px) {
  .footer-center {
    order: 1;
    width: 100%;
  }

  .footer-right {
    order: 2;
    width: 100%;
    text-align: left;
    margin-top: 20px;
  }

  .footer-bottom {
    order: 3;
    width: 100%;
    margin-top: 30px;
  }
}


