body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
}

.card-icon {
    font-size: 3rem;
    color: #0d6efd;
}

.card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

footer {
    font-size: 0.9rem;
}

/* Navbar con immagine di sfondo e overlay */
.navbar-bg {
    position: relative;
    background: url("https://lamerino.it/banner_navbar.jpg") center/cover no-repeat;
}

.navbar-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5); /* overlay nero al 50% */
    z-index: 0;
}

/* Manteniamo il contenuto sopra l'overlay */
.navbar-bg .container,
.navbar-bg .navbar-brand,
.navbar-bg .nav-link,
.navbar-bg .navbar-toggler {
    position: relative;
    z-index: 1;
}

.navbar-bg {
    min-height: 100px; /* o più, se vuoi */
}
