/*
 * [20261018] Custom CSS for the 20261016 service-page template fork (barebones/full_barebones_template).
 *
 * This file exists ONLY for things that genuinely have no Bootstrap 5 equivalent (brand colors, one-off
 * values) per the project's triage rule: (1) maps to a Bootstrap component -> use Bootstrap classes on the
 * existing markup, (2) close to Bootstrap's utility scale -> use Bootstrap utilities, (3) truly bespoke ->
 * lands here. style.css and every other pre-existing theme CSS file are READ-ONLY references and are never
 * edited for this migration — values below are copied, not moved, from style.css's :root block.
 *
 * Enqueued only by header-20261016.php, after the compiled Bootstrap build.
 */

/* Brand custom properties, mirrored read-only from style.css's :root block (that file is not loaded by
   header-20261016.php, so these are otherwise undefined there — breaking every var(--dark-color) /
   var(--gold-color) usage already present in the existing header/footer/template markup, e.g. the mobile
   off-canvas menu background, #menu_right's cart/contact backgrounds, the gold top-bar gradient). */
:root {
	--red-color-kl: #C40233;
	--gold-color: #ad9625;
	--gray-color: #E6E6E6;
	--dark-color: #0A0A0A;
	--text-color-site: #333;
	--color-pswd-reset: #0095f6;
}

/* Mobile off-canvas menu (#the-mobile-menu): Bootstrap 5's Offcanvas component defaults its background to
   white (--bs-offcanvas-bg: var(--bs-body-bg)). The old nav.mobilemenu/style.css class set
   background-color:var(--dark-color) directly; since we swapped to Bootstrap's own .offcanvas class (see
   header-20261016.php), this restores the same look. Tried overriding Bootstrap's own --bs-offcanvas-bg
   variable first (the more idiomatic route) but it did not cascade as expected here — direct properties
   with !important, verified working via live inspection, used instead. */
#the-mobile-menu.offcanvas {
	background-color: var(--dark-color) !important;
	color: #fff !important;
}

/* [20261018] The desktop/mobile nav menu (#mobile_menu_container, populated client-side by menu-descktop.js
   via jQuery) renders its links with inline style="color:white" already, and getComputedStyle() confirms
   that resolves correctly — yet the text does not visibly paint until a style change is forced via script,
   at which point it renders immediately and correctly. Root cause not fully isolated (ruled out: missing
   style.css rules — none set color here; !important conflicts — none found; content-visibility/contain/
   transform/isolation on every ancestor — all default/none). Forcing the color here, matching the behavior
   already proven to work, as a pragmatic fix. */
#mobile-menu-container a,
#mobile_menu_load a {
	color: #fff !important;
}

/* [20261018] Full mobile-nav-menu item family, read-only copy from style.css (lines ~449-491), covering
   everything the shared NV_Header_Mobile_Menu_Walker (functions.php) markup and the existing toggle JS
   (footer-20261016.php's SimplifiedCore()) already rely on. An earlier pass only ported the submenu
   collapse + chevron rotation rules; a full audit of every style.css selector touching this DOM subtree
   (navbar-brand, navbar-toggler, menu-item padding/border/font-weight, nested-level font-size scaling,
   active-item background highlight) found 9 more missing rules — all added below. Bucket 3 (bespoke, tied
   to this site's own class names from a shared PHP Walker, not a generic Bootstrap pattern). */

/* Logo sizing (desktop/mobile nav bar) */
.navbar-brand {
	width: 30%;
	margin: 0px !important;
	padding-top: .5rem !important;
	padding-bottom: .5rem !important;
}

/* Hamburger toggle button's active (pressed/open) state */
button.navbar-toggler {
	transition: background-color 0.25s linear;
}
button.navbar-toggler.active {
	background-color: white;
}
button.navbar-toggler.active > svg > g > path {
	fill: black;
}

/* Submenu chevron rotation on expand/collapse */
div.nv-display-submenu {
	margin: 0px;
	padding: 0 15px;
	transition: transform 0.3s;
}
div.nv-display-submenu.active {
	transform: rotate(180deg);
}

/* Per-item padding, transition, and (level-0 only) tighter horizontal padding */
li.menu-item.nv-mobile-menu {
	padding: 5px 0px 5px 15px;
	transition: background-color 0.5s;
}
li.menu-item.nv-mobile-menu.nv-mobile-menu-level-0 {
	padding: 5px 15px;
}

/* Border-bottom separator between items, and the link's font-weight */
li.menu-item.nv-mobile-menu > div {
	padding: 5px 0px;
	border-bottom: 1px solid #333;
}
li.menu-item.nv-mobile-menu > div > a {
	font-weight: 300;
}

/* Submenu collapse mechanism (the toggle JS already correctly adds/removes "nv-hide-submenu" via
   jQuery .toggleClass() on click — this is just the CSS that makes that class actually collapse) */
li > ul.sub-menu.nv-mobile-submenu {
	list-style: none;
	padding: 0px;
	max-height: 2000px;
	transition: max-height 0.5s;
}
li > ul.sub-menu.nv-hide-submenu {
	max-height: 1px;
	overflow: hidden;
}

/* Nested-level font-size scaling */
li.menu-item.nv-mobile-menu.nv-mobile-menu-level-1 > div > a {
	font-size: 90%;
}
li.menu-item.nv-mobile-menu.nv-mobile-menu-level-2 > div > a,
li.menu-item.nv-mobile-menu.nv-mobile-menu-level-3 > div > a {
	font-size: 80%;
}

/* Active (currently-expanded) item background highlight */
li.menu-item.nv-mobile-menu.nv-mobile-menu-level-0.active {
	background-color: #484848;
}
li.menu-item.nv-mobile-menu.nv-mobile-menu-level-1.active {
	background-color: #686868;
}

/* [20261018] Overnight full-page sweep, entry 4: .general-buttons is a site-wide generic button class
   (style.css lines ~698-720), used once in 20261016-service-page.php (the contact-box "Contact Us Now"
   button, which also opens the #modal-contact-form-new Bootstrap modal via data-bs-toggle). Without this,
   the button fell back to a plain default button look instead of the gold gradient pill v1 shows. Read-only
   copy from style.css. Bucket 3 (bespoke brand button style, not a Bootstrap pattern/utility). */
.general-buttons {
	background-image: linear-gradient(45deg, #cbbd7c 10%, var(--gold-color) 50%, #cbbd7c 100%);
	border: 2px solid transparent !important;
	border-radius: 40px !important;
	cursor: pointer;
	color: white !important;
	display: inline-block;
	padding: .375rem 2.75rem;
	text-align: center;
	transition: all .25s cubic-bezier(.175, .885, .32, 1.275);
}
.general-buttons:hover {
	color: black !important;
	background-color: white !important;
	background-image: none;
	border: 2px solid var(--gold-color) !important;
}

/* [20261018] Overnight sweep, entry 8: footer (#colophon, footer.site-footer) had no background color at
   all in v2 (transparent -> fell back to white body bg), unlike v1's dark `--dark-color` footer. Root cause
   of Entry 6's earlier "inconclusive" footer investigation -- the entire footer visually reading as
   "different" was this missing background plus knock-on white-on-white text, not a layout/spacing bug.
   Read-only copy from style.css (lines ~510, ~524-528, ~573-585) -- the full set of selectors needed for
   the footer's dark background + white text treatment this template's own existing footer markup relies on.
   Bucket 3 (bespoke site-wide footer theming, no Bootstrap equivalent). */
footer.site-footer {
	background: var(--dark-color);
	width: 100%;
	text-align: center;
	color: #fff;
}
footer small a,
footer small a:hover {
	color: #fff;
	text-decoration: none;
}
.copyright {
	background: var(--dark-color);
	padding: 30px 0;
	text-align: center;
}
.copyright a {
	color: white !important;
	text-decoration: none !important;
	font-weight: inherit !important;
}
.nv_footer_simplified_group {
	text-align: center;
}
.nv_footer_simplified_group > h4 {
	color: #fff;
}
div.nv_footer_simplified > div > p {
	color: #fff;
}

/* [20261019] Mobile offcanvas menu (#the-mobile-menu): the panel has a fixed 600px height (inline style
   max-height:600px, Bootstrap's own .offcanvas sets height:100%/bottom:0, the max-height wins), but the
   nav tree + the two JS-appended trailing items (cart/CONTACT row #nv-mobile-menu-Lang-Switcher, gold
   phone/social-icons row #menu-additiona-golden -- both originally server-rendered into #mobile_menu_load,
   then jQuery-appended as the last two <li> of the main nav <ul>, see footer-20261016.php's
   SimplifiedCore()) only add up to ~550px, leaving a large empty gap below them before the panel's bottom
   edge. Pushing those last two items down to the bottom of the panel instead, flexbox "push to bottom"
   pattern (margin-top:auto on the first of the two trailing items) rather than hardcoded fixed offsets, so
   it keeps working if the nav list's own height ever changes. Requires height:100% cascaded down through
   every wrapper div between the panel and the <ul> since only the <ul> itself can be the flex container.
   Bucket 3 (bespoke, tied to this site's own shared-Walker markup, not a generic Bootstrap pattern). */
#mobile_menu_container,
#mobile_menu_container > div {
	height: 100%;
}
#mobile_menu_container .ul-mobile-menu {
	display: flex;
	flex-direction: column;
	height: 100%;
}
#nv-mobile-menu-Lang-Switcher {
	margin-top: auto;
}

/* [20261019] Owner report: desktop header/logo "doesn't look like v1" at wide desktop widths (1920x1080).
   Root cause: style.css has 3 progressive horizontal-padding tiers for #navbar_main_menu (pushes the logo
   in from the edge as the viewport widens) and 5 progressive padding-right tiers for .gold_banner (the top
   bar) -- none of which were ever ported, because every breakpoint check made throughout this migration
   topped out around 1500px and never actually tested a true wide-desktop width like 1920px where this
   becomes clearly visible. Read-only copies from style.css (lines ~930-972, ~1034-1041), same literal
   breakpoint pixel values as the source (not remapped to stock BS5 breakpoints) since this is a plain
   visual-parity restoration, not the deliberate container-width exception made earlier in this project.
   Bucket 3 (bespoke, wide-viewport-only header spacing, no Bootstrap utility equivalent at these exact
   values). */
@media screen and (min-width: 1025px) {
	#navbar_main_menu { padding: 0px 25px; }
	.gold_banner { padding-right: 50px; }
}
@media screen and (min-width: 1200px) {
	#navbar_main_menu { padding: 0px 50px; }
	.gold_banner { padding-right: 90px; }
}
@media screen and (min-width: 1440px) {
	.gold_banner { padding-right: 96px; }
}
@media screen and (min-width: 1441px) {
	#navbar_main_menu { padding: 0px 100px; }
	.gold_banner { padding-right: 140px; }
}
@media screen and (min-width: 1920px) {
	.gold_banner { padding-right: 244px; }
}
@media screen and (min-width: 2560px) {
	.gold_banner { padding-right: 213px; }
}
