/*
Theme Name: Preporod
Theme URI: https://preporod.co
Description: Preporod — premium peptidi za istraživanje. Child tema za Astra, luxury pharma serif estetika.
Author: Preporod
Template: astra
Version: 1.0.0
Text Domain: preporod
*/

/* ---------- Brand tokens ---------- */
:root {
  --color-primary: #1D9E75;
  --color-primary-dark: #0F6E56;
  --color-primary-light: #E1F5EE;
  --color-accent: #C98500;
  --color-bg: #FAF8F5;
  --color-surface: #FFFFFF;
  --color-text: #1A1A19;
  --color-text-secondary: #52514E;
  --color-border: rgba(26, 26, 25, 0.10);

  --font-serif: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-card: 12px;
  --radius-pill: 24px;
  --container: 1200px;
  --section-y: 80px;
  --gutter: 24px;
  --transition: 200ms ease;
  --shadow-sm: 0 1px 2px rgba(26, 26, 25, 0.04), 0 2px 8px rgba(26, 26, 25, 0.04);
  --shadow-md: 0 8px 24px rgba(26, 26, 25, 0.08);
  --shadow-lg: 0 20px 48px rgba(26, 26, 25, 0.12);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--color-text);
}
h1 { font-size: clamp(40px, 5.5vw, 64px); }
h2 { font-size: clamp(32px, 4vw, 44px); }
h3 { font-size: clamp(24px, 3vw, 30px); }
h4 { font-size: 22px; }
p { margin: 0 0 1em; }
a { color: var(--color-primary-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary); }
img, svg, video { max-width: 100%; height: auto; display: block; }
strong, b { font-weight: 500; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
::selection { background: var(--color-primary-light); color: var(--color-primary-dark); }

/* Screen-reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Reset Astra defaults we don't want */
.ast-container { max-width: none; padding: 0; }
#content, .site-content { background: transparent; }
