/*
Theme Name: Siahus
Theme URI: https://siahus.cloudbranch.co
Author: Siahus
Author URI: https://siahus.com
Description: Custom theme for Siahus - Ceremonial Grade Plant Extracts. A warm, natural aesthetic featuring watercolor botanical elements and an organic color palette.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: siahus
Tags: custom-logo, custom-menu, featured-images, theme-options, full-site-editing

Siahus Theme - Ceremonial Grade Plant Extracts
*/

/* ========================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ======================================== */
:root {
  /* Brand Colors - derived from Siahus logo */
  --color-coral: #E8846C;
  --color-coral-light: #F2A08E;
  --color-coral-dark: #D4705A;
  --color-sage: #5B8A6B;
  --color-sage-light: #7BA388;
  --color-sage-dark: #4A7358;

  /* Neutral Palette - warm creams inspired by Watchhouse */
  --color-cream: #FAF8F5;
  --color-cream-dark: #F5F1EB;
  --color-warm-white: #FFFEFA;
  --color-text: #2C2925;
  --color-text-light: #5C5850;
  --color-text-muted: #8A857C;
  --color-border: #E8E4DD;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 10rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-width: 1400px;
  --header-height: 110px;
  --utility-bar-height: 36px;

  /* Aliases used in learning-center.css / shop.css */
  --color-white:     #FFFEFA;
  --font-sans:       "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-pill:     9999px;
  --radius-card:     12px;
  --transition-base: 0.2s ease;

  /* Shadows */
  --color-shadow:    rgba(44, 41, 37, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-cream);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.text-serif {
  font-family: var(--font-display);
}

.text-italic {
  font-style: italic;
}

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

.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section--large {
  padding: var(--space-2xl) 0;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--color-cream);
  clip: auto !important;
  clip-path: none;
  color: var(--color-text);
  display: block;
  font-size: 1rem;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
