body {
    font-family:'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(rgba(255, 0, 0, 0), rgb(0, 0, 0)), url('img/foc2.jpg') center/cover no-repeat;
    color: #333;
}

/* Navbar fissa */
.navbar {
    background-color: rgba(255, 255, 255, 0.956);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid #d2b48c;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.714);
}

.container{
    background: linear-gradient(rgb(0, 0, 0), rgba(0, 0, 0, 0.98)), url('img/s7.jpg') center/cover no-repeat;

    color: rgb(214, 214, 214);
   border:solid 2px rgb(238, 176, 69);
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
   box-shadow: 0 15px 25px rgba(0, 0, 0, 0.849);
   padding: 10px;
  
}


.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo img {
    height: 150px;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: #553300;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #8b4513;
}


/* Selettore lingua */
.language-selector {
    display: flex;
    align-items: center;
}

.language-selector img {
    width: 30px;
    height: 20px;
    margin-left: 10px;
    cursor: pointer;
    border: 1px solid #ddd;
}


.carousel{
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.98)), url('img/dISCOUNT.png') center/cover no-repeat;
    text-align: center;
    display: flex;
    justify-content: center;
    border-radius: 5px;
    border:solid 2px rgb(238, 176, 69);
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
   box-shadow: 0 15px 25px rgba(0, 0, 0, 0.849);
}
.carousel-container {
    width: 600px;
    height: 400px;
    overflow: hidden;
    
}

.carousel-slide {
    display: flex;
    width: 600%; /* 6 immagini affiancate */
    animation: carousel 15s linear infinite; /* Animazione di scorrimento */
}

.carousel-slide img {
    width: 600px;
    height: 400px;
}

@keyframes carousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-66.66%); /* Sposta l'ultima immagine all'inizio */
    }
}

.video{

    border-radius: 50px;
    width: 40%;
}
.logodel{

    width: 60px;
    border-radius: 100px;
}

.h2del1{

    background-color: #24b869;
    color: white;
    border-radius: 5px;
   
    
    padding: 20px;
}


.h2del2{

    background-color: #ff9500;
    color: white;
    border-radius: 5px;
    
    padding: 20px;
}

.h2del3{

    background-color: #1572cf;
    color: white;
    border-radius: 5px;
    
    padding: 20px;
}

.h2del4{

    background-color: #cf320f;
    color: white;
    border-radius: 5px;
    
    padding: 20px;
}

.href{
    text-decoration: none;
}



.prev1 {
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1.5em;
    cursor: pointer;
}

.next1 {
    right: 0;

    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1.5em;
    cursor: pointer;
}

/* Adattamento per dispositivi mobili */
@media screen and (max-width: 768px) {
    .carosello-container2 {
        width: 100%;
        height: 300px;
    }



    .prev1 {
        padding: 8px 15px;
        font-size: 1.2em;
    }
    
    .next1 {
        padding: 8px 15px;
        font-size: 1.2em;
    }

 
}


.separa{

    background-color: #000000;
    padding: 20px;
    margin-bottom: 25px;
    color: white;
}







/* Immagine di sfondo che cambia */
.hero {
    background-size: contain;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 20px;
    animation: changeBackground 15s infinite;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes changeBackground {
    0% { background-image: url('img/uber1.webp'); }
    33% { background-image: url('img/Dor2.jpg'); }
    66% { background-image: url('img/gru1.jpg'); }
    100% { background-image: url('img/w2.png'); }
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 50px;
    display: inline-block;
    border-radius: 10px;
}



.hero h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.button {
    display: inline-block;
    background-color: #d2b48c;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #a0522d;
}

.imgindex{

    width: 200px;
}

/* Shop */
.shop {
    padding: 80px 20px;
    text-align: center;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.product-item {
    width: 350px;
    margin: 30px;
    padding: 30px;
    border: 1px solid #ebe1d1;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.45);
}

.product-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.price {
    font-weight: bold;
    color: #ff9900;
    font-size: 1.2em;
    margin-top: 10px;
}

.buy-button {
    background-color: #1b6e0c;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.buy-button:hover {
    background-color: #a0522d;
}

/* Qualità italiana */
#qualita-italiana {
    background-color: #f8f0e3;
    padding: 80px 20px;
    text-align: center;
}

#qualita-italiana img {
    width: 100%;
    max-width: 500px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#qualita-italiana h2 {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 25px;
}

#qualita-italiana p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Carosello prodotti */
.carosello-prodotti {
    padding: 80px 20px;
    text-align: center;
    
}

.carosello-prodotti h2 {
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 40px;
}

.carosello img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slick-prev,
.slick-next {
    background-color: #d2b48c;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slick-prev {
    left: 10px;
}

.slick-next {
    right: 10px;
}

.slick-prev:hover,
.slick-next:hover {
    background-color: #a0522d;
}

/* Contatti */
.contacts {
    background-color: #f0e6d2;
    padding: 80px 20px;
    text-align: center;
}

/* Footer */
footer {
    background-color: #ff0000;
    color: white;
    text-align: center;
    padding: 30px;
    font-size: 0.9em;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        
    }

    .nav-menu.active {
        display: flex;
    }

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

    .hamburger {
        display: block;
        cursor: pointer;
        margin-left: auto;
    }

    .bar {
        width: 25px;
        height: 3px}
    }

    .testa{
        display: flex;
        justify-content: space-around;
        background-color: red;

    }