/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    background: url('assets/hero-testi-siti-web-background.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1; /* Overlay sotto il contenuto */
}

.hero-section .container {
    position: relative;
    z-index: 2; /* Contenuto sopra l'overlay */
    color: #fff; /* Colore del testo bianco */
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-decoration: underline;
}

.hero-links {
    list-style: none;
    padding: 0;
}

.hero-links img {
    width: 250px;  /* Imposta la larghezza desiderata */
    height: 60px; /* Imposta l'altezza desiderata */
    object-fit: cover; /* Mantiene il contenuto dell'immagine dentro le dimensioni specificate */
    margin-right: 15px;
}

.hero-links li {
    margin-bottom: 1rem;
}

.ease-link {
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease-in-out;
}

.ease-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #0DCAF0;
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.ease-link:hover {
    color: #0DCAF0;
}

.ease-link:hover::before {
    width: 100%;
    left: 0;
}

/* Media Query per schermi più piccoli */
@media (max-width: 768px) {
    .hero-section h1 {
        margin-bottom: 2rem !important;
        font-size: 1.6rem;
        font-weight: 700;
    }

    .hero-links img {
        width: 200px;  /* Imposta la larghezza desiderata */
        height: 50px; /* Imposta l'altezza desiderata */
        object-fit: cover; /* Mantiene il contenuto dell'immagine dentro le dimensioni specificate */
        margin-right: 15px;
    }

    .ease-link {
        display: none;
    }
}