:root {
    --color-primary: #2e6a4b;
    --color-secondary: #9ccc65;
    --color-background: #f8f8f8;
    --color-footer-bg: #1d3a2e;
    --color-button: #7cb342;
    --color-text-dark: #333;
    --color-text-light: #fff;
    --color-accent: #aed581; /* Jaśniejszy odcień przycisku */

    --bg-section-1: #ffffff;
    --bg-section-2: #f0fdf4;
    --bg-section-3: #e6ffee;
    --bg-section-4: #e0f2f1;

    --font-family-headings: 'Montserrat', sans-serif; /* Przykład z popularnych bezszeryfowych */
    --font-family-body: 'Open Sans', sans-serif; /* Przykład z popularnych bezszeryfowych */

    --border-radius-small: 8px;
    --border-radius-medium: 16px;
    --border-radius-large: 28px; /* Dla kapsułkowych przycisków */

    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 6px 18px rgba(0, 0, 0, 0.12), 0 3px 6px rgba(0, 0, 0, 0.06);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&family=Open+Sans:wght@300;400;600&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-body);
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Base Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    color: var(--color-primary);
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    font-weight: 300; /* Lekka waga dla nagłówków */
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5em, 5vw, 4.5em);
    font-weight: 600;
    line-height: 1.1;
}

h2 {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 400;
}

h3 {
    font-size: clamp(1.5em, 3vw, 2.5em);
    font-weight: 400;
}

p {
    margin-bottom: 1em;
    font-size: 1.1em;
    line-height: 1.8;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
    border-bottom: 1px solid var(--color-secondary);
}

/* Header Styling - Opływowy kształt, glassmorphism, sticky */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.7); /* Lekki glassmorphism */
    backdrop-filter: blur(10px); /* Efekt rozmycia glassmorphism */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-glass);
    padding: 1rem 0;
    transition: all 0.3s ease-in-out;
    border-bottom-left-radius: var(--border-radius-large); /* Opływowy kształt */
    border-bottom-right-radius: var(--border-radius-large);
    overflow: hidden; /* Aby zaokrąglenia były widoczne */
}

/* Button Styling - Kapsułkowe, gradient, push effect */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9em 2.2em;
    border: none;
    border-radius: var(--border-radius-large); /* Kapsułkowy kształt */
    font-family: var(--font-family-body);
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    color: var(--color-text-light);
    background: linear-gradient(135deg, var(--color-button) 0%, var(--color-accent) 100%);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-button) 100%);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(1px); /* Efekt "push" */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.btn i {
    margin-right: 0.6em;
    font-size: 1.2em;
}

/* Section Backgrounds */
.section-bg-1 {
    background-color: var(--bg-section-1);
}

.section-bg-2 {
    background-color: var(--bg-section-2);
}

.section-bg-3 {
    background-color: var(--bg-section-3);
}

.section-bg-4 {
    background-color: var(--bg-section-4);
}

/* Soft Shadows for elements like cards */
.card {
    background-color: var(--bg-section-1);
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-soft);
    padding: 2em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Forms - Example input styling */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 0.8em 1.2em;
    margin-bottom: 1em;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-small);
    font-family: var(--font-family-body);
    font-size: 1em;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05); /* Lekkie wklęsłe wciśnięcie */
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(156, 204, 101, 0.2);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer Styling */
.footer {
    background-color: var(--color-footer-bg);
    color: rgba(255, 255, 255, 0.8);
    padding: 3em 0;
    text-align: center;
    border-top-left-radius: var(--border-radius-large);
    border-top-right-radius: var(--border-radius-large);
}

.footer a {
    color: var(--color-secondary);
}

.footer a:hover {
    color: var(--color-accent);
}

/* Utility Classes for Spacing (considering Tailwind is present, these are for additional control) */
.py-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.pb-section {
    padding-bottom: 6rem;
}

.pt-section {
    padding-top: 6rem;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }

    h2 {
        font-size: 2em;
    }

    .py-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .header {
        border-bottom-left-radius: var(--border-radius-medium);
        border-bottom-right-radius: var(--border-radius-medium);
    }

    .footer {
        border-top-left-radius: var(--border-radius-medium);
        border-top-right-radius: var(--border-radius-medium);
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 0.8em 1.5em;
        font-size: 1em;
    }

    p {
        font-size: 1em;
    }
}

/* Subtle gradient for text/elements as accents */
.text-gradient {
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback */
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}