/* Business Header Footer Pro — styles
   Colors come from CSS variables set live by the Customizer (see includes/customizer.php).
   Fallbacks are provided here in case that inline block hasn't loaded yet. */

:root {
	--bhf-primary: #c0392b;
	--bhf-nav-bg: #ffffff;
	--bhf-nav-text: #1a1a1a;
	--bhf-hero-bg: #1a1a1a;
	--bhf-hero-text: #ffffff;
	--bhf-footer-bg: #1a1a1a;
	--bhf-footer-text: #dddddd;
}

.bhf-header, .bhf-footer, .bhf-header *, .bhf-footer * {
	box-sizing: border-box;
}

/* ---------------- HERO ---------------- */
.bhf-hero {
	background-color: var(--bhf-hero-bg);
	color: var(--bhf-hero-text);
	padding: 56px 24px;
	text-align: center;
}
.bhf-hero-inner {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}
.bhf-hero-logo {
	max-height: 90px;
	width: auto;
	display: block;
}
.bhf-hero-name-link, .bhf-hero-logo-link {
	text-decoration: none;
	color: inherit;
}
.bhf-hero-name {
	font-size: 2.2rem;
	margin: 0;
	font-weight: 700;
	letter-spacing: .5px;
	color: var(--bhf-hero-text);
}
.bhf-hero-tagline {
	margin: 0;
	font-size: 1.05rem;
	opacity: .85;
}

/* ---------------- NAV BAR ---------------- */
.bhf-navbar {
	background-color: var(--bhf-nav-bg);
	border-bottom: 1px solid rgba(0,0,0,.08);
	position: relative;
	z-index: 999;
}
.bhf-sticky {
	position: sticky;
	top: 0;
}
.bhf-navbar-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 24px;
}
.bhf-navbar-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--bhf-nav-text);
}
.bhf-navbar-logo {
	height: 40px;
	width: auto;
}
.bhf-navbar-name {
	font-weight: 700;
	font-size: 1.1rem;
}

.bhf-navbar-menu {
	display: flex;
	align-items: center;
	gap: 24px;
}
.bhf-menu {
	list-style: none;
	display: flex;
	gap: 22px;
	margin: 0;
	padding: 0;
}
.bhf-menu a {
	text-decoration: none;
	color: var(--bhf-nav-text);
	font-weight: 500;
	font-size: .95rem;
	padding: 6px 2px;
	border-bottom: 2px solid transparent;
	transition: border-color .2s ease, color .2s ease;
}
.bhf-menu a:hover,
.bhf-menu a:focus {
	color: var(--bhf-primary);
	border-color: var(--bhf-primary);
}
.bhf-menu .current-menu-item > a {
	color: var(--bhf-primary);
	border-color: var(--bhf-primary);
}
.bhf-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
/* Sub-menu dropdown (desktop) */
.bhf-menu li {
	position: relative;
}
.bhf-menu li ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--bhf-nav-bg);
	min-width: 190px;
	box-shadow: 0 8px 20px rgba(0,0,0,.12);
	padding: 8px 0;
	border-radius: 6px;
}
.bhf-menu li:hover > ul {
	display: block;
}
.bhf-menu li ul li a {
	display: block;
	padding: 8px 16px;
	border: none;
}

/* ---------------- SOCIAL ICONS ---------------- */
.bhf-social {
	display: flex;
	gap: 10px;
}
.bhf-social-link {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--bhf-primary);
	color: #fff;
	transition: opacity .2s ease, transform .2s ease;
}
.bhf-social-link:hover {
	opacity: .85;
	transform: translateY(-2px);
}
.bhf-social-link svg {
	width: 16px;
	height: 16px;
}
.bhf-social--footer .bhf-social-link {
	background: rgba(255,255,255,.12);
}

/* Mobile hamburger */
.bhf-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 34px;
	height: 34px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}
.bhf-menu-toggle span {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--bhf-nav-text);
	border-radius: 2px;
}

/* ---------------- FOOTER ---------------- */
.bhf-footer {
	background-color: var(--bhf-footer-bg);
	color: var(--bhf-footer-text);
}
.bhf-footer a {
	color: var(--bhf-footer-text);
}
.bhf-footer a:hover {
	color: var(--bhf-primary);
}
.bhf-footer-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 24px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 32px;
}
.bhf-footer-heading {
	font-size: 1.05rem;
	margin: 0 0 12px;
	color: #fff;
}
.bhf-footer-col p {
	margin: 0 0 8px;
	line-height: 1.5;
	opacity: .9;
}
.bhf-footer-bottom {
	border-top: 1px solid rgba(255,255,255,.12);
	text-align: center;
	padding: 16px 24px;
	font-size: .88rem;
	opacity: .8;
}
.bhf-footer-bottom p {
	margin: 0;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 860px) {
	.bhf-menu-toggle {
		display: flex;
	}
	.bhf-navbar-menu {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--bhf-nav-bg);
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding: 18px 24px 24px;
		box-shadow: 0 10px 20px rgba(0,0,0,.1);
		max-height: 0;
		overflow: hidden;
		transition: max-height .3s ease;
	}
	.bhf-navbar-menu.bhf-open {
		max-height: 500px;
	}
	.bhf-menu {
		flex-direction: column;
		gap: 12px;
		width: 100%;
	}
	.bhf-menu li ul {
		position: static;
		box-shadow: none;
		display: block;
		padding-left: 14px;
	}
	.bhf-hero-name {
		font-size: 1.6rem;
	}
}
