/* style.css */

/* 1. Import Google Font: Spectral */
@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

/* 2. Define Local Font: Croogla 4F */
@font-face {
    font-family: "Croogla4F";
    /* Adjust path ../fonts/ if your css file is in a subfolder like /css/ */
    src: url("../fonts/Croogla4F-Light.woff2") format("woff2"),
         url("../fonts/Croogla4F-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* 3. Global Color Variables & Brand Definitions */
:root {
  /* -- Base Palette -- */
  --e-global-color-primary: #ffffff;
  --e-global-color-secondary: #343130;
  --e-global-color-accent: #ff907e;
  --e-global-color-text: #343130;
  --e-global-color-white: #ffffff;
  --e-global-color-black: #000000;
  --e-global-color-very-pale-orange: #ffefe5;
  --e-global-color-very-light-orange: #fff7f7;
  --e-global-color-vivid-blue: #3083ff;
  --e-global-color-light-white-gray: #f7f7f7;
  --e-global-color-light-pale-orange: #ffaf7e;
  --e-global-color-star-yellow: #fbab2a;
  --e-global-color-light-yellow: #ffc045;
  --e-global-color-pure-red: #ff0000;

  /* -- Sukha Brand Mappings -- */
  --sukha-coral: var(--e-global-color-accent);        /* #ff907e */
  --sukha-coral-hover: #e87b69;                        /* Manually keeping this hover color */
  --sukha-cream: var(--e-global-color-very-pale-orange); 
  --sukha-dark: var(--e-global-color-secondary);       /* #343130 */
  --sukha-text: var(--e-global-color-text);
}

/* 4. Selection Styling */
::selection {
  background: var(--e-global-color-accent);
  color: #fff;
}
::-moz-selection {
  background: var(--e-global-color-accent);
  color: #fff;
}

/* 5. Base Body Styles (Using Spectral) */
body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  /* Main text font is now Spectral */
  font-family: "Spectral", serif;
  font-weight: 400;
  font-size: 18px; /* Good base size for reading */
  color: var(--e-global-color-text);
  background-color: var(--e-global-color-white);
}

/* 6. Typography - Headings (Using Croogla 4F) */
h1, h2, h3, h4 {
  font-family: "Croogla4F", sans-serif;
  color: var(--e-global-color-secondary);
  margin-top: 0;
}

h1 {
  font-size: 50px;
  line-height: 60px;
  font-weight: 800; /* Ensure you have bold font files if 800 is needed, otherwise browser simulates it */
}

h2 {
  font-size: 40px;
  line-height: 46px;
  font-weight: 800;
}

h3 {
  font-size: 24px;
  line-height: 30px;
  font-weight: 800;
}

h4 {
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
}

/* H5 and H6 often used for subtitles/accents */
h5 {
  font-family: "Spectral", serif; /* Optional: Keep subtitles in Spectral or switch to Croogla if preferred */
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  color: var(--e-global-color-accent);
  margin-top: 0;
}

h6 {
  font-family: "Spectral", serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: var(--e-global-color-accent);
  margin-top: 0;
}

p {
  font-size: 20px;
  line-height: 26px;
  font-weight: 400;
  color: var(--e-global-color-text);
  margin-bottom: 1.5em;
}

/* 7. Utility Classes */
.text-size-18 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 300;
}

.text-size-16 {
  font-size: 16px;
  line-height: 26px;
  font-weight: 300;
}

.text-size-14 {
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
}

/* 8. Components & Buttons */

/* Primary Button Style (Sukha Brand) */
.btn-sukha {
    background-color: var(--e-global-color-accent); /* Uses the #ff907e */
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 500;
    /* Using the new body font for buttons looks cleaner */
    font-family: "Spectral", serif; 
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-sukha:hover {
    background-color: var(--sukha-coral-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 144, 126, 0.3);
}