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

*,
*::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: #111827;
  background-color: #ffffff;
}

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

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

.site-header {
  background-color: #0b2340;
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Top header row (logo, 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: #ffffff;
}

.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: #f5f5f5;
}

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

/* Nav */
.site-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: #0b2340;
}

.site-nav--open {
  max-height: 320px; /* enough for mobile menu */
}

.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 rgba(255, 255, 255, 0.1);
}

.nav-list li a:hover,
.nav-list li a:focus-visible {
  background-color: rgba(255, 255, 255, 0.08);
}

/* 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 rgba(255, 255, 255, 0.16);
    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
   ========================= */

.hero-2 {
  background-color: #000000;
}

.hero-media img {
  width: 100%;
  height: auto;
  display: block;
  border-top: 30px solid #000;
  border-bottom: 30px solid #000;
}

/* =========================
   Tagline band
   ========================= */

.hero-tagline {
  background-color: #0b2340;
  border-bottom: 1px solid #071528;
}

.hero-tagline-inner {
  text-align: center;
  padding: 1rem 1.25rem 2rem;
  max-width: 48rem;
  margin: 0 auto;
}

.hero-tagline-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

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

.hero-tagline-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #e5e7eb;
  margin: 0;
}

.hero-tagline-brand {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.hero-tagline-logo {
  height: 108px;
  width: auto;
}

@media (min-width: 768px) {
  .hero-tagline-inner {
    padding: 3rem 1.5rem;
  }

  .hero-tagline-title {
    font-size: 2.1rem;
  }
}

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

.site-main {
  padding: 0;
}

/* Shared tools layout (used by Community Deluxe + Deluxe) */

.section-tools-inner {
  text-align: center;
}

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

.tool-card {
  background-color: rgba(15, 23, 42, 0.7);
  border-radius: 0.75rem;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #f9fafb;
  border: 1px solid rgba(148, 163, 184, 0.5);
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
              background-color 0.12s ease-out, border-color 0.12s ease-out;
}

.tool-icon {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

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

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

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

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

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

/* =========================
   Community Deluxe (Village Links)
   ========================= */

.section-community-deluxe {
  background-color: #0b2340;
  background-image:
    linear-gradient(rgba(11, 35, 64, 0.4), rgba(11, 35, 64, 0.4)),
    url("../omega/img/amish-boys.webp"); /* same as Quick Links image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  border-radius: 0;
  margin: 0px 0 0;
  padding: 2.5rem 0;
  border-top: .9px solid #C8C8C8; /* thin divider */
  border-bottom: .9px solid #C8C8C8; /* thin divider */
}

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

.section-community-deluxe__header {
  margin-bottom: 1.5rem;
  text-align: left;
}

.section-community-deluxe__heading {
  max-width: 32rem;
  text-align: left;
}

.section-community-deluxe__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 0.25rem;
}

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

.section-community-deluxe__description {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* =========================
   Deluxe (Local Highlights)
   ========================= */

:root {
  --section-deluxe-bg-color: #0b2340;
  --section-deluxe-bg-image: url("../omega/img/barn-2.jpg");
}

.section-deluxe {
  background-color: var(--section-deluxe-bg-color);
  background-image:
    linear-gradient(rgba(11, 35, 64, 0.4), rgba(11, 35, 64, 0.4)),
    var(--section-deluxe-bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  border-radius: 0;
  margin: 0px 0 0;
  padding: 2.5rem 0;
  border-bottom: .8px solid #C8C8C8; /* thin divider */
}

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

.section-deluxe__header {
  margin-bottom: 1.5rem;
  text-align: left;
}

.section-deluxe__heading {
  max-width: 32rem;
  text-align: left;
}

.section-deluxe__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 0.25rem;
}

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

.section-deluxe__description {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

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

.site-footer {
  background-color: #0b2340;
  color: #e5e7eb;
  padding-top: 2rem;
  margin-top: 0px;
  text-align: center; /* center all footer text */
}

.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: #ffffff;
}

/* optional: center the logo block itself */
.footer-logo {
  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 rgba(156, 163, 175, 0.55);
  margin: 0.75rem 0 1rem;
}

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

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

.footer-links a {
  color: #e5e7eb;
}

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

.footer-bottom {
  border-top: 1px solid rgba(156, 163, 175, 0.55);
  text-align: center;
  padding: 0.75rem 1.25rem 1.2rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

