/*
Theme Name: Peaches Mindcare
Theme URI: https://peachesmindcare.com
Author: Amber Faille, LCSW
Author URI: https://peachesmindcare.com
Description: A warm, welcoming WordPress theme for Peaches Mindcare — a California-licensed clinical social work practice by Amber Faille, LCSW.
Version: 1.1.3
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: peachesmindcare
Tags: mental-health, therapy, wellness, one-column, custom-colors, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready
*/

/* =========================================================
   CSS CUSTOM PROPERTIES
   ========================================================= */
:root {
    --color-peach:         #E8956D;
    --color-peach-light:   #FFF0E6;
    --color-peach-mid:     #F5C9A8;
    --color-peach-dark:    #C97044;
    --color-sage:          #7A9E8A;
    --color-sage-light:    #EAF3EE;
    --color-warm-brown:    #5C3D2E;
    --color-text:          #3A2E2A;
    --color-text-muted:    #7A6A62;
    --color-white:         #FFFFFF;
    --color-off-white:     #FDF8F5;
    --color-border:        #EDD9CC;

    --font-heading:        'Cormorant Garamond', Georgia, serif;
    --font-body:           'Lato', 'Helvetica Neue', Arial, sans-serif;

    --spacing-xs:   0.5rem;
    --spacing-sm:   1rem;
    --spacing-md:   1.5rem;
    --spacing-lg:   2.5rem;
    --spacing-xl:   4rem;
    --spacing-xxl:  6rem;

    --max-width:    1160px;
    --border-radius: 8px;
    --border-radius-lg: 16px;

    --shadow-sm:    0 2px 8px rgba(92, 61, 46, 0.08);
    --shadow-md:    0 4px 20px rgba(92, 61, 46, 0.12);
    --shadow-lg:    0 8px 40px rgba(92, 61, 46, 0.16);

    --transition:   0.25s ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--color-peach-dark);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover,
a:focus {
    color: var(--color-peach);
    text-decoration: underline;
}

a:focus-visible {
    outline: 3px solid var(--color-peach);
    outline-offset: 2px;
    border-radius: 2px;
}

ul, ol {
    padding-left: 1.5rem;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-warm-brown);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 400; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.85rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-sm);
    max-width: 70ch;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

blockquote {
    border-left: 4px solid var(--color-peach);
    padding: var(--spacing-md) var(--spacing-lg);
    margin: var(--spacing-lg) 0;
    background: var(--color-peach-light);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--color-warm-brown);
}

hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: var(--spacing-lg) 0;
}

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container--narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xxl) 0;
}

.section--light {
    background-color: var(--color-off-white);
}

.section--sage {
    background-color: var(--color-sage-light);
}

.section--peach {
    background-color: var(--color-peach-light);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }

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