body {
  font-family: "Barlow", Sans-Serif;
  font-size: 16px;
  line-height: 1.0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  margin: 0;
  color: white;
}

body.theme-gallery {
  background: white;
  color: black;
  font-family: "Barlow", Sans-Serif;
  text-decoration: none;
}

body.default {
  background: #0e0e0e;
  color: white;
}

.index-header {
  padding: 3rem 1rem;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  backface-visibility: hidden;
}

.index-header-inner {
  display: flex;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.menu {
  display: flex;
  gap: 1.5rem;
  font-size: 12px;
  margin-left: auto;
}

.menu a {
  line-height: 1;
  font-weight: 300;
}

.title {
  margin-right: 2rem;
}

a {
  text-decoration: none;
  line-height: 1.8rem;
  font-weight: 200;
  color: inherit;
}

.understrike {
  max-width: 1440px;
  align-items: center;
  color: white;
}

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none; /* still controlled by media query */
  width: 28px;
  padding: 0;

  background: none;
  border: none;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Hamburger lines */
.hamburger span {
  display: none;
  height: 2px;            /* <<< thin line thickness */
  width: 100%;
  background: white;
  border-radius: 1px;
}

/* Mobile Menu (hidden by default) */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem 2rem;
  background: black;
  border-top: 1px solid #ccc;

  position: fixed;
  inset: 0; /* top:0 right:0 bottom:0 left:0 */

  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);

  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;

  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);

  transition: opacity 1.4s ease, transform 1.4s ease;
  z-index: 1000;
}

.mobile-menu a {
  padding: 0.5rem 0;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1s ease-in-out;
  opacity: 0;
  z-index: -1; /* behind content */
}

/* Responsive */
@media (max-width: 900px) {
  .menu {
    display: none;       /* hide desktop menu */
  }

  .hamburger {
    display: block;      /* show hamburger */
    color: white;
  }

  .hamburger span {
    display: block;
  }

  .mobile-menu.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}
