/* Critical first-paint CSS so bootstrap + main.css can be deferred.
   Full theme styles still load immediately after; this only covers
   header + hero + basic box model so LCP is not blocked on 340 KB CSS. */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  color: #342c26;
  background-color: #e6efe2;
  font-family: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: #21CF0A; text-decoration: none; }

:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
  --background-color: #ffffff;
  --default-color: #342c26;
  --heading-color: #2c1607;
  --accent-color: #21CF0A;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --nav-color: #ffffff;
  --nav-hover-color: #21CF0A;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

.container, .container-fluid, .container-xl {
  width: 100%;
  padding-left: 12px;
  padding-right: 12px;
  margin-left: auto;
  margin-right: auto;
}
.d-flex { display: flex !important; }
.align-items-center { align-items: center !important; }
.me-auto { margin-right: auto !important; }
.position-relative { position: relative !important; }
.d-none { display: none !important; }
@media (min-width: 576px) {
  .d-sm-block { display: block !important; }
}
@media (min-width: 1200px) {
  .container, .container-xl { max-width: 1140px; }
  .d-xl-none { display: none !important; }
}
@media (min-width: 1400px) {
  .container-xl { max-width: 1320px; }
}

/* Header */
#header.header,
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 997;
  color: #fff;
  background-color: rgba(22, 15, 9, 0.94);
  padding: 15px 0;
  transition: none;
}
#header.header .container-xl,
#header.header .container-fluid {
  display: flex;
  align-items: center;
}
#header .logo { display: flex; align-items: center; line-height: 1; }
#header .logo img,
#header .sitename-logo {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
  max-height: 80px;
  margin-right: 8px;
}

/* Hide the full nav list until the theme CSS arrives (desktop flex / mobile overlay). */
@media (max-width: 1199.98px) {
  #header .navmenu > ul { display: none; }
  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-left: 8px;
    border: 2px solid #fff;
    border-radius: 12px;
    background: #21CF0A;
    color: #111;
    font-size: 28px;
    cursor: pointer;
  }
}

/* Hero / page banner: keep a stable box so LCP does not wait on late CSS. */
.page-title.home-banner {
  position: relative;
  display: block;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background-color: #1a2b1a;
  padding: 160px 0 88px;
}
@media (max-width: 991.98px) {
  .page-title.home-banner,
  #hero.page-title.home-banner {
    padding: 128px 20px 56px;
  }
}
@media (max-width: 400px) {
  .page-title.home-banner,
  #hero.page-title.home-banner {
    padding-top: 116px;
    padding-bottom: 48px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}
