/* ==========================================================================
   PIZZERIA DUOMO BRESCIA - DESIGN SYSTEM & STYLES
   With Full Dark Theme Support & Theme Switcher
   ========================================================================== */

/* 1. TYPOGRAPHY (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=Jost:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* 2. DESIGN TOKENS - LIGHT & DARK MODES */
:root {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', system-ui, -apple-system, sans-serif;

  /* LIGHT THEME (Default) */
  --background: #f6fbfe;
  --foreground: #002539;
  --card: #ffffff;
  --card-foreground: #002539;
  --popover: #ffffff;
  --popover-foreground: #002539;
  --primary: #005779;
  --primary-foreground: #fafcfd;
  --secondary: #e0eef5;
  --secondary-foreground: #00354e;
  --muted: #e7f0f5;
  --muted-foreground: #4f6774;
  --accent: #b6dbeb;
  --accent-foreground: #002d44;
  --destructive: #cf4040;
  --border: rgba(140, 170, 185, 0.28);
  --input: rgba(140, 170, 185, 0.35);
  --ring: rgba(0, 87, 121, 0.55);
  --radius: 0.5rem;

  --gold: #005779;
}

/* DARK THEME */
html.dark,
[data-theme="dark"] {
  color-scheme: dark;
  --background: #061017;
  --foreground: #eef6fa;
  --card: #0a1a24;
  --card-foreground: #eef6fa;
  --popover: #0a1a24;
  --popover-foreground: #eef6fa;
  --primary: #38bdf8;
  --primary-foreground: #061017;
  --secondary: #102837;
  --secondary-foreground: #eef6fa;
  --muted: #0d202d;
  --muted-foreground: #94a9b8;
  --accent: #1c3b50;
  --accent-foreground: #38bdf8;
  --destructive: #ff6568;
  --border: rgba(140, 170, 185, 0.18);
  --input: rgba(140, 170, 185, 0.25);
  --ring: rgba(56, 189, 248, 0.5);

  --gold: #38bdf8;
}

/* 3. BASE RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--background);
  color: var(--foreground);
  transition: background-color 0.4s ease, color 0.4s ease;
}

body {
  font-family: var(--font-body);
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

img, svg, picture, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul, ol {
  list-style: none;
}

/* 4. UTILITIES & TYPOGRAPHY HELPERS */
.font-serif {
  font-family: var(--font-display);
}

.font-sans {
  font-family: var(--font-body);
}

.text-gold {
  color: var(--gold);
}

.tracking-luxe {
  letter-spacing: 0.32em;
}

.container-custom {
  width: 100%;
  max-width: 80rem; /* 1280px */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1024px) {
  .container-custom {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/* 5. HEADER & NAVIGATION */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(250, 252, 253, 0.2);
  background-color: rgba(0, 87, 121, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(0);
  opacity: 1;
}

header.site-header.scrolled,
header.site-header.menu-open {
  background-color: rgba(246, 251, 254, 0.95);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 4px rgba(0, 87, 121, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

html.dark header.site-header.scrolled,
html.dark header.site-header.menu-open {
  background-color: rgba(6, 16, 23, 0.95);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem; /* 80px */
  gap: 1.25rem;
}

.nav-logo img {
  height: 3rem;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 37, 57, 0.3));
  transition: filter 0.3s ease;
}

header.site-header.scrolled .nav-logo img {
  filter: none;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 252, 253, 0.85);
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #fafcfd;
}

header.site-header.scrolled .nav-link {
  color: var(--muted-foreground);
}

header.site-header.scrolled .nav-link:hover {
  color: var(--foreground);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .nav-actions {
    display: flex;
  }
}

/* Language selector */
.lang-switcher {
  display: flex;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 0.25rem;
}

.lang-btn {
  border-radius: 0.125rem;
  padding: 0.375rem 0.625rem;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  color: var(--muted-foreground);
}

.lang-btn.active {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.lang-btn:not(.active):hover {
  color: var(--foreground);
}

/* Theme Switcher Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  color: var(--foreground);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0.375rem;
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: rotate(15deg);
}

.theme-toggle-btn svg {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 0.4s ease;
}

.icon-sun {
  display: none;
}

.icon-moon {
  display: block;
}

html.dark .icon-sun {
  display: block;
}

html.dark .icon-moon {
  display: none;
}

/* Header Booking Button */
.header-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid rgba(250, 252, 253, 0.6);
  padding: 0.625rem 1.25rem;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fafcfd;
  background-color: transparent;
  transition: all 0.3s ease;
}

.header-book-btn:hover {
  background-color: var(--background);
  color: var(--primary);
  border-color: var(--background);
}

header.site-header.scrolled .header-book-btn,
header.site-header.menu-open .header-book-btn {
  border-color: var(--primary);
  color: var(--primary);
  background-color: transparent;
}

header.site-header.scrolled .header-book-btn:hover,
header.site-header.menu-open .header-book-btn:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  padding: 0.5rem;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

header.site-header.scrolled .mobile-menu-btn {
  color: var(--foreground);
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 5rem;
  left: 0;
  right: 0;
  background-color: rgba(246, 251, 254, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s;
  box-shadow: 0 10px 25px -5px rgba(0, 87, 121, 0.12);
  z-index: 49;
}

html.dark .mobile-nav-drawer {
  background-color: rgba(6, 16, 23, 0.98);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.mobile-nav-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--foreground);
  font-weight: 500;
  padding: 0.25rem 0;
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.mobile-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* 6. HERO SECTION (#top) */
.hero-section {
  position: relative;
  display: flex;
  height: 100svh;
  min-height: 680px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #00354e;
  color: #fafcfd;
  text-align: center;
}

.hero-slider-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.cinematic-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: 24s infinite cinematic-fade, 8s ease-in-out infinite alternate cinematic-drift;
}

.cinematic-frame:first-child {
  animation-delay: 0s, 0s;
}

.cinematic-frame:nth-child(2) {
  animation-delay: 6s, 0s;
}

.cinematic-frame:nth-child(3) {
  animation-delay: 12s, 0s;
}

.cinematic-frame:nth-child(4) {
  animation-delay: 18s, 0s;
}

.cinematic-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes cinematic-fade {
  0%, 30% { opacity: 0; }
  4%, 25% { opacity: 1; }
}

@keyframes cinematic-drift {
  0% { transform: scale(1.02) translate(-0.5%, 0); }
  100% { transform: scale(1.1) translate(0.5%, -1%); }
}

.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 37, 57, 0.6);
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 37, 57, 0.4), transparent 40%, rgba(0, 37, 57, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 56rem; /* 896px */
  padding: 5rem 1.5rem 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.hero-title {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1.15;
  text-wrap: balance;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3.75rem; /* 60px */
  }
}

.hero-subtitle {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(250, 252, 253, 0.85);
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1rem;
  }
}

.hero-cta-group {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
    justify-content: center;
    width: auto;
  }
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background-color: #fafcfd;
  color: #005779;
  padding: 1rem 2.25rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow: 0 20px 25px -5px rgba(0, 37, 57, 0.4);
  transition: transform 0.3s ease, background-color 0.3s ease;
  width: 100%;
}

@media (min-width: 640px) {
  .hero-cta-primary {
    width: auto;
  }
}

.hero-cta-primary:hover {
  transform: translateY(-2px);
  background-color: #ffffff;
}

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid rgba(250, 252, 253, 0.55);
  color: #fafcfd;
  padding: 1rem 2.25rem;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  width: 100%;
}

@media (min-width: 640px) {
  .hero-cta-secondary {
    width: auto;
  }
}

.hero-cta-secondary:hover {
  background-color: rgba(250, 252, 253, 0.1);
}

/* 7. SECTION LABELS & COMMON SECTION HEADERS */
.section-label-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.section-label-line {
  display: inline-block;
  height: 1px;
  width: 2.5rem; /* 40px */
  background-color: var(--primary);
  opacity: 0.6;
}

.section-label-text {
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 500;
}

.section-title-serif {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1.05;
  text-wrap: balance;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .section-title-serif {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .section-title-serif {
    font-size: 3.75rem;
  }
}

/* 8. SECTION: LA STORIA (#storia) */
.story-section {
  border-top: 1px solid var(--border);
  padding-top: 7rem;
  padding-bottom: 7rem;
}

@media (min-width: 1024px) {
  .story-section {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }
}

.story-grid {
  display: grid;
  align-items: center;
  gap: 3.5rem;
}

@media (min-width: 1024px) {
  .story-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6rem;
  }
}

.story-image-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 0.125rem;
  border: 1px solid var(--border);
}

.story-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-image-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(246, 251, 254, 0.05);
}

.story-image-tag {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  border-left: 1px solid var(--primary);
  padding-left: 1rem;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--foreground);
  background: var(--card);
  backdrop-filter: blur(4px);
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.story-content {
  display: flex;
  flex-direction: column;
}

.story-text-paragraphs {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .story-text-paragraphs {
    font-size: 1rem;
  }
}

.story-stats-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.story-stat-val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
}

@media (min-width: 640px) {
  .story-stat-val {
    font-size: 1.875rem;
  }
}

.story-stat-lbl {
  margin-top: 0.5rem;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

/* 9. SECTION: QUOTE */
.quote-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

@media (min-width: 1024px) {
  .quote-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.quote-container {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 3.75rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.5;
  display: block;
}

.quote-text {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.5;
  text-wrap: balance;
}

@media (min-width: 640px) {
  .quote-text {
    font-size: 2.25rem;
  }
}

.quote-author {
  margin-top: 2rem;
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--primary);
  text-transform: uppercase;
}

/* 10. SECTION: IL MENU (#menu) */
.menu-section {
  position: relative;
  border-top: 1px solid var(--border);
  padding-top: 7rem;
  padding-bottom: 7rem;
}

@media (min-width: 1024px) {
  .menu-section {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }
}

.menu-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.menu-header-subtitle {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* Pizza of the Month Card */
.pizza-month-card {
  margin-top: 3.5rem;
  border-radius: 0.125rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.5rem;
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
  .pizza-month-card {
    padding: 2rem;
  }
}

.pizza-month-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .pizza-month-inner {
    flex-direction: row;
    align-items: flex-end;
  }
}

.pizza-month-tag {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
}

.pizza-month-title {
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--foreground);
}

@media (min-width: 640px) {
  .pizza-month-title {
    font-size: 1.875rem;
  }
}

.pizza-month-desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.pizza-month-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* Category Tabs Bar */
.menu-tabs-scroll {
  margin-top: 3rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
}

.menu-tabs-list {
  display: flex;
  min-width: max-content;
  justify-content: flex-start;
}

@media (min-width: 640px) {
  .menu-tabs-list {
    justify-content: center;
  }
}

.menu-tab-btn {
  position: relative;
  padding: 1rem 1.25rem;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  transition: color 0.4s ease;
  white-space: nowrap;
}

.menu-tab-btn:hover {
  color: var(--foreground);
}

.menu-tab-btn.active {
  color: var(--primary);
}

.menu-tab-indicator {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background-color: var(--primary);
}

.menu-tab-btn.active .menu-tab-indicator {
  display: block;
}

/* Menu Panel & Content */
.menu-tab-panel {
  margin-top: 2.5rem;
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.menu-tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-category-note {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.menu-groups-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.menu-group-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
}

.menu-group-title {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--foreground);
}

.menu-group-en {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
}

.menu-group-note {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.menu-items-list {
  display: flex;
  flex-direction: column;
}

.menu-item-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 0.5rem;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.4s ease;
}

@media (min-width: 640px) {
  .menu-item-row {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

.menu-item-row:hover {
  background-color: var(--secondary);
}

.menu-item-accent-bar {
  position: absolute;
  top: 50%;
  left: 0;
  width: 2px;
  height: 0;
  transform: translateY(-50%);
  background-color: var(--primary);
  transition: height 0.4s ease;
}

.menu-item-row:hover .menu-item-accent-bar {
  height: 66%;
}

.menu-item-main {
  min-width: 0;
  flex: 1;
}

.menu-item-title-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--foreground);
  transition: color 0.4s ease;
}

@media (min-width: 640px) {
  .menu-item-name {
    font-size: 1.5rem;
  }
}

.menu-item-badge {
  border-radius: 0.125rem;
  border: 1px solid var(--border);
  background-color: var(--accent);
  padding: 0.25rem 0.625rem;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

.menu-item-desc {
  margin-top: 0.5rem;
  max-width: 42rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted-foreground);
}

.menu-item-en {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--muted-foreground);
  opacity: 0.85;
}

.menu-item-price {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--primary);
  flex-shrink: 0;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .menu-item-price {
    font-size: 1.25rem;
  }
}

.menu-footer-disclaimer {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.menu-footer-disclaimer p + p {
  margin-top: 0.75rem;
}

/* 11. SECTION: GALLERIA (#galleria) */
.gallery-section {
  border-top: 1px solid var(--border);
  padding-top: 7rem;
  padding-bottom: 7rem;
}

@media (min-width: 1024px) {
  .gallery-section {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }
}

.gallery-top-bar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .gallery-top-bar {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.gallery-top-desc {
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.gallery-bento-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 280px;
  gap: 1rem;
}

@media (min-width: 768px) {
  .gallery-bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
  }

  .gallery-bento-grid .bento-span-2x2 {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-bento-grid .bento-span-2x1 {
    grid-column: span 2;
  }
}

.gallery-bento-card {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0.125rem;
  border: 1px solid var(--border);
  cursor: pointer;
}

.gallery-bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-bento-card:hover img {
  transform: scale(1.05);
}

.gallery-bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(246, 251, 254, 0.9) 0%, transparent 60%);
  pointer-events: none;
}

html.dark .gallery-bento-overlay {
  background: linear-gradient(to top, rgba(6, 16, 23, 0.9) 0%, transparent 60%);
}

.gallery-bento-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--foreground);
  font-weight: 500;
}

/* 12. SECTION: RECENSIONI (#recensioni) */
.reviews-section {
  border-top: 1px solid var(--border);
  padding-top: 7rem;
  padding-bottom: 7rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .reviews-section {
    padding-top: 9rem;
    padding-bottom: 9rem;
  }
}

.reviews-score-wrap {
  margin-top: 2.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.75rem;
}

.reviews-score-big {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--primary);
}

@media (min-width: 640px) {
  .reviews-score-big {
    font-size: 6rem;
  }
}

.reviews-score-max {
  padding-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.reviews-stars {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

.reviews-stars svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--primary);
  color: var(--primary);
}

.reviews-title {
  margin-top: 2rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 48rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 300;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .reviews-title {
    font-size: 3rem;
  }
}

.reviews-subtitle {
  margin-top: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 42rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .reviews-subtitle {
    font-size: 1rem;
  }
}

.reviews-links-group {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .reviews-links-group {
    flex-direction: row;
  }
}

.reviews-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 0.125rem;
  border: 1px solid var(--border);
  padding: 1rem 1.75rem;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  background-color: var(--card);
}

.reviews-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--secondary);
}

.reviews-btn svg {
  width: 0.875rem;
  height: 0.875rem;
}

.reviews-footer-note {
  margin-top: 1.25rem;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted-foreground);
  text-transform: uppercase;
}

/* 13. SECTION: PRENOTAZIONI (#prenota) */
.booking-section {
  border-top: 1px solid var(--border);
  padding-top: 7rem;
  padding-bottom: 7rem;
}

@media (min-width: 1024px) {
  .booking-section {
    padding-top: 10rem;
    padding-bottom: 10rem;
  }
}

.booking-header {
  text-align: center;
}

.booking-intro {
  margin-top: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 32rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.booking-card {
  margin-top: 3.5rem;
  border-radius: 0.125rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 25px -5px rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
  .booking-card {
    padding: 2.5rem;
  }
}

.booking-form {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .booking-form {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-form .col-span-full {
    grid-column: span 2;
  }
}

.form-label {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted-foreground);
  text-transform: uppercase;
}

.field {
  height: 3rem; /* 48px */
  border-radius: calc(var(--radius) * 0.6);
  border: 1px solid var(--input);
  background-color: var(--background);
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 0.875rem;
  color: var(--foreground);
  text-transform: none;
  outline: none;
  transition: all 0.2s ease;
}

.field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--ring);
}

.field::placeholder {
  color: var(--muted-foreground);
  opacity: 0.7;
  text-transform: none;
}

.booking-submit-btn {
  margin-top: 0.5rem;
  display: flex;
  height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.125rem;
  background-color: var(--primary);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--primary-foreground);
  text-transform: uppercase;
  transition: opacity 0.3s ease, background-color 0.3s ease;
  width: 100%;
}

.booking-submit-btn:hover {
  opacity: 0.9;
}

.booking-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Booking Confirmation Success State */
.booking-success-view {
  display: none;
  flex-direction: column;
  align-items: center;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  text-align: center;
  animation: fadeIn 0.4s ease forwards;
}

.booking-success-view.active {
  display: flex;
}

.booking-success-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
}

.booking-success-title {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--foreground);
}

.booking-success-summary {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.booking-success-confirm {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  max-width: 28rem;
}

.booking-success-confirm a {
  color: var(--primary);
  text-decoration: underline;
}

.booking-reset-btn {
  margin-top: 2rem;
  border-radius: 0.125rem;
  border: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  background-color: var(--card);
}

.booking-reset-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--secondary);
}

/* 14. FOOTER (#contatti) */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .site-footer {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.footer-grid {
  display: grid;
  gap: 3.5rem;
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-logo img {
  height: auto;
  width: 16rem; /* 256px */
}

.footer-bio {
  margin-top: 1rem;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.footer-address-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  font-style: normal;
  color: var(--muted-foreground);
}

.footer-address-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-address-link:hover {
  color: var(--foreground);
}

.footer-address-link svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.footer-col-title {
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 500;
}

.footer-hours-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
}

.footer-hours-list dt {
  font-weight: 400;
  color: var(--foreground);
}

.footer-hours-list dd {
  color: var(--muted-foreground);
}

.footer-nav-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-nav-list a:hover {
  color: var(--foreground);
}

.footer-socials {
  margin-top: 2.25rem;
  display: flex;
  gap: 0.75rem;
}

.footer-social-btn {
  display: flex;
  width: 2.75rem; /* 44px */
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  color: var(--foreground);
  background-color: var(--card);
}

.footer-social-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.footer-social-btn svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.footer-copyright {
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted-foreground);
  text-transform: uppercase;
}

/* 15. SCROLL REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* 16. ACCESSIBILITY & UTILITIES */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
