body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: white;
    overflow-x: hidden;
}

/* SFONDO SLIDESHOW */
.bg-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
}

/* HEADER */
header {
    background: rgba(0,0,0,0.5);
    padding: 25px;
    text-align: center;
    font-size: 32px;
    font-weight: bold;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    background: rgba(0,0,0,0.5);
}

a {
    color: #c8ffb0;
    text-decoration: none;
    font-weight: bold;
}

/* --- CAROUSEL --- */
.carousel-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.carousel {
    display: flex;
    transition: transform 0.8s ease-in-out;
}

.carousel img {
    width: 100%;
    flex-shrink: 0;
    border-radius: 12px;
}

/* Frecce */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: none;
    color: white;
    font-size: 32px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}

.prev:hover, .next:hover {
    background: rgba(0,0,0,0.7);
}

.prev { left: 10px; }
.next { right: 10px; }
