/*
Theme Name: Fortress Concrete
Theme URI: https://www.fortress-cement.com/
Author: Fortress Cement
Author URI: https://www.fortress-cement.com/
Description: A clean, industrial WordPress theme for concrete and cement suppliers. Built as a companion to the Fortress Invoice Importer plugin, with a charcoal-and-amber palette, a services grid, and clear calls to action. Inspired by the look and feel of Triangle-area concrete supplier sites.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fortress-concrete
Tags: business, custom-logo, custom-menu, featured-images, two-columns, right-sidebar, translation-ready
*/

/* ===================================================================
   Design tokens
   =================================================================== */
:root {
	--fc-charcoal: #1d2125;
	--fc-slate: #2c333a;
	--fc-slate-light: #3a434c;
	--fc-concrete: #e9e7e2;
	--fc-concrete-dark: #cdc9c0;
	--fc-amber: #d99a2b;
	--fc-amber-dark: #b87d18;
	--fc-ink: #20242a;
	--fc-body: #41474d;
	--fc-white: #ffffff;
	--fc-line: #dcd9d2;
	--fc-max: 1160px;
	--fc-radius: 6px;
	--fc-shadow: 0 6px 24px rgba(20, 24, 28, 0.10);
	--fc-font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
	--fc-head: "Oswald", "Arial Narrow", var(--fc-font);
}

/* ===================================================================
   Base
   =================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--fc-font);
	color: var(--fc-body);
	background: var(--fc-white);
	line-height: 1.65;
	font-size: 17px;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--fc-head);
	color: var(--fc-ink);
	line-height: 1.15;
	letter-spacing: 0.01em;
	margin: 0 0 0.5em;
	text-transform: uppercase;
	font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; }

a {
	color: var(--fc-amber-dark);
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover { color: var(--fc-amber); }

img { max-width: 100%; height: auto; display: block; }

.fc-container {
	width: 100%;
	max-width: var(--fc-max);
	margin: 0 auto;
	padding: 0 24px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ===================================================================
   Buttons
   =================================================================== */
.fc-btn {
	display: inline-block;
	background: var(--fc-amber);
	color: var(--fc-charcoal);
	font-family: var(--fc-head);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 600;
	padding: 14px 30px;
	border-radius: var(--fc-radius);
	border: 2px solid var(--fc-amber);
	cursor: pointer;
	transition: all 0.15s ease;
}

.fc-btn:hover {
	background: var(--fc-amber-dark);
	border-color: var(--fc-amber-dark);
	color: var(--fc-white);
}

.fc-btn--ghost {
	background: transparent;
	color: var(--fc-white);
	border-color: rgba(255, 255, 255, 0.55);
}

.fc-btn--ghost:hover {
	background: var(--fc-white);
	color: var(--fc-charcoal);
	border-color: var(--fc-white);
}

/* ===================================================================
   Top bar
   =================================================================== */
.fc-topbar {
	background: var(--fc-charcoal);
	color: var(--fc-concrete);
	font-size: 14px;
}

.fc-topbar .fc-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 42px;
	flex-wrap: wrap;
}

.fc-topbar a { color: var(--fc-concrete); }
.fc-topbar a:hover { color: var(--fc-amber); }

.fc-topbar__phone {
	font-family: var(--fc-head);
	font-size: 16px;
	letter-spacing: 0.03em;
}

.fc-topbar__phone strong { color: var(--fc-amber); }

/* ===================================================================
   Header
   =================================================================== */
.fc-header {
	background: var(--fc-white);
	border-bottom: 3px solid var(--fc-amber);
	position: sticky;
	top: 0;
	z-index: 50;
	box-shadow: 0 2px 10px rgba(20, 24, 28, 0.06);
}

.fc-header .fc-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 84px;
}

.fc-brand {
	font-family: var(--fc-head);
	text-transform: uppercase;
	font-weight: 700;
	font-size: 1.6rem;
	color: var(--fc-ink);
	line-height: 1;
	letter-spacing: 0.02em;
}

.fc-brand a { color: inherit; }
.fc-brand span { color: var(--fc-amber); }
.fc-brand small {
	display: block;
	font-family: var(--fc-font);
	font-size: 0.62rem;
	letter-spacing: 0.22em;
	color: var(--fc-body);
	margin-top: 4px;
	font-weight: 600;
}

.fc-custom-logo-link img { max-height: 60px; width: auto; }

/* Navigation */
.fc-nav ul {
	list-style: none;
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	align-items: center;
}

.fc-nav li { position: relative; }

.fc-nav a {
	display: block;
	padding: 10px 14px;
	font-family: var(--fc-head);
	text-transform: uppercase;
	font-size: 0.92rem;
	letter-spacing: 0.03em;
	color: var(--fc-ink);
	font-weight: 500;
}

.fc-nav a:hover,
.fc-nav .current-menu-item > a {
	color: var(--fc-amber-dark);
}

/* sub menus */
.fc-nav ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--fc-charcoal);
	min-width: 220px;
	padding: 6px 0;
	box-shadow: var(--fc-shadow);
	border-radius: 0 0 var(--fc-radius) var(--fc-radius);
	z-index: 60;
}

.fc-nav li:hover > ul { display: block; }

.fc-nav ul ul a { color: var(--fc-concrete); padding: 10px 18px; }
.fc-nav ul ul a:hover { color: var(--fc-amber); background: var(--fc-slate); }

/* mobile toggle */
.fc-nav-toggle {
	display: none;
	background: var(--fc-charcoal);
	color: var(--fc-white);
	border: 0;
	border-radius: var(--fc-radius);
	padding: 10px 14px;
	font-size: 1.2rem;
	cursor: pointer;
}

/* ===================================================================
   Hero
   =================================================================== */
.fc-hero {
	position: relative;
	background:
		linear-gradient(rgba(20, 24, 28, 0.82), rgba(20, 24, 28, 0.88)),
		repeating-linear-gradient(45deg, #2c333a 0, #2c333a 22px, #2a3037 22px, #2a3037 44px);
	color: var(--fc-white);
	padding: 96px 0;
	text-align: center;
}

.fc-hero--image {
	background-size: cover, cover;
	background-position: center;
}

.fc-hero__eyebrow {
	font-family: var(--fc-head);
	text-transform: uppercase;
	letter-spacing: 0.28em;
	color: var(--fc-amber);
	font-size: 0.95rem;
	margin-bottom: 18px;
}

.fc-hero h1 { color: var(--fc-white); max-width: 16ch; margin-inline: auto; }

.fc-hero__sub {
	max-width: 60ch;
	margin: 18px auto 32px;
	font-size: 1.2rem;
	color: var(--fc-concrete);
}

.fc-hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===================================================================
   Sections
   =================================================================== */
.fc-section { padding: 76px 0; }
.fc-section--alt { background: var(--fc-concrete); }
.fc-section--dark { background: var(--fc-slate); color: var(--fc-concrete); }
.fc-section--dark h2 { color: var(--fc-white); }

.fc-section__head { text-align: center; max-width: 64ch; margin: 0 auto 48px; }

.fc-section__head .fc-kicker {
	font-family: var(--fc-head);
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--fc-amber-dark);
	font-size: 0.85rem;
	display: block;
	margin-bottom: 10px;
}

/* services grid */
.fc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 26px;
}

.fc-card {
	background: var(--fc-white);
	border: 1px solid var(--fc-line);
	border-radius: var(--fc-radius);
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(20, 24, 28, 0.05);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	display: flex;
	flex-direction: column;
}

.fc-card:hover { transform: translateY(-4px); box-shadow: var(--fc-shadow); }

.fc-card__media {
	aspect-ratio: 16 / 10;
	background: var(--fc-slate);
	position: relative;
	display: grid;
	place-items: center;
}

.fc-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(135deg, rgba(217,154,43,0.10) 0 14px, transparent 14px 28px);
}

.fc-card__icon { font-size: 2.4rem; }

.fc-card__body { padding: 22px 24px 26px; flex: 1; }
.fc-card__body h3 { margin-bottom: 8px; }
.fc-card__body p { font-size: 0.98rem; margin-bottom: 0; }

/* feature strip */
.fc-strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 28px;
	text-align: center;
}

.fc-strip__num {
	font-family: var(--fc-head);
	font-size: 2.6rem;
	color: var(--fc-amber);
	line-height: 1;
}

.fc-strip__label { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.9rem; }

/* CTA band */
.fc-cta {
	background: var(--fc-amber);
	color: var(--fc-charcoal);
	text-align: center;
	padding: 60px 0;
}

.fc-cta h2 { color: var(--fc-charcoal); }
.fc-cta .fc-btn {
	background: var(--fc-charcoal);
	color: var(--fc-white);
	border-color: var(--fc-charcoal);
}
.fc-cta .fc-btn:hover { background: var(--fc-ink); }

/* ===================================================================
   Content (posts/pages)
   =================================================================== */
.fc-content { padding: 64px 0; }

.fc-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 48px;
}

.fc-layout--full { grid-template-columns: minmax(0, 1fr); }

.fc-article {
	background: var(--fc-white);
}

.fc-article__header { margin-bottom: 24px; }
.fc-article__meta { color: var(--fc-body); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }

.fc-article__thumb { margin: 0 0 28px; border-radius: var(--fc-radius); overflow: hidden; }

.fc-article :where(h2, h3) { margin-top: 1.4em; }

.fc-article blockquote {
	border-left: 4px solid var(--fc-amber);
	margin: 1.4em 0;
	padding: 6px 0 6px 22px;
	color: var(--fc-ink);
	font-style: italic;
}

.fc-article ul, .fc-article ol { padding-left: 1.3em; }
.fc-article img { border-radius: var(--fc-radius); }

/* sidebar */
.fc-sidebar .widget {
	background: var(--fc-concrete);
	border-radius: var(--fc-radius);
	padding: 22px 24px;
	margin-bottom: 24px;
}

.fc-sidebar .widget-title {
	font-size: 1.05rem;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--fc-amber);
}

.fc-sidebar ul { list-style: none; margin: 0; padding: 0; }
.fc-sidebar li { padding: 6px 0; border-bottom: 1px solid var(--fc-line); }

/* ===================================================================
   Footer
   =================================================================== */
.fc-footer {
	background: var(--fc-charcoal);
	color: var(--fc-concrete-dark);
	padding: 60px 0 28px;
	font-size: 0.95rem;
}

.fc-footer a { color: var(--fc-concrete); }
.fc-footer a:hover { color: var(--fc-amber); }

.fc-footer__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 36px;
	margin-bottom: 40px;
}

.fc-footer h4 {
	color: var(--fc-white);
	font-size: 1.05rem;
	margin-bottom: 16px;
}

.fc-footer ul { list-style: none; margin: 0; padding: 0; }
.fc-footer li { padding: 5px 0; }

.fc-footer__bottom {
	border-top: 1px solid var(--fc-slate-light);
	padding-top: 22px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 0.85rem;
	color: #8b9097;
}

/* ===================================================================
   Pagination & misc
   =================================================================== */
.fc-pagination { margin-top: 40px; display: flex; gap: 8px; flex-wrap: wrap; }
.fc-pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	background: var(--fc-concrete);
	border-radius: var(--fc-radius);
	color: var(--fc-ink);
	font-family: var(--fc-head);
}
.fc-pagination .page-numbers.current,
.fc-pagination .page-numbers:hover { background: var(--fc-amber); color: var(--fc-charcoal); }

.fc-comments { margin-top: 48px; }

/* WP alignment helpers */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 0.85rem; color: var(--fc-body); }
.sticky, .gallery-caption, .bypostauthor { display: block; }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 900px) {
	.fc-layout { grid-template-columns: minmax(0, 1fr); }
	.fc-nav-toggle { display: inline-block; }
	.fc-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--fc-white);
		border-bottom: 3px solid var(--fc-amber);
		display: none;
		box-shadow: var(--fc-shadow);
	}
	.fc-nav.is-open { display: block; }
	.fc-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
	.fc-nav a { padding: 12px 24px; }
	.fc-nav ul ul {
		position: static;
		display: block;
		box-shadow: none;
		background: var(--fc-concrete);
		min-width: 0;
	}
	.fc-nav ul ul a { color: var(--fc-ink); }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.fc-section { padding: 56px 0; }
	.fc-hero { padding: 70px 0; }
	.fc-topbar .fc-container { justify-content: center; }
}
