/* ===========================
   css/index.css (PASTE ENTIRE FILE)
   - Header/footer conform to submenu behavior
   - Enter button is rounded glass pill
   - Enter hover behaves like thumbnail titles (bold only, no color shift)
   =========================== */

:root{
  --bone: #ececec;
  --bone-soft: #d1d1d1;
  --bone-faint: #a7a7a7;

  --border: rgba(236,236,236,0.18);
  --border-hover: rgba(236,236,236,0.32);

  --panel: rgba(0,0,0,0.45);

  --ui-33: 0.33;
  --ui-100: 1;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  background: #000;
  color: var(--bone);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* Links: no underline, no color shift */
a{ color: inherit; text-decoration: none; font-weight: inherit; }
a:visited{ color: inherit; }
a:active{ color: inherit; }

/* Sticky footer scaffold */
.page{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Header (match submenu) ===== */
.header{
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
}

.logoWrap{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Header icon + text together on hover */
.logoIcon{
  width: 25px;
  height: 25px;
  object-fit: contain;
  opacity: var(--ui-33);
  transition: opacity 160ms ease, transform 120ms ease;
}
.logoText{
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--bone-soft);
  opacity: var(--ui-33);
  transition: opacity 160ms ease, font-weight 160ms ease;
  white-space: nowrap;
}
.logoWrap:hover .logoIcon,
.logoWrap:hover .logoText{
  opacity: var(--ui-100);
}
.logoWrap:hover .logoText{ font-weight: 700; }
.logoWrap:hover .logoIcon{ transform: translateY(-1px); }

/* ===== Main ===== */
main{
  flex: 1 0 auto;
  width: 100%;
}

/* Portal area */
.galleryNDX{
  width: 100%;
  padding: 0 16px;
  padding-top: clamp(28px, 15vh, 140px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

/* Circle portal */
.portal{
  width: clamp(200px, 60vw, 720px);
  height: clamp(200px, 60vw, 720px);
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}

.portal iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none;
}

.portalClick{
  position: absolute;
  inset: 0;
  display: block;
  cursor: pointer;
}

/* ===== Enter button (glass pill) ===== */
.enter-btn{
  margin-top: 22px;
  padding: 12px 18px;
  border-radius: 999px; /* rounded */
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.35); /* glass */
  backdrop-filter: blur(8px);

  color: rgba(236,236,236,0.95);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition: border-color 160ms ease, transform 120ms ease, font-weight 160ms ease, background 160ms ease;
}

/* Hover like thumbnail titles: bold only (no color shift) */
.enter-btn:hover{
  font-weight: 700;
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

/* ===== Footer (match submenu) ===== */
.footer{
  margin-top: auto;
  padding: 18px 16px;
  border-top: 1px solid var(--border);
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--bone-faint);
}

/* Footer header behaves like header text */
.hero_header{
  display: inline-block;
  margin: 0 0 10px 0;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--bone-soft);
  opacity: var(--ui-33);
  transition: opacity 160ms ease, font-weight 160ms ease;
}
.hero_header:hover{
  opacity: var(--ui-100);
  font-weight: 700;
}

/* Contact icons behave like header icon */
.contactIcons{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-top: 12px;
}

.contactIcons a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}

.contactIcons img{
  width: 50px;
  height: 50px;
  object-fit: contain;
  opacity: var(--ui-33);
  transition: opacity 160ms ease, transform 120ms ease;
}

.contactIcons img:hover{
  opacity: var(--ui-100);
  transform: translateY(-1px);
}

/* Small screens */
@media (max-width: 420px){
  .galleryNDX{
    padding: 0 12px;
    padding-top: clamp(22px, 15vh, 90px);
  }
  .portal{
    width: clamp(200px, 82vw, 320px);
    height: clamp(200px, 82vw, 320px);
  }
  .enter-btn{
    margin-top: 16px;
    padding: 11px 16px;
  }
}

@media (max-width: 560px){
  .contactIcons{ gap: 18px; }
  .contactIcons img{ width: 44px; height: 44px; }
}

/* Orientation note — footer-matched behavior */
.orientationNote{
  margin-top: 14px;
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;

  font-size: 12px;
  line-height: 1.55;
  letter-spacing: .08em;
  text-transform: uppercase;

  color: var(--bone-soft);
  opacity: 0.33;

  transition: opacity 160ms ease, font-weight 160ms ease;
}

.orientationNote:hover{
  opacity: 1;
  font-weight: 700;
}

