/* =========================================================
   MOBILE NAVIGATION STYLES
/* =========================================================
public_html/genebean/nav/nav-mobile.css
   FONTS (match desired style)
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;700&display=swap');

:root {
  --nav-text: #111827;
  --nav-accent: #2563eb;

  --nav-bg: rgba(255, 255, 255, 0.85);
  --nav-border: rgba(17, 24, 39, 0.12);
  --nav-shadow: rgba(0, 0, 0, 0.08);

  --overlay-bg: rgba(255, 255, 255, 0.96);
  --overlay-border: rgba(17, 24, 39, 0.12);

  --row-border: rgba(17, 24, 39, 0.14);
  --row-hover: rgba(17, 24, 39, 0.04);
  --nav-height: 55px;
}

#nav-mobile {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10000;
  font-family: 'Fira Code', monospace;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.mobile-logo-link {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
}
.logo-bio {
  font-family: 'Fira Code', monospace;
  font-size: 20px;
  font-weight: 600;
  color: var(--gb-text-primary);
}

.mobile-logo-icon {
  height: 22px;
  width: auto;
  display: block;
}

#nav-mobile .mobile-bar {
  height: 56px;
  padding: 0 16px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: linear-gradient(
    180deg,
    #13151a,
    #1b1e24
  );
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

}

#nav-mobile .mobile-logo-link {
  text-decoration: none;
  color: var(--gb-nav-text);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

#nav-mobile .mobile-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;

  border: 1px solid var(--nav-border);
  background: transparent;

  color: var(--gb-nav-text);
  font-size: 22px;

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

  cursor: pointer;
}

#nav-mobile .mobile-overlay {
  position: fixed;
  inset: 0;

  display: none;

  background: linear-gradient(
    180deg,
    var(--gb-canvas-bg-start),
    var(--gb-canvas-bg-end)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  color: var(--nav-text);
  overflow: hidden;
}

#nav-mobile .mobile-overlay.active {
  display: block;
  pointer-events: auto;
}

#nav-mobile .mobile-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  height: 64px;
  padding: 0 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid var(--overlay-border);
  z-index: 3;
}

#nav-mobile .mobile-close {
  width: 44px;
  height: 44px;
  border-radius: 12px;

  border: 1px solid var(--nav-border);
  border-color: var(--gb-border-strong);
  background: var(--gb-surface-panel);

  color: var(--gb-nav-text-active);
  font-size: 20px;

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

  cursor: pointer;
}
#nav-mobile .mobile-close:hover {
  background: var(--gb-surface-panel-soft);
  color: var(--gb-accent-sky);
  border-color: var(--gb-accent-sky);
}

#nav-mobile .mobile-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  padding: 14px 16px 18px;
  border-top: 1px solid var(--overlay-border);

  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;

  z-index: 3;
}

#nav-mobile .mobile-screens {
  position: absolute;
  left: 0;
  right: 0;
  top: 64px;
  bottom: 76px;

  overflow: hidden;
  z-index: 1;
}

#nav-mobile .mobile-screen {
  position: absolute;
  inset: 0;

  padding: 18px 16px 16px;

  transform: translateX(100%);
  transition: transform 0.32s ease;

  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

#nav-mobile .mobile-screen.active {
  transform: translateX(0);
}

#nav-mobile .mobile-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 14px 14px;
  margin: 8px 0;

  border-radius: 14px;
  border: 1px solid var(--row-border);

  background: var(--gb-surface-header);
  color: var(--gb-text-primary);

  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

#nav-mobile button.mobile-item {
  cursor: pointer;
}

#nav-mobile .mobile-item .arrow {
  color: var(--gb-text-muted);
  opacity: 1;
  font-size: 18px;
}

#nav-mobile .mobile-item:hover {
  color: var(--gb-nav-text-active);
  background: var(--row-hover);
  border-color: var(--nav-focus);
}


#nav-mobile .mobile-back {
  display: inline-flex;
  align-items: center;

  padding: 10px 12px;
  margin: 2px 0 12px;

  border-radius: 12px;
  border: 1px solid var(--nav-border);
  background: transparent;

  color: var(--gb-text-secondary);
  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
}
#nav-mobile .mobile-back:hover {
  color: var(--gb-nav-text-active);
}
#nav-mobile .btn-contact {
  flex: 1;
  text-align: center;

  padding: 11px 05px;
  border-radius: 20px;

  text-decoration: none;
  color: var(--nav-text);

  border: 1px solid var(--nav-border);
  background: var(--gb-surface-header);

  font-weight: 600;
  font-size: 0.85rem;
}

#donate-button-container-mobile {
  flex: 1;
  position: relative;

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

  height: 44px;
  border-radius: 14px;
}

#custom-donate-btn-mobile {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border-radius: 14px;

  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
  font-weight: 600;
  background: transparent;
  border: 1px solid var(--nav-border);

  pointer-events: none;
}

#custom-donate-btn-mobile .heart {
  color: #e11d48;
  font-size: 1rem;
}

#donate-button-mobile iframe,
#donate-button-mobile img {
  opacity: 0;
}

#donate-button-mobile {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 44px;
  background-color: var(--gb-surface-header);
  border-radius: 20px;
}

#donate-button-container-mobile:hover #custom-donate-btn-mobile,
#nav-mobile .btn-contact:hover {
  background: var(--row-hover);
  border-color: var(--nav-focus);
}

@media (min-width: 901px) {
  #nav-mobile {
    display: none;
  }
}
#nav-mobile .mobile-logo {
  display: flex;
  align-items: center; /* 🔥 Fixes vertical alignment, logo next to title */
  gap: 0.5rem;
}
#nav-mobile .logo-icon {
  display: block;      /* kills inline baseline weirdness */
  height: 22px;
  width: auto;
}
#nav-mobile .mobile-header .logo-link {
  color: var(--gb-nav-text-active);
}
#nav-mobile .mobile-header .logo-link span {
  color: var(--gb-nav-text-active);
}
#custom-donate-btn-mobile,
#nav-mobile .btn-contact {
  color: var(--gb-text-primary);
}
