/* ============================================================
   custom.css — site-specific overrides.
   Loaded AFTER theme.bundle.css. Keep all hand-written rules
   here; never edit the generated bundles.
   ============================================================ */

/* ---- Reservation button in the navbar ---------------------
   theme.bundle.js swaps .navbar-dark -> .navbar-light as soon
   as the page is scrolled (white bar). A hard-coded .text-white
   on the button therefore turned white-on-white and vanished.
   The button now takes its colour from the navbar state.
   ----------------------------------------------------------- */
.navbar .nav-link.btn-reserve {
  border: 1px solid currentColor;
  border-radius: 3px;
  /* Match the box of a plain .nav-link exactly, so the label sits on the
     same baseline as About / Menu / Gallery. The 1px border is subtracted
     from the padding, and line-height is inherited (never overridden). */
  padding-top: calc(var(--bs-nav-link-padding-y, .5rem) - 1px);
  padding-bottom: calc(var(--bs-nav-link-padding-y, .5rem) - 1px);
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}

/* Dark navbar (top of page, over the hero) */
.navbar-dark .nav-link.btn-reserve {
  color: #fff;
}
.navbar-dark .nav-link.btn-reserve:hover,
.navbar-dark .nav-link.btn-reserve:focus {
  background-color: #fff;
  color: #151515;
}

/* Light navbar (scrolled — white bar, and the open mobile menu) */
.navbar-light .nav-link.btn-reserve {
  color: #7a4f08;
  border-color: #f5a637;
}
.navbar-light .nav-link.btn-reserve:hover,
.navbar-light .nav-link.btn-reserve:focus {
  background-color: #f5a637;
  border-color: #f5a637;
  color: #151515;
}

/* Keyboard focus stays visible in both states */
.navbar .nav-link.btn-reserve:focus-visible {
  outline: 2px solid #f5a637;
  outline-offset: 2px;
}

/* Mobile: the reservation entry sits in the collapsed menu as a
   plain link, so it just needs to match the other items. */
@media (max-width: 991.98px) {
  .navbar .nav-link.btn-reserve {
    display: inline-block;
    margin-top: .5rem;
  }
}

/* ---- "Two ways to enjoy sampo" — dine-in vs delivery ------
   Dine-in keeps the house gold; delivery carries the Uber Eats
   green, contained inside its own card so it never competes
   with the rest of the page.
   ----------------------------------------------------------- */
.choice-card {
  position: relative;
  padding: 2.5rem 1.75rem;
  border: 1px solid #e4e4e4;
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.choice-card:hover {
  border-color: #d2d2d2;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .07);
  transform: translateY(-3px);
}

/* Round mark at the top of each card */
.choice-mark {
  width: 68px;
  height: 68px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Our own icon is a circle... */
.choice-mark-dine {
  border: 1px solid #f5a637;
  border-radius: 50%;
  color: #b8791a;
  font-size: 24px;
}
/* ...but the Uber Eats mark is shown unaltered, in its own
   rounded-square shape, as their brand guidelines require. */
.choice-mark img {
  width: 68px;
  height: 68px;
  display: block;
}

/* "NEW" flag on the delivery card */
.choice-new {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #f5a637;
  color: #151515;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  padding: 3px 12px;
  border-radius: 2px;
  white-space: nowrap;
}

/* Uber Eats button — their brand colours (green field, black type) */
.btn-ubereats,
.btn-ubereats:visited {
  background-color: #06c167;
  border: 1px solid #06c167;
  color: #0b0b0b;
  font-weight: 700;
}
.btn-ubereats:hover,
.btn-ubereats:focus {
  background-color: #05a659;
  border-color: #05a659;
  color: #0b0b0b;
}
.btn-ubereats:focus-visible {
  outline: 2px solid #0b0b0b;
  outline-offset: 2px;
}

/* Small inline Uber Eats mark used in the footer */
.ue-mark {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  vertical-align: -3px;
}

/* ---- Announcement bar -------------------------------------
   Desktop: "Now on Uber Eats [Order Delivery]  |  Online
   Reservation [Book Now]" on one line.
   Phones: the labels drop away and the two calls to action
   shorten, so the bar stays a single row instead of wrapping
   into two.
   ----------------------------------------------------------- */
.announce-bar {
  position: relative;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 16px;
  padding: 10px 12px;
  background-color: #c9a96e;
  text-align: center;
}
.announce-label {
  color: #3a2a0a;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.announce-btn,
.announce-btn:visited {
  border: 1px solid #3a2a0a;
  color: #3a2a0a;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.announce-btn:hover,
.announce-btn:focus {
  background-color: #3a2a0a;
  color: #c9a96e;
}
.announce-sep {
  flex: none;
  width: 1px;
  height: 18px;
  background: rgba(58, 42, 10, .35);
}
.announce-short { display: none; }

@media (max-width: 639.98px) {
  .announce-bar { gap: 10px; padding: 9px 10px; }
  .announce-label { display: none; }
  .announce-long { display: none; }
  .announce-short { display: inline; }
}
@media (max-width: 359.98px) {
  .announce-btn { font-size: 12px; padding: 4px 10px; }
  .announce-bar { gap: 8px; }
}
