html {
    scroll-behavior: smooth;
}


/* Impostazioni base */
body {
    font-family: Inter;
    margin: 0;
    padding-top: 80px;
    text-align: center;
    background: url('../assets/landing/bg1.jpg') fixed no-repeat;
    background-size: cover;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Colore nero con trasparenza*/
    z-index: -1;
}

.page-title {
  margin-top: 40px; /* Distanza dal bordo superiore */
  font-size: 2.5em; /* Dimensione del titolo */
  color: #ffffff; /* Colore del titolo */
  text-transform: uppercase; /* Opzionale, per il maiuscolo */
  font-family: Inter;
  font-weight: 300;
  scroll-margin-top: 170px;
}

.subtitles {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap; /* Permette l'andare a capo */
    justify-content: center;
    gap: 10px 20px; /* [spazio verticale, orizzontale] */
    padding: 0 10px; /* Padding orizzontale opzionale */
}

.subtitles a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 300;
    font-size: 1.5em;
    transition: color 0.3s;
    padding: 5px 10px; /* Spazio interno ai link */
    white-space: nowrap; /* Impedisce che le parole si spezzino */
}

.subtitles a:hover {
    text-decoration: underline;
    color: #dddddd;
}

.section-title {
    font-size: 2.5em;
    font-weight: 400;
    margin: 60px 0 20px 0;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    font-family: Inter;
    font-weight: 300;
    letter-spacing: 1px;
    scroll-margin-top: 170px; 
}

.section-title a{
    color: #ffffff;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: 20px;
    padding: 40px 20px;
    text-align: center;
    max-width: 1200px;
    margin: auto;
}

/* Stili per ogni immagine */
.image-item {
    background-color: white;
    padding: 10px;
    border-radius: 0px;/*8px*/
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.image-item img {
    width: 100%;
    height: auto;
    border-radius: 0px;/*8px*/
}

.title {
    text-align: center;
    font-size: 1.1em;
    margin-top: 10px;
    color: #333;
}



/* Media query per schermi piccoli (mobile) */
@media (max-width: 768px) {

    body{
        padding-top: 150px;
    }

    .gallery {
        grid-template-columns: 1fr;
        /* Una sola colonna per mobile */
    }


}