/**
 * TKA Energy — Main Styles
 *
 * Reset, typography, grid, base layout.
 */

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	font-family: var(--font-body);
	font-size: var(--font-size-base);
	font-weight: var(--font-weight-normal);
	line-height: var(--line-height-normal);
	color: var(--color-text);
	background-color: var(--color-white);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a {
	color: var(--color-primary);
	text-decoration: none;
	transition: color var(--transition-fast);
}

a:hover,
a:focus {
	color: var(--color-primary-hover);
	text-decoration: none;
}

ul, ol {
	list-style: none;
}

/* ── Typography ────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: var(--font-weight-bold);
	line-height: var(--line-height-tight);
	color: var(--color-heading);
	margin-bottom: var(--space-sm);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
h5 { font-size: var(--font-size-h5); }
h6 { font-size: var(--font-size-base); }

p {
	margin-bottom: var(--space-md);
}

strong, b {
	font-weight: var(--font-weight-bold);
	color: var(--color-heading);
}

em, i {
	font-style: italic;
}

::selection {
	background: var(--color-primary);
	color: var(--color-white);
}

/* ── Grid System ───────────────────────────── */
.container {
	width: 100%;
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--space-md);
	padding-right: var(--space-md);
}

.row {
	display: flex;
	flex-wrap: wrap;
	margin-left: calc(-1 * var(--space-md));
	margin-right: calc(-1 * var(--space-md));
}

[class*="col-"] {
	padding-left: var(--space-md);
	padding-right: var(--space-md);
}

.col-1  { flex: 0 0 8.333%;  max-width: 8.333%; }
.col-2  { flex: 0 0 16.667%; max-width: 16.667%; }
.col-3  { flex: 0 0 25%;     max-width: 25%; }
.col-4  { flex: 0 0 33.333%; max-width: 33.333%; }
.col-5  { flex: 0 0 41.667%; max-width: 41.667%; }
.col-6  { flex: 0 0 50%;     max-width: 50%; }
.col-7  { flex: 0 0 58.333%; max-width: 58.333%; }
.col-8  { flex: 0 0 66.667%; max-width: 66.667%; }
.col-9  { flex: 0 0 75%;     max-width: 75%; }
.col-10 { flex: 0 0 83.333%; max-width: 83.333%; }
.col-11 { flex: 0 0 91.667%; max-width: 91.667%; }
.col-12 { flex: 0 0 100%;    max-width: 100%; }

/* ── Section Base ──────────────────────────── */
.section {
	padding: var(--section-padding);
}

.section-light {
	background-color: var(--color-light);
}

.section-dark {
	background-color: var(--color-dark);
	color: var(--color-white);
}

.section-dark .section-title {
	color: var(--color-white);
}

.section-heading {
	text-align: center;
	margin-bottom: var(--space-3xl);
}

.section-subtitle {
	display: block;
	font-family: var(--font-heading);
	font-size: var(--font-size-sm);
	font-weight: var(--font-weight-medium);
	color: var(--color-primary);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: var(--space-sm);
}

.section-title {
	font-size: var(--font-size-h2);
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	color: var(--color-heading);
	margin-bottom: var(--space-md);
}

.section-divider {
	width: 50px;
	height: 3px;
	background: var(--color-primary);
	margin: 0 auto;
}

.section-description {
	max-width: 700px;
	margin: var(--space-lg) auto 0;
	font-size: var(--font-size-md);
}

/* ── Utilities ─────────────────────────────── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.clearfix::after {
	content: "";
	display: table;
	clear: both;
}

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
