/* Reset & Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Lato', sans-serif; line-height: 1.6; color: #333; background-color: #fff; }
.container { max-width: 800px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }

/* Pulsante Back */
.agent-back-btn {
    position: fixed; top: 20px; left: 20px; background: rgba(0,0,0,0.8); color: white;
    padding: 8px 15px; border-radius: 50px; font-size: 12px; z-index: 9999; font-weight: bold;
}

/* Header */
.main-header { text-align: center; padding: 60px 0 40px; background: #f4f4f4; margin-bottom: 40px; }
.main-header h1 { font-family: 'Oswald', sans-serif; font-size: 2.5rem; color: #2c3e50; text-transform: uppercase; }
.main-header p { color: #666; }

/* Sezioni Demo */
.demo-section { padding: 60px 0; border-bottom: 1px solid #eee; }
.demo-title { font-family: 'Oswald', sans-serif; font-size: 1.8rem; margin-bottom: 10px; color: #005f99; }
.demo-desc { margin-bottom: 30px; color: #777; font-style: italic; }
.bg-dark { background: #222; color: white; }
.bg-light { background: #f9f9f9; }
.text-white { color: white !important; }

/* --- STILE 1: ACCORDION --- */
.menu-accordion-wrapper { border: 1px solid #ddd; border-radius: 8px; overflow: hidden; }
.accordion-item { border-bottom: 1px solid #eee; }
.accordion-item:last-child { border-bottom: none; }
.accordion-header {
    width: 100%; background: #fff; border: none; padding: 20px; text-align: left;
    font-size: 1.2rem; font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    transition: 0.3s; font-family: 'Oswald', sans-serif; letter-spacing: 1px;
}
.accordion-header:hover, .accordion-header.active { background: #f8f9fa; color: #e67e22; }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: #fff; }
.menu-item { display: flex; justify-content: space-between; padding: 15px 20px; border-top: 1px solid #f0f0f0; }
.item-info h4 { margin: 0 0 5px; font-size: 1rem; }
.item-info p { margin: 0; font-size: 0.9rem; color: #666; }
.item-price { font-weight: bold; color: #e67e22; font-size: 1.1rem; }

/* --- STILE 2: VISUAL GRID --- */
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.card-item { background: #333; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.3); transition: 0.3s; }
.card-item:hover { transform: translateY(-5px); }
.card-item img { width: 100%; height: 180px; object-fit: cover; }
.card-body { padding: 20px; position: relative; }
.card-body h4 { margin: 0 0 5px; font-size: 1.2rem; color: #fff; font-family: 'Oswald', sans-serif; }
.card-body p { margin: 0 0 15px; font-size: 0.9rem; color: #aaa; }
.price-tag { 
    display: inline-block; background: #e67e22; color: white; padding: 5px 10px; 
    border-radius: 4px; font-weight: bold; font-size: 0.9rem;
}

/* --- STILE 3: MINIMAL ELEGANT --- */
.menu-minimal-wrapper { 
    background: #fff; padding: 40px; border: 1px solid #eee; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); font-family: 'Playfair Display', serif; 
}
.category-title { text-align: center; font-size: 2rem; margin-bottom: 30px; border-bottom: 2px solid #333; display: inline-block; padding-bottom: 10px; }
.minimal-list { list-style: none; }
.minimal-list li { margin-bottom: 25px; }
.minimal-header { display: flex; align-items: baseline; justify-content: space-between; font-size: 1.2rem; font-weight: bold; color: #222; }
.minimal-header .name { flex-shrink: 0; }
.minimal-header .dots { flex-grow: 1; border-bottom: 1px dotted #ccc; margin: 0 10px; position: relative; top: -5px; }
.minimal-header .price { flex-shrink: 0; }
.minimal-desc { font-size: 0.95rem; color: #777; font-style: italic; margin-top: 5px; }

/* --- STILE 4: FILTERABLE --- */
.filter-controls { text-align: center; margin-bottom: 30px; }
.filter-btn { 
    background: white; border: 2px solid #ddd; padding: 8px 20px; margin: 0 5px; 
    border-radius: 20px; cursor: pointer; font-weight: bold; transition: 0.3s;
}
.filter-btn:hover, .filter-btn.active { background: #27ae60; color: white; border-color: #27ae60; }
.filter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; }
.filter-item { 
    background: white; padding: 20px; border-radius: 8px; border: 1px solid #eee; 
    display: flex; flex-direction: column; align-items: center; text-align: center;
    transition: 0.3s;
}
.filter-item:hover { border-color: #27ae60; box-shadow: 0 5px 15px rgba(39, 174, 96, 0.1); }
.filter-item .emoji { font-size: 2rem; margin-bottom: 10px; }
.filter-item strong { display: block; margin-bottom: 5px; color: #333; }
.filter-item span:last-child { color: #27ae60; font-weight: bold; }

/* Footer */
.main-footer { text-align: center; padding: 40px 0; background: #333; color: #888; font-size: 0.9rem; }

/* Mobile */
@media (max-width: 600px) {
    .menu-grid { grid-template-columns: 1fr; }
    .menu-minimal-wrapper { padding: 20px; }
    .minimal-header { font-size: 1rem; }
    .main-header h1 { font-size: 2rem; }
    .filter-grid { grid-template-columns: 1fr 1fr; }
    .accordion-header { font-size: 1rem; padding: 15px; }
    .item-info h4 { font-size: 0.95rem; }
    .item-price { font-size: 1rem; }
}