/* Reset & base layout */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: #000;
  color: #fff;
  overflow: hidden; /* Prevent scrollbars from background */
}

/* Centered logo overlay */
.logo-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Above background slideshow */
  pointer-events: none; /* So clicks pass through if you add content later */
}

.logo-image {
  max-width: min(80vw, 520px);
  width: 100%;
  height: auto;
  pointer-events: auto; /* Allow logo interactions if needed in future */
}

.footer-text {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  pointer-events: none;
}

/* Full-screen background slideshow */
#background-slideshow {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover; /* Fill screen and crop if needed */
  background-position: center center; /* Keep image centered */
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1800ms ease-in-out;
  will-change: opacity;
}

.bg-slide.active {
  opacity: 1;
}

/* Optional: ensure page content (if added later) is above background */
.page-content {
  position: relative;
  z-index: 1;
}

.noscript-message {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
}

