/* ==========================================================================
   FOOD MENU  (/bremerton-the-boat-shed-food-menu/)
   Tabbed menus (Menu / Gluten Free / Dessert / Bar) made of slate cards
   holding price lists.
   ========================================================================== */

/* Full-width section: photo background with a 95% white overlay */
.menu-page {
  padding: 100px 20px;
  background: url("/images/boatshedbremerton-backgrond2.jpg") center center / cover no-repeat;
}
.menu-page::before { content: ""; position: absolute; inset: 0; background: var(--c-white); opacity: .95; }
.menu-page > .inner { position: relative; }
@media (min-width: 1401px) { .menu-page { background-attachment: fixed; } }
@media (max-width: 1024px) { .menu-page { padding: 50px 20px; } }
@media (max-width: 767px)  { .menu-page { padding: 50px 10px; } }

/* "line + OUR MENU + line" heading */
.rule-title { display: flex; align-items: center; width: 100%; }
.rule-title::before, .rule-title::after {
  content: ""; display: block; flex-grow: 1;
  border-top: 1px solid var(--c-primary);
}
.rule-title h1 {
  flex-shrink: 0; margin: 0 10px; max-width: 95%;
  font-size: 3.5em; line-height: 1;
}

/* Bordered box hanging off the divider line */
.menu-box {
  display: flex; flex-direction: column; gap: 20px;
  border: 1px solid var(--c-primary); border-top: 0;
  margin-top: -48px;
  padding: 75px 40px 50px;
}
@media (max-width: 1024px) { .menu-box { padding: 50px 20px; } }
@media (max-width: 767px)  { .menu-box { padding: 50px 10px; } }

/* ---------- Tabs ---------- */
.menu-tabs { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.tab-list {
  display: flex; flex-direction: row; flex-wrap: nowrap; gap: 20px;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.tab-list::-webkit-scrollbar { display: none; }
/* centred when it fits, scrollable (from the left) when it overflows */
.tab-list > :first-child { margin-left: auto; }
.tab-list > :last-child  { margin-right: auto; }
.tab-btn {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  min-height: 0;
  padding: 10px 20px;
  background: transparent;
  border: 2px solid var(--c-secondary);
  border-radius: 0;
  color: var(--c-secondary);
  font-family: var(--f-display); font-weight: 400;
  font-size: 42px;             /* 1.2 × the 35px kit button size */
  line-height: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: background .3s, color .3s, border .3s;
}
.tab-btn:hover, .tab-btn:focus {
  background: transparent;
  border-color: var(--c-accent);
  color: var(--c-accent);
}
.tab-btn.active, .tab-btn.active:hover, .tab-btn.active:focus {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-white);
}
.tab-btn:focus:not(:focus-visible) { outline: none; }
@media (max-width: 767px) { .tab-btn { font-size: 35px; } }

.tab-panel { display: flex; flex-direction: column; gap: 20px; }
.tab-panel[hidden] { display: none; }

/* Note above a tab's cards ("GF - Gluten-free", "All Day, Every Day!") */
.menu-note {
  align-self: center;
  width: 80%; max-width: 80%;
  margin: 20px 0 0;
  text-align: center;
  font-family: var(--f-ui); font-weight: 500;
  font-size: 20px; line-height: 24px;
  color: var(--c-slate);
}
@media (max-width: 1024px) { .menu-note { width: 95%; max-width: 95%; } }

/* Two equal columns of cards (stacked on mobile) */
.menu-cols {
  display: flex; flex-direction: row; gap: 0;
  width: 100%; max-width: var(--content-width); margin: 0 auto;
}
.menu-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 10px; }
.menu-cols.single .menu-col { padding: 0 25%; }
@media (max-width: 1024px) { .menu-cols.single .menu-col { padding: 0 10%; } }
@media (max-width: 767px) {
  .menu-cols { flex-wrap: wrap; }
  .menu-col { flex-basis: 100%; padding: 0; }
  .menu-col + .menu-col { margin-top: 20px; }
  .menu-cols.single .menu-col { padding: 0; }
}

/* ---------- Card ---------- */
.menu-card {
  display: flex; flex-direction: column; gap: 0;
  background: var(--c-slate);
  border-radius: 15px;
  padding: 40px 40px 40px 20px;
  color: var(--c-white);
}
@media (max-width: 1024px) { .menu-card { padding: 30px 20px; } }
.menu-card h2 { font-size: 2rem; line-height: 1; text-align: center; color: var(--c-white); }
.card-note {
  margin: 10px 0;
  text-align: center;
  font-size: 19px; line-height: 1.2em;
  color: var(--c-white);
}
.card-list {
  display: flex; flex-direction: column;
  margin-top: 20px;
  padding: 0 0 0 20px;
  border-left: 1px solid var(--c-white);
}
@media (max-width: 1024px) { .card-list { padding-left: 10px; } }

/* ---------- Price list ---------- */
.price-list { list-style: none; margin: 0; padding: 0; }
.price-list .item { display: flex; flex-wrap: wrap; align-items: flex-start; margin: 0; }
.price-list .item:not(:last-child) { margin-bottom: 20px; border-bottom: 1px solid var(--c-white); }
.item-img { flex-shrink: 0; max-width: 100%; padding: 0; }
.item-img img { width: 100%; display: block; }
.item-text { display: flex; flex-wrap: wrap; align-items: flex-start; flex-grow: 1; padding: 0; min-width: 0; }
.item-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  flex-basis: 100%;
  margin-bottom: 10px;
  font-size: 22px; font-weight: 600;
  color: var(--c-white);
}
.item-title { max-width: 80%; }
.item-price { font-weight: 600; font-size: 22px; color: var(--c-white); }
.item-text .item-desc {
  flex-basis: 100%;
  margin: 0 0 10px; padding-bottom: 10px;
  font-size: 19px; line-height: 1.45;
  color: var(--c-white);
}
@media (max-width: 767px) { .item-title { max-width: 70%; } }
