/* css/style.css */

:root {
  --bg: #f6f1e9;
  /* Brand från logotyp */
  --brand-green: #183a30;
  --sidebar: #183a30;
  --green: #183a30;
  --green-light: #234d42;

  --gold: #9e8945;
  --gold-soft: #c9bc86;

  --text: #1d1d1d;
  --white: #ffffff;

  --border: rgba(255, 255, 255, 0.08);

  --shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Cormorant Garamond", serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* SIDEBAR */

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 290px;
  height: 100vh;
  background: var(--sidebar);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 35px;
  z-index: 1000;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

/* Ljus “bricka” så mörkgrön logotyp syns mot sidebar (#183a30) */
.sidebar-top {
  padding: 18px 16px;
  margin-bottom: 12px;
  background: var(--bg);
  border-radius: 16px;
  border: 1px solid rgba(158, 137, 69, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.sidebar-top a {
  display: block;
  text-decoration: none;
}

.sidebar-logo {
  width: 170px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar-nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 28px;
  transition: 0.3s ease;
  letter-spacing: 0.5px;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--gold);
  transform: translateX(6px);
}

.sidebar-bottom {
  color: rgba(255, 255, 255, 0.5);
}

.sidebar-bottom p {
  font-size: 22px;
  color: var(--gold-soft);
}

.sidebar-bottom span {
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* MAIN */

.main-content {
  margin-left: 290px;
}

/* HERO */

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;

  background-color: var(--green);
  background-image: url("../images/tom bord med mat och dryck.png");
  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 80px;
}

/* Tonira fotografiju u brend-zelenu (#183a30); ostavlja čitljiv tekst iznad */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    155deg,
    rgba(24, 58, 48, 0.74) 0%,
    rgba(24, 58, 48, 0.56) 42%,
    rgba(18, 42, 34, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 900px;
}

.hero-logo {
  width: 320px;
  max-width: 80%;
  margin-bottom: 35px;
}

.hero-subtitle {
  color: var(--gold-soft);
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 16px;
  margin-bottom: 20px;
}

.hero-location {
  color: var(--gold-soft);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
  margin-top: -12px;
  margin-bottom: 24px;
}

.hero h1 {
  color: var(--white);
  font-size: 78px;
  line-height: 1;
  font-weight: 500;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 36px;
  text-decoration: none;
  transition: 0.3s ease;
  font-size: 20px;
  border-radius: 100px;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
}

.btn-primary:hover {
  background: #8a763c;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #111;
}

.page-main .btn-muted-outline {
  border: 1px solid rgba(24, 58, 48, 0.38);
  color: var(--green);
}

.page-main .btn-muted-outline:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.btn-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-row--spaced {
  margin-top: 48px;
}

/* INTRO */

.intro {
  padding: 120px 70px;
  background: var(--bg);
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-header span {
  color: var(--gold);
  letter-spacing: 4px;
  font-size: 14px;
}

.section-header h2 {
  font-size: 62px;
  max-width: 900px;
  margin: 20px auto 0;
  color: var(--green);
  line-height: 1;
}

.section-header .local-snippet {
  margin-top: 28px;
  font-size: 22px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: #555;
  line-height: 1.55;
  font-weight: 400;
}

.section-header .local-snippet strong {
  color: var(--green);
  font-weight: 600;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.intro-card {
  background: #fff;
  padding: 45px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.intro-card h3 {
  color: var(--green);
  font-size: 36px;
  margin-bottom: 15px;
}

.intro-card p {
  font-size: 24px;
  line-height: 1.5;
  color: #555;
}

/* INNER PAGES */

.inner-hero {
  position: relative;
  min-height: 52vh;
  overflow: hidden;
  background-color: var(--green);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 120px 70px 72px;
}

.inner-hero .hero-content {
  text-align: left;
  max-width: 720px;
  margin: 0;
  padding: 0;
}

.inner-hero .hero-content h1 {
  font-size: 56px;
  margin-bottom: 18px;
  color: #faf7f0;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
}

.inner-hero .hero-lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 22px;
  line-height: 1.45;
  max-width: 560px;
}

.page-main {
  padding: 90px 70px 120px;
  background: var(--bg);
}

.section-heading {
  margin-bottom: 40px;
}

.section-heading span {
  color: var(--gold);
  letter-spacing: 4px;
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
}

.section-heading h2 {
  font-size: 48px;
  color: var(--green);
  font-weight: 500;
  line-height: 1.05;
}

.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.split-feature--flip .split-feature__text {
  order: 2;
}

.split-feature--flip .split-feature__visual {
  order: 1;
}

.split-feature__visual img {
  width: 100%;
  min-height: 340px;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.split-feature__text h3 {
  font-size: 38px;
  color: var(--green);
  margin-bottom: 18px;
}

.split-feature__text p {
  font-size: 22px;
  line-height: 1.55;
  color: #555;
}

.menu-category {
  margin-bottom: 56px;
}

.menu-category h3 {
  font-family: "Cinzel", serif;
  font-size: 26px;
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(24, 58, 48, 0.15);
}

.menu-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.menu-plate-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.menu-plate-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.menu-plate-card figcaption {
  padding: 22px 26px 26px;
}

.menu-plate-card h4 {
  font-size: 26px;
  color: var(--green);
  margin-bottom: 8px;
}

.menu-plate-card .price {
  font-size: 22px;
  color: var(--gold);
  font-weight: 600;
}

.menu-plate-card p.desc {
  margin-top: 10px;
  font-size: 20px;
  color: #666;
  line-height: 1.45;
}

.menu-list {
  max-width: 760px;
}

.menu-list-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(24, 58, 48, 0.12);
}

.menu-list-row:last-child {
  border-bottom: none;
}

.menu-list-row strong {
  font-size: 24px;
  color: var(--green);
  font-weight: 500;
}

.menu-list-row span.detail {
  font-size: 19px;
  color: #666;
  flex: 1;
}

.menu-list-row .price {
  font-size: 22px;
  color: var(--gold);
  white-space: nowrap;
}

.wine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.wine-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.wine-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.wine-card-body {
  padding: 18px 20px 22px;
}

.wine-card h4 {
  font-size: 22px;
  color: var(--green);
}

.wine-card p {
  font-size: 18px;
  color: #666;
  margin-top: 6px;
}

.feature-banner {
  margin: 70px 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-banner img {
  width: 100%;
  display: block;
  max-height: 520px;
  object-fit: cover;
}

.chef-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.chef-grid img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  background: #fff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  font-size: 32px;
  color: var(--green);
  margin-bottom: 22px;
}

.contact-card dl {
  font-size: 22px;
  line-height: 1.65;
}

.contact-card dt {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 18px;
}

.contact-card dt:first-child {
  margin-top: 0;
}

.contact-card dd {
  color: #444;
}

.contact-visual img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
  object-fit: cover;
  min-height: 420px;
}

.contact-card-form {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(24, 58, 48, 0.12);
}

.contact-card-form__title {
  font-family: "Cinzel", serif;
  font-size: 22px;
  color: var(--green);
  margin-bottom: 10px;
  font-weight: 500;
}

.contact-card-form__hint {
  margin-bottom: 16px;
}

.contact-card-form__grid {
  gap: 18px;
}

.contact-card-form__thanks {
  margin-bottom: 16px;
}

.contact-card-form__thanks p {
  color: var(--green);
  font-size: 20px;
  margin: 0;
}

.contact-card-form .btn-submit {
  margin-top: 4px;
}

.contact-card-form__legal {
  margin-top: 4px;
}

.form-panel {
  background: #fff;
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.form-panel h3 {
  font-size: 32px;
  color: var(--green);
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  gap: 22px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-field label {
  display: block;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(24, 58, 48, 0.18);
  font-family: inherit;
  font-size: 20px;
  background: var(--bg);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 17px;
  color: #777;
  margin-top: 16px;
}

.btn-submit {
  margin-top: 28px;
  padding: 16px 40px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 20px;
}

.inner-hero.inner-hero--plain {
  background-image: none;
  min-height: 38vh;
}

[x-cloak] {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  padding: 22px 22px max(22px, env(safe-area-inset-bottom));
  background: rgba(24, 58, 48, 0.98);
  border-top: 1px solid rgba(158, 137, 69, 0.38);
  box-shadow: 0 -14px 44px rgba(0, 0, 0, 0.28);
}

.cookie-banner__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: flex-end;
  justify-content: space-between;
}

.cookie-banner__text {
  flex: 1 1 280px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.5;
}

.cookie-banner__text strong {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 21px;
  color: var(--gold-soft);
  margin-bottom: 8px;
  font-weight: 500;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.cookie-banner__link {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__link:hover {
  color: #fff;
}

.cookie-banner .cookie-banner__actions .btn {
  appearance: none;
  -webkit-appearance: none;
}

.cookie-banner .cookie-banner__actions .btn-outline {
  background-color: var(--bg);
  color: var(--green);
  border: 2px solid rgba(158, 137, 69, 0.65);
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

.cookie-banner .cookie-banner__actions .btn-outline:hover {
  background-color: #fff;
  color: var(--green);
  border-color: var(--gold);
}

/* MOBILE HEADER */

.mobile-header {
  display: none;
}

/* MOBILE */

@media (max-width: 991px) {
  .sidebar {
    transform: translateX(-100%);
    transition: 0.4s ease;
  }

  .sidebar.active {
    transform: translateX(0);
  }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
  }

  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 88px;
    height: auto;
    background: rgba(24, 58, 48, 0.97);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 16px;
    z-index: 999;
  }

  /* Större, tydligare logotyp i mobil-header (tidigare ~118×52px) */
  .mobile-logo {
    width: auto;
    max-width: min(52vw, 198px);
    max-height: 64px;
    padding: 10px 14px;
    background: var(--bg);
    border-radius: 14px;
    border: 1px solid rgba(158, 137, 69, 0.38);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
    object-fit: contain;
  }

  .menu-toggle {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 28px;
    height: 2px;
    background: #fff;
  }

  .main-content {
    margin-left: 0;
  }

  .hero,
  .inner-hero {
    padding: clamp(110px, 22vw, 140px) 22px 80px;
  }

  .inner-hero {
    align-items: flex-end;
    min-height: 46vh;
    padding-bottom: 56px;
  }

  .inner-hero .hero-content h1 {
    font-size: 38px;
  }

  .inner-hero .hero-lead {
    font-size: 19px;
  }

  .page-main {
    padding: 56px 20px 88px;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .split-feature {
    grid-template-columns: 1fr;
  }

  .split-feature--flip .split-feature__text,
  .split-feature--flip .split-feature__visual {
    order: unset;
  }

  .chef-grid,
  .contact-layout,
  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .split-feature__visual img {
    min-height: 260px;
  }

  .chef-grid img {
    height: 280px;
  }

  .hero-logo {
    width: min(82vw, 300px);
    max-width: 92%;
    margin-bottom: 28px;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
  }

  .hero h1 {
    font-size: 48px;
  }

  .intro {
    padding: 80px 20px;
  }

  .section-header h2 {
    font-size: 42px;
  }

  .section-header .local-snippet {
    font-size: 19px;
    margin-top: 20px;
  }

  .hero-location {
    font-size: 11px;
    letter-spacing: 1.5px;
    padding: 0 8px;
    line-height: 1.35;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-card {
    padding: 35px;
  }

  .intro-card h3 {
    font-size: 30px;
  }

  .intro-card p {
    font-size: 22px;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner__actions .btn {
    flex: 1 1 auto;
    text-align: center;
  }
}
