body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: url('your-background-image.jpg') no-repeat center center fixed;
    background-size: cover;
}

header {
    background-color: rgba(0, 123, 255, 0.9);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Futura', Arial, sans-serif;
}
.barra{
    display: block;
    background-color: #007BFF;
    color: white;
    padding: 0.55rem 2rem;
    text-decoration: none;
    margin: 1rem;
}
.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffeb3b;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

#home {
    margin-top: 60px; /* height of the header */
    position: relative;
    text-align: center;
}

.carousel {
    width: 80%;
    margin: 0 auto;
    position: relative;
    height: auto; /* Imposta l'altezza del carosello */
}

.carousel img {
    width: 100%;
    height: auto;
    transition: transform 0.3s, box-shadow 0.3s;
}

.slick-center img {
    transform: scale(1.2);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.slick-slide {
    transition: transform 0.3s, filter 0.3s;
    transform: scale(0.8);
    filter: blur(2px);
}

.slick-center {
    transform: scale(1);
    filter: blur(0);
}

.hero-content {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -20%);
    color: white;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    z-index: 1;
    width: 100%;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
}

.hero-content h2 {
    font-size: 2rem;
}

.hero-content p {
    font-size: 1.5rem;
}

.hero-content button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1rem;
}

section {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.service {
    margin: 1rem 0;
}

#documents ul {
    list-style: none;
    padding: 0;
}

#documents li {
    margin: 1rem 0;
}

#documents a {
    color: #007BFF;
    text-decoration: none;
    font-size: 1rem;
}

.download-btn {
    display: inline-block;
    background-color: #007BFF;
    color: white;
    padding: 0.75rem 2rem;
    text-decoration: none;
    margin: 1rem;
}

#contactForm {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contactForm label {
    margin: 0.5rem 0;
}

#contactForm input, #contactForm textarea {
    width: 100%;
    max-width: 500px;
    padding: 0.5rem;
    margin-bottom: 1rem;
}

#contactForm button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 0.5rem 2rem;
    cursor: pointer;
    font-size: 1rem;
}

footer {
    background-color: #333;
    color: white;
    padding: 1rem 0;
    text-align: center;
}

.temperature-description.pointer {
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: rgba(0, 123, 255, 0.9);
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-content {
        top: 15%;
        transform: translate(-50%, -15%);
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}
