/* =============================================
   Scstatesmilitia Tools — Heavy Duty Industrial
   Color Palette:
     Construction Yellow : #FFC107
     Deep Charcoal       : #1E1E1E / #2B2B2B
     Steel Blue          : #4A7FA5
   Fonts: Saira Condensed (headings), Roboto Condensed (body)
   ============================================= */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	--yellow: #ffc107;
	--yellow-dark: #e0a800;
	--charcoal: #1e1e1e;
	--charcoal-light: #2b2b2b;
	--charcoal-mid: #3a3a3a;
	--steel: #4a7fa5;
	--steel-light: #6ba3c7;
	--white: #f5f5f5;
	--gray: #b0b0b0;
	--danger: #d32f2f;
	--radius: 4px;
	--shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
	--transition: 0.25s ease;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
	background: var(--charcoal);
	color: var(--white);
	line-height: 1.6;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}
a {
	color: var(--yellow);
	text-decoration: none;
	transition: color var(--transition);
}
a:hover {
	color: var(--steel-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Saira Condensed', 'Roboto Condensed', Impact, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.2;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
}

/* ---------- Utility ---------- */
.text-yellow {
	color: var(--yellow);
}
.text-steel {
	color: var(--steel);
}
.bg-charcoal {
	background: var(--charcoal);
}
.bg-charcoal-light {
	background: var(--charcoal-light);
}
.section-pad {
	padding: 60px 0;
}
.text-center {
	text-align: center;
}
.mt-1 {
	margin-top: 0.5rem;
}
.mt-2 {
	margin-top: 1rem;
}
.mt-3 {
	margin-top: 1.5rem;
}
.mb-2 {
	margin-bottom: 1rem;
}
.mb-3 {
	margin-bottom: 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-block;
	padding: 12px 28px;
	font-family: 'Saira Condensed', sans-serif;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border: 2px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
	transition: all var(--transition);
}

.btn-primary {
	background: var(--yellow);
	color: var(--charcoal);
	border-color: var(--yellow);
}
.btn-primary:hover {
	background: transparent;
	color: var(--yellow);
}

.btn-outline {
	background: transparent;
	color: var(--yellow);
	border-color: var(--yellow);
}
.btn-outline:hover {
	background: var(--yellow);
	color: var(--charcoal);
}

.btn-steel {
	background: var(--steel);
	color: var(--white);
	border-color: var(--steel);
}
.btn-steel:hover {
	background: transparent;
	color: var(--steel-light);
	border-color: var(--steel-light);
}

/* ---------- Top Bar ---------- */
.top-bar {
	background: var(--charcoal-light);
	padding: 8px 0;
	font-size: 0.85rem;
	color: var(--gray);
	border-bottom: 1px solid var(--charcoal-mid);
}
.top-bar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}
.top-bar a {
	color: var(--gray);
}
.top-bar a:hover {
	color: var(--yellow);
}

/* ---------- Header / Navbar ---------- */
.site-header {
	background: var(--charcoal);
	border-bottom: 3px solid var(--yellow);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.navbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
}

.logo {
	font-family: 'Saira Condensed', sans-serif;
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--yellow);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	white-space: nowrap;
}
.logo span {
	color: var(--white);
}

.nav-links {
	list-style: none;
	display: flex;
	gap: 24px;
	align-items: center;
}
.nav-links a {
	color: var(--white);
	font-weight: 600;
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	position: relative;
	padding-bottom: 4px;
}
.nav-links a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--yellow);
	transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after {
	width: 100%;
}
.nav-links a:hover {
	color: var(--yellow);
}

.hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	background: none;
	border: none;
	padding: 4px;
}
.hamburger span {
	display: block;
	width: 28px;
	height: 3px;
	background: var(--yellow);
	border-radius: 2px;
	transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	background:
		linear-gradient(135deg, rgba(30, 30, 30, 0.92), rgba(74, 127, 165, 0.6)),
		url('../assets/images/hero-workshop.jpg') center/cover no-repeat;
	min-height: 520px;
	display: flex;
	align-items: center;
}
.hero-content {
	max-width: 660px;
}
.hero h1 {
	font-size: 3rem;
	margin-bottom: 0.5rem;
	color: var(--yellow);
}
.hero p {
	font-size: 1.15rem;
	margin-bottom: 1.5rem;
	color: var(--gray);
}

/* ---------- Section Headings ---------- */
.section-title {
	font-size: 2rem;
	margin-bottom: 0.4rem;
	color: var(--yellow);
}
.section-subtitle {
	color: var(--gray);
	margin-bottom: 2rem;
	font-size: 1.05rem;
}

/* ---------- Cards Grid ---------- */
.cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

.card {
	background: var(--charcoal-light);
	border: 1px solid var(--charcoal-mid);
	border-radius: var(--radius);
	overflow: hidden;
	transition:
		transform var(--transition),
		box-shadow var(--transition);
}
.card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}
.card-img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	background: linear-gradient(135deg, var(--charcoal-mid) 0%, #2a3a45 100%);
	/* Themed placeholder while image loads or if missing */
	position: relative;
}
.card-img[src='assets/images/drill-set.jpg'],
.card-img[src='assets/images/drill-set.jpg']:not([src]) {
	background: linear-gradient(135deg, #1a2a1a 0%, #2b3a2b 100%);
}
.card-img[src='assets/images/workbench.jpg'] {
	background: linear-gradient(135deg, #1a1a2a 0%, #2b2b3a 100%);
}
.card-img[src='assets/images/power-saw.jpg'] {
	background: linear-gradient(135deg, #2a1a10 0%, #3a2b1e 100%);
}
.card-img[src='assets/images/hand-tools.jpg'] {
	background: linear-gradient(135deg, #0d1a22 0%, #1e2b38 100%);
}
.card-img[src='assets/images/industrial-gear.jpg'] {
	background: linear-gradient(135deg, #1a1205 0%, #2b2b10 100%);
}
.card-img[src='assets/images/hero-workshop.jpg'] {
	background: linear-gradient(
		135deg,
		var(--charcoal) 0%,
		var(--charcoal-mid) 100%
	);
}
.card-body {
	padding: 20px;
}
.card-body h3 {
	font-size: 1.2rem;
	margin-bottom: 0.4rem;
	color: var(--white);
}
.card-body p {
	color: var(--gray);
	font-size: 0.92rem;
	margin-bottom: 1rem;
}
.card-price {
	font-family: 'Saira Condensed', sans-serif;
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--yellow);
}

/* ---------- Feature Strips ---------- */
.features-strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
}
.feature-box {
	background: var(--charcoal-light);
	border-left: 4px solid var(--yellow);
	padding: 24px;
	border-radius: var(--radius);
}
.feature-box h3 {
	font-size: 1.1rem;
	margin-bottom: 0.3rem;
	color: var(--steel-light);
}
.feature-box p {
	color: var(--gray);
	font-size: 0.9rem;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
	background: linear-gradient(135deg, var(--steel), var(--charcoal-light));
	padding: 50px 0;
	text-align: center;
}
.cta-banner h2 {
	font-size: 2rem;
	margin-bottom: 0.5rem;
	color: var(--yellow);
}
.cta-banner p {
	color: var(--gray);
	max-width: 600px;
	margin: 0 auto 1.5rem;
}

/* ---------- Forms ---------- */
.form-section {
	background: var(--charcoal-light);
	padding: 40px;
	border-radius: var(--radius);
	border: 1px solid var(--charcoal-mid);
	max-width: 680px;
	margin: 0 auto;
}

.form-group {
	margin-bottom: 1.2rem;
}
.form-group label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--steel-light);
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 10px 14px;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 1rem;
	background: var(--charcoal);
	color: var(--white);
	border: 1px solid var(--charcoal-mid);
	border-radius: var(--radius);
	transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--yellow);
}
.form-group textarea {
	resize: vertical;
	min-height: 120px;
}

/* ---------- Table ---------- */
.data-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 1rem;
}
.data-table th,
.data-table td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid var(--charcoal-mid);
}
.data-table th {
	background: var(--charcoal-mid);
	color: var(--yellow);
	font-family: 'Saira Condensed', sans-serif;
	text-transform: uppercase;
	font-size: 0.9rem;
}
.data-table tr:hover {
	background: rgba(74, 127, 165, 0.08);
}

/* ---------- Info Block (About / Shipping) ---------- */
.info-block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}
.info-block img {
	border-radius: var(--radius);
	border: 2px solid var(--charcoal-mid);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
	padding: 14px 0;
	font-size: 0.85rem;
	color: var(--gray);
}
.breadcrumb a {
	color: var(--steel-light);
}
.breadcrumb span {
	margin: 0 6px;
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--charcoal-light);
	border-top: 3px solid var(--yellow);
	padding: 50px 0 0;
}
.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 30px;
	margin-bottom: 30px;
}
.footer-col h4 {
	font-size: 1rem;
	color: var(--yellow);
	margin-bottom: 0.75rem;
}
.footer-col p,
.footer-col li {
	color: var(--gray);
	font-size: 0.9rem;
	line-height: 1.8;
}
.footer-col ul {
	list-style: none;
}
.footer-col ul a {
	color: var(--gray);
}
.footer-col ul a:hover {
	color: var(--yellow);
}

.footer-bottom {
	border-top: 1px solid var(--charcoal-mid);
	padding: 18px 0;
	text-align: center;
	font-size: 0.82rem;
	color: var(--gray);
}
.footer-bottom a {
	color: var(--steel-light);
	margin: 0 8px;
}

/* ---------- Back-to-Top ---------- */
.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 44px;
	height: 44px;
	background: var(--yellow);
	color: var(--charcoal);
	border: none;
	border-radius: 50%;
	font-size: 1.4rem;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow);
	z-index: 999;
	transition: opacity var(--transition);
}
.back-to-top.show {
	display: flex;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
	.info-block {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.hamburger {
		display: flex;
	}
	.nav-links {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--charcoal);
		flex-direction: column;
		padding: 20px;
		gap: 16px;
		display: none;
		border-bottom: 3px solid var(--yellow);
	}
	.nav-links.open {
		display: flex;
	}
	.hero h1 {
		font-size: 2rem;
	}
	.hero {
		min-height: 380px;
	}
	.section-title {
		font-size: 1.6rem;
	}
	.form-section {
		padding: 24px;
	}
}
