* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #07090a;
  --panel: #0f1316;
  --panel2: #151a1d;
  --text: #f5f5f2;
  --muted: #949a9f;
  --line: rgba(255, 255, 255, 0.08);
  --orange: #ff5a00;
  --orange2: #ff7b00;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
}

/* LOADER */

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #050607;

  display: grid;
  place-content: center;

  text-align: center;

  transition: 0.5s ease;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-word {
  font-family: Anton, sans-serif;
  font-size: clamp(54px, 10vw, 110px);
  letter-spacing: 2px;
}

.loader-sub {
  font-size: 10px;
  letter-spacing: 6px;
  color: #9aa0a4;

  margin-top: 4px;
}

/* HEADER */

.site-header {
  position: fixed;

  z-index: 90;

  top: 0;
  left: 0;
  right: 0;

  height: 82px;

  padding: 0 5vw;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: rgba(7, 9, 10, 0.76);

  backdrop-filter: blur(16px);

  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;

  gap: 11px;
}

.brand-mark {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  border: 1px solid #3a3f43;

  background: #101417;

  font-family: Anton, sans-serif;
  font-size: 16px;
}

.brand-copy strong {
  display: block;

  font-size: 14px;
  letter-spacing: 1.8px;
}

.brand-copy span {
  display: block;

  font-size: 7px;

  letter-spacing: 2.7px;

  color: #8e9498;

  margin-top: 2px;
}

/* NAVIGATION */

.desktop-nav {
  display: flex;

  gap: 28px;

  font-size: 13px;

  color: #d8dadb;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -7px;

  width: 0;
  height: 2px;

  background: var(--orange);

  transition: 0.25s;
}

.desktop-nav a:hover::after {
  width: 100%;
}

/* CART BUTTON */

.cart-open {
  border: 0;

  border-radius: 999px;

  background: #fff;

  color: #080a0b;

  padding: 11px 16px;

  font-weight: 900;

  cursor: pointer;
}

.cart-open span {
  margin-left: 7px;

  background: var(--orange);

  color: #fff;

  border-radius: 999px;

  padding: 3px 7px;

  font-size: 11px;
}

/* HOME HERO */

.home-hero {
  min-height: 100vh;

  padding: 120px 6vw 70px;

  position: relative;

  overflow: hidden;

  display: flex;
  align-items: center;

  background:
    linear-gradient(
      90deg,
      rgba(5, 7, 8, 0.96) 12%,
      rgba(5, 7, 8, 0.66) 55%,
      rgba(5, 7, 8, 0.25)
    ),
    url("https://images.unsplash.com/photo-1568901346375-23c9450c58cd?auto=format&fit=crop&w=1900&q=90")
      center / cover no-repeat;
}

.home-hero::after {
  content: "";

  position: absolute;

  right: -80px;
  bottom: -160px;

  width: 520px;
  height: 520px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(255, 92, 0, 0.52),
      rgba(88, 22, 0, 0.18) 35%,
      transparent 70%
    );

  filter: blur(22px);
}

.hero-inner {
  position: relative;

  z-index: 2;

  max-width: 780px;
}

.eyebrow,
.mini-label {
  color: var(--orange2);

  font-size: 11px;

  letter-spacing: 3px;

  font-weight: 900;
}

.home-hero h1,
.menu-hero h1,
.section-title h2 {
  font-family: Anton, sans-serif;

  text-transform: uppercase;
}

.home-hero h1 {
  font-size: clamp(70px, 11vw, 155px);

  line-height: 0.82;

  margin-top: 18px;
}

.home-hero h1 span {
  color: transparent;

  -webkit-text-stroke: 2px #fff;
}

.home-hero p {
  max-width: 560px;

  color: #c4c8ca;

  line-height: 1.7;

  margin-top: 26px;

  font-size: 17px;
}

/* BUTTONS */

.hero-actions {
  display: flex;

  gap: 12px;

  flex-wrap: wrap;

  margin-top: 30px;
}

.btn-primary,
.btn-secondary {
  min-height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 24px;

  border-radius: 11px;

  font-weight: 900;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--orange),
    var(--orange2)
  );
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);

  background: rgba(255, 255, 255, 0.05);
}

.hero-info {
  display: flex;

  gap: 25px;

  flex-wrap: wrap;

  color: #c5c9cb;

  font-size: 12px;

  margin-top: 34px;
}

/* CATEGORIES */

.categories {
  padding: 100px 6vw;
}

.section-title {
  margin-bottom: 36px;
}

.section-title h2 {
  font-size: clamp(50px, 7vw, 88px);

  margin-top: 8px;
}

.category-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 18px;
}

.category-card {
  position: relative;

  min-height: 390px;

  border-radius: 24px;

  overflow: hidden;

  border: 1px solid var(--line);

  background-size: cover;

  background-position: center;

  transition: 0.35s ease;
}

.category-card:hover {
  transform: translateY(-5px);

  border-color: rgba(255, 90, 0, 0.45);
}

.category-overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.02),
      rgba(0, 0, 0, 0.82)
    );
}

.category-copy {
  position: absolute;

  left: 28px;
  right: 28px;
  bottom: 26px;

  z-index: 2;
}

.category-copy > span {
  color: var(--orange);

  font-size: 12px;

  font-weight: 900;
}

.category-copy h3 {
  font-family: Anton, sans-serif;

  font-size: 54px;

  text-transform: uppercase;

  margin-top: 4px;
}

.category-copy p {
  color: #b7bbbd;

  margin-top: 3px;
}

.category-combo {
  background-image:
    url("https://images.unsplash.com/photo-1571091718767-18b5b1457add?auto=format&fit=crop&w=1200&q=88");
}

.category-burgers {
  background-image:
    url("https://images.unsplash.com/photo-1568901346375-23c9450c58cd?auto=format&fit=crop&w=1200&q=88");
}

.category-snacks {
  background-image:
    url("https://images.unsplash.com/photo-1573080496219-bb080dd4f877?auto=format&fit=crop&w=1200&q=88");
}

.category-drinks {
  background-image:
    url("https://images.unsplash.com/photo-1629203851122-3726ecdf080e?auto=format&fit=crop&w=1200&q=88");
}

/* INFO STRIP */

.info-strip {
  margin: 0 6vw 90px;

  border: 1px solid var(--line);

  border-radius: 22px;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  overflow: hidden;

  background: #0d1113;
}

.info-strip > div {
  padding: 30px;

  border-right: 1px solid var(--line);
}

.info-strip > div:last-child {
  border-right: 0;
}

.info-strip strong {
  display: block;

  font-size: 22px;

  margin-top: 10px;
}

.info-strip p {
  color: var(--muted);

  font-size: 12px;

  margin-top: 6px;
}

/* MENU PAGES */

.menu-page {
  min-height: 100vh;

  padding-top: 82px;
}

.menu-hero {
  padding: 70px 6vw 35px;

  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(255, 88, 0, 0.13),
      transparent 22%
    ),
    #090c0e;
}

.back-link {
  display: inline-block;

  color: #a7adb0;

  font-size: 13px;

  margin-bottom: 34px;
}

.menu-hero h1 {
  font-size: clamp(60px, 9vw, 118px);

  line-height: 0.95;

  margin: 10px 0 12px;
}

.menu-hero p {
  color: var(--muted);

  max-width: 620px;

  line-height: 1.6;
}

.menu-list-wrap {
  padding: 40px 6vw 100px;
}

.menu-grid {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 18px;
}

/* PRODUCT CARD */

.menu-card {
  background:
    linear-gradient(
      180deg,
      #15191c,
      #0c1012
    );

  border: 1px solid var(--line);

  border-radius: 22px;

  overflow: hidden;

  display: flex;

  flex-direction: column;

  transition: 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-4px);

  border-color: rgba(255, 90, 0, 0.38);
}

.menu-image {
  height: 280px;

  background-size: cover;

  background-position: center;
}

.menu-card-body {
  padding: 21px;

  display: flex;

  flex-direction: column;

  justify-content: space-between;

  gap: 20px;

  flex: 1;
}

.menu-card h3 {
  font-size: 20px;
}

.menu-card p {
  color: var(--muted);

  font-size: 13px;

  line-height: 1.55;

  margin-top: 9px;
}

.menu-card-bottom {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 14px;
}

.menu-card-bottom strong {
  font-size: 22px;
}

.add-btn {
  border: 0;

  border-radius: 10px;

  background: #fff;

  color: #08090a;

  padding: 11px 15px;

  font-weight: 900;

  cursor: pointer;

  transition: 0.2s;
}

.add-btn:hover {
  background: var(--orange);

  color: #fff;
}

/* CART */

.cart-backdrop {
  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, 0.64);

  z-index: 100;

  opacity: 0;

  visibility: hidden;

  transition: 0.3s;
}

.cart-backdrop.show {
  opacity: 1;

  visibility: visible;
}

.cart-panel {
  position: fixed;

  right: -440px;

  top: 0;

  width: min(420px, 100vw);

  height: 100vh;

  z-index: 110;

  background: #0c1012;

  border-left: 1px solid var(--line);

  padding: 24px;

  display: flex;

  flex-direction: column;

  transition: 0.35s ease;
}

.cart-panel.open {
  right: 0;
}

.cart-head {
  display: flex;

  justify-content: space-between;

  align-items: center;

  padding-bottom: 18px;

  border-bottom: 1px solid var(--line);
}

.cart-head h3 {
  font-family: Anton, sans-serif;

  font-size: 36px;

  margin-top: 4px;
}

.cart-close {
  background: none;

  border: 0;

  color: #fff;

  font-size: 34px;

  cursor: pointer;
}

.cart-items {
  flex: 1;

  overflow: auto;

  padding: 20px 0;

  display: flex;

  flex-direction: column;

  gap: 12px;
}

.cart-item {
  border: 1px solid var(--line);

  border-radius: 14px;

  padding: 14px;

  display: grid;

  grid-template-columns: 1fr auto;

  gap: 10px;
}

.cart-item-main small {
  display: block;

  color: var(--muted);

  margin-top: 5px;
}

.qty-control {
  display: flex;

  align-items: center;

  gap: 9px;

  margin-top: 10px;
}

.qty-control button {
  width: 29px;

  height: 29px;

  border: 0;

  border-radius: 8px;

  font-weight: 900;

  cursor: pointer;
}

.empty-cart {
  text-align: center;

  color: var(--muted);

  margin-top: 60px;
}

.cart-bottom {
  border-top: 1px solid var(--line);

  padding-top: 16px;
}

.cart-total {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 14px;
}

.cart-total strong {
  font-size: 23px;
}

.checkout {
  width: 100%;

  border: 0;

  border-radius: 12px;

  padding: 15px;

  color: #fff;

  background:
    linear-gradient(
      135deg,
      var(--orange),
      var(--orange2)
    );

  font-weight: 900;

  cursor: pointer;
}

.cart-bottom small {
  display: block;

  text-align: center;

  color: var(--muted);

  font-size: 10px;

  margin-top: 9px;
}

/* FOOTER */

footer {
  border-top: 1px solid var(--line);

  padding: 42px 6vw;

  text-align: center;

  color: #7f878b;

  display: flex;

  flex-direction: column;

  gap: 7px;
}

footer strong {
  font-family: Anton, sans-serif;

  color: #fff;

  font-size: 30px;

  letter-spacing: 1px;
}

footer span {
  font-size: 9px;

  letter-spacing: 3px;
}

/* TABLET */

@media (max-width: 980px) {

  .desktop-nav {
    display: none;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

/* PHONE */

@media (max-width: 700px) {

  .site-header {
    height: 72px;

    padding: 0 18px;
  }

  .brand-copy span {
    display: none;
  }

  .brand-copy strong {
    font-size: 12px;
  }

  .cart-open {
    font-size: 12px;

    padding: 9px 12px;
  }

  .home-hero {
    padding: 105px 20px 50px;

    min-height: 94vh;

    background-position: 61% center;
  }

  .home-hero h1 {
    font-size: 66px;
  }

  .home-hero p {
    font-size: 15px;
  }

  .hero-info {
    gap: 12px;

    font-size: 10px;
  }

  .categories {
    padding: 72px 18px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 290px;
  }

  .category-copy h3 {
    font-size: 46px;
  }

  .info-strip {
    margin: 0 18px 70px;

    grid-template-columns: 1fr;
  }

  .info-strip > div {
    border-right: 0;

    border-bottom: 1px solid var(--line);
  }

  .info-strip > div:last-child {
    border-bottom: 0;
  }

  .menu-page {
    padding-top: 72px;
  }

  .menu-hero {
    padding: 48px 18px 28px;
  }

  .menu-list-wrap {
    padding: 28px 18px 75px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-image {
    height: 250px;
  }

}