/* GLOBAL ONLY:
   - background + overlay
   - navbar (desktop/mobile)
   - typography defaults
   - shared layout primitives
   NO homepage animations or hero-specific layout here.
*/


* { box-sizing: border-box; }

body {
  margin: 0;
  color: #e6e6e6;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Background image + dark overlay */
  background-image:
    linear-gradient(rgba(0,0,0,0.80), rgba(0,0,0,0.80)),
    url("../images/background.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}


main {
  min-height: 96vh;
  display: flex;
  flex-direction: column;
}





/* =========================
   NAVBAR
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
}

.brand,
.nav-links a {
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.nav-toggle,
.nav-toggle * {
  text-decoration: none;
}


.nav {
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #e6e6e6;
  font-weight: 1000;
  letter-spacing: 0.08em;
}

.brand-mark {
  border: none;                 /* remove circle */
  width: auto;
  height: auto;

  font-size: 1.1rem;            /* slightly bigger diamond */
  line-height: 1;

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

  margin-right: -2px;           /* pull icon closer to text */
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: rgba(230,230,230,0.8);
  font-size: 0.9rem;

  padding: 0.25rem 0.5rem;
  border: 1px solid transparent;   /* reserve space */
  border-radius: 6px;

  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.7);
}

.nav-links a.active {
  color: #ffffff;
  border-color: transparent; /* ensure no box */
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -1px;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
}


/* hamburger button (hidden on desktop, shown on mobile) */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

/* screen-reader only text (accessible, not visible) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* burger icon lines */
.burger {
  display: inline-block;
  width: 26px;
  height: 2px;
  background: rgba(230,230,230,0.9);
  position: relative;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 2px;
  background: rgba(230,230,230,0.9);
}

.burger::before { top: -8px; }
.burger::after  { top: 8px; }



/* MOBILE: hide links, show hamburger, dropdown menu */
@media (max-width: 1000px) {
  .nav {
    position: relative; /* needed for dropdown positioning */
  }

  .nav-toggle {
    display: block; /* show hamburger on mobile */
    outline: none;
    box-shadow: none;
    border: 0;
  }

  .nav-links {
    display: none; /* hidden until opened */
    position: absolute;
    right: 2rem;
    top: 100%;
    margin-top: 0.75rem;

    flex-direction: column;
    gap: 0.75rem;

    padding: 0.9rem 1rem;
    border-radius: 12px;

    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(10px);

    z-index: 200;
  }

  .nav-links.open {
    display: flex; /* show when toggled */
  }

  /* removed the desktop underline for active page */
  .nav-links a.active::after {
    content: none;
    display: none;
  }

  /* Mobile active style */
  .nav-links a.active {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
  }
}






/* =========================
   HIDE SCROLLBAR (ALLOW SCROLL)
   ========================= */

/* Firefox */
html, body {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Chrome, Edge, Safari */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}



/* =========================
   FOOTER BAND (page ending)
   ========================= */

.footer-band {
  margin-top: auto;
  padding: 3rem 0 4rem;

  background: rgba(0,0,0,0.55);
  border-top: 1px solid rgba(255,255,255,0.12);

  font-size: 18px;
  line-height: 1.5;
}


.footer-band-inner {
  width: min(860px, 92vw);
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;

  margin-bottom: 1.5rem;
}

/* Footer links — canonical */
.footer-links a,
.footer-links a:visited {
  font-size: 18px;
  color: rgba(230,230,230,0.88);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: rgba(255,255,255,0.98);
  opacity: 1;
}


.footer-links a:hover,
.footer-links a:focus-visible {
  color: rgba(255,255,255,0.98);
  opacity: 1;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;          /* controls the space between the two lines */
}

.footer-meta span {
  display: block;    /* makes each span sit on its own line */
  font-size: 16px;
  opacity: 0.8;
}

