/* ═══════════════════════════════════════════
   shared.css — Fitcore Support: gedeelde basis
   ═══════════════════════════════════════════ */

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

/* ── TOKENS ── */
:root {
  --bg: #F8F6F3;
  --bg-dark: #2A2521;
  --surface: #EFECE7;
  --surface-dark: #3A3530;
  --text: #2A2521;
  --text-light: #F8F6F3;
  --accent: #8B5D42;
  --accent-strong: #6B4A35;
  --accent-warm: #D4956F;
  --button: #825639;
  --border: #D8D4CE;
  --border-dark: #4A4540;
  --success: #5A7D4A;
  --error: #B84233;
  --font-body: 'DM Sans', sans-serif;
  --font-heading: 'DM Serif Display', serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 3px rgba(42,37,33,0.06);
  --shadow-md: 0 4px 16px rgba(42,37,33,0.08);
  --shadow-lg: 0 8px 32px rgba(42,37,33,0.1);
  --shadow-xl: 0 16px 48px rgba(42,37,33,0.12);
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
  --easing: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── BASE ── */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,246,243,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__logo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.nav__links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  opacity: 0.65;
  transition: opacity var(--duration-fast) var(--easing);
  letter-spacing: 0.01em;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  opacity: 1;
}

.nav__links a[aria-current="page"] {
  color: var(--accent-strong);
}

/* ── PAGE HEADER ── */
.page-header {
  padding: 72px 24px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(139,93,66,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.page-header__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.page-header__subtitle {
  font-size: 16px;
  opacity: 0.55;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── PAGE HEADER SEARCH ── */
.page-header__search {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.page-header__search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  opacity: 0.3;
}

.page-header__search input {
  width: 100%;
  height: 48px;
  padding: 0 20px 0 46px;
  font-family: var(--font-body);
  font-size: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--duration-base) var(--easing), box-shadow var(--duration-base) var(--easing);
}

.page-header__search input::placeholder {
  color: var(--text);
  opacity: 0.3;
}

.page-header__search input:focus {
  border-color: var(--accent);
  box-shadow: var(--shadow-md), 0 0 0 3px rgba(130,86,57,0.08);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--duration-base) var(--easing);
  letter-spacing: 0.01em;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--button);
  color: #fff;
  border: 1px solid var(--accent-strong);
}

.btn--primary:hover {
  background: var(--accent-strong);
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.btn--warm {
  background: var(--accent-warm);
  color: var(--bg-dark);
}

.btn--warm:hover {
  background: #e0a580;
}

.btn--ghost {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-dark);
}

.btn--ghost:hover {
  border-color: rgba(212,149,111,0.4);
  color: var(--accent-warm);
}

.btn--full {
  width: 100%;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 13px;
  opacity: 0.4;
}

.footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer__links a {
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  opacity: 0.4;
  transition: opacity var(--duration-fast);
}

.footer__links a:hover {
  opacity: 0.8;
}

/* ── MOBILE NAV TOGGLE ── */
.nav__toggle { display: none; }

@media (max-width: 900px) {
  .nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    cursor: pointer;
  }
  .nav__toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .nav__toggle svg { width: 20px; height: 20px; }

  .nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(248,246,243,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 8px 16px 16px;
  }
  .nav__links[data-open="true"] { display: flex; }
  .nav__links li { border-bottom: 1px solid var(--border); }
  .nav__links li:last-child { border-bottom: none; }
  .nav__links a {
    display: block;
    padding: 14px 0;
    font-size: 15px;
    opacity: 0.85;
  }
  .nav__links a[aria-current="page"] { opacity: 1; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
