<style>/* Ted Gibson Beauty & Wellness Theme */
/* Modern, Minimalist, Premium Aesthetic */
/* Font: Jost (loaded via Google Fonts in header.html) */

/* ===================================
   CSS VARIABLES
   =================================== */
:root {
    /* Brand Colors */
    --brand-primary: #2D5F3F;      /* Forest Green - Primary CTA */
    --brand-dark: #1A3A28;         /* Deep Forest - Headers, Dark Elements */
    --brand-light: #FFFFFF;        /* Cream White - Backgrounds */
    --brand-accent: #3D7A52;       /* Sage Green - Hover States */
    --brand-neutral: #4A4A4A;      /* Charcoal Gray - Body Text */

    /* Semantic Colors */
    --color-text-primary: #1A1A1A;
    --color-text-secondary: #4A4A4A;
    --color-text-light: #FFFFFF;
    --color-background: #FFFFFF;
    --color-background-alt: #FDFDF8;
    --color-border: #E8E8E8;
    --color-success: #2D5F3F;
    --color-error: #D64545;

    /* Typography Scale */
    --text-xs: 0.75rem;      /* 12px */
    --text-sm: 0.875rem;     /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg: 1.125rem;     /* 18px */
    --text-xl: 1.25rem;      /* 20px */
    --text-2xl: 1.5rem;      /* 24px */
    --text-3xl: 1.875rem;    /* 30px */
    --text-4xl: 2.25rem;     /* 36px */
    --text-5xl: 3rem;        /* 48px */
    --text-6xl: 3.75rem;     /* 60px */

    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Z-index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-popover: 500;
    --z-tooltip: 600;
}

/* ===================================
   GLOBAL RESETS
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Jost', sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-secondary);
    background-color: var(--color-background);
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Jost', sans-serif !important;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
    margin-bottom: var(--space-4);
    line-height: 1.7;
}

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--brand-accent);
}

/* ===================================
   CMS UTILITY CLASSES
   =================================== */

/* Background Colors */
.cms-bg-primary { background-color: var(--brand-primary) !important; }
.cms-bg-dark { background-color: var(--brand-dark) !important; }
.cms-bg-light { background-color: var(--brand-light) !important; }
.cms-bg-accent { background-color: var(--brand-accent) !important; }
.cms-bg-neutral { background-color: var(--brand-neutral) !important; }

/* Text Colors */
.cms-text-primary { color: var(--brand-primary) !important; }
.cms-text-dark { color: var(--brand-dark) !important; }
.cms-text-light { color: var(--brand-light) !important; }
.cms-text-accent { color: var(--brand-accent) !important; }
.cms-text-neutral { color: var(--brand-neutral) !important; }

/* Border Colors */
.cms-border-primary { border-color: var(--brand-primary) !important; }
.cms-border-dark { border-color: var(--brand-dark) !important; }
.cms-border-light { border-color: var(--brand-light) !important; }
.cms-border-accent { border-color: var(--brand-accent) !important; }
.cms-border-neutral { border-color: var(--brand-neutral) !important; }

/* Button Styles */
.cms-btn {
    display: inline-block;
    padding: var(--space-3) var(--space-8);
    font-size: var(--text-base);
    font-weight: 500;
    text-align: center;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    letter-spacing: 0.025em;
}

.cms-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* TedGibson Brand Button */
.cms-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: 'Jost', sans-serif !important;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #FFFFFF !important;
    background-color: #1A3A28 !important;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    line-height: 1;
}

.cms-button:hover {
    background-color: #2D5F3F !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cms-button:active {
    transform: translateY(0);
}

/* ===================================
   LAYOUT UTILITIES
   =================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.container-narrow {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section {
    padding: var(--space-20) 0;
}

.section-sm {
    padding: var(--space-12) 0;
}

.section-lg {
    padding: var(--space-24) 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-8);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Flexbox Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* ===================================
   FORM ELEMENTS
   =================================== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    font-family: inherit;
    color: var(--color-text-primary);
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(45, 95, 63, 0.1);
}

button,
.button {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-base);
    font-weight: 500;
    font-family: inherit;
    color: var(--color-text-light);
    background-color: var(--brand-primary);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
}



/* ===================================
   RESPONSIVE IMAGES
   =================================== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.slide-in {
    animation: slideIn 0.6s ease forwards;
}

/* ===================================
   RESPONSIVE BREAKPOINTS
   =================================== */

/* Tablet */
@media (max-width: 768px) {
    :root {
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
        --text-3xl: 1.75rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--space-16) 0;
    }

    h1 { font-size: var(--text-4xl); }
    h2 { font-size: var(--text-3xl); }
    h3 { font-size: var(--text-2xl); }
}

/* Mobile */
@media (max-width: 480px) {
    :root {
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.5rem;
    }

    .container {
        padding: 0 var(--space-4);
    }

    .section {
        padding: var(--space-12) 0;
    }
}

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

/* Focus Visible */
*:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
</style>