/*
====================================================================================
POSEIDON DESIGN SYSTEM - BASE STYLES
====================================================================================

Style bazowe systemu projektowego:
1. Reset CSS
2. Zmienne CSS (kolory, typografia, odstępy)
3. Animacje globalne
4. Style body i container

====================================================================================
*/

/* RESET I BAZOWE STYLE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* SYSTEM ZMIENNYCH CSS */
:root {
    /* PALETA KOLORÓW - główne kolory marki */
    --primary-dark: #2d4a2b;
    --primary-medium: #4a7548;
    --primary-light: #6ba169;
    --accent-green: #7eb77c;
    --earth-brown: #8b6b47;
    --earth-light: #c5a572;
    --sage-green: #9caf9a;
    --forest-green: #3e5c3c;

    /* KOLORY POMOCNICZE */
    --accent-yellow: #d4a847;
    --accent-yellow-light: #e8c36b;
    --accent-yellow-dark: #b8923d;
    --accent-slate: #6b7b8a;
    --accent-slate-dark: #4a5968;
    --blue-light: #73c3d3;
    --blue-pale: #aee1eb;
    --orange-light: #ffc4a0;
    --orange-pale: #ffad7e;

    /* KOLORY NEUTRALNE */
    --neutral-50: #fff;
    --neutral-100: #fdfcfb;
    --neutral-200: #eeece3;
    --neutral-300: #f4f4f4;
    --neutral-700: #4a4a3f;
    --neutral-800: #373730;
    --neutral-900: #262620;

    /* TŁA SEKCJI */
    --bg-primary: #fff;
    --bg-secondary: #eeece3;
    --bg-accent: #fdfcfb;
    --bg-subtle: #f6f5ede6;

    /* TYPOGRAFIA */
    --font-display: 'Sofia Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* SKALOWANIE ODSTĘPÓW */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* SYSTEM CIENI */
    --shadow-soft: 0 2px 8px rgba(45, 74, 43, 0.08);
    --shadow-medium: 0 4px 16px rgba(45, 74, 43, 0.12);
    --shadow-strong: 0 8px 32px rgba(45, 74, 43, 0.16);
    --shadow-hover: 0 12px 40px rgba(45, 74, 43, 0.2);

    /* ZAOKRĄGLENIA */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;

    /* PRZEJŚCIA ANIMACJI */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* STYLE BODY */
body {
    font-family: var(--font-body);
    color: var(--neutral-800);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* KONTENER GŁÓWNY */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ANIMACJE GLOBALNE */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes morphFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
    50% {
        transform: translateY(-20px) scale(1.05);
        border-radius: 60% 40% 30% 70% / 50% 60% 50% 40%;
    }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

/* TYPOGRAFIA POMOCNICZA */
.text-primary { color: var(--primary-dark); }
.text-accent { color: var(--accent-green); }
.text-muted { color: var(--neutral-700); opacity: 0.8; }

.highlight {
    color: var(--accent-green);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 12px;
    background: rgba(126, 183, 124, 0.3);
    z-index: -1;
    border-radius: 6px;
}
