/* ========================================
 *  VIVERE PUB — Complete Styles
 * ======================================== */

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

:root {
  /* Dark moody palette */
  --bg: #1a1a18;
  --bg-warm: #211f1b;
  --bg-card: #2a2723;
  --bg-card-hover: #332f2a;

  /* Parchment / cream tones */
  --parchment: #f0e8d8;
  --parchment-dark: #d9cdb8;
  --parchment-muted: #bfb49e;

  /* Accents */
  --gold: #c9a84c;
  --gold-bright: #dfc06a;
  --gold-dim: #a08338;
  --green: #2d5a3f;
  --green-deep: #1e3d2b;
  --rust: #8b4513;

  /* Text */
  --text: #e8e0d2;
  --text-dim: #9e9585;
  --text-bright: #f5f0e6;

  --radius: 10px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 56px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle dark texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

body > * { position: relative; z-index: 1; }

/* ===========================
   LANGUAGE TOGGLE
   =========================== */
.lang-toggle {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: rgba(26,26,24,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.lang-toggle:active {
  transform: scale(0.94);
}

@media (hover: hover) {
  .lang-toggle:hover {
    border-color: var(--gold);
    background: rgba(201,168,76,0.12);
  }
}

.lang-toggle__flag {
  font-size: 1rem;
  line-height: 1;
}

.lang-toggle__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Serif Headings ---------- */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.2;
}

/* ===========================
   HERO HEADER
   =========================== */
.hero {
  padding: 20px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.08) 0%, transparent 60%),
    linear-gradient(180deg, #1e1c18 0%, var(--bg) 100%);
}

.hero__frame {
  position: relative;
  text-align: center;
  padding: 40px 24px 32px;
  border: 1px solid var(--gold-dim);
}

/* Corner ornaments */
.hero__corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--gold);
  border-style: solid;
}
.hero__corner--tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.hero__corner--tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.hero__corner--bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.hero__corner--br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.hero__line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}
.hero__line--top { top: 12px; }
.hero__line--bottom { bottom: 12px; }

.hero__est {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 8px;
}

.hero__logo {
  display: block;
  margin: 0 auto;
  width: clamp(150px, 42vw, 220px);
  height: auto;
  filter: drop-shadow(0 2px 16px rgba(201,168,76,0.18));
}

.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;
}

.hero__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 16px 0 12px;
}
.hero__divider span {
  width: 40px;
  height: 1px;
  background: var(--gold-dim);
}
.hero__diamond { color: var(--gold-dim); }

.hero__tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ===========================
   STICKY NAV
   =========================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26,26,24,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}

.nav__track {
  display: flex;
  gap: 6px;
  padding: 10px 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nav__track::-webkit-scrollbar { display: none; }

.nav__pill {
  flex-shrink: 0;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}

.nav__pill svg { opacity: 0.6; transition: opacity 0.3s; }

.nav__pill:active {
  transform: scale(0.96);
}

.nav__pill.active {
  color: var(--bg);
  background: var(--gold);
  border-color: var(--gold);
}
.nav__pill.active svg { opacity: 1; stroke: var(--bg); }

@media (hover: hover) {
  .nav__pill:not(.active):hover {
    color: var(--text-bright);
    border-color: rgba(201,168,76,0.3);
    background: rgba(201,168,76,0.08);
  }
}

/* Nav icon helpers */
.nav__icon { width: 14px; height: 14px; }

/* ===========================
   MAIN CONTENT
   =========================== */
.content {
  max-width: 560px;
  margin: 0 auto;
  padding: 28px 18px 40px;
}

/* ===========================
   HOUSE SPECIALS
   =========================== */
.specials { margin-bottom: 36px; }

.specials__header {
  text-align: center;
  margin-bottom: 24px;
}

.specials__ribbon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding: 0 16px;
}

.specials__ribbon::before,
.specials__ribbon::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold-dim);
}

.specials__ribbon-text {
  font-family: 'Playfair Display', serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.specials__title {
  font-size: clamp(1.4rem, 5vw, 1.8rem);
  color: var(--parchment);
  margin-top: 6px;
  letter-spacing: 1px;
}

.specials__subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* Special item card */
.special-card {
  position: relative;
  background:
    linear-gradient(135deg, rgba(201,168,76,0.06) 0%, transparent 50%),
    var(--bg-card);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

@media (hover: hover) {
  .special-card:hover {
    border-color: rgba(201,168,76,0.3);
    background:
      linear-gradient(135deg, rgba(201,168,76,0.1) 0%, transparent 50%),
      var(--bg-card-hover);
  }
}

.special-card__badge {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  border-radius: 3px;
  margin-bottom: 10px;
}

.special-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.special-card__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--parchment);
  line-height: 1.3;
}

.special-card__price {
  flex-shrink: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
}

.special-card__price small {
  font-size: 0.65em;
  font-weight: 400;
  opacity: 0.7;
}

.special-card__desc {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-dim);
  margin-top: 8px;
}

/* ===========================
   CATEGORY SECTION
   =========================== */
.category {
  margin-bottom: 36px;
}

.category__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(201,168,76,0.18);
  position: relative;
}

.category__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  font-size: 1.15rem;
}

.category__title {
  font-size: clamp(1.1rem, 4vw, 1.35rem);
  color: var(--parchment);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ===========================
   MENU ITEM — classic row
   with dotted leader
   =========================== */
.item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s;
}

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

.item__row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.item__name {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-bright);
  white-space: nowrap;
}

.item__badge {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 6px;
  font-size: 0.55rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 2px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* Dotted leader between name and price */
.item__dots {
  flex: 1;
  min-width: 20px;
  border-bottom: 1px dotted rgba(201,168,76,0.25);
  margin-bottom: 4px;
}

.item__price {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gold);
  white-space: nowrap;
}

.item__price small {
  font-size: 0.65em;
  font-weight: 400;
  opacity: 0.6;
  margin-left: 1px;
}

.item__desc {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-dim);
  margin-top: 3px;
  line-height: 1.4;
  padding-right: 40px;
}

/* ===========================
   SECTION DIVIDER
   =========================== */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 8px 0 36px;
  color: var(--gold-dim);
  opacity: 0.4;
}
.divider__line {
  width: 28px;
  height: 1px;
  background: currentColor;
}
.divider svg {
  width: 8px;
  height: 8px;
}

/* ===========================
   WI-FI SECTION
   =========================== */
.wifi {
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 24px;
  text-align: center;
}

.wifi__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50%;
  color: var(--gold);
  margin-bottom: 12px;
}

.wifi__label {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--parchment);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.wifi__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 280px;
  margin: 0 auto;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.wifi__row:last-child { border-bottom: none; }

.wifi__key {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wifi__value {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
}

.wifi__password {
  letter-spacing: 0.5px;
  user-select: all;
  -webkit-user-select: all;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  text-align: center;
  padding: 40px 20px 56px;
  background: linear-gradient(180deg, var(--bg) 0%, #141412 100%);
}

.footer__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--gold-dim);
  opacity: 0.35;
}
.footer__divider span {
  width: 36px;
  height: 1px;
  background: currentColor;
}

.footer__name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.footer__tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.matrix-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
}

.matrix-powered {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--parchment-muted);
  opacity: 0.85;
}

.matrix-logo {
  font-family: 'Orbitron', monospace, sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-shadow:
    0 0 7px rgba(201, 168, 76, 0.45),
    0 0 20px rgba(201, 168, 76, 0.2);
  transition: text-shadow 400ms ease, color 400ms ease;
}

.matrix-logo:hover {
  color: var(--parchment);
  text-shadow:
    0 0 8px rgba(240, 232, 216, 0.45),
    0 0 24px rgba(201, 168, 76, 0.28),
    0 0 48px rgba(201, 168, 76, 0.15);
}

.footer__legal {
  font-size: 0.65rem;
  color: var(--text-dim);
  opacity: 0.5;
  margin-top: 20px;
  letter-spacing: 0.3px;
}

/* ===========================
   ANIMATIONS
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

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

/* Stagger children */
.reveal-stagger .reveal {
  transition-delay: calc(var(--i, 0) * 0.04s);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (min-width: 480px) {
  .content { padding: 36px 28px 48px; }
  .hero__frame { padding: 48px 32px 40px; }
}

@media (min-width: 768px) {
  .content { max-width: 620px; padding: 48px 40px 60px; }
  .hero__frame { padding: 56px 48px 44px; }
}
