/* ==========================================================================
   Laksa — overrides and additions.
   Loaded AFTER style.css, which is the untouched BootstrapMade template.
   Keeping these separate means the template can still be diffed/replaced.
   ========================================================================== */

:root {
  /* Brand green, darkened from the template's #2e856e.
     White text on #2e856e measured 4.47:1 and gold links 1.93:1 — both below
     the 4.5:1 WCAG AA minimum. These values give 7.5:1 and 4.7:1. */
  --brand-green: #1f5f4e;
  --brand-green-dark: #17493c;
  --brand-green-deep: #113429;
  --gold: #e8c88a;
  --gold-strong: #cda45e;
  --ink: #14231e;
  --paper: #fdf9ef;
  --muted: rgba(255, 255, 255, 0.78);
  --radius: 10px;
}

body {
  background: var(--brand-green);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--gold);
}

a:hover,
a:focus {
  color: #fff;
}

#preloader {
  background: var(--brand-green);
}

/* Visible keyboard focus. The template removed outlines everywhere. */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   Top bar notice
   The template fixed #topbar to height:40px and slid it away with top:-40px,
   so any notice longer than one line overflowed and collided with #header.
   Height is now free and the slide uses a transform instead.
   -------------------------------------------------------------------------- */
#topbar {
  height: auto;
  min-height: 40px;
  background: var(--brand-green-deep);
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.45;
  transform: translateY(0);
  transition: transform 0.4s ease;
  z-index: 998;
}

#topbar.topbar-scrolled {
  top: 0;
  transform: translateY(-100%);
}

.topbar-notice {
  margin: 0;
  text-align: center;
  color: #fff;
}

.topbar-notice strong {
  color: var(--gold);
}

/* #header no longer assumes a fixed 40px bar above it. */
#header {
  top: var(--topbar-height, 0);
  background: rgba(17, 52, 41, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(232, 200, 138, 0.18);
}

#header.header-scrolled {
  top: 0;
}

/* Push page content clear of the fixed header. Replaces the inline
   style="padding-top:120px" that was hard-coded onto two pages. */
.page-main {
  padding-top: 128px;
}

@media (max-width: 991px) {
  .page-main {
    padding-top: 96px;
  }
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav-menu a {
  padding: 10px 12px;
  font-size: 15px;
}

.nav-menu .active > a {
  color: var(--gold);
}

.book-a-table a {
  border: 2px solid var(--gold);
  border-radius: 50px;
  padding: 8px 22px !important;
  color: var(--gold) !important;
  transition: background 0.3s, color 0.3s;
}

.book-a-table a:hover {
  background: var(--gold);
  color: var(--ink) !important;
}

.mobile-nav-toggle i,
.mobile-nav-close i {
  font-size: 28px;
  padding: 10px;
}

/* --------------------------------------------------------------------------
   Buttons — 44px minimum tap target
   -------------------------------------------------------------------------- */
.btn-menu,
.btn-book {
  display: inline-block;
  min-height: 44px;
  padding: 12px 30px;
  margin: 6px 8px 6px 0;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.4px;
  line-height: 1.4;
  transition: background 0.3s, color 0.3s, transform 0.15s;
}

.btn-menu {
  background: var(--gold);
  color: var(--ink);
  border: 2px solid var(--gold);
}

.btn-menu:hover {
  background: transparent;
  color: var(--gold);
}

.btn-book {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-book:hover {
  background: var(--gold);
  color: var(--ink);
}

.btn-menu:active,
.btn-book:active {
  transform: translateY(1px);
}

/* Sticky booking bar on phones — the primary action was previously buried. */
.mobile-book-bar {
  display: none;
}

@media (max-width: 767px) {
  .mobile-book-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 996;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(17, 52, 41, 0.96);
    border-top: 1px solid rgba(232, 200, 138, 0.25);
    display: flex;
    gap: 10px;
  }

  .mobile-book-bar a {
    flex: 1;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
  }

  body {
    padding-bottom: 74px;
  }

  .back-to-top {
    bottom: 84px;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
#hero h1 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.15;
}

#hero .hero-sub {
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  color: var(--muted);
  max-width: 34ch;
  margin: 18px 0 28px;
}

@media (max-width: 991px) {
  #hero .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
}

/* --------------------------------------------------------------------------
   Sections and typography
   -------------------------------------------------------------------------- */
section {
  padding: 64px 0;
}

@media (max-width: 767px) {
  section {
    padding: 44px 0;
  }
}

.section-title h1,
.section-title h2 {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
}

.section-title p {
  color: var(--gold);
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.section-top-border {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 40px;
  margin-top: 40px;
}

.about-points {
  list-style: none;
  padding: 0;
}

.about-points li + li {
  margin-top: 22px;
}

.about-points h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.about-points h3 i {
  color: var(--gold);
  margin-right: 6px;
}

.about-points p {
  margin: 0;
  color: var(--muted);
}

.about-img img,
.gallery-item img {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
}

.why-us .box {
  height: 100%;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--brand-green-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.why-us .box span {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
}

.why-us .box h3 {
  font-size: 1.2rem;
  margin: 10px 0;
}

.why-us .box p {
  color: var(--muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Menu page
   -------------------------------------------------------------------------- */
.menu-intro {
  max-width: 70ch;
  margin: 0 auto 28px;
  text-align: center;
  color: var(--muted);
}

.menu-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
}

.menu-jump a {
  display: inline-block;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid rgba(232, 200, 138, 0.45);
  border-radius: 50px;
  font-size: 14px;
  line-height: 1.6;
}

.menu-jump a:hover,
.menu-jump a:focus {
  background: var(--gold);
  color: var(--ink);
}

.menu-legend {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.menu-legend .menu-tag {
  margin-left: 14px;
}

.menu-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 10px;
  margin-bottom: 28px;
}

.menu-columns {
  column-gap: 44px;
}

@media (min-width: 992px) {
  .menu-columns {
    columns: 2;
  }
}

.menu-group {
  break-inside: avoid-column;
  margin-bottom: 34px;
}

.menu-group-title {
  background: var(--gold);
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  break-inside: avoid-column;
}

.menu-item-signature {
  background: rgba(232, 200, 138, 0.08);
  border-radius: var(--radius);
  padding: 12px 14px;
  border-bottom: none;
}

.menu-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}

.menu-item-name {
  font-weight: 600;
}

.menu-item-no {
  display: inline-block;
  min-width: 2.2em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.menu-item-desc {
  margin: 2px 0 0;
  padding-left: 2.2em;
  font-size: 14px;
  color: var(--muted);
}

.menu-price {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--gold);
  font-weight: 600;
}

.menu-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 14px;
}

.menu-price-label {
  color: var(--muted);
  font-size: 12px;
}

/* Dietary markers. Shape as well as colour, so they don't rely on colour alone. */
.menu-tag {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.1em;
  margin-left: 4px;
  border-radius: 50%;
}

.menu-tag-spicy {
  background: #e2574c;
  border-radius: 0 50% 0 50%;
}

.menu-tag-veg {
  background: #7ac143;
}

.menu-tag-nuts {
  background: #f0a13c;
  border-radius: 20%;
}

.menu-glossary {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.menu-footnote {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.contact-card {
  background: var(--brand-green-dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
}

.contact-card h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.contact-card h2 + * {
  margin-bottom: 22px;
}

.contact-card address {
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  font-size: 1.05rem;
}

.contact-note {
  font-size: 14px;
  color: var(--muted);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius);
  display: block;
}

.contact-closure {
  background: rgba(232, 200, 138, 0.12);
  border-left: 4px solid var(--gold);
  padding: 12px 16px;
  border-radius: 4px;
}

.hours-table {
  margin: 0;
  max-width: 520px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hours-row dt {
  font-weight: 600;
}

.hours-row dd {
  margin: 0;
  text-align: right;
}

.hours-service {
  display: block;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
#footer {
  background: var(--brand-green-deep);
  padding-top: 48px;
}

#footer h4 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  padding: 6px 0;
}

.footer-links ul a {
  display: inline-block;
  min-height: 32px;
  line-height: 32px;
}

.footer-address {
  font-style: normal;
  line-height: 1.7;
}

/* Opening hours were wrapped in .d-none.d-lg-inline-block, i.e. completely
   hidden on phones — the single most looked-up piece of information here. */
.footer-hours {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-hours dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px 28px;
  margin: 0;
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-hours-row dt {
  font-weight: 600;
  white-space: nowrap;
}

.footer-hours-row dd {
  margin: 0;
  text-align: right;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* Each service (lunch, dinner) on its own line. */
.footer-hours-row dd span {
  display: block;
}

#footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 32px;
  padding: 22px 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Misc
   -------------------------------------------------------------------------- */
img {
  max-width: 100%;
  height: auto;
}

/* Wide content must scroll inside itself, never the page body. */
.table-responsive,
.menu-columns {
  overflow-x: visible;
}

/* --------------------------------------------------------------------------
   Section reveal — CSS only, and deliberately fail-safe.

   This replaces AOS. AOS held every [data-aos] block at opacity:0 until its
   JavaScript ran, so if the script was blocked, slow or errored, the page was
   blank. Here the animation only ever moves content TOWARDS visible: if
   animations don't run at all, the element keeps its default opacity of 1.
   Content can never end up hidden.
   -------------------------------------------------------------------------- */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.reveal {
  animation: reveal-up 0.6s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    animation: none;
  }
}
