/* ═══════════════════════════════════════════
 * AZRA Automotive — CSS Reset
 * Modern reset + box-sizing
 * ═══════════════════════════════════════════ */

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

html {
	-moz-text-size-adjust: none;
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	min-height: 100dvh;
	line-height: 1.6;
	font-family: var(--font-body);
	font-size: var(--text-base);
	color: var(--color-text-primary);
	background-color: var(--color-bg-primary);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

/* Remove default list styles */
ul[role='list'],
ol[role='list'],
ul,
ol {
	list-style: none;
}

/* Set core body defaults */
body,
h1, h2, h3, h4, h5, h6,
p,
figure,
blockquote,
dl, dd {
	margin: 0;
}

/* Headings and interactive reset */
h1, h2, h3, h4, h5, h6 {
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

/* Links */
a {
	color: inherit;
	text-decoration: none;
}

a:not([class]) {
	text-decoration-skip-ink: auto;
	color: var(--color-gold);
}

/* Images */
img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
	height: auto;
}

/* Form elements */
input,
button,
textarea,
select {
	font: inherit;
	color: inherit;
	background: none;
	border: none;
	outline: none;
}

button {
	cursor: pointer;
}

textarea {
	white-space: revert;
}

/* Table */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* Focus visible */
:focus-visible {
	outline: 2px solid var(--color-gold);
	outline-offset: 3px;
}

/* Selection */
::selection {
	background-color: var(--color-gold);
	color: var(--color-text-inverse);
}
