:root {
  --bg: #f9fafb;
  --card: #ffffff;
  --text: #1a1a1a;
  --muted: #6b7280;
  --accent: #f5a623;
  --border: #e5e7eb;
  --accent-soft: #fff4df;
  --overlay: rgba(249, 250, 251, 0.92);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
}

/* HERO INTRO */

.hero-intro {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding:
    calc(32px + env(safe-area-inset-top))
    24px
    calc(110px + env(safe-area-inset-bottom))
    24px;
}

.hero-inner {
  max-width: 620px;
  width: 100%;
}

.hero-logo {
  width: 160px;
  margin: 0 auto 2px auto;
  display: block;
}

.hero-intro h1 {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero-intro p {
  font-size: 15px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

.hero-menu-wrap {
  margin-top: 18px;
}

.hero-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
  animation: hero-bounce 2.2s infinite;
}

.hero-scroll-indicator:hover {
  color: var(--accent);
}

.hero-scroll-indicator svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

@keyframes hero-bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(5px);
  }
}

/* STANDARD PAGE HEADER */

.page-header {
  text-align: center;
  margin-bottom: 36px;
  padding-top: calc(env(safe-area-inset-top) + 8px);
}

.page-header img {
  width: 140px;
  margin: 0 auto 2px auto;
  display: block;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
  line-height: 1.1;
}

.page-header p {
  font-size: 15px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

/* MENU */

.menu-wrap {
  display: flex;
  justify-content: center;
}

#menu-toggle {
  width: 56px;
  height: 56px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  z-index: 1100;
  position: relative;
}

#menu-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

#menu-toggle span {
  display: block;
  width: 18px;
  height: 1.8px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

#menu-toggle.active {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
}

#menu-toggle.active:hover {
  transform: translateX(-50%) translateY(-1px);
}

#menu-toggle.active span:nth-child(1) {
  transform: translateY(6.8px) rotate(45deg);
}

#menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

#menu-toggle.active span:nth-child(3) {
  transform: translateY(-6.8px) rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 1000;
  padding: calc(96px + env(safe-area-inset-top)) 24px 24px 24px;
  overflow-y: auto;
}

.menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

.menu-panel {
  width: min(100%, 520px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
  text-align: center;
}

.menu-panel h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
}

.menu-panel p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}

.menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.menu-links a {
  display: block;
  text-decoration: none;
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
  padding: 14px 16px;
  border-radius: 16px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.menu-links a:hover {
  background: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-1px);
}

.menu-sort {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: left;
}

.menu-sort label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 8px;
}

#sort {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  outline: none;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#sort:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.12);
}

/* POSTS */

.post {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.post:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.post-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.post-content {
  padding: 24px;
}

.post h2 {
  font-size: 20px;
  margin-bottom: 6px;
  font-weight: 500;
}

.meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.meta svg[data-lucide] {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}

.rating {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.star {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.star.empty {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
}

.text-preview {
  font-size: 15px;
  color: var(--text);
}

.expand-btn {
  margin-top: 10px;
  font-size: 13px;
  color: var(--accent);
  cursor: pointer;
  display: inline-block;
  transition: color 0.2s ease;
  font-weight: 500;
}

.expand-btn:hover {
  color: #e69500;
}

.restaurant-name {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  margin-top: 10px;
  display: none;
}

/* GENERIC CONTENT */

.content-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.content-card h2 {
  font-size: 22px;
  margin-bottom: 16px;
  font-weight: 500;
}

.content-card p {
  margin-bottom: 16px;
  font-size: 16px;
}

.error-box,
.empty-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  color: var(--muted);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

footer {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: 48px;
}

@media (min-width: 768px) {
  .hero-logo {
    width: 180px;
  }

  .hero-intro h1,
  .page-header h1 {
    font-size: 36px;
  }

  .menu-panel {
    padding: 34px 30px;
  }

  .menu-links a {
    font-size: 20px;
  }
}