/* mainsite.css */


:root {
  --surface-bg: #ffffff;
  --surface-border: rgba(0, 0, 0, 0.08);
  --surface-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);

  --text-primary: rgba(0, 0, 0, 0.85);
  --text-muted: rgba(0, 0, 0, 0.6);
}



html, body {
  height: 100%;
}


body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
  font-size: large;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;          /* ensure no default margin affects layout */
}

h1 {
    margin-top: 5rem;
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(229, 57, 53, 0.6);
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


/* Push content below fixed nav */
.main-content {
  flex: 1 0 auto;   /* grow, do not collapse */
  min-height: 1px;  /* prevents empty-page collapse edge case */
}


/* =============================
   Fixed top navigation
============================= */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 1000;

  backdrop-filter: blur(10px);

  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  max-width: 90%;
  margin: 0 auto;
  padding: 12px 16px;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-link {
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  color: rgba(0, 0, 0, 0.72);

  padding: 6px 10px;
  border-radius: 10px;

  transition: background 120ms ease, color 120ms ease;
}

.nav-link:hover {
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.9);
}



/* =========================
   Social Icons
========================= */

.social-nav {
  flex-shrink: 0;
}

.social-list {
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 32px;
  height: 32px;
  border-radius: 8px;

  transition: background 0.15s ease, transform 0.1s ease;
}

.social-link:hover {
  background: #f3f3f3;
  transform: translateY(-1px);
}

/* Accessibility: hide text-only spans if you add them later */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================
   Mobile layout
========================= */

@media (max-width: 700px) {
  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .social-list {
    justify-content: center;
  }

  .nav-links {
    justify-content: center;
  }
}

/* =========================
   Site footer
========================= */
.site-footer {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.02),
    rgba(0, 0, 0, 0.01)
  );
  color: var(--text-muted);

  text-align: center;
  padding: 1.5rem;

  border-top: 1px solid var(--surface-border);
  box-shadow: var(--surface-shadow);

  position: relative;
  z-index: 500;

  flex: 0 0 auto;
  margin-top: auto;
} 

.site-footer p,
.site-footer a {
  font-size: 0.95rem;
  line-height: 1.6;
}

.site-footer a {
  color: var(--text-primary);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}
