/* layout.css: header, footer, mobile call bar, 404 page. */

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
}

/* Blur lives on a pseudo-element so the dropdown menu is not trapped by it. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 9, 7, 0.85), rgba(11, 9, 7, 0.35));
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background-color 0.3s, border-color 0.3s;
}

.site-header[data-scrolled]::before {
  background: rgba(11, 9, 7, 0.94);
  border-bottom-color: var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
  text-decoration: none;
}

/* Wings + microphone cut from the venue's logo (images-src/logo-vu-hai.jpg). */
.brand-logo {
  flex: none;
  width: 60px;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-tag {
  margin-bottom: 0.2rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gold-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
}

.site-nav[data-open] {
  display: block;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  padding: 0.5rem var(--gutter) 1rem;
}

.site-nav a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
}

.site-nav a:hover,
.site-nav a[aria-current] {
  color: var(--gold-bright);
}

.header-call {
  padding-inline: 0.95rem;
}

.header-call-text {
  display: none;
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--gold-bright);
  cursor: pointer;
}

.menu-toggle .icon {
  width: 22px;
  height: 22px;
}

@media (min-width: 560px) {
  .header-call-text {
    display: inline;
  }
}

/* Six menu items plus the phone button need about 1120px; narrower screens keep the menu button. */
@media (min-width: 1120px) {
  .brand {
    margin-right: 0;
  }

  .site-nav {
    position: static;
    display: block;
    margin-left: auto;
    margin-right: 1.5rem;
    background: none;
    border: 0;
  }

  .site-nav ul {
    flex-direction: row;
    gap: 1.6rem;
    padding: 0;
  }

  .site-nav a {
    position: relative;
    padding: 0.5rem 0;
    border: 0;
    font-size: 0.74rem;
  }

  /* Gold underline grows from the centre on hover and marks the current page. */
  .site-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 0;
    height: 1px;
    background: var(--gold);
    transition: left 0.3s var(--ease-out), right 0.3s var(--ease-out);
  }

  .site-nav a:hover::after,
  .site-nav a[aria-current]::after {
    left: 0;
    right: 0;
  }

  .menu-toggle {
    display: none;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  padding-top: clamp(56px, 8vw, 88px);
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(212, 175, 95, 0.09), transparent 70%),
    var(--ink-2);
}

/* Gold rule along the top edge, brightest in the middle. */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}

.footer-grid {
  display: grid;
  gap: 2.25rem;
  padding-bottom: 2.75rem;
}

.footer-brand .brand-logo {
  width: 84px;
}

.footer-brand p,
.footer-contact p {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-nav ul {
  display: grid;
  gap: 0.7rem;
}

.footer-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
}

.footer-nav a:hover {
  color: var(--gold-bright);
}

.footer-contact .fact-label {
  margin: 0;
}

.footer-contact .footer-phone {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold-bright);
}

.footer-phone a {
  text-decoration: none;
}

.footer-bottom {
  padding-block: 1.4rem;
  border-top: 1px solid var(--line-soft);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-venue {
  display: grid;
  gap: 0.35rem;
  font-style: normal;
}

.footer-venue .footer-venue-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.footer-venue a {
  color: var(--cream);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-venue a:hover {
  color: var(--gold-bright);
}

.footer-legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.25rem;
}

.footer-legal a {
  font-size: 0.88rem;
  color: var(--cream);
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
}

.footer-legal a:hover {
  color: var(--gold-bright);
}

.footer-bottom .footer-copy {
  margin-top: 1rem;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

/* ---------- Mobile call bar ---------- */

.call-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 8px;
  height: calc(var(--call-bar-h) + env(safe-area-inset-bottom));
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(11, 9, 7, 0.95);
  border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.call-bar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-bright);
}

.call-bar-call {
  background: var(--gold-metal);
  border-color: rgba(248, 233, 180, 0.6);
  color: #1a1206;
}

@media (min-width: 960px) {
  body {
    padding-bottom: 0;
  }

  .call-bar {
    display: none;
  }
}

/* ---------- 404 ---------- */

.page-404 {
  padding-bottom: 0;
}

.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: 64px;
  text-align: center;
}

.not-found-logo {
  width: min(320px, 70vw);
  height: auto;
  margin-bottom: 2rem;
}

.not-found p {
  max-width: 34rem;
  color: var(--muted);
}

.not-found .hero-actions {
  justify-content: center;
}
