/*
Theme Name: Noriu Suns
Theme URI: https://noriusuns.lt
Author: MB Sydzei
Description: Šunų gyvenimo, sveikatos, mitybos ir dresūros patarimų svetainė.
Version: 1.0
Text Domain: noriusuns
*/

:root {
  /* Color tokens — "field guide" concept: naturalist reference book, not pet-shop pastel */
  --color-paper: #EAE5D8;       /* warm stone paper, not cream */
  --color-paper-deep: #DED7C4;  /* card/section backgrounds */
  --color-ink: #202B22;         /* deep pine-black, primary text */
  --color-ink-soft: #47543F;    /* muted moss for secondary text */
  --color-pine: #24382C;        /* dark section backgrounds */
  --color-rust: #B5502F;        /* single accent — rust-copper, not terracotta/mustard */
  --color-rust-deep: #93401F;
  --color-gold: #B08A2E;        /* secondary label/tag color, muted gold not bright yellow */
  --color-line: #C7BFA9;        /* hairline borders */
  --color-white: #FDFBF6;

  /* Type: serif display + monospace for data, not a sans body pairing */
  --font-display: 'Montserrat', 'Arial', sans-serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  --radius-pill: 4px;   /* sharp, not pill-shaped — field-guide stamps aren't rounded */
  --radius-card: 2px;
}

* { box-sizing: border-box; }

/* Smooth scroll intentionally NOT applied globally — it was making normal
   mouse-wheel scrolling feel sluggish. Anchor-link jumps (TOC links) can
   still get a smooth scroll via JS if wanted, without affecting normal scroll. */

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-paper);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 var(--space-2);
  color: var(--color-ink);
}

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

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--color-rust);
  color: var(--color-white);
}
.btn-primary:hover { background: var(--color-rust-deep); }

.btn-secondary {
  background: transparent;
  border-color: var(--color-ink);
  color: var(--color-ink);
}
.btn-secondary:hover { background: var(--color-ink); color: var(--color-paper); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* signature element: dotted-leader label/value rows, like an old field guide spec table */
.spec-row {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.92rem;
}
.spec-row .spec-label {
  color: var(--color-ink-soft);
  white-space: nowrap;
}
.spec-row .spec-leader {
  flex: 1;
  border-bottom: 1px dotted var(--color-line);
  height: 0.6em;
}
.spec-row .spec-value {
  font-weight: 700;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
