/* ============================================================
   Yoga in the Grove — Global Stylesheet
   3220 Virginia Street, Coconut Grove FL 33133
   ============================================================ */

/* ------------------------------------------------------------
   Google Fonts
   Cormorant Garamond: headlines (italic, regular, semibold)
   Jost 300: body text
   ------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Jost:wght@300;400&display=swap');


/* ------------------------------------------------------------
   Color Palette
   ------------------------------------------------------------ */
:root {
  --deep-forest:  #2b2d22;
  --warm-cream:   #f5f0e8;
  --sage:         #7a8c6e;
  --ochre:        #c4954a;
  --warm-bark:    #4a3f30;

  /* Derived utility tints */
  --sage-light:   #a8b89a;
  --cream-dark:   #e8e2d6;
  --ochre-muted:  #d4aa72;

  /* Functional aliases */
  --color-bg:       var(--warm-cream);
  --color-text:     var(--warm-bark);
  --color-heading:  var(--deep-forest);
  --color-accent:   var(--ochre);
  --color-subtle:   var(--sage);
}


/* ------------------------------------------------------------
   Typography Scale
   ------------------------------------------------------------ */
:root {
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-md:   1.125rem;  /* 18px */
  --text-lg:   1.375rem;  /* 22px */
  --text-xl:   1.75rem;   /* 28px */
  --text-2xl:  2.25rem;   /* 36px */
  --text-3xl:  3rem;      /* 48px */
  --text-4xl:  4rem;      /* 64px */

  --leading-tight:  1.2;
  --leading-body:   1.7;
  --leading-loose:  2;

  --tracking-wide:  0.08em;
  --tracking-wider: 0.14em;
}


/* ------------------------------------------------------------
   Spacing & Layout
   ------------------------------------------------------------ */
:root {
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;
  --space-2xl: 10rem;

  --max-width:       1200px;
  --content-width:   760px;
  --nav-height:      72px;
  --section-padding: var(--space-xl) var(--space-md);
}


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

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: var(--leading-tight);
  color: var(--color-heading);
}

p + p {
  margin-top: var(--space-sm);
}


/* Navigation styles moved to css/nav.css */

/* ------------------------------------------------------------
   Utility classes
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

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

/* Global utility used across pages */
.is-hidden {
  display: none !important;
}

/* Universal focus ring for interactive elements */
:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 3px;
}

/* Smooth anchor scrolling (supplements html rule) */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Push page content below fixed nav */
.page-content {
  padding-top: var(--nav-height);
}


/* ------------------------------------------------------------
   Prasadam banner — shared across home, practice, community
   ------------------------------------------------------------ */
.prasadam-banner {
  background-color: var(--ochre);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}

.prasadam-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.prasadam-banner__text {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  font-weight: 400;
  color: var(--warm-cream);
  line-height: 1.5;
}
