/* STREAMING_CHUNK:Global CSS Variables & Reset... */
:root {
    /* Brand Color Palette Extracted from Mockups */
    --purple-dark: #2D0A2A;
    --purple-main: #5B1B54;
    --purple-vibrant: #8E2488;
    --purple-light: #F4E8F3;
    
    --green-main: #2A8C46;
    --green-dark: #1E6331;
    
    --orange-main: #E05A10;
    --orange-gold: #FF9800;
    --yellow-warm: #FFAC1C;
    
    --text-dark: #1A1A1A;
    --text-muted: #666666;
    --bg-light: #F9F7F9;
    --white: #FFFFFF;
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(45, 10, 42, 0.12);
    --shadow-lg: 0 16px 40px rgba(45, 10, 42, 0.2);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
}

body {
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--purple-dark);
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* STREAMING_CHUNK:Typography & Buttons... */
.gradient-text {
    background: linear-gradient(135deg, var(--purple-vibrant), var(--orange-main));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(142, 36, 136, 0.1);
    color: var(--purple-vibrant);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.badge-pill.gold {
    background: rgba(255, 172, 28, 0.15);
    color: #B87600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-vibrant), var(--purple-main));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(142, 36, 136, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(142, 36, 136, 0.45);
}

.btn-outline {
    background: transparent;
    border-color: var(--purple-vibrant);
    color: var(--purple-vibrant);
}

.btn-outline:hover {
    background: var(--purple-vibrant);
    color: var(--white);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* STREAMING_CHUNK:Header Navigation Styles... */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.main-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
}

.nav-link:hover, .nav-link.active {
    color: var(--purple-vibrant);
}

.highlight-link {
    color: var(--purple-vibrant);
    font-weight: 700;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--purple-dark);
    cursor: pointer;
}

/* STREAMING_CHUNK:Hero Section... */
/* Nuovo contenitore per il logo grande nella Hero */
#hero-logo-container {
    margin-bottom: 10px; /* Spazio sotto il logo */
}

.hero-logo-large {
    max-width: 400px; /* Larghezza massima del logo grande */
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3)); /* Ombra per staccarlo dallo sfondo */
}


.hero-section {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, rgba(45, 10, 42, 0.92), rgba(91, 27, 84, 0.85)), 
                url("../img/prodottisullatavola.jfif") center/cover no-repeat;
    color: var(--white);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 3.8rem;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-subtext {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 35px;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
}

.feature-item i {
    color: var(--yellow-warm);
    font-size: 1.2rem;
}

/* STREAMING_CHUNK:Seasonal Products Cards... */
.section {
    padding: 90px 0;
}

.light-bg {
    background-color: var(--bg-light);
}

.text-center { text-align: center; }

.section-header {
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-subtitle {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--purple-vibrant);
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .card-image img {
    transform: scale(1.06);
}

.status-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    backdrop-filter: blur(5px);
}

.status-active { background: rgba(42, 140, 70, 0.9); }
.status-upcoming { background: rgba(224, 90, 16, 0.9); }

.card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cat-tag {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
}

.card-body h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
}

.card-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.box-badge {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--purple-main);
}

.recipe-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--purple-light);
    color: var(--purple-vibrant);
    display: flex;
    align-items: center;
    justify-content: center;
}

.recipe-btn:hover {
    background: var(--purple-vibrant);
    color: var(--white);
}

/* STREAMING_CHUNK:Packaging & Layout Grid... */
.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.align-center { align-items: center; }

.check-list {
    list-style: none;
    margin: 25px 0 35px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.check-list i {
    color: var(--green-main);
    font-size: 1.2rem;
    margin-top: 3px;
}

.cta-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--purple-vibrant);
}

.qr-preview {
    font-size: 2.5rem;
    color: var(--purple-dark);
}

.link-arrow {
    color: var(--purple-vibrant);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
}

.mockup-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* STREAMING_CHUNK:Milan Market Section... */
.market-section {
    background: linear-gradient(135deg, var(--purple-dark), var(--purple-main));
    color: var(--white);
}

.market-banner h2 {
    color: var(--white);
    font-size: 2.8rem;
    margin: 15px 0 20px;
}

.badge-gold {
    background: rgba(255, 172, 28, 0.2);
    color: var(--yellow-warm);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
}

.market-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.m-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.08);
    padding: 20px;
    border-radius: var(--radius-md);
}

.m-detail-item i {
    font-size: 2rem;
    color: var(--yellow-warm);
}

/* STREAMING_CHUNK:Contact Form... */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.info-list {
    margin-top: 30px;
}

.info-item {
    display: flex;
    gap: 18px;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.4rem;
    color: var(--purple-vibrant);
    margin-top: 4px;
}

.custom-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E0E0E0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--purple-vibrant);
    box-shadow: 0 0 0 3px rgba(142, 36, 136, 0.15);
}

.form-response {
    margin-top: 15px;
    font-weight: 600;
    text-align: center;
}

/* STREAMING_CHUNK:Footer... */
.site-footer {
    background: var(--purple-dark);
    color: var(--white);
    padding: 70px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    height: 48px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-links h5, .footer-social h5 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { opacity: 0.7; }
.footer-links a:hover { opacity: 1; color: var(--yellow-warm); }

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    background: var(--purple-vibrant);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    font-size: 0.875rem;
    opacity: 0.7;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

/* STREAMING_CHUNK:Recipe Page Specific Styles... */
.recipe-hero {
	position: relative;
    padding: 160px 0 60px;
    background: linear-gradient(135deg, rgba(45, 10, 42, 0.92), rgba(91, 27, 84, 0.85)), 
                url("../img/ricette.jfif") center/cover no-repeat;
    color: var(--white);
}

.recipe-hero-title {
    font-size: 3.2rem;
    color: var(--white);
    margin: 15px 0;
}

.filter-section {
    background: var(--bg-light);
    padding: 20px 0;
    position: sticky;
    top: 80px;
    z-index: 900;
    box-shadow: var(--shadow-sm);
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: 50px;
    border: 1px solid #DDD;
    background: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--purple-vibrant);
    color: var(--white);
    border-color: var(--purple-vibrant);
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.recipe-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.06);
    transition: var(--transition);
}

.recipe-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.r-card-img {
    position: relative;
    height: 200px;
}

.r-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.r-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    backdrop-filter: blur(4px);
}

.r-card-content {
    padding: 22px;
}

.r-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.r-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.35;
}

.r-card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Modal Window */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    background: var(--white);
    width: 90%;
    max-width: 750px;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    overflow-y: auto;
    position: relative;
    padding: 35px;
    box-shadow: var(--shadow-lg);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--text-muted);
}

/* STREAMING_CHUNK:Responsive Media Queries... */
@media (max-width: 992px) {
    .grid-2-cols, .contact-wrapper { grid-template-columns: 1fr; }
    .hero-title { font-size: 3rem; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 40px 0;
        transition: var(--transition);
    }
    .nav-menu.active { left: 0; }
    .hero-title { font-size: 2.3rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
}