:root {
    /* Colors */
    --color-primary: #2e8b57; /* Sea Green */
    --color-secondary: #deb887; /* Burly Wood */
    --color-background: #f5f5dc; /* Beige */
    --color-footer-bg: #36454f; /* Charcoal */
    --color-button: #8fbc8f; /* Dark Sea Green */
    --color-text-dark: #333333;
    --color-text-light: #f5f5dc;
    --color-accent-hover: #4CAF50; /* A slightly brighter green for hover */

    /* Section Backgrounds - derived from design_preferences */
    --section-bg-1: #fdf5e6; /* Old Lace */
    --section-bg-2: #e6f4e6; /* Light Mint */
    --section-bg-3: #f1f8e9; /* Off-white green */
    --section-bg-4: #dce8d8; /* Pale Greenish Grey */

    /* Typography */
    --font-heading: 'Georgia', serif; /* Brutalism hint, strong */
    --font-body: 'Arial', sans-serif; /* Clean, modern, readable */
    --font-size-base: 1.125rem; /* 18px */
    --line-height-body: 1.7;
    --line-height-heading: 1.2;

    /* Spacing */
    --spacing-1: 0.5rem;   /* 8px */
    --spacing-2: 1rem;     /* 16px */
    --spacing-3: 1.5rem;   /* 24px */
    --spacing-4: 2rem;     /* 32px */
    --spacing-5: 3rem;     /* 48px */
    --spacing-6: 4rem;     /* 64px */
    --spacing-7: 6rem;     /* 96px */

    /* Border Radius */
    --border-radius-small: 0.25rem; /* 4px */
    --border-radius-medium: 0.5rem; /* 8px */

    /* Shadows - Brutalism-inspired */
    --shadow-brutal: 8px 8px 0px 0px rgba(0, 0, 0, 0.7);
    --shadow-brutal-hover: 4px 4px 0px 0px rgba(0, 0, 0, 0.7);
    --shadow-subtle: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-body);
    color: var(--color-text-dark);
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: var(--line-height-heading);
    margin-top: var(--spacing-5);
    margin-bottom: var(--spacing-3);
    letter-spacing: -0.03em; /* Tighten for brutalism feel */
}

h1 {
    font-size: 3.5rem; /* 56px */
    letter-spacing: -0.05em;
    font-weight: 900; /* Bold and impactful */
}

h2 {
    font-size: 2.5rem; /* 40px */
    font-weight: 800;
}

h3 {
    font-size: 1.875rem; /* 30px */
    font-weight: 700;
}

h4 {
    font-size: 1.5rem; /* 24px */
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-3);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

/* Section Background Classes */
.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);
}

/* Utility Classes for Spacing (if not using Tailwind directly for every margin/padding) */
.py-section {
    padding-top: var(--spacing-7);
    padding-bottom: var(--spacing-7);
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.max-w-screen-lg {
    max-width: 1200px; /* Example max width */
    width: 90%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2) var(--spacing-4);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius-small);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--shadow-brutal); /* Brutalism shadow */
    position: relative;
    top: 0;
    left: 0;
}

.btn-primary {
    background-color: var(--color-button);
    color: var(--color-text-dark);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    color: var(--color-text-light);
    box-shadow: var(--shadow-brutal-hover);
    transform: translate(4px, 4px); /* Shift on hover */
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    box-shadow: var(--shadow-brutal-hover);
    transform: translate(4px, 4px); /* Shift on hover */
}

/* Cards - example of a subtle gradient and shadow */
.card {
    background: linear-gradient(145deg, var(--section-bg-1), var(--section-bg-2));
    border-radius: var(--border-radius-medium);
    padding: var(--spacing-4);
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(0, 0, 0, 0.05); /* Very subtle border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: var(--spacing-2);
    margin-bottom: var(--spacing-3);
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius-small);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    background-color: var(--color-background);
    color: var(--color-text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: inset 2px 2px 0px 0px rgba(0, 0, 0, 0.1); /* Subtle inset shadow */
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-accent-hover);
    box-shadow: inset 2px 2px 0px 0px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(46, 139, 87, 0.2); /* Focus ring */
}

/* Footer */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-5) 0;
    text-align: center;
}

.footer a {
    color: var(--color-secondary);
}

.footer a:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .py-section {
        padding-top: var(--spacing-5);
        padding-bottom: var(--spacing-5);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .btn {
        padding: var(--spacing-2) var(--spacing-3);
        font-size: 1rem;
    }
}

/* Subtle gradient for body background for a 'natural' feel */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-background) 0%, var(--section-bg-4) 100%);
    opacity: 0.7; /* Make it subtle */
    z-index: -1;
}

/* Ensure content is above the pseudo-element background */
body > *:not(.footer) {
    position: relative;
    z-index: 1;
}


/* 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;
    }
}