/* ===========================
   PIZZERIA ANNABERG - STYLES
   Dark/Light Theme + Multipage
   =========================== */

/* --- CSS Variables: DARK THEME (default) --- */
:root {
  --bg: #1A1A1A;
  --bg-alt: #111111;
  --bg-card: #222222;
  --bg-card-hover: #2a2a2a;
  --bg-header: rgba(17, 17, 17, 0.97);
  --gold: #D4A843;
  --gold-light: #E8C874;
  --gold-dark: #B08A2E;
  --text: #F5F0E8;
  --text-secondary: #c4bfb7;
  --text-muted: #9A9590;
  --border: rgba(212, 168, 67, 0.15);
  --border-light: rgba(255, 255, 255, 0.06);
  --shadow: rgba(0,0,0,0.3);

  --header-height: 70px;
  --cat-bar-height: 50px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --container: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

/* --- LIGHT THEME --- */
[data-theme="light"] {
  --bg: #FAFAF8;
  --bg-alt: #F0EDE8;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8F6F2;
  --bg-header: rgba(255, 255, 255, 0.97);
  --text: #2C2417;
  --text-secondary: #5A4E3E;
  --text-muted: #8A7E6E;
  --border: rgba(212, 168, 67, 0.25);
  --border-light: rgba(0, 0, 0, 0.08);
  --shadow: rgba(0,0,0,0.08);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

/* --- Sections --- */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--gray { background: var(--bg-alt); }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--text);
}

.section-cta { text-align: center; margin-top: 2.5rem; }

.text-muted { color: var(--text-muted); }
.text-small { font-size: 0.85rem; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  border: 2px solid var(--gold);
}

.btn-primary {
  background: var(--gold);
  color: #1A1A1A;
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: #1A1A1A;
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: #1A1A1A;
}

/* ===========================
   HEADER
   =========================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: background-color 0.4s ease;
}

.header-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-logo img { height: 42px; width: auto; }

.nav { flex: 1; }
.nav-list { display: flex; list-style: none; gap: 0.25rem; }
.nav-mobile-controls { display: none; }

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover, .nav-link.active { color: var(--gold); }

.header-right { display: flex; align-items: center; gap: 1rem; }

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.header-phone:hover { color: var(--gold-light); }

/* Language switcher */
.lang-switcher { display: flex; gap: 0.2rem; }

.lang-btn {
  background: none;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.2rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.lang-btn:hover, .lang-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212, 168, 67, 0.1);
}

/* Theme toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  width: 34px; height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  transition: all var(--transition);
  border-radius: 2px;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===========================
   HERO (homepage)
   =========================== */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  max-height: 800px;
  margin-top: var(--header-height);
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--gold-light);
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

/* Page hero (subpages) */
.page-hero {
  position: relative;
  height: 280px;
  margin-top: var(--header-height);
  overflow: hidden;
}

.page-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
  text-shadow: 0 2px 15px rgba(0,0,0,0.4);
}

/* ===========================
   ABOUT (homepage)
   =========================== */
.about-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 1.25rem;
  color: var(--text);
}

.about-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--gold);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* ===========================
   FEATURED DISHES (homepage)
   =========================== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

a.featured-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.featured-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.4s ease;
  padding: 2rem 2rem 2rem 5rem;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-card::before {
  content: attr(data-nr);
  position: absolute;
  left: -0.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
}

.featured-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--shadow);
  border-color: var(--gold);
}

.featured-card:hover::after {
  opacity: 1;
}

.featured-card:hover::before {
  opacity: 0.15;
}

.featured-card-body {
  position: relative;
  z-index: 1;
}

.featured-card-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  color: var(--text);
  letter-spacing: 0.01em;
}

.featured-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.5;
  font-style: italic;
}

.featured-card-price {
  display: inline-block;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gold);
  padding: 0.2rem 0.75rem;
  border: 1px solid var(--gold);
  border-radius: 50px;
  letter-spacing: 0.03em;
}

.featured-card-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  display: none;
}

/* ===========================
   HIGHLIGHTS
   =========================== */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
}

.highlight-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.highlight-icon {
  color: var(--gold);
  margin-bottom: 1rem;
}

.highlight-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.highlight-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===========================
   GALLERY PREVIEW (homepage)
   =========================== */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

/* ===========================
   CONTACT STRIP (homepage)
   =========================== */
.contact-strip { background: var(--bg-alt); }

.contact-strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-strip-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
  color: var(--text);
}

.contact-strip-address {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.contact-strip-phone a {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}

.contact-strip-hours {
  color: var(--text-muted);
  margin: 0.5rem 0;
}

.contact-strip-delivery {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ===========================
   MENU (menu.html)
   =========================== */
.menu-category-bar {
  position: sticky;
  top: var(--header-height);
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.4s ease;
}

.menu-category-bar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.menu-category-bar-inner::-webkit-scrollbar { display: none; }

.menu-cat-btn {
  flex-shrink: 0;
  padding: 0.875rem 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  border-bottom: 2px solid transparent;
}

.menu-cat-btn:hover { color: var(--text); }
.menu-cat-btn.active { color: var(--gold); border-bottom-color: var(--gold); }

.menu-content { padding-top: 1rem; }

.menu-loading { text-align: center; padding: 3rem; color: var(--text-muted); }

.menu-category-section {
  margin-bottom: 3rem;
  scroll-margin-top: calc(var(--header-height) + var(--cat-bar-height) + 20px);
}

.menu-category-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.menu-category-name {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  color: var(--gold);
}

.menu-category-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

.pizza-sizes-header {
  display: none;
  justify-content: flex-end;
  padding: 0.5rem 0;
  margin-bottom: 0.25rem;
}

.pizza-size-label {
  width: 70px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
}

.menu-item {
  display: flex;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition);
}

.menu-item:hover { background: rgba(212, 168, 67, 0.03); }

.menu-item-nr { width: 30px; flex-shrink: 0; font-size: 0.8rem; font-weight: 600; color: var(--gold-dark); }
.menu-item-details { flex: 1; min-width: 0; }
.menu-item-name { font-weight: 600; font-size: 1rem; color: var(--text); }
.menu-item-desc { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.1rem; }
.menu-item-note { font-size: 0.8rem; color: var(--gold-dark); font-style: italic; margin-top: 0.1rem; }

.menu-item-prices { display: flex; flex-shrink: 0; margin-left: 1rem; }
.menu-item-price { width: 70px; text-align: center; font-weight: 600; font-size: 0.95rem; color: var(--text); }
.menu-item-price-single { font-weight: 600; font-size: 0.95rem; color: var(--text); margin-left: 1rem; flex-shrink: 0; white-space: nowrap; }

.menu-extra-row {
  display: flex;
  align-items: baseline;
  padding: 0.7rem 0;
  margin-top: 0.5rem;
  border-top: 1px dashed var(--border);
}

.menu-extra-row .menu-item-name { font-style: italic; font-weight: 500; color: var(--gold); }

.menu-info-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.menu-info-bar strong { color: var(--gold); }

/* ===========================
   GALLERY (full page + preview)
   =========================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background var(--transition);
}

.gallery-item:hover::after { background: rgba(0,0,0,0.15); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active { display: flex; }

.lightbox-img {
  max-width: 90vw; max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  cursor: default;
}

.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; color: white;
  font-size: 2rem; cursor: pointer; padding: 0.5rem;
  line-height: 1; opacity: 0.7;
  transition: opacity var(--transition);
}

.lightbox-close:hover { opacity: 1; }

.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: white;
  font-size: 2.5rem; cursor: pointer; padding: 1rem;
  opacity: 0.6; transition: opacity var(--transition);
}

.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-card {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.contact-card:hover {
  border-color: var(--border);
  box-shadow: 0 4px 20px var(--shadow);
}

.contact-card svg { color: var(--gold); margin-bottom: 0.75rem; }
.contact-card h3 { font-family: var(--font-heading); font-size: 1rem; margin-bottom: 0.35rem; color: var(--text); }
.contact-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

.contact-phone-link { color: var(--gold) !important; font-weight: 700; font-size: 1.15rem !important; }

.contact-card--link {
  text-decoration: none;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
}
.contact-card--link:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* ===========================
   404 ERROR PAGE
   =========================== */
.error-page {
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height) - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0;
}

.error-content { max-width: 500px; }

.error-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.error-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--text);
  margin-bottom: 0.75rem;
}

.error-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ===========================
   COOKIE BANNER
   =========================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-card);
  border-top: 2px solid var(--gold);
  box-shadow: 0 -4px 20px var(--shadow);
  padding: 1.25rem 1.5rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cookie-banner-text {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-gold {
  background: var(--gold);
  color: #1a1a1a;
  border: 2px solid var(--gold);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.btn-gold:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.cookie-reject {
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
}

@media (max-width: 600px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  padding: 3rem 0 1.5rem;
  transition: background-color 0.4s ease;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo { height: 45px; margin-bottom: 0.5rem; }
.footer-tagline { font-size: 0.85rem; color: var(--gold); }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.footer-col p, .footer-col a { font-size: 0.875rem; color: var(--text-muted); line-height: 1.8; }
.footer-col a:hover { color: var(--gold); }

.footer-nav { list-style: none; }
.footer-nav li { margin-bottom: 0.25rem; }
.footer-nav a { color: var(--text-muted); font-size: 0.875rem; }
.footer-nav a:hover { color: var(--gold); }

.footer-quote { font-style: italic; margin-top: 0.75rem; font-size: 0.8rem !important; }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===========================
   NAV OVERLAY (mobile)
   =========================== */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.nav-overlay.active { display: block; }

/* ===========================
   RESPONSIVE
   =========================== */

/* Mobile (up to 767px) */
@media (max-width: 767px) {
  .header-container { position: relative; padding: 0 0.75rem; }

  .hamburger {
    display: flex;
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.75rem;
  }

  .nav-list {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 320px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    padding: calc(var(--header-height) + 1.5rem) 2rem 2rem;
    gap: 0;
    transition: right var(--transition);
    border-left: 1px solid var(--border);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-list.open { right: 0; }

  .nav-link {
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border-light);
  }

  /* Hide lang-switcher and theme-toggle from header on mobile - they move to nav drawer */
  .lang-switcher--desktop { display: none; }
  .header-right .theme-toggle { display: none; }

  .header-right { margin-right: 3rem; gap: 0.5rem; }
  .header-phone span { display: none; }

  /* Mobile nav drawer controls */
  .nav-mobile-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0 0.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border-light);
  }

  .hero { height: 70vh; min-height: 400px; }

  .gallery-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }

  .contact-strip-grid { grid-template-columns: 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .contact-info-block { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  .highlights-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .highlight-card { padding: 1.25rem 1rem; }

  /* Menu mobile: stacked prices */
  .pizza-sizes-header { display: none !important; }

  .menu-item { flex-wrap: wrap; gap: 0.2rem; }

  .menu-item-prices {
    width: 100%;
    margin-left: 30px;
    margin-top: 0.2rem;
    gap: 0.5rem;
  }

  .menu-item-price { width: auto; font-size: 0.85rem; }
  .menu-item-price::before { font-size: 0.7rem; color: var(--text-muted); font-weight: 400; margin-right: 0.2rem; }
  .menu-item-price[data-size="26cm"]::before { content: '26cm '; }
  .menu-item-price[data-size="30cm"]::before { content: '30cm '; }
  .menu-item-price[data-size="40cm"]::before { content: '40cm '; }

  .menu-extra-row .menu-item-prices { margin-left: 30px; }

  .featured-grid { grid-template-columns: 1fr; max-width: 100%; }
  .featured-card { padding: 1.5rem 1.5rem 1.5rem 4rem; min-height: 120px; }
  .featured-card::before { font-size: 3.5rem; }
  .featured-card-name { font-size: 1.1rem; }
}

/* Tablet (768px+) */
@media (min-width: 768px) {
  .pizza-sizes-header { display: flex; }
  .gallery-preview-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-preview-grid { grid-template-columns: repeat(3, 1fr); }
  .highlights-grid { grid-template-columns: repeat(4, 1fr); }
}