/* Hero header bubble background */
.hero-header {
  position: relative;
  top: 10px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 0.5rem 1.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 1001;
  width: 320px;
  height: 56px;
}

.hero-header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-header-inner h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 0 4px rgba(0,0,0,0.5);
  white-space: nowrap;
  text-align: center;
  width: 100%;
}

.hero-header-inner .menu-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 0;
  background: #ece6e6;
}

.nav-links {
  position: absolute;
  top: calc(10px + 20px + 4px);
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  z-index: 1000;
  width: 320px;
  height: 56px;
  padding: 0.5rem 1.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  justify-content: space-around;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  text-shadow: 0 0 4px rgba(0,0,0,0.5);
}

.nav-links a:hover {
  text-decoration: underline;
}

/* Mobile styles */
@media (max-width: 768px) {
  .hero-header-inner .menu-toggle {
    display: block;
    cursor: pointer;
  }

  .nav-links {
    top: 66px;
    width: 320px;
    flex-direction: column;
    display: none;
    height: auto;
    gap: 0.75rem;
    padding: 1rem;
  }

  .nav-links.show {
    display: flex;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10%);
  }
  to {
    opacity: 1;
    transform: translateY(0%);
  }
}
/* Hero section background and header link style */
.hero {
  /* Remove or comment out this line: */
  /* background: url('i/banner.png') center/cover no-repeat; */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  padding-top: 10px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.05); /* Tweak as needed */
  z-index: 0;
}
.hero > * {
  position: relative;
  z-index: 1;
}

.hero-header-inner a {
  text-decoration: none;
}