:root {
  --black: #000000;
  --ink: #121212;
  --cream: #f0dbc0;
  --cream-muted: rgba(240, 219, 192, 0.72);
  --orange: #f8a11a;
  --orange-deep: #e85a24;
  --white: #ffffff;
  --button-glow: rgba(218, 207, 163, 0.35);
  --page-gutter: 10px;
  --content-max: 550px;
  --background-image: url("./assets/midtown-bg.webp");
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--black);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--cream);
  font-family: "Lato", Arial, sans-serif;
  letter-spacing: 0;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 5px;
  color: var(--black);
  background: var(--cream);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(15, 9, 0, 0.46), rgba(10, 5, 0, 0.74)),
    radial-gradient(circle at center, rgba(248, 161, 26, 0.12), rgba(0, 0, 0, 0.45) 58%, rgba(0, 0, 0, 0.8)),
    var(--background-image);
  background-position: center;
  background-size: cover;
}

.page-bg::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(1px);
}

.link-page {
  width: 100%;
  min-height: 100vh;
  padding: 42px var(--page-gutter) 96px;
}

.link-card {
  width: min(100%, var(--content-max));
  margin: 0 auto;
  text-align: center;
}

.brand-logo {
  display: block;
  width: 122px;
  height: 122px;
  margin: 0 auto 14px;
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  object-fit: cover;
}

.venue-title {
  margin: 0 0 22px;
  color: var(--white);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.address {
  max-width: 100%;
  margin: 0 0 22px;
  color: var(--cream);
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.35;
}

.booking-provider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.booking-title {
  margin: 0;
  color: var(--white);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
}

.widget-shell {
  display: flex;
  justify-content: center;
  width: 100%;
}

.widget-shell iframe {
  max-width: 100%;
}

.widget-shell-opentable {
  min-height: 301px;
}

.link-list {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.link-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--cream);
  border-radius: 5px;
  color: var(--ink);
  background: var(--orange);
  box-shadow: 0 0 14px 1px var(--button-glow);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.link-button:hover,
.link-button:focus-visible {
  color: var(--black);
  background: var(--cream);
}

.link-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.hours-box {
  display: grid;
  gap: 8px;
  width: 100%;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 5px;
  color: var(--cream);
  background: rgba(0, 0, 0, 0.62);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.hours-box h2,
.hours-box p {
  margin: 0;
}

.hours-box h2 {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.map-section {
  margin-top: 10px;
}

.map-image {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  background: rgba(255, 255, 255, 0.82);
}

.directions-button {
  margin-top: 12px;
}

.fixed-book-button {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 143px;
  height: 56px;
  padding: 15px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--black);
  background: var(--orange-deep);
  box-shadow: 2px 2px 9px rgba(221, 169, 46, 0.49);
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.fixed-book-button:hover,
.fixed-book-button:focus-visible {
  background: var(--orange);
}

.reservation-modal[hidden] {
  display: none;
}

.reservation-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
}

.reservation-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
}

.reservation-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(100%, 360px);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 22px 18px 18px;
  border: 1px solid rgba(240, 219, 192, 0.42);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.92);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.58), 0 0 18px var(--button-glow);
}

.reservation-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(240, 219, 192, 0.6);
  border-radius: 50%;
  color: var(--cream);
  background: var(--black);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.reservation-modal__title {
  margin: 14px 42px 16px;
  color: var(--cream);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.reservation-modal__iframe {
  width: 224px;
  height: 301px;
  border: 0;
  border-radius: 4px;
  background: var(--white);
}

.reservation-modal__fallback {
  margin: 14px 0 0;
  color: var(--cream-muted);
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}

.reservation-modal__fallback a {
  color: var(--cream);
  font-weight: 700;
}

@media (max-width: 480px) {
  .link-page {
    padding-top: 32px;
  }

  .brand-logo {
    width: 108px;
    height: 108px;
  }

  .venue-title {
    margin-bottom: 18px;
    font-size: 20px;
  }

  .address {
    font-size: 16px;
  }

  .booking-title {
    font-size: 24px;
  }

  .fixed-book-button {
    width: 128px;
    height: 52px;
    font-size: 18px;
  }
}

@media (max-width: 374px) {
  .link-button {
    padding-right: 14px;
    padding-left: 14px;
    font-size: 16px;
  }

}
