/* ================= Reset & Root ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --hammond-blue: #0c2033;
}

/* ================= Body ================= */
body {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  line-height: 1.6;
  color: #000;
  background-color: #fff;
}

/* ================= Header / Hero ================= */
#nav {
  width: 100%;
  min-height: 60vh;           /* hero height ~60% of viewport */
  display: flex;
  justify-content: flex-start;  /* menu left, image right */
  align-items: center;          /* vertical centering */
  padding: 2rem;
  position: relative;
  background-image:
    linear-gradient(
      rgba(12, 32, 51, 0.5),
      rgba(12, 32, 51, 0.5)
    ),
    url("new-home-hero-final.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

/* Fade into main content */
#nav::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, rgba(12,32,51,0), rgba(255,255,255,1));
}

.nav-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;   /* text column width for hero */
}

#site-title {
  color: #fff;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4); /* improves readability on image */
}

.nav-link:hover {
  text-decoration: underline;
}

.nav-link.active {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-right {
  max-width: 200px;
  margin-left: 2rem;   /* space from menu */
  text-align: center;
  flex-shrink: 0;
}

.nav-right img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.9) contrast(0.95);
}

.nav-right figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #e6eef3;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4); /* improves readability on image */
}

/* ================= Content ================= */
#content {
  padding: 2.5rem;
  max-width: 800px;
}

/* ================= Mobile ================= */
@media (max-width: 600px) {
  #nav {
    flex-direction: column;
    min-height: 70vh; /* slightly taller hero on mobile */
    padding: 1.5rem;
    background-position: center top;
  }

  .nav-left, .nav-right {
    max-width: 100%;
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .nav-right {
    width: 150px;
  }

  .nav-right img {
    width: 100%;
  }

  #site-title {
    font-size: 1.8rem;
  }
}
