/*
Theme Name: Ayursoul Physiotherapy
Theme URI: https://physiotherapy.ayursoul.com
Author: AyurSoul Healthcare
Author URI: https://ayursoul.com
Description: Independent WordPress theme for Ayursoul Physiotherapy — doctor-led physiotherapy & medical acupuncture clinic in Noida Sector 75. Built from scratch; shares no code with the ayursoul-clinic theme.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ayursoul-physiotherapy
*/

/* =========================================================================
   Design tokens — the ONLY place these values are defined. Every template
   (front-page.php, inc/page-*.php, header.php, footer.php) reads colors,
   spacing, radii and shadows from these custom properties so the whole
   site stays visually consistent without duplicating literal values.
   Independent from ayursoul-clinic's green/saffron system by design.
   ========================================================================= */
:root {
	/* Primary — clinical teal-blue */
	--aps-primary: #0f5c73;
	--aps-primary-mid: #14778f;
	--aps-primary-light: #eaf4f6;
	--aps-primary-dark: #0a4655;

	/* Accent — warm terracotta */
	--aps-accent: #e0703e;
	--aps-accent-light: #fdece2;
	--aps-accent-dark: #c25a2c;

	/* Text & surfaces */
	--aps-text: #1c2b2f;
	--aps-text-muted: #526266;
	--aps-border: #d7e3e5;
	--aps-white: #ffffff;
	--aps-surface: #f7fbfb;

	/* Typography */
	--aps-font-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--aps-font-body: 'Inter', 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;

	/* Spacing scale */
	--aps-space-1: 4px;
	--aps-space-2: 8px;
	--aps-space-3: 12px;
	--aps-space-4: 16px;
	--aps-space-5: 24px;
	--aps-space-6: 32px;
	--aps-space-7: 48px;
	--aps-space-8: 64px;
	--aps-space-9: 96px;

	/* Layout */
	--aps-container-width: 1180px;
	--aps-gutter: max(16px, 4.5vw);
	--aps-radius-sm: 6px;
	--aps-radius-md: 12px;
	--aps-radius-lg: 20px;
	--aps-radius-full: 999px;

	/* Elevation */
	--aps-shadow-sm: 0 1px 2px rgba(15, 92, 115, 0.08);
	--aps-shadow-md: 0 8px 24px rgba(15, 92, 115, 0.12);
	--aps-shadow-lg: 0 20px 45px rgba(15, 92, 115, 0.18);

	/* Stacking */
	--aps-z-header: 500;
	--aps-z-dropdown: 510;
	--aps-z-mobile-nav: 520;
}

/* =========================================================================
   Reset & base — deliberately small. Per-page visual design lives inline
   in each template, scoped under that template's wrapper class
   (.aps-home, .aps-about, .aps-contact, .aps-conditions …) so no template's
   CSS can bleed into another's.
   ========================================================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	font-family: var(--aps-font-body);
	font-size: 16px;
	color: var(--aps-text);
	background: var(--aps-white);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--aps-font-display);
	color: var(--aps-text);
	line-height: 1.25;
	margin: 0 0 var(--aps-space-4);
	font-weight: 700;
}

p {
	margin: 0 0 var(--aps-space-4);
}

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

a {
	color: var(--aps-primary);
	text-decoration: none;
}

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

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

input,
textarea,
select {
	font-family: inherit;
	font-size: 1rem;
}

:focus-visible {
	outline: 3px solid var(--aps-accent);
	outline-offset: 2px;
}

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

.aps-skip-link {
	position: absolute;
	left: var(--aps-space-3);
	top: -60px;
	background: var(--aps-primary);
	color: var(--aps-white);
	padding: 10px 18px;
	border-radius: var(--aps-radius-sm);
	z-index: 1000;
	transition: top 0.2s ease;
}

.aps-skip-link:focus {
	top: var(--aps-space-3);
}

/* =========================================================================
   Shared primitives — reused across header, footer, and every page
   template. Keep this list short; anything template-specific belongs
   inline in that template instead.
   ========================================================================= */
.aps-container {
	width: 100%;
	max-width: var(--aps-container-width);
	margin: 0 auto;
	padding: 0 var(--aps-gutter);
}

.aps-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-family: var(--aps-font-display);
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.2;
	padding: 13px 24px;
	border-radius: var(--aps-radius-full);
	border: 2px solid transparent;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.aps-btn:hover {
	transform: translateY(-1px);
}

.aps-btn--primary {
	background: var(--aps-primary);
	color: var(--aps-white);
}

.aps-btn--primary:hover {
	background: var(--aps-primary-mid);
	color: var(--aps-white);
}

.aps-btn--accent {
	background: var(--aps-accent);
	color: var(--aps-white);
}

.aps-btn--accent:hover {
	background: var(--aps-accent-dark);
	color: var(--aps-white);
}

.aps-btn--outline {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.7);
	color: var(--aps-white);
}

.aps-btn--outline:hover {
	background: rgba(255, 255, 255, 0.14);
	border-color: var(--aps-white);
	color: var(--aps-white);
}

.aps-btn--outline-primary {
	background: transparent;
	border-color: var(--aps-primary);
	color: var(--aps-primary);
}

.aps-btn--outline-primary:hover {
	background: var(--aps-primary-light);
}

.aps-btn--sm {
	padding: 8px 16px;
	font-size: 0.82rem;
}

.aps-btn--block {
	width: 100%;
}
