/**
 * base.css — Modern CSS reset + base typography
 * Replaces the 80KB WordPress theme.css
 */

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

/* === Remove default margins === */
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, fieldset, legend {
	margin: 0;
}

/* === HTML defaults === */
html {
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	color: #444;
	background-color: #f8f5f2;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Marcellus', serif;
	color: #333;
	line-height: 1.3;
}

h1 { font-size: 2.2em; margin-bottom: 0.6em; }
h2 { font-size: 1.8em; margin-bottom: 0.5em; margin-top: 1.2em; }
h3 { font-size: 1.35em; margin-bottom: 0.4em; margin-top: 1em; }
h4 { font-size: 1.1em; margin-bottom: 0.3em; }

p {
	margin-bottom: 1em;
	line-height: 1.7;
}

/* === Links === */
a {
	color: #c9a270;
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
	color: #d4af37;
}

/* === Lists === */
ul, ol {
	padding-left: 1.5em;
	margin-bottom: 1em;
}

li {
	margin-bottom: 0.4em;
	line-height: 1.7;
}

/* === Images & media === */
img, video {
	max-width: 100%;
	height: auto;
	display: block;
}

/* === Tables === */
table {
	width: 100%;
	border-collapse: collapse;
}

/* === Forms === */
input, button, textarea, select {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
}

:focus-visible {
	outline: 3px solid #d4af37;
	outline-offset: 3px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
	width: 100%;
	padding: 12px 15px;
	border: 2px solid #e0d5c8;
	border-radius: 8px;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: #c9a270;
	box-shadow: 0 0 0 3px rgba(201, 162, 112, 0.15);
}

/* === Accessibility === */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal;
}

.skip-link {
	position: absolute;
	top: -100%;
	left: 50%;
	transform: translateX(-50%);
	background: #c9a270;
	color: #fff;
	padding: 10px 20px;
	border-radius: 0 0 8px 8px;
	z-index: 100000;
	font-weight: 700;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 0;
	color: #fff;
}

/* === Container === */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* === Utility === */
.text-center { text-align: center; }
