/*
Theme Name: ZINARI
Theme URI: https://zinari.agency
Author: ZINARI Agency
Author URI: https://zinari.agency
Description: Premium minimalist theme for ZINARI personal branding agency. Architect of Personal Brand.
Version: 1.0.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zinari
Tags: custom-logo, custom-menu, translation-ready, blog
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
	/* Brand Colors */
	--color-wine: #450B27;
	--color-wine-light: #5E1A3C;
	--color-wine-dark: #2E0619;
	--color-beige: #F5E2B6;
	--color-beige-light: #FAF0D9;
	--color-beige-dark: #E5C97A;
	--color-white: #FFFFFF;
	--color-dark: #1A1A1A;
	--color-gray: #6B6B6B;
	--color-gray-light: #F0F0F0;
	--color-gray-border: #E0E0E0;

	/* Typography */
	--font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

	/* Font Sizes — fluid scale */
	--text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
	--text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
	--text-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
	--text-lg: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
	--text-xl: clamp(1.2rem, 1rem + 1vw, 1.5rem);
	--text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
	--text-3xl: clamp(1.8rem, 1.4rem + 2vw, 2.5rem);
	--text-4xl: clamp(2.2rem, 1.6rem + 3vw, 3.5rem);
	--text-5xl: clamp(2.8rem, 2rem + 4vw, 4.5rem);

	/* Font Weights */
	--weight-light: 300;
	--weight-regular: 400;
	--weight-medium: 500;
	--weight-semibold: 600;
	--weight-bold: 700;

	/* Line Heights */
	--leading-tight: 1.15;
	--leading-snug: 1.3;
	--leading-normal: 1.6;
	--leading-relaxed: 1.75;

	/* Letter Spacing */
	--tracking-tight: -0.02em;
	--tracking-normal: 0;
	--tracking-wide: 0.05em;
	--tracking-wider: 0.1em;
	--tracking-widest: 0.2em;

	/* Spacing Scale */
	--space-xs: 0.25rem;
	--space-sm: 0.5rem;
	--space-md: 1rem;
	--space-lg: 1.5rem;
	--space-xl: 2rem;
	--space-2xl: 3rem;
	--space-3xl: 4rem;
	--space-4xl: 6rem;
	--space-5xl: 8rem;
	--space-6xl: 12rem;

	/* Layout */
	--container-max: 1200px;
	--container-narrow: 800px;
	--container-wide: 1440px;
	--gutter: clamp(1rem, 2vw, 2rem);

	/* Header */
	--header-height: 80px;

	/* Borders */
	--radius-sm: 2px;
	--radius-md: 4px;
	--radius-lg: 8px;

	/* 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 30px rgba(0, 0, 0, 0.12);

	/* Transitions */
	--transition-fast: 150ms ease;
	--transition-base: 300ms ease;
	--transition-slow: 500ms ease;
	--transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base Reset
   ========================================================================== */

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

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

body {
	font-family: var(--font-body);
	font-size: var(--text-base);
	font-weight: var(--weight-regular);
	line-height: var(--leading-normal);
	color: var(--color-dark);
	background-color: var(--color-white);
	overflow-x: hidden;
}

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

input,
button,
textarea,
select {
	font: inherit;
	color: inherit;
}

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

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

ul,
ol {
	list-style: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Remove default focus outline, add custom */
:focus {
	outline: none;
}

:focus-visible {
	outline: 2px solid var(--color-beige);
	outline-offset: 2px;
}

/* Selection */
::selection {
	background-color: var(--color-beige);
	color: var(--color-wine);
}

/* ==========================================================================
   Typography System
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	font-weight: var(--weight-semibold);
	line-height: var(--leading-tight);
	letter-spacing: var(--tracking-tight);
	color: var(--color-dark);
}

h1 {
	font-size: var(--text-5xl);
	font-weight: var(--weight-bold);
}

h2 {
	font-size: var(--text-4xl);
}

h3 {
	font-size: var(--text-3xl);
}

h4 {
	font-size: var(--text-2xl);
}

h5 {
	font-size: var(--text-xl);
}

h6 {
	font-size: var(--text-lg);
}

p {
	margin-bottom: var(--space-md);
}

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

strong,
b {
	font-weight: var(--weight-semibold);
}

em,
i {
	font-style: italic;
}

small {
	font-size: var(--text-sm);
}

blockquote {
	font-family: var(--font-heading);
	font-size: var(--text-xl);
	font-style: italic;
	line-height: var(--leading-snug);
	padding-left: var(--space-xl);
	border-left: 3px solid var(--color-beige);
	color: var(--color-wine);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.container {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: var(--container-narrow);
}

.container--wide {
	max-width: var(--container-wide);
}

.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 utilities */
.text-uppercase {
	text-transform: uppercase;
	letter-spacing: var(--tracking-wider);
}

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

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

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

/* Background utilities */
.bg-wine {
	background-color: var(--color-wine);
	color: var(--color-beige);
}

.bg-beige {
	background-color: var(--color-beige);
	color: var(--color-wine);
}

.bg-white {
	background-color: var(--color-white);
	color: var(--color-dark);
}

/* Section spacing */
.section {
	padding-block: var(--space-4xl);
}

.section--lg {
	padding-block: var(--space-5xl);
}

/* ==========================================================================
   WordPress Core Alignment
   ========================================================================== */

.alignnone {
	margin: var(--space-md) 0;
}

.aligncenter {
	display: block;
	margin: var(--space-md) auto;
}

.alignleft {
	float: left;
	margin: 0 var(--space-lg) var(--space-md) 0;
}

.alignright {
	float: right;
	margin: 0 0 var(--space-md) var(--space-lg);
}

.wp-caption {
	max-width: 100%;
	margin-bottom: var(--space-md);
}

.wp-caption-text {
	font-size: var(--text-sm);
	color: var(--color-gray);
	margin-top: var(--space-sm);
}

.sticky,
.gallery-caption,
.bypostauthor {
	/* WordPress required classes */
}

/* Screen reader text — WordPress standard */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--color-beige);
	clip: auto !important;
	color: var(--color-wine);
	display: block;
	font-size: var(--text-base);
	font-weight: var(--weight-semibold);
	height: auto;
	left: 5px;
	line-height: normal;
	padding: var(--space-md) var(--space-lg);
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}
