/*
Theme Name: Unleashed Alliance
Theme URI: https://unleashedalliance.org
Author: Unleashed Alliance
Author URI: https://unleashedalliance.org
Description: A custom WordPress theme for Unleashed Alliance, a nonprofit saving animals from euthanasia by partnering with shelters and selling puppy adoption kits.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: unleashed-alliance
Tags: custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, e-commerce
*/

/* ============================================
   Design Tokens
   ============================================ */
:root {
  --green: #1E4035;
  --amber: #D98B2F;
  --cream: #FAF7F2;
  --sage: #7DAF8E;
  --rust: #C05C3A;
  --cream-mid: #F2EDE4;
  --white: #FFFFFF;
  --black: #1A1A1A;
  --font-display: 'Fraunces', serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 16px rgba(30, 64, 53, 0.18);
  --shadow-sm: 0 1px 8px rgba(30, 64, 53, 0.1);
  --transition: 0.3s ease;
  --container: 1200px;
  --gap: 2rem;
}

/* ============================================
   CSS Reset
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--green);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.375rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

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

.section {
  padding: 5rem 0;
}

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

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

.section--cream-mid {
  background-color: var(--cream-mid);
}

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

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__header h2 {
  margin-bottom: 1rem;
}

.section__header p {
  font-size: 1.125rem;
  max-width: 640px;
  margin-inline: auto;
  opacity: 0.85;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
}

.btn--amber {
  background-color: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}

.btn--amber:hover,
.btn--amber:focus {
  background-color: #c47d2a;
  border-color: #c47d2a;
  color: var(--white);
}

.btn--outline {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline:hover,
.btn--outline:focus {
  background-color: var(--white);
  color: var(--green);
}

.btn--green {
  background-color: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn--green:hover,
.btn--green:focus {
  background-color: #163028;
  border-color: #163028;
  color: var(--white);
}

.btn--rust {
  background-color: var(--rust);
  color: var(--white);
  border-color: var(--rust);
}

.btn--rust:hover,
.btn--rust:focus {
  background-color: #a84e32;
  border-color: #a84e32;
  color: var(--white);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}
