@charset "UTF-8";
/*!
* Northbury Publishing - Main Stylesheet
* Based on Bootstrap 5.3.0
*/

:root {
  --nb-dark-green: #1A3C34;
  --nb-green: #2E7D52;
  --nb-light-green: #74C69D;
  --nb-gold: #C9A227;
  --nb-light-gold: #E8C84A;
  --nb-cream: #F8F5EE;

  --bs-blue: #0d6efd;
  --bs-indigo: #6610f2;
  --bs-purple: #6f42c1;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --col-forest: #1A3C34;
  --col-light-forest: #2E7D52;
  --col-gold: #C9A227;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-primary-rgb: 26, 60, 52;
  --bs-secondary-rgb: 201, 162, 39;
  --bs-success-rgb: 25, 135, 84;
  --bs-info-rgb: 13, 202, 240;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger-rgb: 220, 53, 69;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 33, 37, 41;
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-body-color-rgb: 33, 37, 41;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-font-sans-serif: "Lato", "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
  --bs-body-color: #212529;
  --bs-body-bg: #fff;
  --bs-border-width: 1px;
  --bs-border-style: solid;
  --bs-border-color: #dee2e6;
  --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
  --bs-border-radius: 0.375rem;
  --bs-border-radius-sm: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-2xl: 2rem;
  --bs-border-radius-pill: 50rem;
  --bs-link-color: #2E7D52;
  --bs-link-hover-color: #1A3C34;
  --bs-code-color: #d63384;
  --bs-highlight-bg: #fff3cd;
}

:root {
  --bs-primary: var(--nb-dark-green);
  --bs-secondary: var(--nb-gold);
  --accent-color: #212529;
}

:root {
  --nav-txt-color: #ffffff;
  --nav-bg-color: transparent;
  --nav-hover-color: var(--nb-gold);
  --nav-mobile-bg-color: var(--nb-dark-green);
  --nav-dropdown-background-color: var(--nb-dark-green);
  --nav-dropdown-txt-color: #ffffff;
  --nav-dropdown-hover-color: var(--nb-gold);
  --nav-font: "Lato", system-ui, sans-serif;
  --heading-font: "Playfair Display", Georgia, serif;
}

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

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

html, body {
  margin: 0;
  padding: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

body {
  margin: 0;
  font-family: var(--bs-body-font-family);
  font-size: var(--bs-body-font-size);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  overflow-y: scroll;
}

hr {
  margin: 1rem 0;
  color: inherit;
  border: 0;
  border-top: 1px solid;
  opacity: 0.25;
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

h1, .h1 { font-size: calc(1.375rem + 1.5vw); }
@media (min-width: 1200px) { h1, .h1 { font-size: 2.5rem; } }

h2, .h2 { font-size: calc(1.325rem + 0.9vw); }
@media (min-width: 1200px) { h2, .h2 { font-size: 2rem; } }

h3, .h3 { font-size: calc(1.3rem + 0.6vw); }
@media (min-width: 1200px) { h3, .h3 { font-size: 1.75rem; } }

h4, .h4 { font-size: calc(1.275rem + 0.3vw); }
@media (min-width: 1200px) { h4, .h4 { font-size: 1.5rem; } }

h5, .h5 { font-size: 1.25rem; }
h6, .h6 { font-size: 1rem; }

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: var(--nb-green);
  text-decoration: none;
}

a:hover {
  color: var(--nb-dark-green);
}

img, svg {
  vertical-align: middle;
}

/* ============================================================
   Bootstrap 5 grid + utilities (minimal subset)
   ============================================================ */
.container {
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

.col { flex: 1 0 0%; }
.col-lg-4 { flex: 0 0 auto; width: 33.33333%; }
.col-lg-5 { flex: 0 0 auto; width: 41.66667%; }
.col-lg-6 { flex: 0 0 auto; width: 50%; }
.col-lg-8 { flex: 0 0 auto; width: 66.66667%; }
.col-md-6 { width: 100%; }
.col-12 { flex: 0 0 auto; width: 100%; }

@media (min-width: 768px) {
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .row-cols-md-2 > * { flex: 0 0 auto; width: 50%; }
  .row-cols-md-3 > * { flex: 0 0 auto; width: 33.33333%; }
  .order-md-0 { order: 0; }
}

@media (min-width: 992px) {
  .col-lg-4 { flex: 0 0 auto; width: 33.33333%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.66667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.66667%; }
  .row-cols-lg-3 > * { flex: 0 0 auto; width: 33.33333%; }
  .order-lg-1 { order: 1; }
  .order-lg-2 { order: 2; }
  .d-lg-block { display: block !important; }
  .d-xl-none { display: none !important; }
}

@media (min-width: 1200px) {
  .d-xl-none { display: none !important; }
}

.g-4 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; }
.gy-4 { --bs-gutter-y: 1.5rem; }
.gy-5 { --bs-gutter-y: 3rem; }
.gx-5 { --bs-gutter-x: 3rem; }

.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.align-items-center { align-items: center !important; }

.d-flex { display: flex !important; }
.d-grid { display: grid !important; }
.d-none { display: none !important; }
.d-block { display: block !important; }

.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.flex-column { flex-direction: column !important; }

@media (min-width: 768px) {
  .flex-md-row { flex-direction: row !important; }
  .d-sm-flex { display: flex !important; }
  .justify-content-sm-center { justify-content: center !important; }
}

.text-start { text-align: left !important; }
.text-center { text-align: center !important; }
.text-white { color: #fff !important; }
.text-white-50 { color: rgba(255,255,255,0.5) !important; }

.fw-bolder { font-weight: bolder !important; }
.fw-bold { font-weight: 700 !important; }

.display-5 { font-size: calc(1.425rem + 2.1vw); font-weight: 300; line-height: 1.2; }
@media (min-width: 1200px) { .display-5 { font-size: 3rem; } }

.lead { font-size: 1.25rem; font-weight: 300; }

.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }

.img-fluid { max-width: 100%; height: auto; }

.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }

.my-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-3 { margin-top: 1rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.m-0 { margin: 0 !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.px-4 { padding-right: 1.5rem !important; padding-left: 1.5rem !important; }
.px-5 { padding-right: 3rem !important; padding-left: 3rem !important; }

.bg-black { background-color: #000 !important; }
.bg-dark  { background-color: #212529 !important; }

.opacity-50 { opacity: 0.5 !important; }

.order-1 { order: 1; }
.order-2 { order: 2; }

.mt-lg-0 { margin-top: 0 !important; }
@media (min-width: 992px) {
  .mt-lg-0 { margin-top: 0 !important; }
  .order-lg-1 { order: 1 !important; }
  .order-lg-2 { order: 2 !important; }
  .flex-lg-row { flex-direction: row !important; }
}

.fst-italic { font-style: italic !important; }

/* ============================================================
   Bootstrap Buttons
   ============================================================ */
.btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-lg { padding: 0.5rem 1rem; font-size: 1.25rem; border-radius: 0.5rem; }
.btn-sm { padding: 0.25rem 0.5rem; font-size: 0.875rem; border-radius: 0.25rem; }

.btn-primary {
  color: #fff;
  background-color: var(--nb-dark-green);
  border-color: var(--nb-dark-green);
}
.btn-primary:hover {
  background-color: var(--nb-green);
  border-color: var(--nb-green);
  color: #fff;
}

.btn-outline-light {
  color: #f8f9fa;
  border-color: #f8f9fa;
}
.btn-outline-light:hover {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}

.btn-outline-secondary {
  color: #6c757d;
  border-color: #6c757d;
}
.btn-outline-secondary:hover {
  color: #fff;
  background-color: var(--nb-green);
  border-color: var(--nb-green);
}

/* ============================================================
   Bootstrap Nav / Tabs
   ============================================================ */
.nav { display: flex; flex-wrap: wrap; padding-left: 0; margin-bottom: 0; list-style: none; }
.nav-link { display: block; padding: 0.5rem 1rem; color: var(--nb-green); text-decoration: none; transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; }
.nav-tabs { border-bottom: 1px solid #dee2e6; }
.nav-tabs .nav-link { margin-bottom: -1px; background: none; border: 1px solid transparent; border-top-left-radius: 0.375rem; border-top-right-radius: 0.375rem; }
.nav-tabs .nav-link.active { color: #495057; background-color: #fff; border-color: #dee2e6 #dee2e6 #fff; }
.tab-content > .tab-pane { display: none; }
.tab-content > .active { display: block; }
.fade { transition: opacity 0.15s linear; }
.fade:not(.show) { opacity: 0; }

/* ============================================================
   Bootstrap Navbar
   ============================================================ */
.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

/* ============================================================
   Header & Navbar
   ============================================================ */
.header {
  background-color: rgba(26, 60, 52, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
  padding: 20px 0;
  transition: padding 0.4s ease;
  z-index: 997;
}

.header .logo img {
  max-height: 48px;
  margin-right: 8px;
}

body.scrolled .header {
  padding: 12px 0;
}

/* Navmenu — desktop flat links */
@media (min-width: 1200px) {
  .navmenu { padding: 0; display: flex; }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 36px;
  }

  .navmenu li { position: relative; }

  .navmenu a, .navmenu a:focus {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-family: var(--nav-font);
    font-weight: 700;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.25s ease;
    border-bottom: none;
    padding: 0;
    white-space: nowrap;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nb-gold);
    border-bottom: none;
  }

  /* Dropdown */
  .navmenu .dropdown > a { gap: 6px; }
  .navmenu a i.toggle-dropdown { font-size: 10px; }
  .navmenu .dropdown ul {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background-color: rgba(26, 60, 52, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    min-width: 210px;
    padding: 6px 0;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    list-style: none;
    margin: 0;
    z-index: 1000;
  }
  .navmenu .dropdown:hover > ul { display: block; }
  .navmenu .dropdown ul li a {
    font-size: 12px;
    padding: 8px 18px;
    display: block;
    color: rgba(255, 255, 255, 0.8) !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
  }
  .navmenu .dropdown ul li a:hover { color: var(--nb-gold) !important; }
}

/* Navmenu — mobile: hide the inline ul, overlay handles navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: #ffffff;
    font-size: 28px;
    line-height: 0;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: color 0.3s;
    z-index: 9999;
    position: relative;
  }

  .navmenu { padding: 0; display: none; }
  .navmenu ul { display: none !important; }
}

/* ============================================================
   Full-page nav overlay
   ============================================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--nb-dark-green);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-overlay__close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.25s ease;
  padding: 0;
}

.nav-overlay__close:hover { color: var(--nb-gold); }

.nav-overlay__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.nav-overlay__list li { margin: 0.4rem 0; }

.nav-overlay__list a {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: block;
  padding: 0.3rem 0;
  transition: color 0.25s ease;
}

.nav-overlay__list a:hover { color: var(--nb-gold); }

.nav-overlay__link--sub {
  font-size: clamp(1rem, 2.5vw, 1.5rem) !important;
  color: rgba(255, 255, 255, 0.45) !important;
  padding: 0.1rem 0 !important;
  letter-spacing: 0.05em;
}

.nav-overlay__tagline {
  margin-top: 3rem;
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--nav-font);
}
