/*
Theme Name: Toga Massage
Theme URI: https://togamassage.com
Description: Toga Massage - Child Theme for Kadence. Custom design system, typography, and blocks for Home Massage, Spa & Reflexology.
Author: Antigravity AI
Author URI: https://togamassage.com
Template: kadence
Version: 1.0.0
Text Domain: toga-massage
*/

/* ==========================================================================
   1. GOOGLE FONTS IMPORT
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,400&family=Jost:wght@300;400;500&display=swap');

/* ==========================================================================
   2. DESIGN SYSTEM TOKENS (CSS CUSTOM PROPERTIES)
   ========================================================================== */
:root {
	/* Color Palette */
	--color-espresso: #3D2010;  /* Primary BG, Hero, Header */
	--color-mahogany: #5C3118;  /* Surface, Cards, About BG */
	--color-gold: #C9A84C;      /* Brand accent, CTA button, ornament */
	--color-gold-light: #E8C96A; /* Hover state, highlight */
	--color-champagne: #E8D5A3; /* Text on dark background */
	--color-linen: #FDF8F0;     /* Light section background */
	--color-noir: #1A0F08;      /* Darkest BG variation */

	/* Typography Families */
	--font-display: 'Cormorant Garamond', serif;
	--font-body: 'Jost', sans-serif;

	/* Spacing Tokens */
	--space-micro: 4px;
	--space-compact: 8px;
	--space-default: 16px;
	--space-section: 32px;
	--space-hero: 80px;
}

/* Breakpoint-based Spacing Adjustments */
@media (min-width: 768px) {
	:root {
		--space-section: 64px;
		--space-hero: 120px;
	}
}

/* ==========================================================================
   3. BASE & RESET STYLES (Complementing Kadence)
   ========================================================================== */
body {
	font-family: var(--font-body);
	font-weight: 300;
	color: var(--color-noir);
	background-color: var(--color-linen);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Heading Styles */
h1, h2, h3, h4, h5, h6,
.entry-title, .entry-content h1, .entry-content h2, .entry-content h3 {
	font-family: var(--font-display);
	color: var(--color-espresso);
	margin-top: 0;
	margin-bottom: var(--space-default);
	line-height: 1.2;
}

h1, .h1 {
	font-weight: 300;
	font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2, .h2 {
	font-weight: 300;
	font-size: clamp(2rem, 4vw, 3.5rem);
}

h3, .h3 {
	font-weight: 400;
	font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.subheading {
	font-family: var(--font-display);
	font-weight: 400;
	font-style: italic;
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	color: var(--color-mahogany);
}

/* Links & Interactive */
a {
	color: var(--color-gold);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover, a:focus {
	color: var(--color-gold-light);
}

/* Typography Utilities */
.label-text, .nav-text {
	font-family: var(--font-body);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Button Base Styles (to override Kadence defaults if necessary) */
.btn, .wp-block-button__link {
	font-family: var(--font-body);
	font-weight: 500;
	text-transform: uppercase;
	padding: 12px 24px;
	border-radius: 0;
	transition: all 0.3s ease;
}

.btn-primary, .wp-block-button.is-style-fill .wp-block-button__link {
	background-color: var(--color-gold);
	color: var(--color-espresso);
	border: 1px solid var(--color-gold);
}

.btn-primary:hover, .wp-block-button.is-style-fill .wp-block-button__link:hover {
	background-color: var(--color-gold-light);
	border-color: var(--color-gold-light);
	color: var(--color-espresso);
}

.btn-secondary, .wp-block-button.is-style-outline .wp-block-button__link {
	background-color: transparent;
	color: var(--color-champagne);
	border: 1px solid var(--color-gold);
}

.btn-secondary:hover, .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background-color: var(--color-gold);
	color: var(--color-espresso);
}
