/**
 * Umuda Vuslat — Base
 * Reset, tipografi, link ve form temelleri.
 */

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

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

body {
	margin: 0;
	font-family: var(--uv-font-body);
	font-size: var(--uv-fs-base);
	line-height: var(--uv-lh-normal);
	color: var(--uv-text);
	background-color: var(--uv-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--uv-font-heading);
	font-weight: 700;
	line-height: var(--uv-lh-tight);
	color: var(--uv-black);
	margin: 0 0 var(--uv-space-4);
}

h1 { font-size: var(--uv-fs-4xl); }
h2 { font-size: var(--uv-fs-3xl); }
h3 { font-size: var(--uv-fs-2xl); }
h4 { font-size: var(--uv-fs-xl); }
h5 { font-size: var(--uv-fs-lg); }
h6 { font-size: var(--uv-fs-md); }

p { margin: 0 0 var(--uv-space-4); }

a {
	color: var(--uv-primary);
	text-decoration: none;
	transition: color var(--uv-transition-fast);
}
a:hover, a:focus { color: var(--uv-secondary); }
a:focus-visible {
	outline: 2px solid var(--uv-secondary);
	outline-offset: 2px;
	border-radius: 2px;
}

ul, ol { padding-left: 1.25rem; }

blockquote {
	margin: var(--uv-space-5) 0;
	padding: var(--uv-space-4) var(--uv-space-5);
	border-left: 4px solid var(--uv-secondary);
	background: var(--uv-bg-alt);
	font-family: var(--uv-font-heading);
	font-style: italic;
	color: var(--uv-text);
}

code, pre, kbd {
	font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
	font-size: 0.9em;
}

hr {
	border: 0;
	border-top: 1px solid var(--uv-border);
	margin: var(--uv-space-6) 0;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: var(--uv-space-5) 0;
}
th, td {
	padding: var(--uv-space-3) var(--uv-space-4);
	border-bottom: 1px solid var(--uv-border);
	text-align: left;
}
th { background: var(--uv-bg-alt); font-weight: 600; }

input, textarea, select, button {
	font-family: inherit;
	font-size: inherit;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="search"], input[type="url"], input[type="password"], textarea, select {
	width: 100%;
	padding: var(--uv-space-3) var(--uv-space-4);
	border: 1px solid var(--uv-border);
	border-radius: var(--uv-radius-md);
	background: var(--uv-bg);
	color: var(--uv-text);
	transition: border-color var(--uv-transition-fast), box-shadow var(--uv-transition-fast);
}
input:focus, textarea:focus, select:focus {
	outline: none;
	border-color: var(--uv-primary);
	box-shadow: 0 0 0 3px rgba(1, 117, 100, 0.15);
}

label {
	display: inline-block;
	margin-bottom: var(--uv-space-2);
	font-weight: 600;
	color: var(--uv-text);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px,1px,1px,1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: var(--uv-bg);
	clip: auto !important;
	clip-path: none;
	color: var(--uv-text);
	display: block;
	font-size: 1rem;
	height: auto;
	left: 5px;
	top: 5px;
	padding: var(--uv-space-3) var(--uv-space-4);
	width: auto;
	z-index: 1000;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--uv-primary);
	color: #fff;
	padding: var(--uv-space-3) var(--uv-space-4);
	z-index: var(--uv-z-modal);
}
.skip-link:focus { left: 0; color: #fff; }
