/* ==========================================================
   Bord 331 – Restaurang · Grill · Bar
   Ljus palett hämtad från menykortet: creme, gul-guld, mörk text
   ========================================================== */

:root {
  --bg: #faf6ee;
  --bg-2: #f4ecdc;
  --paper: #fffdf8;
  --line: rgba(184, 134, 44, 0.22);
  --text: #1c1a17;
  --text-muted: #6f675b;
  --gold: #dfa63f;
  --gold-2: #ecbc5c;
  --gold-dark: #b8862c;
  --radius: 18px;
  --shadow: 0 18px 44px rgba(90, 64, 20, 0.14);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--text);
}

h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 500; }

p { margin: 0 0 1em; }

.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.9em;
}

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 56ch;
}

.muted { color: var(--text-muted); }

/* ---------- Logo ---------- */
.logo-img {
  height: 54px;
  width: auto;
}
.footer-logo {
  height: 72px;
  margin: 0 auto 0.75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 8px 22px rgba(223, 166, 63, 0.35);
}
.btn:hover { color: var(--text); transform: translateY(-2px); filter: brightness(1.04); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(28, 26, 23, 0.25);
  box-shadow: none;
}
.btn-ghost:hover { color: var(--text); border-color: var(--gold-dark); background: rgba(223, 166, 63, 0.12); }
.btn-small { padding: 0.6em 1.2em; font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav > a:not(.btn) {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav > a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 9vw, 7rem);
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(223, 166, 63, 0.32), transparent 70%),
    radial-gradient(ellipse 40% 40% at 85% 90%, rgba(223, 166, 63, 0.18), transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(223, 166, 63, 0.14), transparent 70%),
    var(--bg);
}
.hero-bg::after {
  /* diskret rutmönster */
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(120, 85, 20, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 85, 20, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000, transparent);
}

.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero h1 { margin-bottom: 0.35em; }
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-dark);
}
.hero .lead { margin-inline: auto; margin-bottom: 2rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.85);
}
.hero-facts li {
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.hero-facts li + li { border-left: 1px solid var(--line); }
.hero-facts strong { color: var(--text); font-weight: 600; margin-right: 0.35em; }

/* ---------- Lunch (gul banderoll som på menyn) ---------- */
.lunch { padding: 0 0 clamp(3rem, 7vw, 5rem); }

.lunch-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ecbc5c 0%, #dfa63f 55%, #d39830 100%);
  border: 1px solid rgba(184, 134, 44, 0.5);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  color: var(--text);
}
.lunch-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 100% at 100% 50%, rgba(255, 255, 255, 0.3), transparent 70%);
  pointer-events: none;
}
.lunch-icon {
  color: var(--gold-dark);
  width: 84px; height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 6px 18px rgba(90, 64, 20, 0.18);
}
.lunch-text h2 { margin-bottom: 0.15em; }
.lunch-text .eyebrow { margin-bottom: 0.4em; color: rgba(28, 26, 23, 0.7); }
.lunch-text p { margin: 0; color: rgba(28, 26, 23, 0.8); }
.lunch-time { color: var(--text) !important; font-weight: 600; margin-bottom: 0.3em !important; }

.lunch-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  font-family: var(--font-display);
  color: var(--text);
  position: relative;
}
.price-big { font-size: clamp(3.5rem, 8vw, 5.5rem); font-weight: 700; line-height: 1; }
.price-unit { font-size: 1.5rem; font-style: italic; }

/* ---------- Menu ---------- */
.menu {
  padding: clamp(3rem, 7vw, 6rem) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-head .lead { margin-inline: auto; }

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.tab {
  padding: 0.6em 1.2em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--text-muted);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tab:hover { color: var(--text); border-color: var(--gold-dark); }
.tab.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--text);
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(223, 166, 63, 0.35);
}

.menu-panel { animation: fadeUp 0.35s ease; }
.menu-panel[hidden] { display: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.panel-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 1.75rem;
}

.menu-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 860px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 0.75rem 2.5rem;
}

.menu-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.item-head {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.item-head h3 { margin: 0; flex-shrink: 0; max-width: 70%; }
.item-head h3 small { font-family: var(--font-body); font-size: 0.8rem; color: var(--text-muted); }
.dots {
  flex: 1;
  border-bottom: 1px dotted rgba(184, 134, 44, 0.55);
  transform: translateY(-5px);
  min-width: 1.5rem;
}
.price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-dark);
  white-space: nowrap;
}
.price::after { content: " kr"; font-size: 0.8rem; font-weight: 500; font-style: italic; }
.price small { font-size: 0.8rem; font-weight: 500; color: var(--text-muted); }
.price:has(small)::after { content: none; }
.menu-item p {
  margin: 0.3rem 0 0;
  font-size: 0.93rem;
  color: var(--text-muted);
}

.menu-footnote {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2.5rem;
}

/* ---------- About ---------- */
.about { padding: clamp(3rem, 7vw, 6rem) 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-text p { color: var(--text-muted); }

.about-badges {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.about-badges li {
  padding: 0.45em 1em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.85rem;
  color: var(--text);
}
.about-badges li::before {
  content: "✦";
  color: var(--gold-dark);
  margin-right: 0.5em;
  font-size: 0.7em;
}

.about-visual { display: flex; justify-content: center; }
.visual-card {
  width: min(100%, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent 55%),
    linear-gradient(160deg, #ecbc5c, #dfa63f 60%, #cf9530);
  box-shadow: var(--shadow), inset 0 0 0 12px var(--bg), inset 0 0 0 13px var(--gold);
}
.visual-num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-shadow: 0 4px 14px rgba(120, 80, 10, 0.25);
}
.visual-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(28, 26, 23, 0.75);
}

/* ---------- Contact ---------- */
.contact {
  padding: clamp(3rem, 7vw, 6rem) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin-inline: auto;
}

.info-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(90, 64, 20, 0.06);
}
.info-card h3 { color: var(--gold-dark); font-size: 1.1rem; margin-bottom: 0.75rem; }
.info-card h3 + h3, .info-card p + h3 { margin-top: 1.5rem; }
.info-card .btn { margin-top: 0.5rem; }

.hours { margin: 0 0 1rem; }
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
.hours dt { color: var(--text-muted); }
.hours dd { margin: 0; color: var(--text); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
  text-align: center;
  background: var(--bg);
}
.footer-inner p { margin: 0.2em 0; font-size: 0.9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav-toggle { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 16px 1rem;
    background: rgba(250, 246, 238, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav > a:not(.btn) { padding: 0.9rem 0.25rem; border-bottom: 1px solid var(--line); }
  .nav > a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1rem; }

  .lunch-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .visual-card { width: min(100%, 260px); }
}

@media (max-width: 480px) {
  .logo-img { height: 44px; }
  .hero-facts { border-radius: var(--radius); flex-direction: column; width: 100%; }
  .hero-facts li + li { border-left: 0; border-top: 1px solid var(--line); }
  .hero-actions .btn { width: 100%; }
  .menu-list { grid-template-columns: 1fr; }
  .item-head h3 { max-width: 65%; font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
