/*
Theme Name: GarryCoins Child
Description: A minimal GeneratePress child theme for GarryCoins.
Author: GarryCoins
Template: generatepress
Version: 1.0.0
Text Domain: garrycoins-child
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Use native anchor navigation and honor the visitor's motion preference. */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/*
 * GarryCoins color system.
 * Use these semantic tokens throughout the child theme instead of literal colors.
 * Keep most surfaces light; reserve navy for emphasis and teal for primary actions.
 */
:root {
	/* Core palette. */
	--gc-color-brand: #183b63;
	--gc-color-accent: #087f8c;
	--gc-color-background: #f3f6fa;
	--gc-color-surface: #ffffff;
	--gc-color-text: #172b41;
	--gc-color-text-muted: #52647a;

	/* Surfaces and dividers. */
	--gc-color-surface-subtle: #e8eef5;
	--gc-color-surface-inverse: var(--gc-color-brand);
	--gc-color-text-inverse: var(--gc-color-surface);
	--gc-color-border: #cfd9e5;
	--gc-color-border-control: #718198;

	/* Actions and keyboard focus. */
	--gc-color-action: var(--gc-color-accent);
	--gc-color-action-hover: #066570;
	--gc-color-action-text: var(--gc-color-text-inverse);
	--gc-color-link: var(--gc-color-brand);
	--gc-color-link-hover: var(--gc-color-action-hover);
	--gc-color-focus: var(--gc-color-accent);
	--gc-color-focus-offset: var(--gc-color-surface);

	/* Status colors must always be accompanied by text or an icon. */
	--gc-color-positive: #23734d;
	--gc-color-positive-surface: #eaf5ef;
	--gc-color-negative: #b43d4b;
	--gc-color-negative-surface: #fceef0;
	--gc-color-warning: #855707;
	--gc-color-warning-surface: #fff5de;

	/* Charts: also distinguish series using labels, markers, or line patterns. */
	--gc-color-chart-primary: var(--gc-color-brand);
	--gc-color-chart-secondary: var(--gc-color-accent);
	--gc-color-chart-benchmark: var(--gc-color-text-muted);
	--gc-color-chart-grid: var(--gc-color-border);
}
