/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
}

/* Navigation */
.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-size: 1.1rem;
    padding: 10px 15px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    background-color: #3498db;
    color: #ffffff;
    border-radius: 5px;
}

/* Carousel */
.carousel {
    max-width: 100%;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    animation: slide 12s infinite;
}

.carousel-container img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes slide {
    0%, 33.33% { transform: translateX(0); }
    33.34%, 66.66% { transform: translateX(-100%); }
    66.67%, 100% { transform: translateX(-200%); }
}

/* Vantaggi */
.vantaggi {
    padding: 40px 0;
    text-align: center;
}

.vantaggi h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.vantaggi ul {
    list-style: none;
    margin-top: 20px;
}

.vantaggi li {
    font-size: 1.1rem;
    margin: 10px 0;
}

/* Center Image */
.center-image {
    text-align: center;
    padding: 40px 0;
}

.center-image img {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Recensioni */
.recensioni {
    padding: 40px 0;
    text-align: center;
}

.recensioni h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.recensione {
    margin: 20px 0;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.recensione img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.recensione p {
    font-size: 1.1rem;
}

/* Content */
.content {
    padding: 40px 0;
}

.content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.content img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.content ul, .content ol {
    margin: 20px 0;
    padding-left: 20px;
}

.content li {
    font-size: 1.1rem;
    margin: 10px 0;
}

/* Video */
.video {
    margin: 20px 0;
}

.video iframe {
    max-width: 100%;
    border-radius: 10px;
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.footer-links li {
    margin: 0 15px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .carousel-container img {
        height: 200px;
        object-fit: cover;
    }

    .center-image img {
        max-width: 100%;
    }

    .video iframe {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 8px 12px;
    }

    .vantaggi h2, .recensioni h2, .content h2 {
        font-size: 1.5rem;
    }

    .recensione img {
        width: 80px;
        height: 80px;
    }
}