@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&family=Playfair+Display:ital,wght@1,700&display=swap');

:root {
  --primary: #B08D57;
  --primary-dark: #8c6a3b;
  --accent: #E84C3D;
  --white: #ffffff;
  --bg-cream: #fcfaf7;
  --text-dark: #1a1a1a;
  --text-muted: #666666;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0,0,0,0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Hero Section */
.hero-section {
  position: relative;
  background-color: white;
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(176, 141, 87, 0.1);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(var(--primary) 0.5px, transparent 0.5px);
  background-size: 24px 24px;
  opacity: 0.03;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.header-logo {
  margin-bottom: 2rem;
}

.main-logo {
  width: 90%;
  max-width: 500px;
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
}

.hero-subtitle {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 5px;
  color: var(--primary);
  text-transform: uppercase;
  margin-top: -0.5rem;
}

/* Status Accordion */
.status-summary {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  background: white;
  border-radius: 100px;
  box-shadow: 0 15px 35px rgba(176, 141, 87, 0.1);
  border: 1px solid rgba(176, 141, 87, 0.1);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 1rem;
}

.status-summary:hover {
  transform: translateY(-3px);
}

.status-badge {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-open {
  background: rgba(34, 197, 94, 0.1);
  color: #15803d;
}

.status-closed {
  background: rgba(239, 68, 68, 0.1);
  color: #b91c1c;
}

.toggle-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

#infoChevron {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.info-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.3s ease;
  opacity: 0;
  background: white;
}

.info-accordion-content.visible {
  max-height: 1000px;
  opacity: 1;
  padding: 2.5rem 1.5rem;
  border-bottom: 1px solid rgba(176, 141, 87, 0.1);
}

.info-card-inner {
  max-width: 600px;
  margin: 0 auto;
}

.schedule-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.schedule-day {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--bg-cream);
  border-radius: 8px;
  font-size: 0.9rem;
}

.day-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.day-label i {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.day-time {
  font-weight: 700;
  color: var(--text-dark);
}

.schedule-day.closed .day-time {
  color: var(--accent);
}

.address-box {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px dashed rgba(176, 141, 87, 0.2);
  margin-top: 1.5rem;
}

.address-box p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  background: white;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid rgba(176, 141, 87, 0.2);
  transition: all 0.2s ease;
}

.contact-pill:hover {
  background: var(--primary);
  color: white;
}

/* Navigazione */
.category-nav {
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 0.75rem 0;
}

.nav-scroll {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 1rem;
  gap: 1rem;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.nav-scroll::-webkit-scrollbar { display: none; }

.nav-item {
  padding: 0.5rem 1.25rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.nav-item.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(176, 141, 87, 0.3);
}

/* Contenuto Menu */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

section {
  padding-top: 5rem;
  margin-top: -3.5rem;
}

.section-header {
  margin-bottom: 2.5rem;
  padding-left: 0.75rem;
  border-left: 5px solid var(--primary);
}

.section-header h2 {
  font-size: 1.7rem;
  font-weight: 900;
  color: #111;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1;
}

.section-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-style: italic;
  padding-left: 0.75rem;
}

.menu-subheading {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin: 1.5rem 0 0.75rem;
  padding-left: 0.75rem;
}

.menu-subheading:first-of-type {
  margin-top: 0;
}

.menu-list {
  background: white;
  border-radius: 20px;
  padding: 0.75rem;
  box-shadow: var(--shadow);
}

.menu-item {
  display: flex;
  justify-content: space-between;
  padding: 1.25rem 0.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.03);
  transition: transform 0.2s ease;
}

.menu-item:last-child {
  border-bottom: none;
}

.item-main {
  flex: 1;
  padding-right: 1rem;
}

.item-main h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #111;
}

.item-main p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.item-price {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 90px;
}

.price-row {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.price-row.highlight {
  color: var(--accent);
}

/* Special Section */
.special-section .menu-list {
  background: #0a0a0a;
  border: 1px solid rgba(176, 141, 87, 0.2);
}

.special-section .item-main h3 { color: white; }
.special-section .item-main p { color: #888; }
.special-section .price-row { color: var(--primary); }
.special-section .menu-item { border-color: rgba(255, 255, 255, 0.05); }

/* Badges */
.badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  justify-content: center;
}

.badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.5rem 1rem;
  background: rgba(176, 141, 87, 0.08);
  color: var(--primary-dark);
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* More Items Expandable */
.more-items {
  margin-top: 1rem;
}

.more-items summary {
  list-style: none;
  padding: 1.25rem;
  text-align: center;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  cursor: pointer;
  background: #fdfaf5;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.more-items summary::-webkit-details-marker { display: none; }

/* Footer */
.main-footer {
  background: #000;
  color: #fff;
  padding: 5rem 1.5rem 4rem;
  margin-top: 6rem;
  text-align: center;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
}

.allergen {
  display: inline-block;
  background: rgba(232, 76, 61, 0.1);
  color: #ff6b6b;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-size: 0.7rem;
  margin-bottom: 3.5rem;
  border: 1px solid rgba(232, 76, 61, 0.2);
  letter-spacing: 0.5px;
  font-weight: 700;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h3 {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
  font-weight: 800;
}

.footer-link, .footer-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer-link i, .footer-text i { color: var(--primary); opacity: 0.8; }

.developer {
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border: 1px solid rgba(176, 141, 87, 0.2);
  display: inline-block;
}

/* FAB */
.fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(176, 141, 87, 0.4);
  z-index: 1000;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.fab:hover { transform: scale(1.1); }

.hidden { display: none; }

@media (max-width: 600px) {
  .hero-section { padding: 4rem 1rem 3rem; }
  .main-logo { width: 100%; }
  .status-summary { width: 100%; border-radius: 24px; padding: 1.5rem; }
  .section-header h2 { font-size: 1.4rem; }
  .card-mode { grid-template-columns: 1fr; }
}
