/*
Theme Name: Project Elevate
Template: kadence
Description: Sarvaa Organics brand relaunch — child theme of Kadence.
Author: Sarvaa Organics
Version: 1.0.0
*/

/* ==========================================================================
   Project Elevate — Extended Design Tokens
   Kadence Customizer handles: palette (--global-palette*), base fonts, header/footer.
   Everything below extends beyond what the Customizer provides.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Oswald:wght@300;400;500&display=swap');

:root {
  /* --- Brand greens (shorthand aliases) --- */
  --sarvaa-green:         #91b75b;
  --sarvaa-green-hover:   #a8d16a;
  --sarvaa-green-dark:    #506634;
  --sarvaa-heading:       #303f20;
  --sarvaa-ink:           #0e1309;
  --sarvaa-tan-dark:      #4f3f2f;
  --sarvaa-tan:           #b39c88;

  /* --- Current theme greens (IN USE — brand palette above is on hold) --- */
  --theme-green:          #91b75b;
  --theme-green-dark:     #506634;
  --theme-green-darker:   #303f20;
  --theme-ink:            #0e1309;

  /* --- Product accent colors (from packaging) + light/dark variants --- */
  --product-greens:       #2c8a3e;
  --product-greens-light: #dfede2;
  --product-greens-dark:  #206a2e;
  --product-protein:       #e7771a;
  --product-protein-light: #fbeadc;
  --product-protein-dark:  #b45d14;
  --product-cacao:        #a05a2c;
  --product-cacao-light:  #f0e6df;
  --product-cacao-dark:   #784421;
  --product-strength:        #6b3a8f;
  --product-strength-light:  #e9e1ee;
  --product-strength-dark:   #502c6b;
  --product-chocolate:        #c8362e;
  --product-chocolate-light:  #f7e1e0;
  --product-chocolate-dark:   #962923;

  /* --- Neutral extensions --- */
  --bg-warm:              #f2eee9;
  --bg-cool:              #f2f1ef;
  --bg-alert:             #e8e8e8;
  --border:               #dfdfdf;
  --border-strong:        #0e1309;
  --muted-1:              #757575;
  --muted-2:              #a5a5a5;
  --disabled-bg:          #d7d3cf;
  --disabled-fg:          #d9d8d7;

  /* --- Semantic --- */
  --success:              #69d66f;
  --warning:              #d4cb49;
  --error:                #ff7d7d;
  --order:                #bd5b00;

  /* --- Display fonts (beyond Customizer) --- */
  --font-display-serif:   "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-logo:            "Oswald", Arial, Helvetica, sans-serif;

  /* --- Spacing (14px base) --- */
  --sp-xs:    0.25rem;
  --sp-sm:    0.5rem;
  --sp-md:    0.75rem;
  --sp-base:  1rem;
  --sp-lg:    1.5rem;
  --sp-xl:    2rem;
  --sp-2xl:   2.28571rem;
  --sp-3xl:   3rem;
  --sp-4xl:   4rem;
  --sp-5xl:   6rem;

  /* --- Borders / Radii / Shadows --- */
  --radius-sm:    2px;
  --radius:       4px;
  --radius-pill:  2rem;
  --radius-round: 50%;

  --shadow-1: 0 1px 2px rgba(14,19,9,0.06), 0 1px 1px rgba(14,19,9,0.04);
  --shadow-2: 0 4px 12px rgba(14,19,9,0.08), 0 2px 4px rgba(14,19,9,0.04);
  --shadow-3: 0 12px 32px rgba(14,19,9,0.12), 0 4px 8px rgba(14,19,9,0.06);
  --shadow-petal: 0 8px 24px rgba(48,63,32,0.18);

  /* --- Motion --- */
  --ease:      cubic-bezier(.2,.7,.2,1);
  --ease-in:   cubic-bezier(.4,0,1,1);
  --dur-fast:  120ms;
  --dur:       200ms;
  --dur-slow:  400ms;
}

/* --- Display serif utility --- */
.display-serif {
  font-family: var(--font-display-serif);
  font-weight: 500;
  letter-spacing: 0;
}

/* --- Product titles — display serif sitewide --- */
.woocommerce-loop-product__title,
.product_title,
.woocommerce div.product .product_title,
.wc-block-components-product-name,
h2.woocommerce-loop-product__title {
  font-family: var(--font-display-serif);
  font-weight: 500;
  letter-spacing: 0;
}

/* --- Logo wordmark utility --- */
.logo-wordmark {
  font-family: var(--font-logo);
  font-weight: 300;
  letter-spacing: 5px;
  text-transform: uppercase;
}

/* ==========================================================================
   Project Elevate — Homepage Modules
   ========================================================================== */

/* --- Shared --- */
.el-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- MODULE 2: Hero --- */
.el-hero {
  background: linear-gradient(180deg, #faf7f1 0%, #f6f4ee 100%);
  padding: 72px 0 56px;
  text-align: center;
}
.el-hero__eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sarvaa-green-dark);
  font-style: italic;
}
.el-hero__h1 {
  font-family: var(--font-display-serif);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -1px;
  color: var(--sarvaa-ink);
  margin: 16px auto 18px;
  max-width: 880px;
}
.el-hero__sub {
  font-size: 18px;
  color: var(--muted-1);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.el-hero__still {
  height: 240px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(80,102,52,0.12) 0%, rgba(160,90,44,0.08) 60%, rgba(231,119,26,0.12) 100%),
    linear-gradient(180deg, #e8e6e1 0%, #d9d6cf 100%);
  margin: 0 auto 40px;
  max-width: 1100px;
}

/* Goal grid */
.el-goal-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .el-goal-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .el-goal-grid { grid-template-columns: repeat(2, 1fr); }
}
.el-goal-tile {
  background: #ffffff;
  border-radius: 8px;
  padding: 22px 12px;
  text-align: center;
  border: 1px solid #ece8df;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease);
}
.el-goal-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--sarvaa-green);
}
.el-goal-tile__icon {
  height: 64px;
  width: 64px;
  border-radius: var(--radius-round);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: #ecf3df;
}
.el-goal-tile:nth-child(1) .el-goal-tile__icon { background: #ecf3df; }
.el-goal-tile:nth-child(2) .el-goal-tile__icon { background: #efe4f5; }
.el-goal-tile:nth-child(3) .el-goal-tile__icon { background: #fbe8d4; }
.el-goal-tile:nth-child(4) .el-goal-tile__icon { background: #f5e0e4; }
.el-goal-tile:nth-child(5) .el-goal-tile__icon { background: #f1e2d2; }
.el-goal-tile:nth-child(6) .el-goal-tile__icon { background: #f6efdc; }

.el-goal-tile__name {
  font-family: var(--font-display-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--sarvaa-ink);
  margin-bottom: 2px;
}
.el-goal-tile__cta {
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--sarvaa-green-dark);
  font-weight: 600;
}

/* Credentials bar */
.el-hero__credentials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  font-size: 13px;
  color: var(--muted-1);
  align-items: center;
  margin-top: 16px;
}
.el-hero__credentials strong { color: var(--sarvaa-heading); }
.el-dot { color: #c8c4bb; }

/* ==========================================================================
   Project Elevate — Header Strips
   Source: strategy+ia+library/layouts/home_selected.html (Modules 1 & 3)
   Rendered in header.php around the Kadence nav.
   ========================================================================== */

/* --- Promo bar (announcement strip, above nav) ---
   Single centered line of promos on a full-bleed light-green band. */
.el-promo-bar {
  background: var(--product-greens-light);
  color: var(--theme-green-darker);
  padding: 9px 0;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.3px;
  text-align: center;
}
.el-promo-bar__inner { padding: 0 24px; }
.el-promo-bar strong { color: var(--theme-green-dark); font-weight: 600; }
.el-promo-bar__sep { color: var(--theme-green); margin: 0 12px; }
@media (max-width: 600px) {
  .el-promo-bar__sep { margin: 0 8px; }
}

/* --- Trust strip (5-pillar heritage, below nav) --- */
.el-trust-strip {
  background: #faf7f1;
  border-top: 1px solid #ece8df;
  border-bottom: 1px solid #ece8df;
}
.el-trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 40px;
}
.el-trust-strip__grid > div {
  font-size: 12px;
  color: #4f4f4f;
  letter-spacing: 0.3px;
}
.el-trust-strip__grid strong {
  display: block;
  font-family: var(--font-display-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--theme-ink);
  margin-bottom: 4px;
}
/* Each pillar carries a product accent (dark variant for legibility on the light band) */
.el-trust-strip__grid > div:nth-child(1) strong { color: var(--product-greens-dark); }
.el-trust-strip__grid > div:nth-child(2) strong { color: var(--product-cacao-dark); }
.el-trust-strip__grid > div:nth-child(3) strong { color: var(--product-greens-dark); }
.el-trust-strip__grid > div:nth-child(4) strong { color: var(--product-strength-dark); }
.el-trust-strip__grid > div:nth-child(5) strong { color: var(--product-protein-dark); }
@media (max-width: 800px) {
  .el-trust-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
