/* ==========================================================================
   Zinka Theme – Global Styles
   CSS Variables, Reset, Typography, Layout System
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
	/* Colors */
	--color-bg: #F4F0EA;
	--color-surface: #FAFAF7;
	--color-white: #FFFFFF;
	--color-text: #121212;
	--color-text-muted: #3A3A3A;
	--color-primary: #163456;
	--color-primary-hover: #102B45;
	--color-accent: #F36B3C;
	--color-accent-hover: #E05A2D;
	--color-border-soft: #7BA6C6;

	/* Typography */
	--font-heading: 'Montserrat', sans-serif;
	--font-body: 'Inter', sans-serif;

	/* Font Weights */
	--fw-regular: 400;
	--fw-medium: 500;
	--fw-semibold: 600;
	--fw-bold: 700;
	--fw-extrabold: 800;
	--fw-black: 900;

	/* Spacing Scale */
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 20px;
	--space-6: 24px;
	--space-8: 32px;
	--space-10: 40px;
	--space-12: 48px;
	--space-16: 64px;
	--space-20: 80px;
	--space-24: 96px;

	/* Border Radius */
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--radius-xl: 24px;
	--radius-full: 9999px;

	/* Shadows */
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
	--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

	/* Container */
	--container-max: 1200px;
	--container-padding: 20px;

	/* Breakpoints (for reference, used in media queries) */
	/* --bp-sm: 576px */
	/* --bp-md: 768px */
	/* --bp-lg: 1024px */
	/* --bp-xl: 1280px */
}

@media (min-width: 768px) {
	:root {
		--container-padding: 32px;
	}
}

@media (min-width: 1024px) {
	:root {
		--container-padding: 40px;
	}
}

/* --------------------------------------------------------------------------
   CSS Reset / Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

* {
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: var(--fw-regular);
	line-height: 1.6;
	color: var(--color-text);
	background-color: var(--color-bg);
}

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

a {
	text-decoration: none;
	color: inherit;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}

ul,
ol {
	list-style: none;
}

button {
	font-family: inherit;
	font-size: inherit;
	cursor: pointer;
	border: none;
	background: none;
}

address {
	font-style: normal;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: var(--fw-extrabold);
	line-height: 1.0;
	color: var(--color-text);
}

h1 {
	font-size: clamp(2rem, 5vw, 4rem);
	font-weight: var(--fw-black);
	line-height: 0.95;
	letter-spacing: -0.02em;
}

h2 {
	font-size: clamp(1.75rem, 3.5vw, 2.75rem);
	line-height: 1.0;
	letter-spacing: -0.01em;
}

h3 {
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	line-height: 1.15;
	font-weight: var(--fw-bold);
}

p {
	font-size: clamp(0.9375rem, 1.2vw, 1.125rem);
	line-height: 1.65;
	color: var(--color-text-muted);
}

.eyebrow {
	font-family: var(--font-heading);
	font-size: clamp(0.75rem, 1vw, 0.875rem);
	font-weight: var(--fw-semibold);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-text-muted);
	margin-bottom: var(--space-4);
}

.section-title {
	margin-bottom: var(--space-10);
}

/* --------------------------------------------------------------------------
   Layout: Container
   -------------------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--container-padding);
}

/* --------------------------------------------------------------------------
   Layout: Section Spacing
   -------------------------------------------------------------------------- */
.section {
	padding-block: var(--space-16);
}

@media (min-width: 768px) {
	.section {
		padding-block: var(--space-20);
	}
}

@media (min-width: 1024px) {
	.section {
		padding-block: var(--space-24);
	}
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

.text-white {
	color: var(--color-white);
}

.text-center {
	text-align: center;
}

/* --------------------------------------------------------------------------
   Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
	padding-block: var(--space-8);
	text-align: center;
	border-top: 1px solid var(--color-border-soft);
}

.site-footer p {
	font-size: 0.875rem;
	color: var(--color-text-muted);
}
