/* Landing page (/) and view-only menu pages (/menu/:id).
   Loaded on top of menu.css — reuses its header/hero/card/footer styles. */

/* On these pages the logo stays inside the header band — the pulled-down
   overlap menu.css uses would cover the hours (landing) or the title bar
   (menu pages). */
#logo-wrap { margin-bottom: 0; }

/* ── Landing ── */
.landing-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 34px 20px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.landing-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--btn, var(--accent));
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.45rem;
  padding: 20px 52px;
  border-radius: 40px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.18);
  transition: transform 0.15s, opacity 0.15s;
}
.landing-cta:hover { opacity: 0.9; transform: translateY(-2px); }

/* Open/closed light on the Order Now button */
.cta-light {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #999;
}
.landing-cta.is-open .cta-light {
  background: #43d95e;
  animation: cta-pulse 2s ease-out infinite;
}
.landing-cta.is-closed .cta-light { background: #ff5348; }
@keyframes cta-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(67, 217, 94, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(67, 217, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(67, 217, 94, 0); }
}

/* Status line under the button */
.cta-status {
  margin-top: 14px;
  text-align: center;
  font-size: 0.95rem;
}
.cta-status.open { color: #1e7d34; font-weight: bold; }
.cta-status.closed {
  color: #b3402f;
  max-width: 560px;
  line-height: 1.55;
}

.landing-cta-sub {
  margin-top: 8px;
  color: #888;
  font-size: 0.9rem;
  font-style: italic;
  text-align: center;
}

/* Call Us / Find Us — compact pills inside the info banner */
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: 24px;
  background: #fff;
  border: none;
  color: var(--dark, #1a1a1a);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.92rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: opacity 0.15s;
}
.hero-btn:hover { opacity: 0.85; }

/* ── Featured-items preview box (under Order Now; admin → Menus) ── */
.landing-preview {
  width: 100%;
  margin-top: 38px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.lp-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.lp-cat-name {
  font-size: 1.3rem;
  color: var(--dark);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 6px;
}
.lp-more {
  color: var(--accent);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  white-space: nowrap;
}
.lp-more:hover { text-decoration: underline; }
.lp-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.lp-card {
  flex: 0 0 150px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}
.lp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(0,0,0,0.13);
}
.lp-img {
  height: 92px;
  background: #f0ece6;
}
.lp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lp-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.lp-name {
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--dark);
  line-height: 1.3;
}
.lp-price {
  margin-top: auto;
  color: var(--accent);
  font-weight: bold;
  font-size: 0.82rem;
}

.landing-menus-title {
  margin: 42px 0 18px;
  font-size: 1.5rem;
  color: var(--dark);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
}

.landing-cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.landing-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 22px;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s, box-shadow 0.15s;
}
.landing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.landing-card-icon { font-size: 1.7rem; flex-shrink: 0; }
.landing-card-text { flex: 1; min-width: 0; }
.landing-card-name {
  display: block;
  font-weight: bold;
  font-size: 1.15rem;
  color: var(--dark);
}
.landing-card-desc {
  display: block;
  font-size: 0.88rem;
  color: #888;
  margin-top: 3px;
  line-height: 1.4;
}
.landing-card-arrow {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: bold;
}

/* ── Reviews (landing section + stars) ── */
/* ── Announcements (hiring / promos / notices) ── */
.landing-announcements {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}
.announcement {
  border-radius: 12px;
  padding: 13px 18px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.45;
  border-left: 5px solid var(--accent);
  background: #f4f1ea;
  color: var(--dark);
  box-shadow: var(--shadow);
}
.announcement-promo { border-left-color: #d97706; background: #fff7ed; color: #7c3a06; }
.announcement-hiring { border-left-color: #2563eb; background: #eff6ff; color: #1e3a8a; }

.landing-reviews {
  width: 100%;
  margin-top: 42px;
  display: flex;
  flex-direction: column;
}
.landing-reviews .landing-menus-title { margin-bottom: 14px; }
.stars { color: #e0b100; letter-spacing: 1px; white-space: nowrap; font-size: 1rem; }
.stars .stars-empty { color: #d8d2c6; }
.reviews-summary { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.reviews-summary strong { font-size: 1.2rem; color: var(--dark); }
.reviews-summary .reviews-count { color: #888; font-size: 0.9rem; }
.reviews-empty { color: #888; font-style: italic; margin-bottom: 16px; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.review-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
}
.review-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.review-name { font-weight: bold; color: var(--dark); }
.review-comment { color: #555; line-height: 1.55; font-size: 0.95rem; }
.reviews-grid .review-card[hidden] { display: none; }
.reviews-more {
  align-self: center;
  margin-bottom: 18px;
  background: transparent;
  color: var(--btn, var(--accent));
  border: 2px solid var(--btn, var(--accent));
  font-weight: bold;
  font-size: 0.95rem;
  padding: 9px 24px;
  border-radius: 28px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.reviews-more:hover { background: var(--btn, var(--accent)); color: #fff; }
.reviews-cta {
  align-self: center;
  display: inline-block;
  background: var(--btn, var(--accent));
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 12px 28px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  transition: opacity 0.15s;
}
.reviews-cta:hover { opacity: 0.9; }

/* ── Leave-a-review page (/review) ── */
.review-page { max-width: 620px; margin: 0 auto; padding: 26px 20px 60px; }
.review-page-title { font-size: 1.7rem; color: var(--dark); margin: 10px 0 6px; }
.review-order-note { color: #888; font-size: 0.9rem; margin-bottom: 18px; }
.review-form { display: flex; flex-direction: column; }
.review-form[hidden] { display: none; }  /* [hidden] alone loses to the rule above */
.review-label { font-weight: bold; color: var(--dark); margin: 16px 0 6px; font-size: 0.95rem; }
.review-private-note { color: #888; font-size: 0.82rem; margin: 8px 0 0; }
.review-form input[type="text"],
.review-form input[type="tel"],
.review-form input[type="email"],
.review-form textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-size: 1rem;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}
.review-form textarea { resize: vertical; }
.star-picker { display: flex; gap: 4px; }
.star-btn {
  background: none;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  color: #d8d2c6;
  cursor: pointer;
  padding: 0 2px;
  transition: color 0.1s, transform 0.1s;
}
.star-btn:hover { transform: scale(1.1); }
.star-btn.on { color: #e0b100; }
.review-submit {
  margin-top: 22px;
  align-self: flex-start;
  display: inline-block;
  background: var(--btn, var(--accent));
  color: #fff;
  border: none;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  font-family: inherit;
  padding: 13px 32px;
  border-radius: 28px;
  cursor: pointer;
  transition: opacity 0.15s;
}
.review-submit:hover { opacity: 0.9; }
.review-submit:disabled { opacity: 0.6; cursor: default; }
.review-note { color: #999; font-size: 0.85rem; margin-top: 12px; }
.review-thanks { text-align: center; padding: 30px 0; }
.review-thanks-icon { font-size: 3rem; margin-bottom: 10px; }
.review-thanks h2 { color: var(--dark); margin-bottom: 8px; }
.review-thanks p { color: #666; margin-bottom: 22px; }

/* ── View-only menu page ── */
.menu-page-bar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 20px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.menu-page-title {
  font-size: 1.4rem;
  color: var(--dark);
  text-align: center;
  flex: 1;
  min-width: 0;
}
.back-home, .order-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--accent);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 7px 15px;
  background: #fff;
  transition: all 0.15s;
}
.back-home:hover, .order-link:hover { border-color: var(--accent); }

/* Anchor pills in the category nav (menu pages use <a>, not <button>) */
a.cat-tab { text-decoration: none; display: inline-block; }

.price-sep { color: #ccc; }

@media (max-width: 700px) {
  .landing-cta { font-size: 1.2rem; padding: 17px 38px; }
  .menu-page-bar { flex-wrap: wrap; justify-content: center; }
  .menu-page-title { flex-basis: 100%; order: -1; }
}
