* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #ffffff;
    color: #222;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('../images/suedtirol2.jpg');
    background-size: cover;
    background-position: center;
    height: 750px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero h2 {
    font-family: 'ABeeZee', Sans-serif;
    font-size: 65px;
    margin-bottom: 20px;
    color: #FFCC00;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 80px;
}

.logo-header {
    margin: 0 auto;
}
.logo-header img {
    max-width: 200px;
    margin-bottom: 40px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: #FFCC00;
    color: #003366;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
}

.cta-par {
    width:100%;
    margin: 0 auto;
    text-align: center;
}

/* Products Section */
.products {
    padding: 40px 0;
    background-color: white;
}

.section-extend {
    width: 100%;
    background-color: #eaeaea;
    padding: 40px 0 40px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
}

.section-title h2 {
    font-family: 'ABeeZee', Sans-serif;
    font-size: 2.3rem;
    color: #116251;
    margin-bottom: 15px;
}

.section-content {
    text-align: left;
    margin-bottom: 40px;
}
.section-content p {
    font-size: 18px;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
}

#mainproduct-o {
    display: block;
}

#mainproduct-v {
    display: none;
}

/* Parallax 1 */
.section-product-image {
    background: url('../images/colazione-bavarese.jpg'); /* immagine di esempio */
    min-height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    margin-bottom: 40px;
}
.section-product-image img {
    width: 100%;
    margin: 0 auto;
}

/* Parallax 2 */
.section-product-image2 {
    background: url('../images/wuerstel-crauti-carre.jpg'); /* immagine di esempio */
    min-height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    margin-bottom: 40px;
}
.section-product-image2 img {
    width: 100%;
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-bottom: 80px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    border:1px solid #c6c6c6;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-image-pack {
    margin-top: 0;
}
.product-image-pack img {
    width: 100%;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #FFCC00;
    color: #003366;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.product-info {
    padding: 10px;
}

.product-name {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3rem;
    margin-bottom: 10px;
    color: #116251;
}

.product-description {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.product-price {
    font-size: 22px;
    font-weight: bold;
    color: #003366;
    margin-bottom: 15px;
}

.add-to-cart {
    width: 100%;
    background-color: #003366;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.add-to-cart:hover {
    background-color: #002244;
}

.add-to-cart i {
    margin-right: 8px;
}

/* Banner Section */
.banner {
    background-color: #003366;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.banner h3 {
    font-family: 'ABeeZee', Sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #FFCC00;
}

.banner p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
}



/* Prezzo scontato*/
.discount-banner {
  background: linear-gradient(135deg, #c0136b, #c0136b);
  color: white;
  text-align: center;
  padding: 3rem 1rem;
}

.discount-content h2 {
  font-family: 'ABeeZee', Sans-serif;
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.discount-text {
  font-size: 1.2rem;
}

.old-price {
  text-decoration: line-through;
  color: #f0cfcf;
  font-size: 2rem;
  font-weight: bold;   
}

.new-price {
  font-size: 2rem;
  font-weight: bold;
  color: #ffdf00; /* giallo Baviera */
}







/* FAQ */
.faq {
    max-width: 700px;
    margin-top: 3rem;
    margin: 0 auto;
}

.faq h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #0056a3;
}

.faq-item {
    margin-bottom: 0.6rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background: #f0f0f0;
    padding: 1rem;
    cursor: pointer;
    font-weight: bold;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1rem;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    background: white;
    padding: 0 1rem;
}

.faq-answer p {
    margin-top: 10px;
    margin-bottom: 20px;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* limite sufficiente per contenere la risposta */
    /*padding: 1rem;     /* padding verticale compare solo in apertura */
}



.spec-item {
    margin-bottom: 0.2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.spec-question {
    background: #f0f0f0;
    padding: 1rem;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    position: relative;
}

.spec-question::after {
    content: '+';
    position: absolute;
    right: 1rem;
}

.spec-item.active .spec-question::after {
    content: '-';
}

.spec-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    background: white;
    padding: 0 1rem;
    font-size: 14px;
}

.spec-answer p {
    margin-bottom: 20px;
}
.spec-answer ul { margin: 0; padding: 15px; }
.spec-answer ul li { padding: 0 0 0 0; }

.spec-item.active .spec-answer {
    max-height: 500px; /* limite sufficiente per contenere la risposta */
    /*padding: 1rem;     /* padding verticale compare solo in apertura */
}



/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #eaeaea;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-container {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-item {
    min-width: 100%;
    padding: 0 15px;
}

.testimonial-content {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.stars {
    color: #FFCC00;
    margin-bottom: 20px;
    font-size: 20px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #003366;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    color: #003366;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: #888;
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.prev-btn, .next-btn {
    background-color: rgba(0, 51, 102, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background-color: rgba(0, 51, 102, 0.9);
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #003366;
}



.info-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  background: #c0136b;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.info-item .icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.info-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}



/* Responsive per dispositivi più piccoli */
@media (max-width: 768px) {
    .testimonial-content {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 15px;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .author-info h4 {
        font-size: 16px;
    }
    
    .author-info p {
        font-size: 13px;
    }

    .cta-par {
        width: 99%;
        margin: 0 auto;
        text-align: center;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .testimonials {
        padding: 60px 0;
    }
    
    .testimonial-content {
        padding: 15px;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
    
    .testimonial-author {
        flex-direction: column;
        gap: 10px;
    }
}





/* Footer */
footer {
    background-color: #116251;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h4 {
    font-family: 'ABeeZee', Sans-serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #FFCC00;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #FFCC00;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #0f5848;
    color: #ccc;
    font-size: 14px;
}

.footer-bottom a {
    color: #ccc;
}



/* Image-Text Section Styles */
.image-text-section {
    padding: 25px 0;
}

.image-text-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Soluzione definitiva per le immagini rettangolari */
.image-text-container {
display: flex;
flex-wrap: wrap;
gap: 50px;
align-items: center;
}

.image-column {
width: 50%;
height: 350px;
border-radius: 10px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
overflow: hidden;
/* Assicura che l'immagine di sfondo copra completamente l'area */
background-image: url('images/stinco-affumicato.jpg');
box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.text-column {
width: 50%;
}

/* Responsive per dispositivi più piccoli */
@media (max-width: 768px) {
.image-text-container {
flex-direction: column;
}

.image-column, .text-column {
width: 100%;
}

.image-column {
height: 300px;
margin-bottom: 30px;
}
}

@media (max-width: 480px) {
.image-column {
height: 250px;
}
}

.text-column {
    flex: 1;
}

.text-column h2 {
    font-family: 'ABeeZee', Sans-serif;
    font-size: 2rem;
    color: #116251;
    margin-bottom: 10px;
}

.text-column p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.text-column .cta-button {
    margin-top: 10px;
}

.image-text-container.reverse {
    flex-direction: row-reverse;
}

/* Responsive */
@media (max-width: 768px) {
    .image-text-container.reverse {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .image-text-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .text-column h2 {
        font-size: 32px;
    }
    
    .text-column p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .image-text-section {
        padding: 60px 0;
    }
    
    .text-column h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 15px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero h2 {
        font-size: 40px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 32px;
        line-height: 45px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero {
        height: 580px;
    }
    
    .hero h2 {
        font-size: 32px;
        line-height: 40px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }

    .discount-content h2 {
        font-size: 2.5rem;
        line-height: 3rem;
    }

    .faq {
        max-width: 95%;
    }

    #mainproduct-o {
        display: none;
    }

    #mainproduct-v {
        display: block;
    }
}