:root {
  --deep: #001812;
  --deep-2: #031f17;
  --deep-3: #061b14;
  --gold: #c79542;
  --gold-soft: #e9c481;
  --cream: #f7ecd8;
  --paper: #fbf4e6;
  --paper-2: #efe0c8;
  --brown: #4a2b19;
  --muted: #cbb99c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #fff7e8;
  background: #03120e;
  font-family: "Leelawadee UI", Tahoma, system-ui, sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 72% 0, rgba(185, 127, 40, 0.22), transparent 22rem),
    linear-gradient(180deg, #051610, #000f0b);
  content: "";
}

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

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-header,
main,
.footer {
  width: min(100%, 1024px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 225px 1fr 235px;
  align-items: center;
  height: 76px;
  padding: 0 41px;
  background: rgba(3, 16, 12, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  color: #ebd3a8;
}

.brand::after {
  position: absolute;
  top: 2px;
  right: -35px;
  width: 28px;
  height: 28px;
  opacity: 0.72;
  border: 1px solid currentColor;
  border-radius: 50% 0 50% 50%;
  transform: rotate(35deg);
  content: "";
}

.brand-th {
  font-family: Georgia, "Leelawadee UI", serif;
  font-size: 22px;
  line-height: 1;
}

.brand-line {
  width: 83px;
  height: 1px;
  margin: 5px 0 2px 2px;
  background: linear-gradient(90deg, transparent, #dfba71, transparent);
}

.brand-en {
  margin-left: 23px;
  font-size: 10px;
  letter-spacing: 3px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  height: 100%;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}

.nav a {
  position: relative;
  display: grid;
  align-items: center;
  color: #fff3df;
}

.nav a.active {
  color: var(--gold-soft);
}

.nav a.active::before {
  position: absolute;
  top: 49px;
  left: 50%;
  width: 51px;
  height: 1px;
  background: var(--gold);
  transform: translateX(-50%);
  content: "";
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 15px;
  color: #f3cb7c;
  border: 1px solid rgba(227, 179, 91, 0.68);
  border-radius: 999px;
  font-size: 13px;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: 5px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.btn-gold {
  color: #fff7e6;
  background: linear-gradient(180deg, #d7a64e, #bc822e);
  box-shadow: 0 10px 28px rgba(198, 140, 49, 0.22);
}

.btn-outline {
  color: #fff5df;
  background: rgba(0, 27, 19, 0.78);
  border: 1px solid rgba(226, 185, 110, 0.52);
}

.btn-deep {
  min-height: 42px;
  padding: 0 23px;
  color: #fff6e6;
  background: #002c20;
  border-radius: 999px;
}

.hero {
  position: relative;
  height: 404px;
  overflow: hidden;
  background:
    linear-gradient(90deg, #071f17 0%, #071f17 36%, rgba(7, 31, 23, 0.78) 53%, rgba(7, 31, 23, 0.06) 100%),
    #071f17;
}

.hero::before {
  position: absolute;
  top: 14px;
  left: -56px;
  width: 165px;
  height: 360px;
  opacity: 0.16;
  background:
    radial-gradient(ellipse at 36% 18%, transparent 48%, #caa05f 50%, transparent 52%),
    radial-gradient(ellipse at 76% 42%, transparent 45%, #caa05f 47%, transparent 49%),
    radial-gradient(ellipse at 34% 72%, transparent 46%, #caa05f 48%, transparent 50%);
  content: "";
}

.hero-art {
  position: absolute;
  inset: 0 0 0 374px;
  background-image:
    linear-gradient(90deg, rgba(7, 31, 23, 0.9), rgba(7, 31, 23, 0.08) 28%, rgba(0, 0, 0, 0.14)),
    url("assets/kasalong-reference.png");
  background-position: left top, -375px -76px;
  background-size: auto, 1024px auto;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 370px;
  padding: 67px 0 0 80px;
  text-align: center;
}

.hero-copy h1 {
  margin: 0 0 15px;
  color: #f1d8ae;
  font-family: Georgia, "Leelawadee UI", serif;
  font-size: 47px;
  font-weight: 400;
  line-height: 1.28;
}

.hero-copy p {
  width: 330px;
  margin: 0 auto 24px;
  color: #fff4e4;
  font-size: 16px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 13px;
}

.hero-buttons .btn {
  width: 130px;
  padding: 0;
  font-size: 14px;
}

.features {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 966px;
  min-height: 136px;
  margin: 0 auto;
  padding: 28px 28px 20px;
  color: #4d2e1d;
  background: linear-gradient(135deg, #fff8ea, #f1e1c7);
  border-radius: 24px 24px 0 0;
  transform: translateY(0);
}

.features::before,
.features::after {
  position: absolute;
  top: 11px;
  width: 8px;
  height: 8px;
  background: #f6efd9;
  border-radius: 50%;
  content: "";
}

.features::before {
  left: 9px;
}

.features::after {
  right: 9px;
}

.features article {
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 100px;
  padding: 0 18px;
  text-align: center;
  border-right: 1px solid rgba(120, 82, 47, 0.28);
}

.features article:last-child {
  border-right: 0;
}

.features svg {
  width: 43px;
  height: 43px;
  margin-bottom: 11px;
  stroke-width: 1.35;
}

.features h2 {
  margin: 0 0 2px;
  font-size: 16px;
}

.features p {
  margin: 0;
  color: #80644c;
  font-size: 12px;
}

.menu-section {
  min-height: 342px;
  padding: 25px 46px 39px;
  background:
    radial-gradient(circle at 8% 8%, rgba(198, 146, 59, 0.11), transparent 21rem),
    linear-gradient(180deg, #001b14, #001810);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 21px;
}

.section-heading h2 {
  margin: 0;
  color: #ead1aa;
  font-family: Georgia, "Leelawadee UI", serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
}

.section-heading span {
  display: block;
  width: 144px;
  height: 15px;
  margin-top: 8px;
  background: linear-gradient(90deg, transparent, #b8883f 28%, #b8883f 63%, transparent);
  mask: linear-gradient(#000 0 0) center / 100% 1px no-repeat;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 20px;
  color: #fff1d8;
  border: 1px solid rgba(221, 173, 86, 0.62);
  border-radius: 999px;
  font-size: 14px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.menu-card {
  overflow: hidden;
  height: 217px;
  text-align: center;
  background: linear-gradient(180deg, rgba(7, 35, 26, 0.96), rgba(3, 23, 17, 0.98));
  border: 1px solid rgba(202, 151, 66, 0.5);
  border-radius: 9px;
}

.menu-image {
  height: 151px;
  border-bottom: 1px solid rgba(202, 151, 66, 0.28);
}

.menu-card h3 {
  margin: 11px 8px 0;
  color: #f1d2a2;
  font-size: 15px;
  font-weight: 500;
}

.menu-card p {
  margin: 0;
  color: #f0bf65;
  font-size: 15px;
}

.crop {
  background-image: url("assets/kasalong-reference.png");
  background-repeat: no-repeat;
  background-size: 1024px auto;
}

.crop-khao {
  background-position: -46px -703px;
}

.crop-larb {
  background-position: -235px -703px;
}

.crop-sausage {
  background-position: -422px -703px;
}

.crop-curry {
  background-position: -611px -703px;
}

.crop-chili {
  background-position: -799px -703px;
}

.about-section {
  position: relative;
  display: grid;
  grid-template-columns: 305px 1fr;
  gap: 72px;
  align-items: center;
  min-height: 248px;
  padding: 42px 67px 39px 73px;
  overflow: hidden;
  color: #20140d;
  background:
    radial-gradient(circle at 33% 82%, rgba(205, 168, 109, 0.14), transparent 9rem),
    linear-gradient(135deg, #fff9ec, #efe0c6);
}

.about-section::after {
  position: absolute;
  right: -22px;
  bottom: 4px;
  width: 156px;
  height: 190px;
  opacity: 0.14;
  background:
    radial-gradient(ellipse at 25% 18%, transparent 45%, #b88a54 47%, transparent 49%),
    radial-gradient(ellipse at 68% 60%, transparent 44%, #b88a54 46%, transparent 48%);
  content: "";
}

.eyebrow {
  margin: 0 0 2px;
  color: #7a5836;
  font-size: 13px;
}

.about-copy h2 {
  margin: 0 0 11px;
  color: #21140c;
  font-family: Georgia, "Leelawadee UI", serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.12;
}

.about-copy > p:not(.eyebrow) {
  margin: 0 0 19px;
  color: #21160f;
  font-size: 14px;
}

.restaurant-photo {
  height: 228px;
  border-radius: 19px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
  background-position: -420px -958px;
}

.booking-section {
  display: grid;
  grid-template-columns: 302px 190px 1fr;
  gap: 26px;
  align-items: center;
  min-height: 184px;
  padding: 26px 66px 24px 0;
  background:
    linear-gradient(90deg, rgba(0, 22, 16, 0.26), #00271a 34%, #00271a),
    #00271a;
}

.booking-image {
  align-self: stretch;
  background-position: 0 -1198px;
}

.booking-copy h2 {
  margin: 0 0 5px;
  color: #efd7ae;
  font-family: Georgia, "Leelawadee UI", serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
}

.booking-copy p {
  margin: 0;
  color: #f5e5cc;
  font-size: 13px;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px 15px;
}

.booking-form label {
  display: grid;
  gap: 5px;
  color: #f1d7a9;
  font-size: 12px;
}

.booking-form input,
.booking-form select {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  color: #f7ead1;
  background: rgba(0, 27, 20, 0.8);
  border: 1px solid rgba(220, 178, 101, 0.36);
  border-radius: 4px;
  font: inherit;
}

.booking-form input::placeholder {
  color: rgba(247, 234, 209, 0.6);
}

.booking-form button {
  align-self: end;
  min-height: 36px;
  padding: 0 12px;
}

.footer {
  display: grid;
  grid-template-columns: 225px 120px 120px 160px 1fr;
  gap: 28px;
  min-height: 152px;
  padding: 28px 56px 0;
  color: #cbb99c;
  background: #00120d;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .brand {
  margin-bottom: 18px;
}

.socials {
  display: flex;
  gap: 16px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #d8b575;
  font-size: 14px;
  font-weight: 700;
}

.footer h2 {
  margin: 0 0 10px;
  color: #fff1d8;
  font-size: 13px;
}

.footer a,
.footer p {
  display: block;
  margin: 0 0 4px;
  color: #c6b49a;
  font-size: 12px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 6px -56px 0;
  padding: 10px 0 11px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr auto;
    height: auto;
    gap: 10px 20px;
    padding: 16px 24px 10px;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 20px;
    height: auto;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav a {
    padding: 5px 0;
  }

  .nav a.active::before {
    top: auto;
    bottom: 0;
  }

  .hero {
    height: 430px;
  }

  .hero-art {
    inset: 0;
    opacity: 0.72;
    background-position: left top, 63% -56px;
  }

  .hero-copy {
    width: min(390px, 100%);
    padding-left: 34px;
  }

  .features {
    width: calc(100% - 36px);
  }

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

  .menu-card {
    height: 230px;
  }

  .about-section,
  .booking-section,
  .footer {
    grid-template-columns: 1fr;
    padding-right: 28px;
    padding-left: 28px;
  }

  .booking-image {
    display: none;
  }

  .booking-form {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header,
  .header-actions,
  .hero-buttons,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .header-actions,
  .hero-buttons,
  .section-heading {
    display: grid;
  }

  .phone,
  .header-actions .btn,
  .hero-buttons .btn {
    width: 100%;
  }

  .hero {
    height: 560px;
  }

  .hero-copy {
    padding: 58px 22px 0;
    text-align: left;
  }

  .hero-copy h1 {
    font-size: 39px;
  }

  .hero-copy p {
    width: auto;
  }

  .features {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .features article {
    border-right: 0;
    border-bottom: 1px solid rgba(120, 82, 47, 0.24);
    padding: 16px 0;
  }

  .features article:last-child {
    border-bottom: 0;
  }

  .menu-section {
    padding: 25px 22px 36px;
  }

  .menu-grid,
  .booking-form {
    grid-template-columns: 1fr;
  }

  .restaurant-photo {
    height: 210px;
    background-size: 900px auto;
    background-position: -370px -842px;
  }

  .footer {
    gap: 20px;
  }

  .copyright {
    margin-right: -28px;
    margin-left: -28px;
  }
}
