/*
Theme Name: NBC Utilities Coming Soon
Author: Waha Systems
Description: Coming soon page for NBC Utilities Ltd. Change the background in Appearance > Customize > Background Image.
Version: 1.0
Requires at least: 5.0
Text Domain: nbc
*/

:root {
	--ink: #0d1520;
	--text: #f4f6f8;
	--muted: #b8c2cc;
	--accent: #f5b301;
	--line: rgba(255, 255, 255, .18);
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
	min-height: 100vh;
	min-height: 100dvh;
	font-family: "Barlow", system-ui, sans-serif;
	color: var(--text);
	background-color: var(--ink);
	background-size: cover;
	background-position: center;
	position: relative;
}

/* Darkens the photo so the text stays readable */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	background: linear-gradient(100deg, rgba(13, 21, 32, .94) 0%, rgba(13, 21, 32, .78) 50%, rgba(13, 21, 32, .45) 100%);
	z-index: 0;
}

.page {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	padding: 32px clamp(16px, 6vw, 88px);
	max-width: 1280px;
}

.brand {
	font-family: "Barlow Condensed", sans-serif;
	font-weight: 700;
	font-size: 1.5rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: 12px;
}

.brand::before {
	content: "";
	width: 14px;
	height: 28px;
	background: var(--accent);
	transform: skewX(-15deg);
}

main {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 64px 0;
	max-width: 760px;
}

.tag {
	color: var(--accent);
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	font-size: .85rem;
	margin: 0 0 16px;
}

h1 {
	font-family: "Barlow Condensed", sans-serif;
	font-weight: 700;
	font-size: clamp(2.75rem, 8vw, 5.75rem);
	line-height: .95;
	text-transform: uppercase;
	margin: 0 0 24px;
}

h1 span { color: var(--accent); }

.lead {
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	line-height: 1.6;
	color: var(--muted);
	margin: 0 0 32px;
	max-width: 600px;
}

.services {
	list-style: none;
	padding: 0;
	margin: 0 0 40px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.services li {
	border: 1px solid var(--line);
	padding: 8px 14px;
	font-size: .9rem;
	letter-spacing: .03em;
}

.btn {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--accent);
	color: var(--ink);
	font-weight: 700;
	font-size: 1.1rem;
	text-decoration: none;
	padding: 16px 28px;
	transition: background .2s;
}

.btn:hover, .btn:focus-visible { background: #fff; }

footer {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	font-size: .95rem;
}

footer h2 {
	font-size: .75rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 6px;
	font-weight: 600;
}

footer a, footer address {
	color: var(--text);
	font-style: normal;
	text-decoration: none;
	line-height: 1.5;
}

footer a:hover { text-decoration: underline; }

.copy { color: var(--muted); align-self: end; }
