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

:root {
  /* brand & surfaces */
  --color-brand-blue: #001f3f;   /* header/footer + bands */
  --color-page-bg:    #16325d;   /* slightly deeper page background #16325d */
  --color-band-border: #c7d2e0;  /* softer blue-gray divider */
  --color-footer-border: rgba(148, 163, 184, 0.55);

  /* shared section band (VL + LH) */
  --section-band-bg: #001f3f; /* both sections use this for now */
  /* (optional hooks if you later want them different) */
  --color-vl-bg: var(--section-band-bg);
  --color-lh-bg: var(--section-band-bg);
  --vl-bg-image: url("../omega/img/.jpg");
  --lh-bg-image: url("../omega/img/.jpg");
  --footer-bg-image: url("../omega/img/.jpg");
	
 /* url("../omega/img/barn-2.jpg") */

  /* text */
  --color-text-main:   #e5e7eb;  /* body text on dark blue */
  --color-text-light:  #ffffff;
  --color-text-subtle: #f5f5f5;
  --color-text-muted:  #e5e7eb;
  --color-text-muted-2:#d1d5db;
  --color-text-footer: #9ca3af;

  /* cards */
  --hero-card-bg: rgba(15, 23, 42, 0.2);  /* hero icons */
  --vl-card-bg:   rgba(15, 23, 42, 0.4);  /* Village Links */
  --lh-card-bg:   rgba(15, 23, 42, 0.4);  /* Local Highlights */

  --color-card-border:       rgba(148, 163, 184, 0.7);
  --color-card-hover-bg:     rgba(15, 23, 42, 0.95);
  --color-card-hover-border: #f4b41a;     /* warmer, richer gold */

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

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

*,
*::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: var(--color-page-bg);
}

/* 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;
}

.section-divider {
  display: block;
  width: auto;              /* let it fill the parent */
  height: 0;
  margin: 0 15px;           /* inset */
  border: 0;
  border-top: 1px solid var(--color-band-border);
}

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

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

.site-header-2 {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(
    to bottom,
    #071528 0%,
    #12325f 100%
  );                               /* same gradient as the other page */
  color: #ffffff;
  border-bottom: 1px solid rgba(156, 163, 175, 0.55);
}

/* header row: only hamburger, right-aligned */
.header-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.9rem .5rem;
  gap: 0.75rem;
}

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

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

/* no title for this experiment */
.header-center {
  display: block;
}

.header-title {
  font-family: "Libre Baskerville", "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.1;
  color: var(--color-text-light);
  margin: 0;
}

.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.12em;
  color: var(--color-text-subtle);
}

/* 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;
  }
}

.corner-text {
  position: absolute;
  top: 0.75rem;          /* distance from top */
  left: 0.9rem;          /* distance from left */
  z-index: 11;
  font-family: "Libre Baskerville", serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: none;
  color: #ffffff;
  pointer-events: none;
}

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

/* HERO BASE */
.hero-2 {
  position: relative;
  background-color: #000;
  overflow: hidden;
  min-height: 84vh;
  display: flex;
  flex-direction: column;
  margin-top: 0;  /* make sure nothing pushes it down */
}

/* Background image fills hero */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-2 .hero-media img {
  width: 100%;
  height: 100%;
  max-height: 700px;             /* safety cap on huge screens */
  object-fit: cover;
  display: block;
  border-top: 0.8px solid #fff;
  border-bottom: 0.8px solid #fff;
}

.hero-2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 31, 63, 0.2); /* #001f3f with alpha */
  pointer-events: none;
  z-index: 1;
}

/* CONTENT: tagline at top, grid at bottom */
.hero-tagline {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;    /* center column horizontally */
  align-items: stretch;
  z-index: 2;
}

.hero-tagline-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 2rem;  /* slightly smaller top padding */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;  /* was space-between */
  text-align: center;
}

/* tagline group */
.hero-text-block {
  /* normal block; internal spacing via margins below */
}

.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.6rem;
  line-height: 1.25;
  color: var(--color-text-light);
  margin: 0 0 0.75rem;
}

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

/* HERO GRID (same look as VL, independent classes) */
.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;           /* small buffer below text block */
}

.hero-card {
  background-color: var(--hero-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;
}

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

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

.hero-card:hover,
.hero-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.2);
}

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

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

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




/* =========================
Hero bottom band
========================= */

.hero-bottom {
  background-color: var(--color-brand-blue); /* same as header */
  color: var(--color-text-light);
  padding: 1rem 0; /* adjust height of the band */
  border-bottom: .6px solid var(--color-band-border);/* frames the band */
}

.hero-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;  /* or flex-start for left-aligned text */
  text-align: center;
}

.hero-bottom-text {
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
  color: var(--color-section-body);
}

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

.site-main {
  padding: 0;
}

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

.vl-section {
  position: relative;
  background-color: var(--section-band-bg);   /* same base as LH */
  background-image: var(--vl-bg-image);       /* optional image from :root */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-text-light);
  margin: 0 0 15px;
  border-radius: 0px;
  border: 0;
  padding: 2.5rem 0;
  border-top: 0;
  border-bottom: 0;
}

.vl-section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(0, 31, 63, 0.3); /* same navy tint family as LH/hero */
  pointer-events: none;
  z-index: 0;
}

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

.vl-inner {
  position: relative;
  z-index: 1;
  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;
  color: var(--color-section-eyebrow);
  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: 0.95rem;
  line-height: 1.4;
  margin: 0;
  color: var(--color-section-body);
}

/* VL cards/grid */

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

.vl-card {
  background-color: var(--vl-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;
}

.vl-icon {
  display: block;
  height: 32px;
  width: 32px;
  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.55);
}

@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 {
  position: relative;
  background-color: var(--section-band-bg);   /* same scheme as VL */
  background-image: var(--lh-bg-image);       /* optional image from :root */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-text-light);
  margin: 0;
  padding: 2.5rem 0;
  border-top: 0;
  border-bottom: 0.6px solid var(--color-band-border); /* optional bottom divider */
}

.lh-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 31, 63, 0.0); /* same tint as hero */
  pointer-events: none;
  z-index: 0;
}

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

.lh-inner {
  position: relative;  /* keep content above overlay */
  z-index: 1;
  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(--lh-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: 32px;
  width: 32px;
  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: #001f3f;
  color: var(--color-text-muted);
  padding-top: 0rem;
  margin-top: 0;
  text-align: center;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem 2rem;
  position: relative;
  background-image: var(--footer-bg-image); /* e.g. set in :root */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden; /* keep overlay inside */
}

.footer-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 31, 63, 0.3); /* same navy tint family */
  pointer-events: none;
  z-index: 0;
}

.footer-inner > * {
  position: relative;
  z-index: 1; /* keep content above overlay */
}

.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);
}


/* =========================
Hero blurbs side by side (unique)
========================= */

/* hero must be positioning context */
.hero-2 {
  position: relative;
  background-color: #000;
  overflow: hidden;
  min-height: 84vh;
  display: block;           /* no need for flex here */
  margin-top: 0;
}

/* tagline just sits near top */
.hero-tagline {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;  /* top */
  z-index: 2;
}

.hero-tagline-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 2rem;
  box-sizing: border-box;
  text-align: center;
}

/* blurbs pinned to bottom of hero */
.hero-blurb-group-6 {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;           /* distance from bottom of hero */
  transform: translateX(-50%);
  width: 100%;
  max-width: 48rem;
  padding: 0 1.5rem;
  box-sizing: border-box;
  z-index: 3;
}

/* rows inside the group */
.hero-blurb-row-6 {
  display: flex;
  gap: 1.2rem;
  margin: 0;
}

/* five specific rows with vertical spacing */
.hero-blurb-row-6--row1,
.hero-blurb-row-6--row2,
.hero-blurb-row-6--row3,
.hero-blurb-row-6--row4,
.hero-blurb-row-6--row5 {
  margin: 0;
}

.hero-blurb-row-6--row1 { margin-bottom: 2rem; }
.hero-blurb-row-6--row2 { margin-bottom: 2rem; }
.hero-blurb-row-6--row3 { margin-bottom: 2rem; }
.hero-blurb-row-6--row4 { margin-bottom: 2rem; }
.hero-blurb-row-6--row5 { margin-bottom: 0; }

/* blurb cells */
.hero-blurb-6 {
  flex: 1;
  text-align: left;
  margin: 0;
}

.hero-blurb-6--right {
  text-align: right;
}

.hero-blurb-6-heading {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.2rem;
  color: var(--color-text-light);
}

.hero-blurb-6-body {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
  color: var(--color-text-muted);
}

