/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background:white;
    padding: 15px 20px;
    color: black;
    position: relative;
}

.logo img {
    width: 120px;
    height: auto;
}

/* Desktop Nav */
.desktop-nav {
    display: flex;
    gap: 20px;
    list-style: none;
}

.desktop-nav a {
    text-decoration: none;
    color:black;
    padding: 10px;
    transition: 0.3s;
}

.desktop-nav a:hover {
    background: gray;
    border-radius: 5px;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    top: 40px;
    left: 0;
    width: 180px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.dropdown-menu a {
    display: block;
    padding: 12px;
    text-decoration: none;
    color: black;
    border-bottom: 1px solid #555;
}

.dropdown-menu a:hover {
    background:#898787;
}

.dropdown.active .dropdown-menu {
    display: block;
}

.language-icons {
    display: flex;
    gap: 10px;
}

.language-icons img {
    width: 30px;
    height: 30px;
    cursor: pointer;
}

/* Mobile Nav */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background:white;
    text-align: center;
    padding: 10px 0;
}

.mobile-links a {
    padding: 15px;
    display: block;
    text-decoration: none;
    color: black;
    border-bottom: 1px solid #555;
}

.mobile-links a:hover {
    background:white;
}

/* Mobile Dropdown */
.mobile-dropdown-menu {
    display: none;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-links.active {
        display: flex;
    }
}

/* Carousel Styling */
.carousel-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.slide {
    display: none;
    position: relative;
    text-align: center;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* .slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    background: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
} */

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    font-size: 20px;
    transition: background 0.3s;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev { left: 10px; }
.next { right: 10px; }

/* Responsive Design */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 20px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 10px 0;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        padding: 10px 0;
    }

    .slide-content {
        font-size: 16px;
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
    .logo img {
        height: 60px;
    }

    .slide-content {
        font-size: 14px;
        padding: 8px;
    }

    .prev, .next {
        padding: 8px 12px;
        font-size: 16px;
    }
}

/* Carousel Styling */
.carousel-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.slide {
    display: none;
    position: relative;
    text-align: center;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    background: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    font-size: 20px;
    transition: background 0.3s;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev { left: 10px; }
.next { right: 10px; }

/* Responsive Design */
@media screen and (max-width: 768px) {
    .slide-content {
        font-size: 16px;
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
    .slide-content {
        font-size: 14px;
        padding: 8px;
    }

    .prev, .next {
        padding: 8px 12px;
        font-size: 16px;
    }
}

/* about section*/
/* Section Styling */
.classic-italiano {
    background: #f9f9f9; /* Light gray background */
    text-align: center;
    padding: 50px 20px;
}

.classic-italiano .container {
    max-width: 800px;
    margin: auto;
}

.classic-italiano h2 {
    font-size: 32px;
    font-weight: bold;
    color: #d32f2f; /* Red color */
    margin-bottom: 10px;
}

.underline {
    width: 60px;
    height: 3px;
    background: #d32f2f;
    border: none;
    margin: 0 auto 20px;
}

.classic-italiano p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
}

.read-more {
    background: #d32f2f; /* Red button */
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
}

.read-more:hover {
    background: #b71c1c; /* Darker red */
}

/* Responsive */
@media screen and (max-width: 768px) {
    .classic-italiano h2 {
        font-size: 28px;
    }

    .classic-italiano p {
        font-size: 16px;
    }

    .read-more {
        font-size: 14px;
        padding: 10px 20px;
    }
}

@media screen and (max-width: 480px) {
    .classic-italiano {
        padding: 40px 15px;
    }

    .classic-italiano h2 {
        font-size: 24px;
    }

    .classic-italiano p {
        font-size: 14px;
    }

    .read-more {
        font-size: 13px;
        padding: 8px 18px;
    }
}
/* products section */
/* General Styles */
.products-section {
    background-color: #0f2a13; /* Dark green background */
    text-align: center;
    padding: 50px 20px;
}

.products-section h2 {
    color: white;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
}

.products-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 100px;
    max-width: 600px;
    margin: auto;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.product-card img {
    width: 100%;
    height: auto;
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    font-size: 16px;
    font-weight: bold;
    color: #0f2a13; /* Dark Green */
    margin-bottom: 5px;
}

.product-info p {
    font-size: 14px;
    color: #555;
}

/* Full-width product section */
.big-product {
    grid-column: span 2;
    text-align: center;
    position: relative;
}

.big-product img {
    width: 100%;
    /* border-radius: 8px; */
}

.discover-btn {
    background: #d32f2f; /* Red button */
    margin-top: 30px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    padding: 12px 24px; 
    cursor: pointer;
    text-transform: uppercase;
    position:sticky; 
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0.3s; 
}

.discover-btn:hover {
    background: #b71c1c; /* Darker red */
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .products-container {
        grid-template-columns: 1fr; /* Single column layout */
    }

    .big-product {
        grid-column: span 1;
    }

    .discover-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}

@media screen and (max-width: 480px) {
    .products-section {
        padding: 30px 15px;
    }

    .products-section h2 {
        font-size: 24px;
    }

    .product-info h3 {
        font-size: 14px;
    }

    .product-info p {
        font-size: 12px;
    }

    .discover-btn {
        font-size: 13px;
        padding: 8px 18px;
    }
}


/* Recipe Section Styling */
/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fdfbf7;
    text-align: center;
}

/* Section */
.recipe-section {
    padding: 40px 20px;
}

.recipe-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Title */
.recipe-title {
    color: #8b0000;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Grid */
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    justify-content: center;
}

/* Cards */
.recipe-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-radius: 10px;
    color: #fff;
    text-align: left;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.recipe-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.recipe-text {
    flex: 1;
    margin-left: 10px;
}

.recipe-text h3 {
    font-size: 18px;
    margin: 0;
}

.recipe-text p {
    font-size: 14px;
    margin: 5px 0 0;
}

/* Main Image Section */
.recipe-main-image {
    position: relative;
    margin-top: 30px;
}

.recipe-main-image img {
    width: 100%;
    max-width: 700px;
    border-radius: 10px;
}

.overlay-text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .recipe-grid {
        grid-template-columns: 1fr;
    }
    
    .recipe-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .recipe-card img {
        width: 100px;
        height: 100px;
        margin-bottom: 10px;
    }

    .recipe-main-image img {
        max-width: 100%;
    }

    .overlay-text {
        width: 90%;
        font-size: 14px;
    }
}


/* Sustainability Section */
/* .sustainability-section {
    background-color: #a2d57e; /* Light green background *
    padding: 60px 20px;
    text-align: center;
}

.sustainability-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
}

.sustainability-content {
    flex: 1;
    text-align: left;
    padding-right: 20px;
}

.sustainability-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.sustainability-line {
    width: 50px;
    height: 3px;
    background-color: #333;
    border: none;
    margin: 10px 0;
}

.sustainability-text {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.sustainability-button {
    background-color: #2e5131;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s;
}

.sustainability-button:hover {
    background-color: #1d3a22;
}



.sostenibilita {
    background-color: #A8D08D;
    padding: 40px 20px;
}

.container2 {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: auto;
    gap: 20px;
} 

.image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.content {
    max-width: 600px;
    text-align: center;
}

h2 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    border-bottom: 2px solid #333;
    display: inline-block;
    padding-bottom: 5px;
}

 .para {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
} 

.btn {
    display: inline-block;
    background-color: #2D6A4F;
    color: #fff;
    padding: 12px 20px;
    font-size: 16px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn:hover {
    background-color: #1B4332;
}


@media (max-width: 768px) {
    .container {
        flex-direction: column;
        text-align: center;
    }

    .image img {
        max-width: 80%;
    }

    .content h2 {
        font-size: 24px;
    }

    .content p {
        font-size: 16px;
    }
}


 */

 /* Sustainability Section */
/* Sustainability Section */
.sustainability-section {
    background: #B8E986; /* Light green background */
    padding: 60px 0;
}

.sustainability-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Image Styling */
.sustainability-image {
    flex: 1;
    text-align: center;
}

.sustainability-img {
    width: 100%;
    max-width: 500px;
}

/* Text Styling */
.sustainability-text {
    flex: 1;
    text-align: center;
}

.sustainability-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.sustainability-divider {
    width: 50px;
    height: 3px;
    background: #333;
    margin: 10px auto;
}

.sustainability-text p {
    font-size: 18px;
    color: #333;
    max-width: 500px;
    margin: 0 auto 20px;
}

.sustainability-text .highlight {
    color: #1A8917;
    font-weight: bold;
}

.sustainability-btn {
    display: inline-block;
    background: #1A4D2E;
    color: #fff;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

.sustainability-btn:hover {
    background: #14522B;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sustainability-content {
        flex-direction: column; /* Stack image and text */
        text-align: center;
    }

    .sustainability-title {
        font-size: 24px;
    }

    .sustainability-text p {
        font-size: 16px;
    }

    .sustainability-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}

/* Unique Styles for News & Events Section */
.news-events-section {
    background-color: #f8f5f0;
    padding: 50px 20px;
    text-align: center;
}

.news-events-title {
    font-size: 28px;
    font-weight: bold;
    color: #2d2d2d;
    margin-bottom: 30px;
    border-bottom: 2px solid #2d2d2d;
    display: inline-block;
    padding-bottom: 10px;
}

.news-events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.news-events-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #2d5a3a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-events-item:hover {
    transform: translateY(-5px);
}

.news-events-text {
    color: white;
    padding: 20px;
    text-align: left;
    flex: 1;
}

.news-events-text h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.news-events-text p {
    font-size: 14px;
}

.news-events-img {
    width: 40%;
    text-align: right;
}

.news-events-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-left: 5px solid white;
}

/* Read More Button */
.news-events-button {
    margin-top: 30px;
}

.news-events-read-more {
    display: inline-block;
    background-color: #2d5a3a;
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.news-events-read-more:hover {
    background-color: #1b3a28;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-events-container {
        grid-template-columns: 1fr;
    }
    
    .news-events-item {
        flex-direction: column;
        text-align: center;
    }

    .news-events-img {
        width: 100%;
        border-left: none;
        border-top: 5px solid white;
    }

    .news-events-text {
        text-align: center;
    }
}

/* footrer */
/* General Footer Styles */
.footer {
    background-color: #1d4f2e;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

/* Logo Section */
.footer-logo {
    text-align: center;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 10px;
}

.social-icons a {
    color: white;
    font-size: 20px;
    margin: 0 8px;
    text-decoration: none;
}

.social-icons a:hover {
    color: #f4a261;
}

/* Useful Links */
.footer-links h3,
.footer-contact h3 {
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-links ul li a:hover {
    text-decoration: underline;
}

.language-switch {
    margin-top: 15px;
}

.language-switch img {
    width: 25px;
    margin: 0 5px;
}

/* Contact Section */
.footer-contact p {
    font-size: 14px;
    margin: 5px 0;
}

.footer-contact a {
    color: white;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo, .footer-links, .footer-contact {
        margin-bottom: 20px;
    }
}
