/* The Fat Elvis Vegas Show — one stylesheet. Lobster is bundled (OFL). */

@font-face {
  font-family: "Lobster";
  src: url("../assets/fonts/Lobster-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #ffd996;
  --gold-deep: #e0b84a;
  --red: #e23b3b;
  --red-deep: #9d1428;
  --ink: #f7f1e6;
  --muted: #e4d5c0;
  --black: #000;
  --panel: rgba(0, 0, 0, 0.86);
  --line: rgba(240, 215, 140, 0.45);
  --header: 0px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  background: #000;
}

/* Full-viewport starfield. Fixed layer so it covers the screen on phones too. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: #000;
  background-image: url("../assets/starbckgrnd.gif");
  background-repeat: repeat;
  background-position: top left;
  background-size: auto;
}

..lights-left,
.lights-right {
  position: fixed;
  bottom: 0;
  z-index: -1;
  width: min(240px, 18vw);
  aspect-ratio: 800 / 457;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;

}

.lights-left {
  left: 0;
  background-image: url("../assets/vegas-lights-left.png");
  background-position: left bottom;
}

.lights-right {
  right: 0;
  background-image: url("../assets/vegas-lights-right.png");
  background-position: right bottom;
}

html:lang(da) .t-en,
html:lang(en) .t-da {
  display: none;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 80;
  padding: 0.5rem 0.9rem;
  background: #000;
  color: var(--gold);
  border: 2px solid var(--gold);
  transform: translateY(-160%);
}

.skip:focus {
  transform: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

a {
  color: var(--gold);
}

a:hover {
  color: #fff4d2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  isolation: isolate;
  background-color: #000;
 /* border-bottom: 1px solid var(--line);  */
  /* Own layer so the black plate stays opaque over scrolled text. */
  transform: translateZ(0);
}

.site-header::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #000;
  pointer-events: none;
}

.banner-link {
  display: block;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.15rem 1rem 0.15rem;
  text-decoration: none;
  background-color: #000;
  background-image: url("../assets/starbckgrnd.gif");
  background-repeat: repeat;
  background-position: top left;
  background-size: auto;
}

.site-header h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: inherit;
  font-weight: normal;
  line-height: 0;
  background-color: #000;
  background-image: url("../assets/starbckgrnd.gif");
  background-repeat: repeat;
  background-position: top left;
  background-size: auto;
}

.banner-link img {
  display: block;
  width: min(720px, calc(100% - 2.5rem));
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0 auto;
  background-color: transparent;
}

.nav-bar {
  display: flex;
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.55rem 1rem 0.7rem;
  background-color: #000;
  background-image: url("../assets/starbckgrnd.gif");
  background-repeat: repeat;
  background-position: top left;
  background-size: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.4rem;
  background: #000;
  color: var(--gold);
  border: 1px solid var(--gold-deep);
  font: inherit;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.15rem 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.55rem 0.7rem;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.nav-links a::before {
  content: "";
  width: 14px;
  height: 14px;
  background: url("../assets/goldstar.gif") center / contain no-repeat;
  flex: 0 0 auto;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--gold);
}

.nav-links a.is-active {
  box-shadow: inset 0 -2px 0 var(--red);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: 0.35rem;
  border: 0;
  flex: 0 0 auto;
}

.lang-switch button {
  font: inherit;
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.14em;
  background: transparent;
  color: rgba(228, 213, 192, 0.55);
  border: 0;
  padding: 0.2rem 0.28rem 0.28rem;
  cursor: pointer;
}

.lang-switch button + button {
  border-left: 0;
}

.lang-switch button:hover {
  color: var(--ink);
}

.lang-switch button[aria-pressed="true"] {
  background: transparent;
  color: var(--gold);
  box-shadow: inset 0 -1px 0 var(--gold);
}

main {
  position: relative;
  z-index: 1;
}

.wrap {
  width: min(720px, calc(100% - 2.5rem));
  margin: 0 auto;
}

section {
  scroll-margin-top: var(--header, 16rem);
  padding: 2.75rem 0 3.25rem;
}

#forside {
  padding-top: 2rem;
}

.hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0.25rem auto 1.75rem;
  background: #000;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.hero:has(.hero-video[hidden]) {
  aspect-ratio: 16 / 9;
}

.hero-video,
.hero-fallback {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.hero-video {
  display: block;
  object-fit: contain;
  background: #000;
}

.hero:has(.hero-video[hidden]) .hero-fallback {
  height: 100%;
}

.hero-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.4rem, 2vw, 1.2rem);
  padding: 0.75rem;
}

.hero-fallback[hidden],
.hero-video[hidden] {
  display: none;
}

.hero-fallback .wordmark {
  width: min(72%, 520px);
  height: auto;
}

.hero-star {
  width: clamp(42px, 8vw, 84px);
  height: auto;
}

.panel {
  background: var(--panel);
  border: 0;
  padding: 1.85rem 1.6rem 2.1rem;
  box-shadow: none;
}

.panel h2 {
  font-weight: 400;
  letter-spacing: 0.01em;
}

.home-copy .king-line {
  font-weight: normal;
  letter-spacing: 0.04em;
}

.panel.home-copy {
  text-align: center;
}

h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 0 1.2rem;
  color: #ff8a1f;
  font-family: "Lobster", "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(2.15rem, 4.2vw, 2.85rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-align: center;
  text-shadow:
    0 0 3px #fff4c9,
    0 0 8px #ffe08a,
    0 0 16px #ffc44a,
    0 0 28px #ffb000,
    0 0 42px #ff9a1a,
    0 0 60px #ff7a00,
    0 0 85px rgba(255, 145, 0, 0.95),
    0 0 120px rgba(255, 115, 0, 0.75);
}

h2 .mark {
  width: 28px;
  height: 28px;
}

.king-line {
  color: var(--gold);
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  line-height: 1.3;
  letter-spacing: 0.03em;
  margin: 1.15rem 0 1.25rem;
}

.lead {
  font-size: clamp(1.28rem, 2.3vw, 1.55rem);
  line-height: 1.45;
  margin-top: 0;
}

@media (min-width: 761px) {
  .home-copy .lead {
    white-space: nowrap;
    font-size: clamp(0.98rem, 1.62vw, 1.2rem);
  }
}

.home-copy p {
  margin: 0.85rem 0;
}

.home-copy a {
  letter-spacing: 0.02em;
}

p {
  margin: 0.85rem 0;
}

.quote {
  margin: 1.75rem 0 1.85rem;
  padding: 0.35rem 0;
  border: 0;
  text-align: center;
}

.quote p {
  margin: 0 auto;
  max-width: 22em;
  color: var(--gold);
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.quote footer {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.occasion-list,
.setlist {
  margin: 0.4rem 0 1rem;
  padding: 0;
}

.occasion-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.55rem 1.25rem;
}

.occasion-list li,
.setlist li {
  position: relative;
  padding-left: 2.7rem;
}

.occasion-list li::before,
.setlist li::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 0.28em;
  width: 0.95rem;
  height: 0.95rem;
  background: url("../assets/goldstar.gif") center / contain no-repeat;
  animation: star-spin 9s linear infinite;
}

@keyframes star-spin {
  to {
    transform: rotate(360deg);
  }
}

.setlist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.75rem;
  margin-top: 0.6rem;
}

.setlist li {
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  border-bottom: 0;
}

.contact-block,
#booking .panel > p:last-child {
  margin-top: 0.6rem;
  text-align: center;
}

.contact-block a {
  font-size: 1.35rem;
  text-underline-offset: 0.18em;
}

.slideshow {
  position: relative;
  margin: 0 0 1.85rem;
}

.slideshow-stage {
  position: relative;
  width: 100%;
  height: min(300px, 70vw);
  max-height: 300px;
  background: transparent;
  background-image: url("../assets/starbckgrnd.gif");
  overflow: hidden;
}

.slideshow-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-position: center center;
}

.slideshow-stage img.fit-cover,
.slideshow-stage img.fit-contain {
  object-fit: contain;
  object-position: center center;
  background: transparent;
}

.slideshow-stage img[hidden] {
  display: none !important;
}

.stage-fallback {
  height: 100%;
  display: grid;
  place-items: center;
}

.stage-fallback[hidden] {
  display: none !important;
}

.stage-fallback img {
  position: static;
  width: 72px;
  height: auto;
  object-fit: contain;
}

.slideshow-controls {
  display: none;
}

.slideshow-controls button {
  pointer-events: auto;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--gold-deep);
  background: rgba(0, 0, 0, 0.72);
  color: var(--gold);
  font: inherit;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.slideshow-controls[hidden] {
  display: none;
}

.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem 1.25rem 2.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0.2rem 0;
}

@media (max-width: 760px) {
  body {
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .wrap {
    width: min(720px, calc(100% - 1.5rem));
  }

  section {
    padding: 1.85rem 0 2.4rem;
  }

  #forside {
    padding-top: 1.25rem;
  }

  .lights-left,
  .lights-right {
    display: none;
  }

  .nav-bar {
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: Transparent;
    border-bottom: 1px solid var(--line);
    padding: 0.4rem 0.6rem 0.8rem;
    z-index: 50;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.7rem 0.6rem;
    font-size: 1.15rem;
  }

  .setlist {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 1.35rem 1rem 1.55rem;
  }

  .hero-fallback .wordmark {
    width: min(88%, 420px);
  }
}

@media (max-width: 1100px) and (min-width: 761px) {
  .lights-left,
  .lights-right {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .occasion-list li::before,
  .setlist li::before {
    animation: none;
  }
}
