/*
Theme Name:        Feel Your Talents
Theme URI:         https://justynanowacka.pl
Description:       Motyw dla Justyny Nowackiej — certyfikowanej trenerki Gallupa. Feel Your Talents by Justyna Nowacka.
Author:            Feel Your Talents
Author URI:        https://justynanowacka.pl
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      8.0
License:           Private
Text Domain:       feelyourtalents
*/

/* Import design tokens */
@import url('assets/css/variables.css');
@import url('assets/css/layout.css');
@import url('assets/css/components.css');

/* ============================================================
   BASE RESET & GLOBAL STYLES
   ============================================================ */

*, *::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-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   HEADINGS
   ============================================================ */

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

h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-md); }

p {
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  padding-left: var(--space-6);
}

li {
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-2);
}

strong {
  font-weight: var(--font-semi);
}

em {
  font-style: italic;
}

blockquote {
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-6);
  margin: var(--space-8) 0;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  font-style: italic;
}

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-12) 0;
}

/* ============================================================
   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;
}

/* ============================================================
   SKIP TO CONTENT
   ============================================================ */

.skip-to-content {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  background: var(--color-accent);
  color: var(--color-white);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-weight: var(--font-semi);
  z-index: var(--z-toast);
  transition: top var(--transition-fast);
}

.skip-to-content:focus {
  top: var(--space-4);
}

/* ============================================================
   WORDPRESS ALIGNMENT HELPERS
   ============================================================ */

.alignleft  { float: left; margin-right: var(--space-6); }
.alignright { float: right; margin-left: var(--space-6); }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide  { max-width: 100%; }

/* ============================================================
   WOOCOMMERCE BASE
   ============================================================ */

.woocommerce-notices-wrapper { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--container-px); }
.wc-block-components-notices { max-width: var(--max-width); margin: 0 auto; }
