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

:root {
  --cream: #f5f0e8;
  --warm-white: #faf7f2;
  --dark: #1a1612;
  --dark-mid: #241f1a;
  --brown: #3d2f1f;
  --gold: #c9a96e;
  --gold-light: #e8d5a8;
  --text-muted: #8a7968;
  --border: rgba(201, 169, 110, 0.2);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  transition: background 0.4s, backdrop-filter 0.4s;
  background: linear-gradient(to bottom, rgba(26,22,18,0.75) 0%, rgba(26,22,18,0.35) 60%, transparent 100%);
}
nav.scrolled {
  background: rgba(26,22,18,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--cream);
  text-decoration: none;
  text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}
.nav-logo span { color: var(--gold); font-style: italic; }
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.9;
  transition: opacity 0.2s;
  text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}
.nav-links a:hover { opacity: 1; color: var(--gold); }
.nav-cta {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold);
  border: none;
  padding: 0.65rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.nav-cta:hover { background: var(--gold-light); }

/* MOBILE NAV */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,22,18,0.97);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--cream);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 300;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: slowzoom 18s ease-in-out infinite alternate;
}
@keyframes slowzoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,22,18,0.55) 0%,
    rgba(26,22,18,0.6) 50%,
    rgba(26,22,18,0.88) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
  animation: fadeup 1.2s ease both;
}
@keyframes fadeup {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeup 1s 0.3s ease both;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: 0.02em;
  color: var(--cream);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeup 1s 0.5s ease both;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: rgba(245,240,232,0.85);
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeup 1s 0.7s ease both;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  opacity: 0;
  animation: fadeup 1s 0.9s ease both;
}
.btn-primary {
  background: var(--gold);
  color: var(--dark);
  border: none;
  padding: 0.9rem 2.2rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245,240,232,0.4);
  padding: 0.9rem 2.2rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.6);
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
  z-index: 1;
  animation: fadeup 1s 1.2s ease both;
  opacity: 0;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollpulse 2s ease infinite;
}
@keyframes scrollpulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* SECTIONS */
section { padding: 7rem 3rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.section-title em { font-style: italic; color: var(--gold-light); }
.divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0 2rem;
}

/* OM OSS */
#om {
  background: var(--dark-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.om-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.om-img {
  height: 520px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.om-img::before {
  content: '';
  position: absolute;
  inset: -1.5rem 1.5rem 1.5rem -1.5rem;
  border: 1px solid var(--border);
  z-index: -1;
}
.om-text p {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(245,240,232,0.7);
  margin-bottom: 1.25rem;
}
.om-detail {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.om-detail-item label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.om-detail-item span {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--cream);
}

/* MENY */
#meny { background: var(--dark); }
.meny-header { text-align: center; margin-bottom: 4rem; }
.meny-header .divider { margin: 1.5rem auto 0; }
.meny-cats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
}
.meny-cat {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.meny-cat.active { color: var(--gold); }
.meny-cat.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 1px;
  background: var(--gold);
}
.meny-panel { display: none; }
.meny-panel.active { display: block; }
.meny-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}
.meny-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.meny-item:nth-child(odd) { padding-right: 3rem; }
.meny-item:nth-child(even) { padding-left: 3rem; border-left: 1px solid var(--border); }
.meny-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--cream);
}
.meny-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  line-height: 1.5;
}
.meny-price {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

/* GALLERI */
#galleri {
  background: var(--dark-mid);
  border-top: 1px solid var(--border);
}
.galleri-header { text-align: center; margin-bottom: 3rem; }
.galleri-header .divider { margin: 1.5rem auto 0; }
.galleri-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 260px 260px;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}
.g-img {
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: transform 0.5s ease;
  cursor: pointer;
}
.g-img:hover { transform: scale(1.02); }
.g1 { grid-column: 1/5; grid-row: 1; }
.g2 { grid-column: 5/9; grid-row: 1; }
.g3 { grid-column: 9/13; grid-row: 1/3; }
.g4 { grid-column: 1/4; grid-row: 2; }
.g5 { grid-column: 4/7; grid-row: 2; }
.g6 { grid-column: 7/9; grid-row: 2; }

/* KONTAKT */
#kontakt {
  background: var(--dark);
  border-top: 1px solid var(--border);
}
.kontakt-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}
.kontakt-left h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
.kontakt-left h2 em { font-style: italic; color: var(--gold-light); }
.kontakt-left > p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(245,240,232,0.65);
  margin-bottom: 2.5rem;
}
.kontakt-items { display: flex; flex-direction: column; gap: 1.5rem; }
.k-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.k-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.k-icon svg { width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.k-text label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.k-text p { font-size: 0.9rem; color: var(--cream); line-height: 1.7; }
.k-text a { color: var(--cream); text-decoration: none; }
.k-text a:hover { color: var(--gold); }
.kontakt-map {
  height: 360px;
  position: relative;
  border: 1px solid var(--border);
}
.kontakt-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-link {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(26,22,18,0.85);
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.map-link:hover { background: rgba(26,22,18,1); }

/* BOKA */
#boka {
  background: var(--dark-mid);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 8rem 3rem;
}
#boka .section-title { margin-bottom: 0.75rem; }
#boka p {
  font-size: 0.95rem;
  color: rgba(245,240,232,0.6);
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}
.boka-btns { display: flex; gap: 1rem; justify-content: center; }

/* FOOTER */
footer {
  background: var(--brown);
  border-top: 1px solid var(--border);
  padding: 3rem 3rem 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.footer-brand .nav-logo { font-size: 1.6rem; display: block; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.85rem; color: rgba(245,240,232,0.5); line-height: 1.7; }
.footer-col h4 {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  color: rgba(245,240,232,0.55);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(245,240,232,0.3);
}

/* VECKANS LUNCH */
.lunch-week {
  text-align: center;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--gold-light);
  margin-bottom: 1rem;
}
.lunch-intro {
  text-align: center;
  color: rgba(245,240,232,0.65);
  font-size: 0.92rem;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  white-space: pre-line;
}
.lunch-prices {
  max-width: 720px;
  margin: 3rem auto 0;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.lunch-price-row {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.4rem 1rem;
}
.lpr-label { flex: 1; }
.lpr-price { color: var(--gold); }
.lpr-takeaway { color: var(--text-muted); font-size: 0.85rem; min-width: 10rem; text-align: right; }
.lunch-allergy {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  max-width: 720px;
  margin: 1.5rem auto 0;
}
.lunch-price {
  text-align: center;
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
}
.lunch-price span { color: var(--gold); font-style: italic; }
.lunch-price em {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}
.lunch-days { max-width: 720px; margin: 0 auto; }
.lunch-day {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.5rem;
  padding: 1.4rem 1rem;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.lunch-day:first-child { border-top: 1px solid var(--border); }
.lunch-day-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--gold-light);
}
.lunch-day-dishes { counter-reset: dish; }
.lunch-dish { margin-bottom: 0.6rem; position: relative; }
.lunch-dish:last-child { margin-bottom: 0; }
.lunch-dish:not(:only-child) { padding-left: 1.5rem; }
.lunch-dish:not(:only-child)::before {
  counter-increment: dish;
  content: counter(dish) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold);
}
.lunch-dish .meny-desc { display: inline; }
.lunch-dessert {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}
.lunch-dessert em { color: var(--gold); }
.idag-badge {
  display: none;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold);
  padding: 0.2rem 0.55rem;
  margin-left: 0.6rem;
  vertical-align: middle;
}
.lunch-day.today { background: rgba(201, 169, 110, 0.07); }
.lunch-day.today .idag-badge { display: inline-block; }
.julbord-text {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  color: rgba(245,240,232,0.75);
  line-height: 1.8;
  white-space: pre-line;
}
.lunch-always { max-width: 720px; margin: 3.5rem auto 0; }
.lunch-always-title {
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

/* BOKNINGSFORMULÄR */
#bokning {
  background: var(--dark);
  border-top: 1px solid var(--border);
  text-align: center;
}
.divider-center { margin-left: auto; margin-right: auto; }
.form-intro {
  color: rgba(245,240,232,0.6);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto 3rem;
  white-space: pre-line;
}
.form-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.form-tab {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.form-tab.active { color: var(--gold); }
.form-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 1px;
  background: var(--gold);
}
.form-type-intro {
  color: rgba(245,240,232,0.6);
  font-size: 0.9rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
  white-space: pre-line;
}
.bokning-form { max-width: 720px; margin: 0 auto; text-align: left; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.form-field { display: flex; flex-direction: column; gap: 0.5rem; }
.form-field-full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--dark-mid);
  border: 1px solid var(--border);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border-radius: 0;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); }
.form-field input[type="date"],
.form-field select { color-scheme: dark; }
.form-field select { cursor: pointer; }
.form-type-intro { grid-column: 1 / -1; margin: 0 auto 0.5rem; }
.form-field textarea { resize: vertical; }
.form-field ::placeholder { color: var(--text-muted); opacity: 0.7; }
.bokning-form .btn-primary { display: block; margin: 0 auto; cursor: pointer; }
.hidden-field { display: none; }

/* TACK-SIDA */
.tack-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.tack-text {
  color: rgba(245,240,232,0.6);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto 2.5rem;
}
.tack-btn { display: inline-block; text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
  .lunch-day { grid-template-columns: 1fr; gap: 0.3rem; padding: 1.1rem 0.5rem; }
  .form-tab { padding: 0.75rem 1.1rem; }
  nav { padding: 1.25rem 1.5rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
  section { padding: 5rem 1.5rem; }
  .om-grid { grid-template-columns: 1fr; gap: 3rem; }
  .om-img { height: 320px; }
  .meny-grid { grid-template-columns: 1fr; }
  .meny-item:nth-child(odd) { padding-right: 0; }
  .meny-item:nth-child(even) { padding-left: 0; border-left: none; }
  .meny-cats { flex-wrap: wrap; }
  .galleri-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .g-img { min-height: 180px; }
  .g3 { grid-column: auto; grid-row: auto; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .hero-btns { flex-direction: column; align-items: center; }
  .boka-btns { flex-direction: column; align-items: center; }
}
