/*
Theme Name: Adbitious for Astra
Theme URI: https://adbitious.com/
Description: Custom Adbitious child theme for Astra and Elementor.
Author: Adbitious
Template: astra
Version: 3.4.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: adbitious-astra
*/

:root {
	--ad-orange: #ff3b12;
	--ad-orange-dark: #d92d09;
	--ad-black: #050505;
	--ad-charcoal: #141414;
	--ad-white: #ffffff;
	--ad-muted: #a9a9a9;
	--ad-display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--ad-body: "Montserrat", Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body,
button,
input,
select,
textarea {
	font-family: var(--ad-body);
}

body {
	background: var(--ad-black);
	color: var(--ad-white);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.site-title,
.entry-title {
	font-family: var(--ad-display);
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: .98;
	text-transform: uppercase;
}

a { color: var(--ad-orange); }
a:hover, a:focus { color: var(--ad-white); }

/* Astra header */
.ast-primary-header-bar {
	background: rgba(5,5,5,.96);
	border-bottom: 1px solid rgba(255,255,255,.12);
}

.main-header-menu > .menu-item > .menu-link {
	color: var(--ad-white);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.main-header-menu > .menu-item > .menu-link:hover,
.main-header-menu > .current-menu-item > .menu-link {
	color: var(--ad-orange);
}

.ast-header-button-1 .ast-custom-button,
.ast-header-button-1 .ast-custom-button-link .ast-custom-button,
.wp-block-button__link,
.elementor-button,
button,
input[type="button"],
input[type="submit"] {
	background: var(--ad-orange);
	border: 2px solid var(--ad-orange);
	border-radius: 0;
	color: var(--ad-white);
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .09em;
	padding: 14px 24px;
	text-transform: uppercase;
	transition: .2s ease;
}

.ast-header-button-1 .ast-custom-button:hover,
.wp-block-button__link:hover,
.elementor-button:hover,
button:hover,
input[type="submit"]:hover {
	background: transparent;
	border-color: var(--ad-orange);
	color: var(--ad-orange);
	transform: translateY(-2px);
}

.ast-mobile-header-wrap .ast-button-wrap .menu-toggle.main-header-menu-toggle {
	color: var(--ad-white);
}

/* Content */
.site-content,
.ast-separate-container,
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post {
	background: var(--ad-black);
}

.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post {
	border-bottom: 1px solid rgba(255,255,255,.12);
}

.entry-title,
.entry-title a,
.ast-single-post .entry-title {
	color: var(--ad-white);
}

.entry-meta,
.entry-meta * {
	color: var(--ad-orange);
}

input,
textarea,
select {
	background: #111;
	border: 1px solid #444;
	border-radius: 0;
	color: var(--ad-white);
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--ad-orange);
	outline: 1px solid var(--ad-orange);
}

/* Elementor helpers */
.ad-kicker {
	align-items: center;
	color: var(--ad-orange);
	display: flex;
	font-size: .75rem;
	font-weight: 800;
	gap: 12px;
	letter-spacing: .2em;
	text-transform: uppercase;
}

.ad-kicker::before {
	background: currentColor;
	content: "";
	height: 3px;
	width: 44px;
}

.ad-gradient {
	background:
		radial-gradient(circle at 80% 50%, rgba(255,59,18,.18), transparent 42%),
		var(--ad-black);
}

.ad-grid-lines {
	background-image: repeating-linear-gradient(
		90deg,
		transparent 0,
		transparent calc(25% - 1px),
		rgba(255,255,255,.035) 25%
	);
}

.ad-orange-text { color: var(--ad-orange); }
.ad-outline-text {
	color: transparent;
	-webkit-text-stroke: 1px rgba(255,255,255,.5);
}

/* Astra footer */
.site-primary-footer-wrap,
.site-below-footer-wrap {
	background: #090909;
	border-color: rgba(255,255,255,.12);
	color: var(--ad-muted);
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
	color: var(--ad-white);
}

.site-footer a { color: var(--ad-muted); }
.site-footer a:hover { color: var(--ad-orange); }

@media (max-width: 921px) {
	.ast-builder-menu-mobile .main-navigation .menu-item > .menu-link {
		color: var(--ad-white);
		font-weight: 700;
		text-transform: uppercase;
	}

	.ast-builder-menu-mobile .main-navigation .current-menu-item > .menu-link,
	.ast-builder-menu-mobile .main-navigation .menu-item > .menu-link:hover {
		background: var(--ad-charcoal);
		color: var(--ad-orange);
	}
}

/*
 * Homepage reset
 * Astra starter templates store their palette directly in Elementor's generated
 * page CSS. These selectors intentionally outrank that generated CSS so an
 * activated Adbitious theme never retains the starter site's pastel palette.
 */
body.home.adbitious-astra .elementor > .e-con,
body.home.adbitious-astra .elementor-section-wrap > .elementor-section {
	background-color: var(--ad-black) !important;
}

body.home.adbitious-astra .elementor-widget-heading .elementor-heading-title,
body.home.adbitious-astra .elementor-widget-text-editor,
body.home.adbitious-astra .elementor-widget-testimonial,
body.home.adbitious-astra .elementor-widget-icon-list,
body.home.adbitious-astra .elementor-widget-counter {
	color: var(--ad-white) !important;
}

body.adbitious-astra .elementor-widget-heading .elementor-heading-title {
	font-family: var(--ad-display) !important;
	font-weight: 800;
	text-transform: uppercase;
}

body.adbitious-astra .elementor-widget-text-editor,
body.adbitious-astra .elementor-widget-testimonial,
body.adbitious-astra .elementor-widget-icon-list {
	font-family: var(--ad-body) !important;
}

body.adbitious-astra .elementor-widget-divider .elementor-divider-separator {
	border-color: var(--ad-orange) !important;
}

body.adbitious-astra .elementor-button,
body.adbitious-astra .elementor-widget-button .elementor-button {
	background-color: var(--ad-orange) !important;
	border-color: var(--ad-orange) !important;
	color: var(--ad-white) !important;
}

body.adbitious-astra .elementor-button:hover,
body.adbitious-astra .elementor-widget-button .elementor-button:hover {
	background-color: transparent !important;
	color: var(--ad-orange) !important;
}

body.adbitious-astra .hfe-nav-menu .menu-item a,
body.adbitious-astra .hfe-nav-menu .menu-item a.hfe-menu-item {
	color: var(--ad-white) !important;
}

body.adbitious-astra .hfe-nav-menu .menu-item a:hover,
body.adbitious-astra .hfe-nav-menu .current-menu-item a.hfe-menu-item {
	color: var(--ad-orange) !important;
}
