

/* ——— Percorso Nav ——— */
.percorso-nav {
   background: #eeeeee;           /* sfondo pieno per evitare sovrapposizioni su testi */
  max-width: 100%;
  margin: 0 auto 2rem auto;   /* centrata come portfolio-content-inner */
  padding: 6% 4% 2% 4%;
  font-size: 1.2rem;            /* coerente con p */
  line-height: 1.6;
}

.percorso-nav p {
  margin: 0.2rem 0;
}

.percorso-nav a {
  color: #000;
  text-decoration: none;
  transition: color 0.2s ease;
}

.percorso-nav a:hover {
  text-shadow:
      0.3px 0 0 currentColor,
     -0.3px 0 0 currentColor;
}

/* ==============================
   STUDIO CONTENT / FADE SECTION
============================== */
.portfolio-content {
  background: #fff;
  padding: 0 4% 2% 4%;
}

.portfolio-content-inner {
  max-width: 80%;
  margin: 0 auto;
  padding: 0;
}

.portfolio-content-inner h2 {
  font-size: 1.8rem;
  margin: 3rem 0 0 0;
}

.portfolio-content-inner h2 a:hover {
  color: #a4a4a4;
}

.portfolio-content-inner p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 0;
}
.portfolio-content-inner p a:hover {
text-shadow:
    0.2px 0 0 currentColor,
   -0.2px 0 0 currentColor;
}

/* ============================================================
   LISTE PORTFOLIO (per conferenze e mostre)
============================================================ */
.portfolio-list {
  list-style-type: disc;    
  padding-left: 1.2rem;  
  margin: 0;                    
  color: #000000;   
  line-height: 1.6;
  font-size: 1.1rem;
}

.portfolio-list li {
  margin: 0.1rem 0;             /* distanza minima tra righe */
  padding-left: 0.2rem;         /* allinea bene testo dopo il pallino */
}

.portfolio-list li::marker {
  color: #000000;               
}

.link-bottom-page p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 0;
}
.link-bottom-page p a:hover {
text-shadow:
    0.2px 0 0 currentColor,
   -0.2px 0 0 currentColor;
}

/* ==============================
   RESPONSIVE
============================== */

/* ---- TABLET (max-width: 1024px) ---- */
@media (max-width: 1024px) {

  .percorso-nav {
    padding: 8% 4% 3% 4%;
    font-size: 1.1rem;
    line-height: 1.6;
  }

  .portfolio-content {
    padding: 6% 4%;
  }

  .portfolio-content-inner {
    max-width: 85%;
  }

    .portfolio-content-inner h1 {
    font-size: 1.4rem; 
    margin-bottom: 0.5rem;
  }

  .portfolio-content-inner h2 {
    font-size: 1.3rem;
    margin-top: 2.5rem;
  }

  .portfolio-content-inner p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .portfolio-list {
    padding-left: 1.1rem;
    line-height: 1.65;
  }

  .portfolio-list li {
    margin: 0.12rem 0;
  }
}

/* ---- MOBILE (max-width: 600px) ---- */
@media (max-width: 600px) {

  .percorso-nav {
    padding: 12% 5% 4% 5%;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 2rem;
  }

  .percorso-nav p {
    margin: 0.3rem 0;
  }

  .portfolio-content {
    padding: 8% 5%;
    margin: 1rem 1.5%;
  }

  .portfolio-content-inner {
    max-width: 90%;
    text-align: left;
  }

  .portfolio-content-inner h1 {
    font-size: 1.6rem; 
    margin-bottom: 1.5rem;
  }

  .portfolio-content-inner h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
  }

  .portfolio-content-inner p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .portfolio-list {
    padding-left: 1rem;
    line-height: 1.6;
  }

  .portfolio-list li {
    margin: 0.15rem 0;
  }
}






/* ===============================
   CONTATTI MINIMALE
================================= */
main {
  max-width: 600px;
  margin: 5rem auto;
  padding: 0 1.5rem;
  text-align: center;
  font-family: "Roboto", sans-serif;
}

main h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 2rem;
  font-weight: 600;
  color: #111;
}

main form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

main input,
main textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

main input:focus,
main textarea:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 8px rgba(17,17,17,0.2);
}

main textarea {
  min-height: 150px;
  resize: vertical;
}

main button {
  background-color: #111;
  color: #fff;
  font-size: 1rem;
  padding: 0.9rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

main button:hover {
  background-color: #333;
  transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 600px) {
  main {
    margin: 3rem auto;
    padding: 0 1rem;
  }

  main h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
}
