/* =========================
Base / resets
========================= */

:root {
  /* brand & surfaces */
  --color-brand-blue: #1d3d73;
  --color-page-bg: #1d3d73;
  --color-band-border: #c8c8c8;
  --color-footer-border: rgba(156, 163, 175, 0.55);

  /* text */
  --color-text-main: #1d3d73;
  --color-text-light: #ffffff;
  --color-text-subtle: #f5f5f5;
  --color-text-muted: #e5e7eb;
  --color-text-muted-2: #d1d5db;
  --color-text-footer: #9ca3af;

  /* cards */
  --color-card-bg: rgba(15, 23, 42, 0.1);
  --color-card-border: rgba(148, 163, 184, 0.5);
  --color-card-hover-bg: rgba(15, 23, 42, 0.9);
  --color-card-hover-border: #fbbf24;

  /* nav hover */
  --color-nav-hover-bg: rgba(255, 255, 255, 0.08);
  --color-nav-border: rgba(255, 255, 255, 0.1);
  --color-nav-border-desktop: rgba(255, 255, 255, 0.16);

  /* section text */
  --color-section-eyebrow: rgba(255, 255, 255, 0.8);
  --color-section-body: rgba(255, 255, 255, 0.9);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text-main);

  background-color: #001f3f;
  background-image: url("https://www.transparenttextures.com/patterns/white-wall-3-2.png");
}

/* Simple container */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Remove default list spacing */
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero-words {
  background-color: #1d3d73;
  color: #e8ebf1;
  padding: .1rem 0.1rem 0;       /* no vertical padding at all */
}

.hero-words-inner {
  max-width: 26rem;
  margin: 0 auto;
}

/* remove this block entirely
.hero-words-main {
  font-weight: 700;
}
*/

/* make ALL lines faint */
.hero-words-line {
  margin: 1px 0;
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.6rem;
  line-height: 1.25;
  font-weight: 600;
  opacity: 0.3;
}

/* faint pattern lines */
.hero-words-faint {
  font-weight: 600;
  opacity: 0.3;
}

.brick-pattern-blue {
  background:
    linear-gradient(27deg, #16335f 5px, transparent 5px) 0 5px,
    linear-gradient(207deg, #16335f 5px, transparent 5px) 10px 0px,
    linear-gradient(27deg, #1f447c 5px, transparent 5px) 0px 10px,
    linear-gradient(207deg, #1f447c 5px, transparent 5px) 10px 5px,
    linear-gradient(90deg, #1b3b6f 10px, transparent 10px),
    linear-gradient(#214170 25%, #1b3360 25%, #1b3360 50%, transparent 50%, transparent 75%, #284879 75%, #284879);
  background-color: #1d3d73;
  background-size: 20px 20px;
}

/* =========================
Header & navigation
========================= */

.site-header {
  background-color: #001f3f;
  background-image: url("https://www.transparenttextures.com/patterns/white-wall-3-2.png");
  color: #e8ebf1;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.7);
}

/* thin rail behind nav/list area on desktop */
@media (min-width: 768px) {
  .nav-list {
    position: relative;
  }

  .nav-list::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.1rem;
    height: 2px;
    background: linear-gradient(
      to right,
      rgba(248, 250, 252, 0.05),
      rgba(148, 163, 184, 0.5),
      rgba(248, 250, 252, 0.05)
    );
    pointer-events: none;
  }
}

/* Top header row (title + burger) */
.header-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0.8rem 0.5rem;
  gap: 0.75rem;
}

.header-logo {
  display: inline-flex;
  align-items: center;
}

.brand-mark {
  height: 36px;
  width: auto;
}

.header-center {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.header-title {
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.15;
  color: #e8ebf1;
}

.header-subtitle {
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #e8ebf1;
}

/* Hamburger */
.nav-toggle {
  border: none;
  background: none;
  padding: 0.25rem;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.22rem;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--color-text-light);
}

/* Nav */
.site-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: var(--color-brand-blue);
}

.site-nav--open {
  max-height: 320px;
}

.nav-list {
  display: flex;
  flex-direction: column;
}

.nav-list li a {
  display: block;
  padding: 0.7rem 1.25rem;
  font-size: 0.9rem;
  border-top: 1px solid var(--color-nav-border);
}

.nav-list li a:hover,
.nav-list li a:focus-visible {
  background-color: var(--color-nav-hover-bg);
}

/* Desktop nav */
@media (min-width: 768px) {
  .header-mobile {
    padding: 0.85rem 2rem;
  }

  .header-center {
    text-align: left;
    margin-left: 0.75rem;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    max-height: none;
  }

  .nav-list {
    flex-direction: row;
    justify-content: flex-end;
    gap: 0.75rem;
    border-top: 1px solid var(--color-nav-border-desktop);
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2rem;
  }

  .nav-list li a {
    border-top: none;
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
  }
}

/* =========================
Hero image + overlaid tagline
========================= */

.hero-2 {
  position: relative;
  background-color: #000000;
  overflow: hidden;
}

/* Control hero image height */
.hero-2 .hero-media img {
  width: 100%;
  height: 35vh;
  object-fit: cover;
  display: block;
  border-top: .8px solid #fff;
  border-bottom: .8px solid #fff;
}

/* Even overlay across entire image */
.hero-2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 1;
}

/* Tagline centered over image */
.hero-tagline {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-tagline-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2rem;
  color: var(--color-text-muted);
  text-align: center;
  box-sizing: border-box;
  background: none;
}

.hero-tagline-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted-2);
  margin: 0 0 0.75rem;
}

.hero-tagline-title {
  font-family: "Libre Baskerville", serif;
  font-size: 1.5rem;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 0.75rem;
}

.hero-tagline-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

@media (min-width: 768px) {
  .hero-tagline-title {
    font-size: 2.1rem;
  }
}

/* =========================
Main wrapper
========================= */

.site-main {
  padding: 0;
}

/* =========================
Village Links (VL section)
========================= */

.vl-section {
  background-color: #ffffff;
  background-image: url("https://www.transparenttextures.com/patterns/fresh-snow.png");
  color: #1d3d73;
  margin: 40px 0px 0;
  padding: 0.8rem 0;
  border-top: 0;
  border-bottom: 0;
  border-radius: 0px;
}


@media (min-width: 768px) {
  .vl-section {
    padding: 3rem 0;
  }
}

.vl-inner {
  text-align: left;
}

.vl-header {
  margin-bottom: 1.5rem;
}

.vl-heading {
  max-width: 32rem;
}

.vl-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  color: #335081;
  margin: 0 0 0.25rem;
}

.vl-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.35rem;
}

.vl-description {
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
  color: #1d3d73;
}

/* VL cards/grid */

.vl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.vl-card {
  background-color: #d1d8e3;
  background-image: url("https://www.transparenttextures.com/patterns/white-wall-3-2.png");

  border-radius: 0.75rem;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--color-text-muted);
  border: 1px solid var(--color-card-border);
  transition:
    transform 0.12s ease-out,
    box-shadow 0.12s ease-out,
    background-color 0.12s ease-out,
    border-color 0.12s ease-out;
}



.vl-icon {
  display: block;
  height: 40px;
  width: 40px;
  margin-bottom: 0.4rem;
}

.vl-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vl-card:hover,
.vl-card:focus-visible {
  background-color: var(--color-card-hover-bg);
  border-color: var(--color-card-hover-border);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.0);
}

@media (min-width: 768px) {
  .vl-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
  }

  .vl-card {
    padding: 1.25rem 1rem;
  }
}

/* =========================
Local Highlights (LH section)
========================= */

.lh-section {
  background-color: #8e9eb9;
  color: var(--color-text-light);
  margin: 15px;
  padding: 2.5rem 0;
  border-top: 0px solid var(--color-band-border);
  border-bottom: 0.6px solid var(--color-band-border);
  border-radius: 10px;
}

@media (min-width: 768px) {
  .lh-section {
    padding: 3rem 0;
  }
}

.lh-inner {
  text-align: left;
}

.lh-header {
  margin-bottom: 1.5rem;
}

.lh-heading {
  max-width: 32rem;
}

.lh-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--color-section-eyebrow);
  margin: 0 0 0.25rem;
}

.lh-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.35rem;
}

.lh-description {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
  color: var(--color-section-body);
}

/* LH cards/grid – same look as VL, independent classes */

.lh-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.lh-card {
  background-color: var(--color-card-bg);
  border-radius: 0.75rem;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--color-text-muted);
  border: 1px solid var(--color-card-border);
  transition:
    transform 0.12s ease-out,
    box-shadow 0.12s ease-out,
    background-color 0.12s ease-out,
    border-color 0.12s ease-out;
}

.lh-icon {
  display: block;
  height: 40px;
  width: 40px;
  margin-bottom: 0.4rem;
}

.lh-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lh-card:hover,
.lh-card:focus-visible {
  background-color: var(--color-card-hover-bg);
  border-color: var(--color-card-hover-border);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.55);
}

@media (min-width: 768px) {
  .lh-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
  }

  .lh-card {
    padding: 1.25rem 1rem;
  }
}

/* =========================
Footer
========================= */

.site-footer {
  background-color: var(--color-brand-blue);
  color: var(--color-text-muted);
  padding-top: 2rem;
  margin-top: 0;
  text-align: center;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 1.5rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-light);
  justify-content: center;
}

.footer-logo .brand-mark {
  height: 30px;
}

.brand-name {
  font-family: "Libre Baskerville", serif;
  font-size: 1.5rem;
}

.footer-divider {
  border: 0;
  border-top: 1px solid var(--color-footer-border);
  margin: 0.75rem 0 1rem;
}

.footer-address {
  font-size: 0.85rem;
  line-height: 1.7;
  margin: 0 0 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: var(--color-text-muted);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--color-footer-border);
  text-align: center;
  padding: 0.75rem 1.25rem 1.2rem;
  font-size: 0.8rem;
  color: var(--color-text-footer);
}
