
/* v16: Fix - show nav links on mobile overlay; blue overlay only when menu open; logo size = homepage (80px) */

@font-face {
  font-family: "LeroyLettering";
  src: url("/LeroyLetteringLightBeta01.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-cream: #fff8dc;
  --overlay: rgba(60, 96, 150, 0.98);
  --footer-gray: #e5e7eb;
  --white: #fff;
  --text: #333;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body { font-family: "LeroyLettering", sans-serif; background: var(--bg-cream); color: var(--text); }
body.menu-open { overflow: hidden; }

header {
  background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%);
  padding: 1.25rem 0;
  position: fixed; top: 0; width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
}
.header-container {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; justify-content: space-between; align-items: center; position: relative;
}
.logo { max-height: 80px; width: auto; display: block; } /* match homepage */

nav .nav-links { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav-link { text-decoration: none; color: var(--white); font-weight: 400; }
.nav-link.active { text-decoration: underline; }
.menu-toggle { display: none; color: var(--white); font-size: 28px; margin-left: 14px; cursor: pointer; user-select: none; z-index: 1101; }

/* ----- Mobile overlay menu ----- */
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  /* Hide links by default on mobile */
  nav .nav-links { display: none; }
  /* When open: show full-screen blue panel with vertical links */
  nav .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--overlay);
    padding: 120px 24px 24px;  /* push below header area */
    z-index: 1100;
    overflow-y: auto;
  }
  nav .nav-links.open li { list-style: none; width: 100%; }
  nav .nav-links.open a {
    display: block;
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.3;
    padding: 10px 6px;
  }
}

main { max-width: 1000px; margin: 150px auto 40px; padding: 0 1.25rem; }
.card {
  background: #fff; padding: 22px; margin: 24px 0; border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.06);
}
.meta { font-size: 0.95em; color: #555; margin-bottom: 10px; }

footer { background: var(--footer-gray); text-align: center; padding: 30px 20px; margin-top: 60px; font-size: 0.95em; color: var(--text); }
.footer-container { max-width: 1000px; margin: 0 auto; }
