/* Stili specifici per la pagina index.html */

/* 
 * Stile per la scritta "new_horizon".
*/
h1 {
    color: #080808;
    font-size: 2rem;
    margin: 0;
    padding-bottom: 10px;
    opacity: 1;
    text-transform: lowercase;
    filter: blur(0);
    text-shadow: 0 0 0 rgba(8, 8, 8, 0);
}

h1 a {
    transition: opacity 1.5s ease-in-out, filter 0.3s ease-in-out, color 0.3s ease-in-out, text-shadow 0.3s ease-in-out;
}


/* Nuovo effetto hover */
h1 a:hover {
    filter: blur(1px);
    color: #B8B8B8;
    opacity: 0.8;
}

/* 
 * SVG che contiene la linea.
*/
svg#center-line {
    width: 99vw;
    height: 8px;
    overflow: visible;
    opacity: 0;
    transition: opacity 1.5s ease-in-out 0.5s;
}

/* Style for the new tagline text */
#tagline-text {
    color: #080808; /* Same as h1 */
    font-size: 10pt; /* Specific size */
    margin-top: 15px; /* 10px distance from the line, +4px */
    opacity: 0; /* Initially hidden */
    transition: opacity 1.5s ease-in-out; /* Fade in effect */
    text-transform: lowercase; /* Maintain lowercase style */
}

/* --- Carosello Immagini Sfondo --- */
#background-carousel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Sotto il contenuto, sopra la grana */
    pointer-events: none;
}
.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Copre lo schermo senza distorcere */
    opacity: 0;
    transition: opacity 3s ease-in-out, filter 3s ease-in-out; /* Transizione morbida per opacità e filtro */
    filter: blur(4px); /* Applica la sfocatura a tutte le immagini */
}
.carousel-image.active {
    opacity: 0.08; /* Trasparenza al 90% */
}
