:root {
    /* Colors */
    --primary-color: #F08A5D; /* Słoneczny pomarańcz */
    --secondary-color: #F9ED69; /* Jasny żółty */
    --background-color: #F5EADF; /* Ciepły beż */
    --footer-bg-color: #B88E81; /* Ciemniejszy brąz */
    --text-color: #333; /* Ciemny tekst dla czytelności */
    --accent-color: #D45B00; /* Głęboki pomarańcz dla akcentów */

    /* Section Backgrounds */
    --section-bg-1: #F5EADF;
    --section-bg-2: #FFFBE6;
    --section-bg-3: #FFF3E6;
    --section-bg-4: #E6DCD5;
    --section-bg-5: #E0D3C7;

    /* Fonts */
    --font-family-base: 'Roboto', sans-serif;
    --font-family-secondary: 'Open Sans', sans-serif;

    /* Spacing */
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;

    /* Border Radius */
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1.5rem;
    --border-radius-lg: 3rem;

    /* Shadows */
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-header: 0 2px 10px rgba(0, 0, 0, 0.05);

    /* Transitions */
    --transition-speed: 0.3s;
    --transition-timing: ease-in-out;
}

/* Base Styles */
body {
    font-family: var(--font-family-base);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.7; /* Increased for better readability */
    overflow-x: hidden; /* Prevent horizontal scroll */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-secondary);
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
    letter-spacing: -0.02em; /* Subtle letter spacing for headings */
}

h1 {
    font-size: calc(2.5rem + 1.5vw); /* Responsive font size */
    font-weight: 700;
}

h2 {
    font-size: calc(2rem + 1vw);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-timing);
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Buttons */
.btn {
    --bs-btn-padding-x: 2rem;
    --bs-btn-padding-y: 0.8rem;
    --bs-btn-font-size: 1.1rem;
    --bs-btn-border-radius: var(--border-radius-lg); /* Strongly rounded */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-speed) var(--transition-timing);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--shadow-soft);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border: none;
    color: #fff;
    box-shadow: var(--shadow-soft); /* Soft shadow */
}

.btn-primary:hover {
    transform: translateY(-2px); /* Slight lift effect */
    box-shadow: var(--shadow-hover); /* Enhanced shadow */
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%); /* Subtle gradient shift */
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2); /* Inset shadow for pressed state */
}

/* Header */
.navbar {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent */
    padding: 1rem var(--spacing-md);
    box-shadow: var(--shadow-header);
    transition: background-color var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1030; /* Bootstrap's navbar z-index */
    backdrop-filter: blur(5px); /* Glassmorphism effect */
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98); /* Less transparency on scroll */
    box-shadow: var(--shadow-hover); /* More pronounced shadow on scroll */
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.05em;
}

.navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-speed) var(--transition-timing);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(var(--primary-color-rgb), 0.1);
}

/* Sections */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden; /* For decorative elements */
}

.section-bg-1 {
    background-color: var(--section-bg-1);
}

.section-bg-2 {
    background-color: var(--section-bg-2);
}

.section-bg-3 {
    background-color: var(--section-bg-3);
}

.section-bg-4 {
    background-color: var(--section-bg-4);
}

.section-bg-5 {
    background-color: var(--section-bg-5);
}

/* Decorative elements (biomorphic shapes, sun rays, leaves) */
.section::before,
.section::after {
    content: '';
    position: absolute;
    z-index: 0;
    opacity: 0.2;
    pointer-events: none;
}

/* Example: Sun ray effect on an imaginary hero section */
.hero-section::after {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    transform: rotate(45deg);
    animation: pulse 4s infinite alternate;
}

/* Example: Leaf-like shapes on another section */
.about-section::before {
    width: 150px;
    height: 150px;
    background: radial-gradient(ellipse at center, rgba(var(--primary-color-rgb), 0.1) 0%, transparent 70%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; /* Leaf-like shape */
    bottom: -75px;
    left: -75px;
    transform: rotate(-30deg);
}

@keyframes pulse {
    0% { transform: scale(1) rotate(45deg); opacity: 0.2; }
    100% { transform: scale(1.1) rotate(45deg); opacity: 0.3; }
}

/* Footer */
.footer {
    background-color: var(--footer-bg-color);
    color: #fff;
    padding: var(--spacing-lg) 0;
    position: relative;
    overflow: hidden;
    text-align: center; /* Centered content for minimalism */
}

.footer a {
    color: #fff;
    opacity: 0.8;
    transition: opacity var(--transition-speed) var(--transition-timing);
}

.footer a:hover {
    opacity: 1;
    text-decoration: none;
}

.footer .nav-link {
    padding: 0.2rem 0.5rem;
}

.footer .social-icons a {
    font-size: 1.8rem;
    margin: 0 0.8rem;
}

.footer::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 200px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23FFFFFF" fill-opacity="0.08" d="M50 0C22.38 0 0 22.38 0 50s22.38 50 50 50 50-22.38 50-50S77.62 0 50 0zM50 85c-19.33 0-35-15.67-35-35s15.67-35 35-35 35 15.67 35 35-15.67 35-35 35zM50 40c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10z"/></svg>') center center / contain no-repeat;
    bottom: -50px;
    left: -50px;
    opacity: 0.1;
    transform: rotate(15deg);
    z-index: 0;
}

.footer::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 180px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23FFFFFF" fill-opacity="0.08" d="M50 0C22.38 0 0 22.38 0 50s22.38 50 50 50 50-22.38 50-50S77.62 0 50 0zM50 85c-19.33 0-35-15.67-35-35s15.67-35 35-35 35 15.67 35 35-15.67 35-35 35zM50 40c-5.52 0-10 4.48-10 10s4.48 10 10 10 10-4.48 10-10-4.48-10-10-10z"/></svg>') center center / contain no-repeat;
    top: -30px;
    right: -30px;
    opacity: 0.1;
    transform: rotate(-25deg);
    z-index: 0;
}

/* Ensure content is above decorative elements */
.footer .container {
    position: relative;
    z-index: 1;
}

/* Utility Classes */
.text-primary-color {
    color: var(--primary-color) !important;
}

.bg-primary-color {
    background-color: var(--primary-color) !important;
}

.rounded-extra-large {
    border-radius: var(--border-radius-lg) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
        background-color: rgba(255, 255, 255, 0.95);
        padding-bottom: 1rem;
        border-radius: var(--border-radius-md);
        margin-top: 0.5rem;
    }

    .navbar-nav .nav-link {
        padding: 0.8rem 1rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section {
        padding: var(--spacing-lg) 0;
    }
}


/* Cookie Banner Additional Styles for Bootstrap */
.cookie-banner-custom {
    z-index: 1060;
    backdrop-filter: blur(10px);
}

.cookie-banner-custom .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}