/*
Theme Name: TheraKinesis Custom
Theme URI: https://therakinesislab.gr/
Author: Antigravity
Author URI: https://therakinesislab.gr/
Description: A bespoke, ultra-fast, hand-coded theme built exclusively for TheraKinesisLab.
Version: 2.0.0
License: Proprietary
Text Domain: therakinesis
*/

/* ==========================================================================
   Design Tokens
   ========================================================================== */
:root {
	--font-heading: 'EB Garamond', serif;
	--font-body: 'Manrope', sans-serif;

	--bg-cream: #FAF7F2;
	--bg-warm: #F0EBE3;
	--bg-dark: #29261B;
	--bg-deep: #1A1814;

	--text-dark: #1A1814;
	--text-body: #5C5650;
	--text-light: #8A847E;
	--text-on-dark: #F2ECE4;
	--text-on-dark-muted: #A09A94;

	--accent: #C4734F;
	--accent-hover: #D4845F;

	--border: rgba(26, 24, 20, 0.1);
	--border-dark: rgba(255, 255, 255, 0.08);

	--section-py: 120px;
	--heading-xl: clamp(2.8rem, 5.5vw, 4.8rem);
	--heading-lg: clamp(2rem, 3.8vw, 3rem);
	--heading-md: clamp(1.3rem, 2.2vw, 1.8rem);
	--ease: cubic-bezier(0.16, 1, 0.3, 1);

	--container-width: 1200px;
	--container-pad: 48px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-family: var(--font-body);
	background: var(--bg-cream);
	color: var(--text-dark);
	overflow-x: hidden;
	line-height: 1.6;
}

img, picture, video { display: block; max-width: 100%; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.3s; }

h1, h2, h3, h4 {
	font-family: var(--font-heading);
	font-weight: 600;
	line-height: 1.15;
}

h1 { font-size: var(--heading-xl); }
h2 { font-size: var(--heading-lg); }
h3 { font-size: var(--heading-md); }

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

.section { padding: var(--section-py) 0; position: relative; }
.section--warm { background: var(--bg-warm); }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section--deep { background: var(--bg-deep); color: var(--text-on-dark); }

/* ==========================================================================
   Shared Typography Patterns
   ========================================================================== */
.section-label {
	display: flex;
	align-items: center;
	gap: 16px;
	font-family: var(--font-body);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 16px;
}

.section-label::before {
	content: '';
	width: 32px;
	height: 1.5px;
	background: var(--accent);
	flex-shrink: 0;
}

.section-heading {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: var(--heading-lg);
	line-height: 1.15;
	margin-bottom: 24px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-fill,
.btn-outline,
.btn-solid {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-body);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 14px 32px;
	border-radius: 0;
	cursor: pointer;
	transition: color 0.4s var(--ease);
	position: relative;
}

.btn-fill {
	border: 1.5px solid var(--accent);
	color: var(--accent);
	overflow: hidden;
}
.btn-fill::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s var(--ease);
	z-index: 0;
}
.btn-fill:hover::before { transform: scaleX(1); }
.btn-fill:hover { color: #fff; }
.btn-fill > * { position: relative; z-index: 1; }

.btn-outline {
	border: 1.5px solid var(--border);
	color: var(--text-body);
	font-weight: 500;
	letter-spacing: 0.06em;
	transition: border-color 0.3s, color 0.3s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-solid {
	background: var(--accent);
	color: #fff;
	border: 1.5px solid var(--accent);
}
.btn-solid:hover { filter: brightness(1.1); transform: translateY(-2px); }

/* ==========================================================================
   Scroll Reveal
   ========================================================================== */
.js-reveal {
	opacity: 0;
	transform: translateY(44px);
	transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
	transition-delay: var(--delay, 0s);
}
.js-reveal.is-visible { opacity: 1; transform: none; }

.js-reveal-left {
	opacity: 0;
	transform: translateX(-44px);
	transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
	transition-delay: var(--delay, 0s);
}
.js-reveal-left.is-visible { opacity: 1; transform: none; }

@keyframes pulse {
	0%, 100% { opacity: 0.4; transform: scale(0.8); }
	50% { opacity: 1; transform: scale(1.2); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
