/*
Theme Name: Salon Theme
Theme URI: https://example.com/salon-theme
Author: Smart Salon
Author URI: https://example.com
Description: A custom, ACF-driven WordPress theme for hair salons and barbershops. Modular sections, dynamic navigation and fully editable content.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: salon-theme
Tags: salon, barbershop, custom-theme, acf
*/

/* -------------------------------------------------------------------------
   Design tokens (CSS custom properties)
   These are overridden dynamically by the theme option "accent colour".
   ------------------------------------------------------------------------- */
:root {
	/* Brand palette (accent values are overridden from Salon Settings → Theme Style) */
	--salon-accent: #be8f45;
	--salon-accent-hover: #a87a33;
	--salon-accent-soft: rgba(190, 143, 69, 0.16);
	--salon-accent-border: rgba(190, 143, 69, 0.45);
	--salon-accent-soft-2: rgba(190, 143, 69, 0.35);
	--salon-accent-bright: #d4a861;
	--salon-accent-bright-soft: rgba(212, 168, 97, 0.5);
	--salon-brand-dark: #110b02;

	--salon-bg: #ffffff;
	--salon-bg-alt: #f6f6f6;
	--salon-surface: #1b140c;
	--salon-surface-2: #2a2016;
	--salon-border: #e4e4e4;
	--salon-border-strong: #aeaeae;

	--salon-text: #787878;
	--salon-text-muted: #a1a1a1;
	--salon-heading: #141414;
	--salon-dark: #000002;

	--salon-font-heading: "Cormorant Garamond", Georgia, serif;
	--salon-font-body: "Lato", Arial, sans-serif;

	--salon-container: 1200px;
	--salon-gutter: 50px;
	--salon-radius: 3px;
	--salon-section-pad: 80px;

	--salon-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	--salon-transition: 0.3s ease;
}


/* -------------------------------------------------------------------------
   Base reset & document setup
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 120px;
}

body {
	margin: 0;
	background-color: var(--salon-bg);
	color: var(--salon-text);
	font-family: var(--salon-font-body);
	font-size: 1rem;
	line-height: 1.5;
	font-weight: 400;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.6em;
	color: var(--salon-heading);
	font-family: var(--salon-font-heading);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
}

p {
	margin: 0 0 1.2em;
}

a {
	color: var(--salon-accent);
	text-decoration: none;
	transition: color var(--salon-transition);
}

a:hover,
a:focus {
	color: var(--salon-accent-hover);
}

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

ul,
ol {
	padding-left: 1.2em;
}

figure {
	margin: 0;
}

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

/* -------------------------------------------------------------------------
   Accessibility helpers
   ------------------------------------------------------------------------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 1rem;
	z-index: 100000;
	padding: 0.75rem 1.25rem;
	background: var(--salon-accent);
	color: var(--salon-dark);
	border-radius: var(--salon-radius);
}

.skip-link:focus {
	top: 1rem;
}

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

/* -------------------------------------------------------------------------
   WordPress core alignment / caption support
   ------------------------------------------------------------------------- */
.alignleft {
	float: left;
	margin: 0 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	font-size: 0.875rem;
	color: var(--salon-text-muted);
	text-align: center;
	padding: 0.5rem 0;
}

.sticky,
.gallery-caption,
.bypostauthor {
	font-size: inherit;
}
