/* =========================================================
   Base
   ========================================================= */

:root {
  --page-bg: #ffffff;
  --text: #161616;

  --heading-font: 'Fjalla One', Arial, sans-serif;
  --body-font: 'Libre Franklin', Arial, sans-serif;

  --header-height: 150px;
  --header-height-mobile: 105px;

  --nav-color: #8d8d8d;
  --nav-hover: #555555;

  --container: min(1040px, 92vw);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--body-font);
  font-weight: 400;
  padding-top: var(--header-height);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 400;
  letter-spacing: 0.035em;
}

.container {
  width: var(--container);
  margin: 48px auto;
}

/* =========================================================
   Home page detection
   Home = body utan .menu-page / .contact-page
   ========================================================= */

body:not(.menu-page):not(.contact-page) {
  padding-top: 0;
}

/* =========================================================
   Header + Navigation
   Standard för undersidor
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;

  height: var(--header-height);
  padding: 0 68px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #ffffff;
  box-shadow: none;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 78px;
  height: 110px;
  object-fit: contain;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
}

.main-nav a {
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  text-decoration: none;

  color: var(--nav-color);
  background: transparent;
  padding: 0;
  border-radius: 0;
  opacity: 1;
  text-shadow: none;

  transition: color 0.2s ease, opacity 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--nav-hover);
}

/* =========================================================
   Header + Navigation
   Startsidan - transparent ovanpå hero
   ========================================================= */

body:not(.menu-page):not(.contact-page) .site-header {
  height: auto;
  padding: 34px 58px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.28),
    rgba(0, 0, 0, 0.08),
    rgba(0, 0, 0, 0)
  );
}

body:not(.menu-page):not(.contact-page) .brand img {
  width: 72px;
  height: 102px;
}

body:not(.menu-page):not(.contact-page) .main-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

body:not(.menu-page):not(.contact-page) .main-nav a:hover,
body:not(.menu-page):not(.contact-page) .main-nav a.active {
  color: #ffffff;
}

/* =========================================================
   Hamburger
   Standard
   ========================================================= */

.hamburger {
  display: none;
  position: fixed;
  top: 28px;
  right: 24px;
  z-index: 120;

  width: 48px;
  height: 48px;
  padding: 0;

  background: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 0;
  box-shadow: none;

  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: #777777;
  border-radius: 999px;
  transition: transform 0.28s ease, opacity 0.22s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================
   Home page
   ========================================================= */

.hero {
  position: relative;
  width: 100%;
  min-height: 88vh;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 88vh;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.24),
    rgba(0, 0, 0, 0.08) 38%,
    rgba(0, 0, 0, 0.18)
  );
}

.hero h1 {
  position: absolute;
  left: 50%;
  top: 62%;
  z-index: 2;
  transform: translate(-50%, -50%);

  margin: 0;
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: clamp(72px, 8vw, 140px);
  line-height: 0.95;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.55);
}

.intro {
  padding: 0;
}

.intro h2 {
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(38px, 6vw, 62px);
}

.intro p {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.62;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.gallery img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.salad {
  display: grid;
  grid-template-columns: minmax(420px, 1.05fr) minmax(320px, 1fr);
  gap: 36px;
  align-items: start;
}

.salad-image-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.salad-text {
  padding: 6px 0;
}

.salad-text p {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.5;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: #0d0f11;
  color: #d8d8d8;
  text-align: center;
  padding: 44px 20px 50px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 22px;
}

.social-links a {
  color: #f2f2f2;
  text-decoration: none;
  font-size: 15px;
  opacity: 0.9;
}

.social-links a:hover {
  opacity: 1;
}

.footer-powered {
  margin: 0;
  color: #7e8289;
  font-size: 15px;
}

.footer-powered a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
  font-family: inherit;
}

.footer-powered a:hover {
  text-decoration: underline;
}

/* =========================================================
   Contact page
   ========================================================= */

.contact-page {
  background: #ffffff;
  color: #222222;
}

.contact-page-shell {
  padding-top: 0;
}

.contact-hero {
  text-align: center;
  margin-bottom: 34px;
}

.contact-hero h1 {
  margin: 72px 0 26px;
  font-size: clamp(56px, 7vw, 92px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: stretch;
  margin-bottom: 86px;
}

.contact-details {
  padding-top: 12px;
}

.contact-details h2,
.contact-hours h2 {
  margin: 0 0 24px;
  font-size: clamp(40px, 5vw, 62px);
}

.contact-details p {
  margin: 0 0 8px;
  font-size: 18px;
  color: #4b4b4b;
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-links a {
  color: #1d1d1d;
  text-decoration: none;
  font-size: 18px;
}

.contact-links a:hover {
  text-decoration: underline;
}

.contact-map iframe {
  width: 100%;
  min-height: 100%;
  height: 520px;
  border: 0;
}

.contact-hours {
  margin-bottom: 102px;
}

.hours-list {
  list-style: none;
  max-width: 540px;
  margin: 0;
  padding: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 16px;
  color: #444444;
}

/* =========================================================
   Menu page
   ========================================================= */

.menu-page {
  background: #ffffff;
  color: #161616;
}

.menu-page-shell {
  padding-top: 0;
}

.menu-intro {
  text-align: center;
  margin-bottom: 70px;
}

.menu-intro h1 {
  margin: 54px 0 58px;
  font-family: var(--heading-font);
  font-size: clamp(58px, 6vw, 88px);
  font-weight: 400;
  line-height: 1;
}

.menu-switcher {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.menu-switcher button {
  border: 0;
  background: transparent;
  padding: 0;

  font-family: var(--body-font);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;

  color: #1f1f1f;
  cursor: pointer;
}

.menu-switcher button.active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.menu-panel[hidden] {
  display: none !important;
}

.menu-panel--active {
  display: block;
}

.menu-section-block {
  margin-bottom: 118px;
}

.menu-section-block h2 {
  margin: 0 0 42px;
  text-align: center;
  font-size: clamp(26px, 2.6vw, 36px);
  color: #454545;
}

.menu-grid--four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 36px;
}

.menu-entry {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}

.menu-entry h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 700;
  color: #2f2f2f;
}

.menu-entry p {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: #5c5c5c;
}

.menu-entry span {
  flex: 0 0 auto;
  font-size: 15px;
  line-height: 1.2;
  color: #3e3e3e;
}

.menu-entry--note {
  align-items: center;
}

.menu-note {
  margin: 44px 0 0;
  font-size: 15px;
  color: #6b6b6b;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    gap: 28px;
  }

  .contact-details {
    padding-top: 0;
  }

  .contact-map iframe {
    height: 460px;
  }

  .menu-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-intro h1 {
    margin: 50px 0 52px;
  }
}

@media (max-width: 1080px) {
  .gallery,
  .salad {
    grid-template-columns: 1fr;
  }

  .gallery img {
    height: 420px;
  }

  .salad {
    gap: 20px;
  }

}

/* =========================================================
   Mobile navigation
   ========================================================= */

@media (max-width: 800px) {
  body {
    padding-top: var(--header-height-mobile);
  }

  body:not(.menu-page):not(.contact-page) {
    padding-top: 0;
  }

  .site-header {
    height: var(--header-height-mobile);
    padding: 0 22px;
    background: #ffffff;
  }

  body:not(.menu-page):not(.contact-page) .site-header {
    height: auto;
    padding: 24px 22px;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.32),
      rgba(0, 0, 0, 0.08),
      rgba(0, 0, 0, 0)
    );
  }

  .brand img {
    width: 54px;
    height: 76px;
  }

  body:not(.menu-page):not(.contact-page) .brand img {
    width: 52px;
    height: 74px;
  }

  .hamburger {
    display: flex;
    top: 28px;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 90;

    width: min(78vw, 280px);
    height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;

    gap: 0;
    padding: 105px 28px 28px;

    background: #ffffff;
    box-shadow: -10px 0 32px rgba(0, 0, 0, 0.12);

    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(.4, 0, .2, 1);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    width: 100%;
    color: #777777;
    background: transparent;

    padding: 16px 0;
    border-bottom: 1px solid #ededed;
    border-radius: 0;

    font-family: var(--body-font);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-align: left;
    text-shadow: none;
  }

  body:not(.menu-page):not(.contact-page) .main-nav a {
    color: #777777;
    border-bottom-color: #ededed;
    font-weight: 600;
  }

  .main-nav a:hover,
  .main-nav a.active {
    color: #333333;
  }

  body:not(.menu-page):not(.contact-page) .main-nav a:hover,
  body:not(.menu-page):not(.contact-page) .main-nav a.active {
    color: #333333;
  }

  .hero,
  .hero-image {
    min-height: 78vh;
    height: 78vh;
  }

  .hero h1 {
    top: 60%;
    font-size: clamp(54px, 13vw, 88px);
    white-space: nowrap;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(1320px, 94vw);
    margin: 34px auto;
  }

  .intro {
    padding: 20px;
  }

  .intro h2 {
    font-size: clamp(36px, 11vw, 54px);
  }

  .intro p {
    font-size: 16px;
    line-height: 1.6;
  }

  .gallery img {
    height: 330px;
  }

  .salad-text {
    padding: 20px;
  }

  .salad-text p {
    font-size: 17px;
    line-height: 1.55;
  }

  .contact-hero h1 {
    margin: 42px 0 24px;
  }

  .contact-layout {
    gap: 22px;
    margin-bottom: 72px;
  }

  .contact-details h2 {
    margin-bottom: 22px;
    font-size: clamp(32px, 9vw, 40px);
  }

  .contact-links a {
    font-size: 15px;
  }

  .contact-map iframe {
    height: 320px;
  }

  .contact-hours {
    margin-bottom: 74px;
  }

  .contact-hours h2 {
    margin-bottom: 18px;
    font-size: clamp(28px, 8vw, 36px);
  }

  .hours-list li {
    font-size: 14px;
    padding: 8px 0;
  }

  .menu-intro {
    margin-bottom: 64px;
  }

  .menu-intro h1 {
    margin: 38px 0 42px;
    font-size: clamp(48px, 14vw, 68px);
  }

  .menu-switcher button {
    font-size: 15px;
  }

  .menu-section-block {
    margin-bottom: 84px;
  }

  .menu-grid--four {
    grid-template-columns: 1fr;
  }

  .menu-grid--four {
    gap: 24px;
  }

  .menu-entry h3 {
    font-size: 17px;
  }

  .menu-entry p,
  .menu-entry span,
  .menu-note {
    font-size: 14px;
  }
}
