/* -------------------------------------------------------------------------
   Hotelia — base.css
   CSS reset, custom properties, base typography.
   ---------------------------------------------------------------------- */

:root {
	--hotelia-color-primary: #1f2a24;
	--hotelia-color-secondary: #f4efe6;
	--hotelia-color-accent: #c9a869;

	--hotelia-color-ink: #24241f;
	--hotelia-color-muted: #6f6a5e;
	--hotelia-color-border: #e4dccb;
	--hotelia-color-white: #ffffff;

	--hotelia-font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--hotelia-font-body: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

	--hotelia-container-width: 1200px;
	--hotelia-radius: 2px;
	--hotelia-transition: 220ms ease;
}

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

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

body {
	margin: 0;
	background-color: var(--hotelia-color-secondary);
	color: var(--hotelia-color-ink);
	font-family: var(--hotelia-font-body);
	font-size: 17px;
	line-height: 1.7;
	font-weight: 300;
}

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

a {
	color: inherit;
	text-decoration: none;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--hotelia-font-heading);
	font-weight: 600;
	line-height: 1.25;
	margin: 0 0 0.6em;
	color: var(--hotelia-color-primary);
}

h1 {
	font-size: clamp(2.2rem, 4vw, 3.4rem);
}

h2 {
	font-size: clamp(1.7rem, 3vw, 2.4rem);
}

h3 {
	font-size: 1.3rem;
}

p {
	margin: 0 0 1.2em;
}

p:last-child {
	margin-bottom: 0;
}

.container {
	width: 100%;
	max-width: var(--hotelia-container-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

.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;
}

.skip-link.screen-reader-text {
	z-index: 100000;
}

.skip-link.screen-reader-text:focus {
	background: var(--hotelia-color-primary);
	color: var(--hotelia-color-white);
	clip: auto !important;
	clip-path: none;
	display: block;
	height: auto;
	left: 6px;
	top: 6px;
	padding: 12px 18px;
	position: fixed;
	width: auto;
	border-radius: var(--hotelia-radius);
}

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