/* ============================================================
   fsDesign.css - Firehouse Solutions demo: design layer

   Loaded AFTER fsStyle.css and the header's inline styles.
   The page structure and layout are unchanged; this file only
   supplies the look: palette, glass top bar, banner glow and
   rising embers, apparatus stripe, Milonic menu classes, side
   column panels and buttons, content panel, and the footer.

   Re-skin a site by editing the variables in :root.
   Supporting graphics live in /images/svg/.
   ============================================================ */

:root {
	--fs-bg: #0B0D11;
	--fs-panel: #151920;
	--fs-panel-2: #1B2029;
	--fs-line: rgba(255, 255, 255, 0.08);
	--fs-red: #C8102E;
	--fs-red-bright: #E0142F;
	--fs-red-deep: #7F0A1E;
	--fs-gold: #FFC72C;
	--fs-gold-deep: #D99A00;
	--fs-ember: #FF6A13;
	--fs-text: #F4F6F8;
	--fs-muted: #AEB6C2;
	--fs-font: "DM Sans", Roboto, Arial, sans-serif;
	--fs-radius: 14px;
	--fs-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* ---- Page depth: soft vignette and a warm glow over the wallpaper ---- */
body::before {
	content: "";
	position: fixed;
	top: 0; right: 0; bottom: 0; left: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(120% 80% at 50% 0%, rgba(200, 16, 46, 0.14), transparent 55%),
		radial-gradient(90% 75% at 50% 55%, rgba(0, 0, 0, 0.35) 30%, rgba(0, 0, 0, 0.8) 100%);
}

/* ============================================================
   TOP BAR (glass strip above the banner)
   ============================================================ */
#page .fsTopBar {
	position: relative;
	z-index: 20;
	background: linear-gradient(90deg, rgba(6, 8, 11, 0.95), rgba(6, 8, 11, 0.82) 55%, rgba(6, 8, 11, 0.95));
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 199, 44, 0.28);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
#page .fsTopBar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 4px 10px;
}
#page .fsTopLeft {
	padding: 8px 12px;
}
#page .fsTopRight {
	text-align: right;
	padding: 8px 16px;
}
#page .fsTopMobile {
	text-align: center;
	padding: 8px 10px;
	width: 100%;
}
@media screen and (max-width: 800px) {
	#page .fsTopBar {
		justify-content: center;
	}
}

/* Links become quiet pills; separators become ember dots */
#page .fsTopBar .TopBar a {
	display: inline-block;
	padding: 5px 13px;
	border-radius: 999px;
	color: var(--fs-gold);
	text-decoration: none;
	font-weight: 700;
	transition: background 0.25s, color 0.25s, transform 0.25s;
}
#page .fsTopBar .TopBar a:hover {
	background: rgba(255, 199, 44, 0.14);
	color: #FFFFFF;
	text-decoration: none;
	transform: translateY(-1px);
}
#page .fsTopLinks span + span::before {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	margin: 0 4px 3px 4px;
	border-radius: 50%;
	background: var(--fs-red-bright);
	box-shadow: 0 0 7px var(--fs-red-bright);
	vertical-align: middle;
}

/* Emergency chip and non-emergency phone */
#page .fs911 {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-right: 14px;
	padding: 5px 14px 5px 11px;
	border-radius: 999px;
	background: linear-gradient(180deg, #E0142F, #9E0B22);
	color: #FFFFFF;
	font: 800 15px/1.2 var(--fs-font);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	box-shadow: 0 0 0 0 rgba(224, 20, 47, 0.55);
	animation: fsPulse 2.8s ease-out infinite;
}
#page .fs911 i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #FFFFFF;
	box-shadow: 0 0 10px #FFFFFF;
}
#page .fsPhone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #FFFFFF;
	vertical-align: middle;
}
#page .fsPhone svg {
	width: 18px;
	height: 18px;
	fill: var(--fs-gold);
	filter: drop-shadow(0 0 6px rgba(255, 199, 44, 0.6));
}
#page .fsPhone a {
	padding: 5px 10px;
}
@keyframes fsPulse {
	0%   { box-shadow: 0 0 0 0 rgba(224, 20, 47, 0.55); }
	70%  { box-shadow: 0 0 0 12px rgba(224, 20, 47, 0); }
	100% { box-shadow: 0 0 0 0 rgba(224, 20, 47, 0); }
}

/* Social buttons floating over the banner (desktop) and under it (mobile).
   The display rules sit inside media queries so the fleet .desktop/.mobile
   show-hide classes keep working. */
@media screen and (min-width: 801px) {
	#page .fsSocial {
		position: absolute;
		right: 18px;
		top: 58px;
		z-index: 30;
		display: flex;
		gap: 10px;
	}
}
@media screen and (max-width: 800px) {
	#page .fsSocialMobile {
		display: flex;
		justify-content: center;
		gap: 14px;
		margin-top: 12px;
	}
}
#page .fsSocial a,
#page .fsSocialMobile a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(10, 12, 16, 0.62);
	border: 1px solid rgba(255, 255, 255, 0.2);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #FFFFFF;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
	transition: transform 0.25s, background 0.25s, box-shadow 0.25s;
}
#page .fsSocialMobile a {
	width: 54px;
	height: 54px;
}
#page .fsSocial a svg,
#page .fsSocialMobile a svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}
#page .fsSocialMobile a svg {
	width: 26px;
	height: 26px;
}
#page .fsSocial a:hover,
#page .fsSocialMobile a:hover {
	transform: translateY(-3px) scale(1.06);
}
#page .fsSocial a.fb:hover,
#page .fsSocialMobile a.fb:hover {
	background: #1877F2;
	box-shadow: 0 10px 22px rgba(24, 119, 242, 0.45);
}
#page .fsSocial a.yt:hover,
#page .fsSocialMobile a.yt:hover {
	background: #FF0000;
	box-shadow: 0 10px 22px rgba(255, 0, 0, 0.45);
}

/* ============================================================
   BANNER (existing banner image, now with glow, embers and sheen)
   ============================================================ */
#page .fsBanner {
	position: relative;
	overflow: hidden;
	padding: 14px 0 10px 0;
	background:
		radial-gradient(70% 90% at 50% 115%, rgba(200, 16, 46, 0.32), transparent 65%),
		rgba(0, 0, 0, 0.38);
}

/* Two layers of rising embers: one behind the banner, one in front */
#page .fsBanner::before,
#page .fsBanner::after {
	content: "";
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	pointer-events: none;
	background-repeat: repeat;
	background-size: 320px 640px;
	opacity: 0.8;
	animation: fsEmbers 18s linear infinite;
}
#page .fsBanner::before {
	background-image:
		radial-gradient(3px 3px at 24px 600px, var(--fs-gold) 40%, transparent 70%),
		radial-gradient(2px 2px at 88px 520px, var(--fs-ember) 40%, transparent 70%),
		radial-gradient(2px 2px at 150px 610px, #FFF2B0 40%, transparent 70%),
		radial-gradient(3px 3px at 210px 470px, var(--fs-gold) 40%, transparent 70%),
		radial-gradient(2px 2px at 270px 560px, var(--fs-ember) 40%, transparent 70%),
		radial-gradient(2px 2px at 300px 380px, var(--fs-gold) 40%, transparent 70%),
		radial-gradient(3px 3px at 60px 300px, var(--fs-ember) 40%, transparent 70%),
		radial-gradient(2px 2px at 180px 200px, var(--fs-gold) 40%, transparent 70%),
		radial-gradient(2px 2px at 250px 120px, #FFF2B0 40%, transparent 70%),
		radial-gradient(3px 3px at 120px 40px, var(--fs-ember) 40%, transparent 70%);
}
#page .fsBanner::after {
	background-image:
		radial-gradient(2px 2px at 40px 560px, var(--fs-ember) 40%, transparent 70%),
		radial-gradient(2px 2px at 130px 480px, var(--fs-gold) 40%, transparent 70%),
		radial-gradient(1.5px 1.5px at 200px 620px, #FFF2B0 40%, transparent 70%),
		radial-gradient(2px 2px at 260px 400px, var(--fs-ember) 40%, transparent 70%),
		radial-gradient(1.5px 1.5px at 310px 260px, var(--fs-gold) 40%, transparent 70%),
		radial-gradient(2px 2px at 20px 180px, var(--fs-gold) 40%, transparent 70%),
		radial-gradient(1.5px 1.5px at 160px 90px, var(--fs-ember) 40%, transparent 70%);
	animation-duration: 27s;
	opacity: 0.5;
	filter: blur(0.6px);
}
@keyframes fsEmbers {
	from { background-position: 0 0; }
	to   { background-position: 0 -640px; }
}

/* The banner link: depth shadow and a slow light sweep across the artwork */
#page .fsBannerLink {
	position: relative;
	display: inline-block;
	width: 100%;
	max-width: 1200px;
	line-height: 0;
}
#page .fsBannerLink img {
	filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.7));
}
#page .fsBannerLink::after {
	content: "";
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	pointer-events: none;
	background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, 0.2) 50%, transparent 62%);
	mix-blend-mode: screen;
	transform: translateX(-120%);
	animation: fsSweep 9s ease-in-out infinite;
}
@keyframes fsSweep {
	0%, 18%   { transform: translateX(-120%); }
	60%, 100% { transform: translateX(120%); }
}

/* ============================================================
   MAIN NAVIGATION (Milonic menu, styled through its item classes)
   ============================================================ */
/* NOTE: .fsNav must stay unpositioned. Milonic writes its drop-down
   containers inside this div with position:absolute, so a positioned
   (sticky/relative) nav would become their containing block and the
   drop-downs would open in the wrong place. */
#page .fsNav {
	background: linear-gradient(180deg, #1C2027 0%, #0F1217 100%);
	border-bottom: 1px solid rgba(255, 199, 44, 0.4);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
/* Apparatus chevron stripe along the top edge of the nav */
#page .fsNav::before {
	content: "";
	display: block;
	height: 6px;
	background: url(/images/svg/stripe.svg) repeat-x center top;
	background-size: auto 6px;
}
#page .fsNav > div {
	width: fit-content;
	margin: 0 auto;
}

/* Milonic items: off / on (hover) classes set in public_menu.cfm.
   Milonic puts the class on the table cell AND on the link inside it,
   so the cell carries the underline and the link carries the text. */
.fsNavOff,
.fsNavOn {
	font-family: var(--fs-font) !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #E9ECF1 !important;
	background: transparent !important;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: color 0.2s;
}
td.fsNavOff,
td.fsNavOn {
	position: relative;
}
.fsNavOn {
	color: var(--fs-gold) !important;
}
td.fsNavOff::after,
td.fsNavOn::after {
	content: "";
	position: absolute;
	left: 22px;
	right: 22px;
	bottom: 7px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--fs-red-bright), var(--fs-gold));
	box-shadow: 0 0 12px rgba(255, 199, 44, 0.55);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.25s ease;
}
td.fsNavOn::after {
	transform: scaleX(1);
}

/* Members Area call to action: outlined pill that fills gold on hover */
td.fsNavCta::after {
	display: none;
}
td.fsNavCta > a {
	height: 34px !important;
	margin: 7px 4px;
	border: 1px solid rgba(255, 199, 44, 0.55) !important;
	border-radius: 999px;
	background: rgba(255, 199, 44, 0.08) !important;
	color: var(--fs-gold) !important;
	box-shadow: 0 0 14px rgba(255, 199, 44, 0.12);
	transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
td.fsNavCta.fsNavOn > a {
	background: linear-gradient(180deg, #FFD760, #E8AE00) !important;
	color: #111111 !important;
	box-shadow: 0 0 20px rgba(255, 199, 44, 0.45);
}

/* Drop-down items (cell carries the accent bar, link carries the text) */
.fsSubOff,
.fsSubOn {
	font-family: var(--fs-font) !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #E9ECF1 !important;
	background: transparent !important;
	text-decoration: none !important;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}
td.fsSubOff,
td.fsSubOn {
	padding: 0 18px 0 15px !important;
	border-left: 3px solid transparent !important;
	text-align: left !important;
}
td.fsSubOff > a,
td.fsSubOn > a {
	text-align: left !important;
}
.fsSubOn {
	color: var(--fs-gold) !important;
}
td.fsSubOn {
	background: rgba(255, 255, 255, 0.06) !important;
	border-left-color: var(--fs-gold) !important;
}

/* ============================================================
   MOBILE BAR (mmenu hamburger strip, visible under 800px)
   ============================================================ */
@media screen and (max-width: 800px) {
	#page #header {
		position: relative;
		background: linear-gradient(180deg, #1C2027, #0F1217);
		border-bottom: 1px solid rgba(255, 199, 44, 0.4);
		box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
		font-family: var(--fs-font);
		font-size: 17px;
		letter-spacing: 0.02em;
		color: #FFFFFF;
		padding: 14px 56px 12px 56px;
		min-height: 50px;
	}
	#page #header::before {
		content: "";
		position: absolute;
		left: 0; right: 0; top: 0;
		height: 4px;
		background: url(/images/svg/stripe.svg) repeat-x center top;
		background-size: auto 4px;
	}
	#page #header a {
		background-image: url(/images/svg/menu.svg);
		background-size: 26px 26px;
		top: 7px;
		left: 8px;
		width: 42px;
		height: 42px;
	}
}

/* ============================================================
   LEFT COLUMN
   ============================================================ */
#page .column {
	position: relative;
	flex: 0 0 250px;
	background-color: #12151B;
	background-image: linear-gradient(180deg, #171B22, #0F1216);
	border: 1px solid var(--fs-line);
	border-radius: var(--fs-radius);
	box-shadow: var(--fs-shadow);
}
#page .column::before {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 4px;
	border-radius: var(--fs-radius) var(--fs-radius) 0 0;
	background: linear-gradient(90deg, var(--fs-red-bright), var(--fs-gold));
}

/* Social buttons in the column */
#page .fsBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 210px;
	height: 49px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	font: 700 20px/1 var(--fs-font);
	color: #FFFFFF;
	text-decoration: none;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
	transition: transform 0.25s, box-shadow 0.25s;
}
#page .fsBtn svg {
	width: 24px;
	height: 24px;
	fill: #FFFFFF;
}
#page .fsBtnFB { background: linear-gradient(180deg, #2D8BFF, #1666D0); }
#page .fsBtnYT { background: linear-gradient(180deg, #FF2A2A, #C40000); }
#page .fsBtn:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 26px rgba(0, 0, 0, 0.5);
	color: #FFFFFF;
	text-decoration: none;
}

/* Side headings ("Upcoming Events") */
#page .fsSideHead {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 93%;
	margin: 0 auto;
	padding: 8px 10px;
	border-radius: 10px;
	background: linear-gradient(180deg, #DA1636, #8C0B22);
	color: var(--fs-gold);
	font: 700 16px/1.2 var(--fs-font);
	letter-spacing: 0.07em;
	text-transform: uppercase;
	box-shadow: 0 8px 18px rgba(200, 16, 46, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
#page .fsSideHead svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
	filter: drop-shadow(0 0 5px rgba(255, 199, 44, 0.7));
}

/* Event rows */
#page .fsEventDate {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #FFFFFF;
	font: 700 16px/1.3 var(--fs-font);
	text-align: left;
}
#page .fsEventDate svg {
	width: 16px;
	height: 16px;
	fill: var(--fs-gold);
	flex: 0 0 auto;
}
#page .fsEventTitle {
	text-align: left;
	padding: 2px 0 4px 22px;
	font: 700 17px/1.3 var(--fs-font);
}
#page .fsEventTitle a {
	color: var(--fs-gold);
	text-decoration: none;
	transition: color 0.2s;
}
#page .fsEventTitle a:hover {
	color: #FFFFFF;
	text-decoration: underline;
}
#page .fsRule {
	height: 1px;
	margin: 6px 0 10px 0;
	background: linear-gradient(90deg, transparent, rgba(255, 199, 44, 0.5), transparent);
}
#page .fsMore {
	display: inline-block;
	padding: 6px 16px;
	border-radius: 999px;
	border: 1px solid rgba(255, 199, 44, 0.5);
	color: var(--fs-gold);
	font: 700 14px/1.2 var(--fs-font);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.25s, color 0.25s, transform 0.25s;
}
#page .fsMore:hover {
	background: var(--fs-gold);
	color: #111111;
	text-decoration: none;
	transform: translateY(-2px);
}

/* Stats box (fleet include, restyled) */
#page .StatsBoxTable {
	border-collapse: separate;
	border-spacing: 2px;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--fs-line);
	background: rgba(0, 0, 0, 0.35);
}
#page .StatsBoxTitle {
	background: linear-gradient(180deg, #DA1636, #8C0B22);
	color: var(--fs-gold);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-size: 15px;
	padding: 7px 6px;
}
#page .StatsBoxCell {
	background: rgba(255, 255, 255, 0.04);
	padding: 5px 6px;
}

/* ============================================================
   CONTENT AREA
   ============================================================ */
#page .contentarea {
	/* Solid panel: the header's inline rule forces background-image to
	   none here, so the color alone has to carry it (no gradient). */
	background-color: #0E1015;
	border: 1px solid var(--fs-line);
	border-radius: var(--fs-radius);
	box-shadow: var(--fs-shadow);
	padding: 14px 16px;
}

/* National Weather Service alert box (fleet include) */
#page .WeatherBox {
	background: linear-gradient(90deg, rgba(200, 16, 46, 0.22), rgba(200, 16, 46, 0.06));
	border: 1px solid rgba(200, 16, 46, 0.45);
	border-left: 4px solid var(--fs-red-bright);
	border-radius: 10px;
	padding: 8px 12px;
}

/* ============================================================
   FOOTER
   ============================================================ */
#page .fsFooter {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, #7F0A1E, #4A0512);
	border-top: 1px solid rgba(255, 199, 44, 0.45);
	border-bottom: 1px solid #000000;
	width: 100%;
	color: #FFFFFF;
}
#page .fsFooter::before {
	content: "";
	position: absolute;
	left: 0; right: 0; top: 0;
	height: 5px;
	background: url(/images/svg/stripe.svg) repeat-x center top;
	background-size: auto 5px;
}
#page .fsFooter::after {
	content: "";
	position: absolute;
	right: -50px;
	bottom: -70px;
	width: 320px;
	height: 320px;
	background: url(/images/svg/maltese.svg) no-repeat center;
	background-size: contain;
	opacity: 0.09;
	pointer-events: none;
}
#page .fsFooter a:hover {
	color: var(--fs-gold);
}
div.fsCopy {
	background: #07080A;
	border-top: 1px solid var(--fs-line);
	color: var(--fs-muted);
	font-weight: 500;
	font-size: 15px;
}

/* ============================================================
   MOBILE ADJUSTMENTS
   ============================================================ */
@media screen and (max-width: 800px) {
	#page .fsBanner {
		padding: 8px 6px 6px 6px;
	}
	#page .fsTopBar .TopBar a {
		padding: 4px 9px;
		font-size: 16px;
	}
	#page .column::before {
		border-radius: var(--fs-radius) var(--fs-radius) 0 0;
	}
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
	#page .fsBanner::before,
	#page .fsBanner::after,
	#page .fsBannerLink::after,
	#page .fs911 {
		animation: none;
	}
	#page .fsBannerLink::after {
		display: none;
	}
}
