/*
Theme Name:   Spirited Hen
Description:  Kadence child theme for Spirited Hen, Inc. Includes the custom homepage (front-page.php).
Author:       Spirited Hen, Inc.
Template:     kadence
Version:      1.2.0
Text Domain:  spirited-hen
*/

/* Add any site-wide CSS tweaks below this line. */

/* ---- Spirited Hen palette & fonts ----
 * Shared by everything below and by css/front-page.css (homepage only).
 */
:root {
  --sh-ink: #1C3A3D;
  --sh-teal: #1F6B71;
  --sh-cream: #FFF8F6;
  --sh-white: #FFFFFF;
  --sh-muted: #46585A;
  --sh-magenta: #C60A8D;
  --sh-yellow: #FCD205;
  --sh-yellow-hover: #F3B23A;
  --sh-yellow-soft: #FFF2BF;
  --sh-pink: #FABFE2;
  --sh-pink-soft: #FDE4F2;
  --sh-mint: #DDF0F0;
  --sh-line: #A9CFD1;
  --sh-on-dark: #D4E8E9;
  --sh-on-dark-muted: #BFD6D8;
  --sh-rule-dark: #2E5559;
  --sh-heading-on-dark: var(--sh-cream);   /* headings on ink/teal panels */
  --sh-serif: 'Bree Serif', Georgia, serif;
  --sh-sans: Lato, system-ui, sans-serif;
}

@font-face {
  font-family: 'Bree Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/BreeSerif-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Lato-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/Lato-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/Lato-Italic.woff2') format('woff2');
}

/* ---- Spirited Hen colors for Paymattic forms ---- */

/* Form panel: white with a mint border, rounded like the homepage cards */
.wpf_form_wrapper,
form.wpf_form {
  background: var(--sh-white);
  border: 1px solid var(--sh-mint);
  box-shadow: 0 8px 32px rgba(28, 58, 61, 0.06);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 48px);
  color: var(--sh-ink);
  font-family: var(--sh-sans);
}

/* Headings inside the form */
.wpf_form_wrapper h1,
.wpf_form_wrapper h2,
.wpf_form_wrapper h3 {
  font-family: var(--sh-serif);
  font-weight: 400;
  color: var(--sh-ink);
}

/* Links */
.wpf_form_wrapper a { color: var(--sh-teal); font-weight: 700; }

/* Text inputs */
.wpf_form_wrapper input[type="text"],
.wpf_form_wrapper input[type="email"],
.wpf_form_wrapper input[type="tel"],
.wpf_form_wrapper input[type="number"] {
  background: var(--sh-white);
  border: 1px solid var(--sh-line);
  border-radius: 12px;
}

.wpf_form_wrapper input,
.wpf_form_wrapper select,
.wpf_form_wrapper textarea,
.wpf_form_wrapper button,
.wpf_form_wrapper label {
  font-family: var(--sh-sans);
}

.wpf_form_wrapper input:focus {
  border-color: var(--sh-teal);
  outline: 2px solid var(--sh-teal);
  outline-offset: 1px;
}

/* Submit button: logo yellow, pill shape like the homepage */
.wpf_form_wrapper button[type="submit"],
.wpf_form_wrapper .wpf_submit_button {
  background: var(--sh-yellow) !important;
  color: var(--sh-ink) !important;
  border: 0 !important;
  border-radius: 999px !important;
  min-height: 52px;
  padding: 0 32px !important;
  font-weight: 700;
  font-size: 17px;
}
.wpf_form_wrapper button[type="submit"]:hover,
.wpf_form_wrapper .wpf_submit_button:hover {
  background: var(--sh-yellow-hover) !important;   /* slightly deeper yellow on hover */
}
