/* ═══════════════════════════════════════════════════════════════
   BASE — design tokens, reset, base typography, shared keyframes
   Loaded on every new2/*.html page.
═══════════════════════════════════════════════════════════════ */

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

/* Mobile tap highlight suppression — usuwa niebieski flash na Android/iOS
   przy kliknięciu interaktywnych elementów (button, a, [role]).
   Keyboard focus pozostaje widoczny przez :focus-visible tam gdzie trzeba. */
* { -webkit-tap-highlight-color: transparent; }
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) { outline: none; }

:root {
    /* Greens */
    --green-50:   #f0f7f2;
    --green-100:  #d6e9dc;
    --green-200:  #9dcbad;
    --green-300:  #5da87a;
    --green-400:  #3d8a5c;
    --green-500:  #2a7048;
    --green-600:  #1e5c3a;
    --green-700:  #154a2e;
    --green-800:  #113b24;
    --green-900:  #0b2b1a;

    /* Accents */
    --mint:       #e4f7ec;
    --meadow:     #b8e8cb;
    --sun:        #fbbf24;
    --sun-light:  #fde68a;
    --sun-pale:   #fef9c3;
    --cream:      #fcfbf6;
    --warm-white: #fdfefb;

    /* Text */
    --text-dark:  #0d3620;
    --text-mid:   #225c3a;
    --text-light: #4a8d64;
    --text-muted: #88b89c;

    /* Fonts */
    --font-display: 'Quicksand', sans-serif;
    --font-body:    'Nunito', sans-serif;

    /* Natura tokens */
    --forest-darkest: #052e16;
    --forest-dark:    #14532d;
    --forest-mid:     #16653a;
    --forest-light:   #22875a;
    --forest-pale:    #4ade80;
    --sage-mid:       #6b9e80;
    --sage-light:     #a7d4b8;
    --sage-pale:      #d1fae5;

    /* Borders */
    --border-subtle: rgba(22,101,58,0.10);
    --border-medium: rgba(22,101,58,0.18);

    /* Shadows */
    --shadow-sm:   0 1px 4px rgba(5,46,22,0.03), 0 4px 12px rgba(5,46,22,0.03);
    --shadow-md:   0 4px 12px rgba(5,46,22,0.06), 0 16px 40px rgba(5,46,22,0.06);
    --shadow-lg:   0 8px 24px rgba(5,46,22,0.08), 0 24px 56px rgba(5,46,22,0.08);
    --shadow-gold: 0 4px 20px rgba(251,191,36,0.30);

    /* Easing — both aliases, originały mają albo jedno albo drugie */
    --ease:          cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--warm-white);
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════
   SHARED KEYFRAMES
   Używane w nav/mobile menu i sekcjach hero.
═══════════════════════════════════════ */

@keyframes menuItemDrop {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes hero-gradient {
    0%   { background-position: 0% 0%; }
    25%  { background-position: 50% 100%; }
    50%  { background-position: 100% 50%; }
    75%  { background-position: 50% 0%; }
    100% { background-position: 0% 0%; }
}

@keyframes sun-breathe {
    0%   { opacity: 1;   transform: scale(1)    translate(0, 0); }
    33%  { opacity: 0.8; transform: scale(1.12) translate(-20px, 10px); }
    66%  { opacity: 0.9; transform: scale(1.05) translate(10px, -15px); }
    100% { opacity: 1;   transform: scale(1)    translate(0, 0); }
}

@keyframes glow2-drift {
    0%   { transform: translate(0, 0)       scale(1); }
    50%  { transform: translate(30px, -20px) scale(1.1); }
    100% { transform: translate(0, 0)       scale(1); }
}
