/* =============================================================
   M3 BRAND TOKENS — Maranatha Music Ministries
   The Invitation Series website

   This file holds every color, font, size, and spacing value
   for the whole site. Every other CSS file uses these variables
   instead of typing hex codes directly.

   The palette and fonts match the Invitation landing pages
   (invitation.maranathamusicministries.org), so a visitor moving
   between the two sees one brand: deep teal ink, warm ivory,
   soft gold, Young Serif headlines and Plus Jakarta Sans text.

   To change a color across the entire website, change it here
   once. Nothing else needs to be edited.

   HOW TO USE A VARIABLE:   color: var(--color-gold);
   ============================================================= */


/* Loads the two brand fonts from Google Fonts.
   This line must stay at the very top of the file. */
@import url('https://fonts.googleapis.com/css2?family=Young+Serif&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');


:root {

  /* -----------------------------------------------------------
     1. BRAND COLORS  (matched to the landing pages)
     ----------------------------------------------------------- */

  /* Ink: deep teal-black. Hero sections, dark bands, footer.
     (The name "navy" is kept so the other CSS files still work.) */
  --color-navy: #0B2226;
  --color-ink-deep: #071619;   /* darker ink: footer, video frames */
  --color-ink-soft: #123035;   /* lighter ink */

  /* Muted teal-blue: text links on light backgrounds. */
  --color-blue: #2F6670;

  /* Soft gold: main action buttons and accents. */
  --color-gold: #C6A567;

  /* Ivory: page background. */
  --color-warm-white: #F8F2E8;

  /* Deeper ivory: header bar and alternating sections. */
  --color-ivory-soft: #F1E8D9;

  /* Sage: a calm alternate band (used on the landing pages for prayer). */
  --color-sage: #E3E9E2;

  /* Dark text: all body text. */
  --color-text: #152A28;

  /* Light text: captions, labels, secondary information. */
  --color-text-light: #4C5D59;

  /* Card surface: a warm off-white, not pure white. */
  --color-white: #FFFDF8;

  /* Text on dark backgrounds */
  --color-on-dark: #F6F1E6;
  --color-on-dark-soft: #C9D5D1;


  /* -----------------------------------------------------------
     2. GOLD HELPER SHADES
     ----------------------------------------------------------- */

  --color-gold-light: #D3B279;  /* gold button on hover */
  --color-gold-deep:  #8A6F37;  /* gold TEXT on light backgrounds */
  --color-gold-tint:  #F1E1C2;  /* soft gold fill: secondary buttons, highlights */
  --color-gold-line:  rgba(198, 165, 103, 0.32);  /* thin gold borders */
  --color-on-gold:    #14261F;  /* text on gold buttons */


  /* -----------------------------------------------------------
     3. COLOR ROLES
     ----------------------------------------------------------- */

  --color-background:     var(--color-warm-white);
  --color-surface:        var(--color-white);
  --color-header-bg:      var(--color-ivory-soft);
  --color-on-navy:        var(--color-on-dark);
  --color-link:           var(--color-blue);
  --color-link-hover:     var(--color-navy);
  --color-button:         var(--color-gold);
  --color-button-hover:   var(--color-gold-light);
  --color-button-text:    var(--color-on-gold);
  --color-border:         rgba(21, 42, 40, 0.13);
  --color-overlay:        rgba(11, 34, 38, 0.70);


  /* -----------------------------------------------------------
     4. FONTS
     ----------------------------------------------------------- */

  /* Young Serif: warm, classic headlines. It has one weight. */
  --font-heading: 'Young Serif', 'Iowan Old Style', Georgia, serif;

  /* Plus Jakarta Sans: clean, friendly body text and buttons. */
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;


  /* -----------------------------------------------------------
     5. TEXT SIZES  (mobile-first)
     ----------------------------------------------------------- */

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1.0625rem;                      /* 17px, same as the landing pages */
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  clamp(1.4rem, 3vw, 1.75rem);
  --text-3xl:  clamp(1.75rem, 4vw, 2.4rem);
  --text-4xl:  clamp(2.1rem, 6vw, 3.4rem);

  --leading-tight:  1.15;
  --leading-normal: 1.55;

  /* Small uppercase labels like "THE INVITATION" */
  --tracking-wide: 0.12em;
  --tracking-eyebrow: 0.3em;


  /* -----------------------------------------------------------
     6. SPACING
     ----------------------------------------------------------- */

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  --container-max:     1080px;
  --container-narrow:  720px;
  --container-padding: 1.25rem;


  /* -----------------------------------------------------------
     7. ROUNDED CORNERS
     ----------------------------------------------------------- */

  --radius-sm:   4px;
  --radius-md:   7px;     /* buttons, form fields */
  --radius-lg:   12px;    /* cards */
  --radius-xl:   18px;    /* video frames */
  --radius-full: 9999px;


  /* -----------------------------------------------------------
     8. SHADOWS AND MOTION
     ----------------------------------------------------------- */

  --shadow-sm: 0 1px 3px rgba(21, 42, 40, 0.07);
  --shadow-md: 0 12px 28px rgba(21, 42, 40, 0.12);
  --shadow-lg: 0 22px 50px rgba(2, 12, 14, 0.40);

  --transition: 0.2s ease;
}
