/* Navigation arrows below dots */
.nav-arrow {
  font-size: 2em;
  color: #ffffff;
  font-weight: bold;
  padding-left: 1em;
  padding-right: 1em;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
  line-height: 1;
  opacity: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: opacity 0.4s cubic-bezier(0.4, 0.2, 0.2, 1);
  /* -webkit-text-stroke: 2px #000; */
}

/* Circle background lives on the pseudo so padding doesn't stretch it */
.nav-arrow::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  pointer-events: none;
}

.nav-arrow.is-hovered::before {
  background: rgba(255, 255, 255, 0.12);
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.nav-arrow:active::before,
.nav-arrow.is-pressed::before {
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%) scale(0.9);
  box-shadow: none;
}

.nav-arrow.is-clicked {
  animation: navArrowClickColorPulse 600ms ease-out forwards !important;
}

.nav-arrow.is-clicked::before {
  animation: navArrowClickPulse 600ms ease-out;
}

.nav-arrow:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

@keyframes navArrowClickColorPulse {
  0%   { color: #888888; }
  70%  { color: #888888; }
  100% { color: #ffffff; }
}

@keyframes navArrowClickPulse {
  0%   { transform: translate(-50%, -50%) scale(0.9); }
  60%  { transform: translate(-50%, -50%) scale(1.1); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

.nav-arrow-left {
  text-align: left;
}
.nav-arrow-right {
  text-align: right;
}
.arrow-dot {
  font-size: 2em;
  color: #222;
  display: inline-block;
  animation: none;
  vertical-align: middle;
  transform: translateY(0) !important;
}
.about-me-extended {
  background: rgb(255, 255, 255);
  width: 100vw;
  /* min-height: 10vh; */
  padding: 2em 1.5em;
  position:relative;
  top:-16vh;
  /* box-sizing: border-box; */
}
.about-me-extended-inner {
  max-width: 100vw;
  margin: 0 0;
  padding-top: 1em;
  color: #222;
  position: relative;
  top:0;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

#contentTitle {
    padding-top:.5em;
    font-size:1.25em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    margin: 0;
    position: relative;
    display: inline-block;
    --title-underline-scale: 1;
    --title-underline-opacity: 1;
}

#contentTitle::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.28em;
  height: 2px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.92);
  opacity: var(--title-underline-opacity);
  transform: scaleX(var(--title-underline-scale));
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.4, 0.2, 0.2, 1), opacity 0.35s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.content-title-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
}

.carousel-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 01em;
  min-height: 0.25em;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0.2, 0.2, 1);
  pointer-events: none;
}

.carousel-dot {
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.22);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.carousel-dot.is-active {
  background: #888888;
  transform: scale(1.1);
}

.about-me-extended-inner::-webkit-scrollbar {
  height: 0;
}

.content-panel {
  flex: 0 0 100vw;
  width: 100vw;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 0 1.5em;
}
.about-me {
  border-top-left-radius: 2em;
  border-top-right-radius: 2em;
  overflow: hidden;
  border: 2px solid #333;
  background: rgba(255,255,255,0.3);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  padding: 0em 0em;
  width: 100vw;
  /* height: 15vh; */
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: -16vh;
  bottom: 0;
  left: -0.25vw;
}

  .about-me .arrow {
  display: inline-block;
  font-size: 2em;
  color: #222;
  margin: 0;
  vertical-align: middle;
  animation: bounce 1.5s infinite;
  padding-left:1em;
  }
  .about-me .arrow-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100vw;
  margin: 0 auto;
  position: relative;
  top: -1vh;
  left:-1.5vh;
  height: 100%;
  }

  .about-me-text {
  flex: 1;
  text-align: center;
  font-size: 1em;
  font-weight: bold;
  color: #111;
  margin: 0;
  position: relative;
  /* top:-20vh; */
  }
  

.about-me .content-inner {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
}

body, html {
  width: 100vw;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
.topbar {
  position: relative;
  top: 0;
  left: 0;
  width: 100vw;
  height: 2.9rem;
  background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
  z-index: 300;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.topbar-content {
  position: relative;
  width: 100%;
  padding: 0 0.75em;
  color: #fff;
  font-size: 1em;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  margin: 0;
}

.topbar-icon {
  margin-left: auto;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.topbar-icon--hidden {
  opacity: 0;
}

.topbar-splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: radial-gradient(circle at 50% 50%, rgba(16, 16, 16, 0.78) 0%, rgba(5, 5, 5, 0.96) 100%);
  pointer-events: none;
}

.topbar-splash-icon {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1201;
  object-fit: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.menu-toggle {
  position: relative;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.6rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.menu-toggle-bars,
.menu-toggle-close {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.menu-toggle-bars {
  width: 1.05rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-toggle-bars::before {
  transform: translateY(-0.33rem);
}

.menu-toggle-bars::after {
  transform: translateY(0.33rem);
}

.menu-toggle-close {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 700;
}

.menu-toggle.is-open .menu-toggle-bars {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
}

.menu-toggle.is-open .menu-toggle-close {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.topbar-menu {
  position: absolute;
  left: 0.75em;
  top: calc(100% + 0.45em);
  min-width: 14rem;
  padding: 0.55rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 120;
}

.topbar-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.topbar-menu-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.45rem;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 140ms ease;
}

.topbar-menu-link:hover,
.topbar-menu-link:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}
  
.bg-local-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
  pointer-events: auto;
}

.video-blur-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
  backdrop-filter: blur(0px);
  transition: backdrop-filter 0.3s;
}

.bg-local-wrapper video {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  object-fit: cover;
  position: relative;
  z-index: 0;
  pointer-events: none;
  background: #000;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100vw;
  /* height: 100vh; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  font-size: 1.5em;
  pointer-events: auto;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
.hero-text {
  margin-top: 60px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  padding-left: 1em;
  padding-right: 1em; /* Add horizontal padding */
  max-width: 600px;   /* Optionally limit width for better appearance */
  margin-left: auto;
  margin-right: auto;
  /* Dramatic text shadow for visibility */
  color: #fff;
  text-shadow: 2px 2px 8px #000
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.site-footer {
  width: 100vw;
  background: #111;
  color: #d6d6d6;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem 1.25rem;
  box-sizing: border-box;
}

.site-footer-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.site-footer-primary {
  margin: 0;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  color: #f0f0f0;
}

.site-footer-secondary {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: #b5b5b5;
}


