@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@0,600;1,600&display=swap");

:root {
  --forest: #183a2b;
  --forest-deep: #0c261b;
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --gold: #c99b52;
  --ink: #15241c;
  --muted: #6d766f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  min-height: 680px;
  height: 92vh;
  color: white;
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(7, 29, 19, 0.93) 0%, rgba(10, 34, 23, 0.68) 48%, rgba(10, 28, 20, 0.2) 100%),
    url("../img/lod.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.1;
  background-image: radial-gradient(#fff 0.6px, transparent 0.6px);
  background-size: 8px 8px;
}

.navbar {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px;
  letter-spacing: 0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-link {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}

.nav-link span {
  color: var(--gold);
}

.hero-content {
  width: min(1180px, calc(100% - 48px));
  margin: auto;
  padding: 48px 0 80px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(55px, 8vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 600;
}

h1 em {
  color: #e2c38d;
  font-weight: 600;
}

.hero-copy {
  max-width: 520px;
  margin: 32px 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.7;
}

.hero-action {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 15px 21px;
  color: var(--forest-deep);
  background: var(--paper);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease;
}

.hero-action:hover {
  transform: translateY(-2px);
  background: #fff;
}

.menu-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0 120px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.section-heading > p {
  max-width: 450px;
  justify-self: end;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.menu-card {
  min-height: 390px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: white;
  background: var(--forest);
  border-radius: 3px;
}

.menu-card--featured {
  grid-column: span 2;
}

.menu-card img,
.card-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.menu-card img {
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.card-shade {
  background: linear-gradient(180deg, rgba(3, 18, 11, 0.06) 20%, rgba(3, 18, 11, 0.9) 100%);
}

.card-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 28px;
}

.card-category {
  display: block;
  margin-bottom: 8px;
  color: #e2c38d;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-content strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.1;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 13px;
  transition: max-height 250ms ease, opacity 250ms ease, margin 250ms ease;
}

.card-link b {
  font-size: 20px;
  font-weight: 400;
}

.menu-card:hover img {
  transform: scale(1.045);
}

.menu-card:hover .card-link,
.menu-card:focus-visible .card-link {
  max-height: 30px;
  margin-top: 20px;
  opacity: 1;
}

.menu-card:focus-visible,
.hero-action:focus-visible,
.nav-link:focus-visible,
.qr-link:focus-visible,
.qr-code:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.qr-section {
  padding: 0 max(24px, calc((100vw - 1180px) / 2)) 120px;
}

.qr-content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(48px, 10vw, 140px);
  padding: clamp(42px, 7vw, 76px);
  color: white;
  background: var(--forest);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.qr-content::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  left: -180px;
  bottom: -250px;
  border: 1px solid rgba(201, 155, 82, 0.35);
  border-radius: 50%;
}

.qr-content h2 {
  margin: 0;
  color: white;
  font-size: clamp(40px, 5vw, 65px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.qr-copy {
  max-width: 520px;
  margin: 25px 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.qr-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #e2c38d;
  font-size: 14px;
  font-weight: 600;
}

.qr-code {
  width: 230px;
  padding: 15px 15px 13px;
  color: var(--forest-deep);
  background: var(--paper);
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
  transform: rotate(1.5deg);
  transition: transform 180ms ease;
}

.qr-code:hover {
  transform: rotate(0deg) translateY(-3px);
}

.qr-code img {
  display: block;
  width: 100%;
  height: auto;
}

.qr-code span {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--forest-deep);
  padding: 72px max(24px, calc((100vw - 1180px) / 2));
}

.footer-inner,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-inner {
  padding-bottom: 48px;
}

.footer-inner img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-inner p {
  max-width: 340px;
  margin: 18px 0 0;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
  color: white;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

@media (max-width: 820px) {
  .hero {
    min-height: 640px;
    background-position: 62% center;
  }

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

  .menu-card--featured {
    grid-column: span 2;
  }

  .menu-card {
    min-height: 350px;
  }
}

@media (max-width: 560px) {
  .navbar,
  .hero-content,
  .menu-section {
    width: min(100% - 32px, 1180px);
  }

  .navbar {
    padding: 16px 0;
  }

  .brand span {
    display: none;
  }

  .hero {
    height: 88svh;
    min-height: 600px;
    background-position: 58% center;
  }

  .hero-content {
    padding-bottom: 56px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 70px);
  }

  .hero-copy {
    font-size: 15px;
  }

  .menu-section {
    padding: 80px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 34px;
  }

  .section-heading > p {
    justify-self: start;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .menu-card,
  .menu-card--featured {
    grid-column: auto;
    min-height: 330px;
  }

  .card-link {
    max-height: 30px;
    margin-top: 18px;
    opacity: 1;
  }

  .footer-inner,
  .footer-bottom {
    flex-direction: column;
  }

  .qr-section {
    padding-right: 16px;
    padding-bottom: 80px;
    padding-left: 16px;
  }

  .qr-content {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 40px;
    padding: 42px 24px;
    text-align: center;
  }

  .qr-content .eyebrow,
  .qr-copy {
    margin-right: auto;
    margin-left: auto;
  }

  .qr-code {
    width: min(170px, 100%);
    padding: 10px 10px 9px;
  }

  .qr-code span {
    margin-top: 6px;
    font-size: 9px;
  }

  .footer-links {
    align-items: flex-start;
  }

  .footer-bottom {
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
