/* ============================================
   OFFICINA SLICE — CSS
   Dark Italian Pizzeria Aesthetic
   ============================================ */

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark-card: #181818;
  --dark-border: #2a2a2a;
  --gold: #7a2232;
  --gold-light: #9e2d42;
  --gold-dim: rgba(122, 34, 50, 0.18);
  --white: #f5f0e8;
  --white-dim: rgba(245, 240, 232, 0.6);
  --white-faint: rgba(245, 240, 232, 0.08);
  --red: #c0392b;
  --green: #27ae60;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-gold: 0 4px 24px rgba(122, 34, 50, 0.35);
  --font-display: 'Playfair Display', serif;
  --font-body: 'Barlow', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
  --nav-h: 68px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--dark-border);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 10, 10, 0.97);
  border-bottom-color: var(--gold-dim);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo { flex-shrink: 0; }
.nav-logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  
  transition: var(--transition);
}
.nav-logo-img:hover {  }
.nav-links {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: 4px; left: 14px; right: 14px; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 16px; }
.lang-toggle {
  font-family: var(--font-condensed);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white-dim);
  border: 1px solid var(--dark-border);
  border-radius: 20px;
  padding: 5px 12px;
  transition: var(--transition);
  white-space: nowrap;
}
.lang-toggle:hover { color: var(--gold); border-color: var(--gold); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 20px 80px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.6;
}
.hero-circles { position: absolute; inset: 0; overflow: hidden; }
.circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-dim) 0%, transparent 70%);
}
.c1 { width: 600px; height: 600px; top: -200px; right: -150px; animation: pulse 8s ease-in-out infinite; }
.c2 { width: 400px; height: 400px; bottom: -100px; left: -100px; animation: pulse 12s ease-in-out infinite 2s; }
.c3 { width: 300px; height: 300px; top: 40%; left: 50%; transform: translate(-50%, -50%); animation: pulse 10s ease-in-out infinite 4s; }
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.08); }
}
.c3 { animation-name: pulse3; }
@keyframes pulse3 {
  0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.15); }
}
.hero-content { position: relative; z-index: 1; max-width: 600px; }
.hero-logo {
  width: 160px; height: 160px;
  object-fit: contain;
  margin: 0 auto 32px;
  
  animation: fadeDown 1s ease both;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-tagline {
  font-family: var(--font-condensed);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  animation: fadeUp 1s ease 0.2s both;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  animation: fadeUp 1s ease 0.3s both;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--white-dim);
  margin-bottom: 40px;
  font-style: italic;
  animation: fadeUp 1s ease 0.4s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-condensed);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 40px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
  animation: fadeUp 1s ease 0.5s both;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(122, 34, 50, 0.5);
}
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 1;
}
.scroll-indicator span {
  display: block; width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== SECTION COMMON ===== */
.section-header { text-align: center; padding: 80px 20px 40px; max-width: 700px; margin: 0 auto; }
.section-label {
  display: block;
  font-family: var(--font-condensed);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
}
.section-desc { color: var(--white-dim); font-size: 1rem; font-style: italic; }

/* ===== MENU SECTION ===== */
.menu-section { padding-bottom: 80px; background: var(--dark); }
.menu-filter {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 20px 40px;
}
.filter-btn {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  border: 1px solid var(--dark-border);
  border-radius: 50px;
  padding: 8px 20px;
  transition: var(--transition);
}
.filter-btn:hover { color: var(--gold); border-color: var(--gold-dim); }
.filter-btn.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.menu-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.menu-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  animation: cardIn 0.5s ease both;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.menu-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}
.menu-card:hover {
  border-color: rgba(122, 34, 50, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}
.menu-card:hover::before { opacity: 1; }
.menu-card.special {
  border-color: rgba(122, 34, 50, 0.25);
  background: linear-gradient(135deg, var(--dark-card), rgba(201, 168, 76, 0.04));
}
.menu-card.hidden { display: none; }
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.card-num {
  font-family: var(--font-condensed);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  opacity: 0.7;
  flex-shrink: 0;
  margin-top: 3px;
}
.card-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  flex: 1;
}
.card-price {
  font-family: var(--font-condensed);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  white-space: nowrap;
}
.card-desc {
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.5;
}
.card-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.badge {
  font-family: var(--font-condensed);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}
.badge-special { background: rgba(201, 168, 76, 0.15); color: var(--gold); }
.badge-veggie { background: rgba(39, 174, 96, 0.15); color: #5dbd7d; }
.badge-seafood { background: rgba(41, 128, 185, 0.15); color: #5ba3c9; }
.badge-spicy { background: rgba(192, 57, 43, 0.15); color: #e05c4b; }

/* ===== ABOUT ===== */
.about-section {
  padding: 80px 20px;
  background: var(--black);
  border-top: 1px solid var(--dark-border);
}
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text .section-label { text-align: left; }
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.1;
}
.about-text p {
  color: var(--white-dim);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.75;
}
.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--dark-border);
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  display: block;
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-top: 6px;
}
.about-visual { display: flex; justify-content: center; align-items: center; }
.about-logo-wrap {
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1px solid var(--dark-border);
  display: flex; align-items: center; justify-content: center;
  background: var(--dark-card);
  position: relative;
}
.about-logo-wrap::before {
  content: '';
  position: absolute; inset: -12px;
  border-radius: 50%;
  border: 1px dashed rgba(122, 34, 50, 0.3);
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.about-logo-wrap img {
  width: 200px; height: 200px;
  object-fit: contain;
  
}

/* ===== CONTACT ===== */
.contact-section {
  padding: 0 20px 80px;
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
}
.contact-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.contact-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.contact-card:hover {
  border-color: rgba(122, 34, 50, 0.4);
  transform: translateY(-3px);
}
.contact-icon { font-size: 2rem; margin-bottom: 12px; }
.contact-card h3 {
  font-family: var(--font-condensed);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.contact-card p { color: var(--white-dim); font-size: 0.9rem; line-height: 1.7; }
.contact-card a { color: var(--gold); }
.contact-card a:hover { text-decoration: underline; }
.qr-placeholder {
  width: 100px; height: 100px;
  margin: 12px auto;
  background: white;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  color: #333;
  text-align: center;
  padding: 4px;
  overflow: hidden;
}
.qr-placeholder svg { width: 100%; height: 100%; }
.qr-hint { font-size: 0.78rem !important; margin-top: 6px; }

/* ===== FOOTER ===== */
.footer {
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid var(--dark-border);
  background: var(--black);
}
.footer-logo {
  width: 50px; height: 50px;
  object-fit: contain;
  
  
  margin: 0 auto 16px;
}
.footer p { color: var(--white-dim); font-size: 0.85rem; margin-bottom: 4px; }
.footer-love { color: rgba(122, 34, 50, 0.6) !important; font-style: italic; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 20px 16px 24px;
    gap: 4px;
    border-bottom: 1px solid var(--dark-border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    margin-left: 0;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    font-size: 1rem;
    padding: 12px 16px;
    display: block;
    border-radius: 8px;
  }
  .nav-links a:hover { background: var(--white-faint); }
  .hamburger { display: flex; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { display: none; }
  .about-stats { gap: 20px; }
  .menu-grid { grid-template-columns: 1fr; }
  .section-header { padding: 60px 20px 32px; }
}
@media (max-width: 480px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .qr-card { grid-column: 1 / -1; }
}

/* ===== ANIMATIONS / INTERSECTION ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== LOGO CIRCLE (navbar) ===== */
.nav-logo-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(122, 34, 50, 0.5);
  background: #000;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.nav-logo-circle img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.nav-logo-circle:hover { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-dim); }

/* ===== HERO LOGO CIRCLE ===== */
.hero-logo-wrap {
  width: 180px; height: 180px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 32px;
  border: 2px solid rgba(122, 34, 50, 0.6);
  box-shadow: 0 0 0 8px rgba(122, 34, 50, 0.08), 0 0 40px rgba(122, 34, 50, 0.2);
  background: #000;
  animation: fadeDown 1s ease both;
}
.hero-logo-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== HERO BUTTONS ===== */
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; animation: fadeUp 1s ease 0.5s both; }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: var(--font-condensed);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 50px;
  border: 1.5px solid rgba(245, 240, 232, 0.25);
  transition: var(--transition);
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* ===== PRICE LEGEND ===== */
.price-legend {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 0 20px 32px;
  flex-wrap: wrap;
}
.price-legend-item {
  font-family: var(--font-condensed);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
}
.price-legend-sep { color: var(--gold); font-size: 1.1rem; }

/* ===== MENU CARD PRICES (3 columns) ===== */
.card-prices {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.price-pill {
  flex: 1;
  text-align: center;
  background: var(--white-faint);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 6px 4px;
}
.price-pill-label {
  display: block;
  font-family: var(--font-condensed);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 2px;
}
.price-pill-val {
  display: block;
  font-family: var(--font-condensed);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
}

/* ===== DRINKS SECTION ===== */
.drinks-section {
  padding-bottom: 80px;
  background: var(--black);
  border-top: 1px solid var(--dark-border);
}
.drinks-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.drink-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.drink-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}
.drink-card:hover { border-color: rgba(122, 34, 50, 0.4); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.drink-card:hover::before { opacity: 1; }
.drink-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.drink-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; flex: 1; }
.drink-price { font-family: var(--font-condensed); font-size: 1.1rem; font-weight: 700; color: var(--gold); white-space: nowrap; flex-shrink: 0; }
.drink-ingredients { font-size: 0.85rem; color: var(--white-dim); line-height: 1.5; font-style: italic; }
.drink-glass {
  font-size: 0.75rem;
  font-family: var(--font-condensed);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-top: 2px;
}

/* ===== FOOTER LOGO CIRCLE ===== */
.footer-logo-wrap {
  width: 60px; height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 1px solid var(--dark-border);
  background: #000;
  opacity: 0.6;
}
.footer-logo { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== ABOUT LOGO CIRCLE (keep same) ===== */
.about-logo-wrap img { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; }

@media (max-width: 768px) {
  .drinks-grid { grid-template-columns: 1fr; }
  .hero-logo-wrap { width: 140px; height: 140px; }
  .card-prices { gap: 4px; }
  .price-pill-label { font-size: 0.55rem; }
  .price-pill-val { font-size: 0.85rem; }
}
