:root {
    /* Colors */
    --color-primary: #5A7C6C;
    --color-secondary: #A2D2C3;
    --color-background: #F0EAD6;
    --color-footer-bg: #3A4A46;
    --color-button: #8B5E3C;
    --color-text-dark: #3A4A46;
    --color-text-light: #F0EAD6;
    --color-accent: #C77D56; /* Derived from button color for subtle accents */

    /* Section Backgrounds */
    --section-bg-1: #E2E8D4;
    --section-bg-2: #FAEBD7;
    --section-bg-3: #DDF0E2;
    --section-bg-4: #F5EFE1;
    --section-bg-5: #CED9D4;
    --section-bg-6: #CCD4CA;

    /* Typography */
    --font-family-heading: 'Roboto', sans-serif;
    --font-family-body: 'Open Sans', sans-serif;
    --font-size-base: 1.125rem; /* 18px */
    --line-height-base: 1.7;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --spacing-section: 6rem;

    /* Border Radius */
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1rem;
    --border-radius-lg: 1.5rem;

    /* Shadows */
    --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition-speed: 0.3s;
    --transition-ease: ease-in-out;
}

/* Global Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text-dark);
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

h1 {
    font-size: 3.5rem; /* 56px */
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.8rem; /* 45px */
    letter-spacing: -0.02em;
}

h3 {
    font-size: 2.2rem; /* 35px */
    letter-spacing: -0.01em;
}

h4 {
    font-size: 1.8rem; /* 29px */
}

h5 {
    font-size: 1.4rem; /* 22px */
}

h6 {
    font-size: 1.2rem; /* 19px */
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-ease),
                border-bottom var(--transition-speed) var(--transition-ease);
}

a:hover {
    color: var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    font-family: var(--font-family-heading);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all var(--transition-speed) var(--transition-ease);
    box-shadow: var(--shadow-subtle);
    letter-spacing: 0.05em;
}

.btn-primary {
    background-color: var(--color-button);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Sections */
.section {
    padding: var(--spacing-section) var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

.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); }
.section-bg-6 { background-color: var(--section-bg-6); }

/* Cards (Eco-style with rounded corners) */
.card {
    background-color: #ffffff;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-subtle);
    padding: var(--spacing-lg);
    transition: transform var(--transition-speed) var(--transition-ease),
                box-shadow var(--transition-speed) var(--transition-ease);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: var(--border-radius-md); /* Slightly less rounded than card */
    margin-bottom: var(--spacing-md);
    filter: grayscale(10%); /* Subtle natural effect */
    transition: filter var(--transition-speed) var(--transition-ease);
}

.card:hover .card-image {
    filter: grayscale(0%);
}

.card-title {
    font-family: var(--font-family-heading);
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.card-description {
    font-size: 1rem;
    color: var(--color-text-dark);
    line-height: 1.6;
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-md);
}

label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--color-primary);
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--color-secondary);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-family-body);
    font-size: var(--font-size-base);
    color: var(--color-text-dark);
    background-color: #ffffff;
    transition: border-color var(--transition-speed) var(--transition-ease),
                box-shadow var(--transition-speed) var(--transition-ease);
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(90, 124, 108, 0.2); /* Soft focus ring */
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer Specifics */
footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
}

footer a {
    color: var(--color-secondary);
}

footer a:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

/* Utility Classes (to complement Tailwind) */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-sm { margin-bottom: var(--spacing-sm); }

/* Responsive Adjustments */
@media (max-width: 1024px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    h3 { font-size: 1.8rem; }
    .section { padding: var(--spacing-xl) var(--spacing-md); }
    .btn { padding: var(--spacing-sm) var(--spacing-md); }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    body { font-size: 1rem; }
    .section { padding: var(--spacing-lg) var(--spacing-sm); }
    .card { padding: var(--spacing-md); }
    .card-title { font-size: 1.3rem; }
    .card-image { height: 150px; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    .btn {
        width: 100%;
        padding: var(--spacing-md) var(--spacing-sm);
    }
    .section { padding: var(--spacing-md) var(--spacing-xs); }
    footer { padding: var(--spacing-lg) var(--spacing-sm); }
}

/* Subtle background textures or patterns (example, can be more complex) */
/* This can be applied to specific sections or global body if desired */
.bg-texture-wood::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g fill="%23e2e8d4" fill-opacity="0.3"><path d="M25 18L35 28L15 48L5 38Z" transform="rotate(45 50 50)"/><path d="M75 18L85 28L65 48L55 38Z" transform="rotate(45 50 50)"/><path d="M25 68L35 78L15 98L5 88Z" transform="rotate(45 50 50)"/><path d="M75 68L85 78L65 98L55 88Z" transform="rotate(45 50 50)"/></g></svg>');
    background-size: 100px 100px;
    opacity: 0.2;
    pointer-events: none;
    z-index: -1;
}

/* Applying a subtle texture to a specific section for demonstration */
.section-bg-1.with-texture {
    position: relative;
    overflow: hidden;
}
.section-bg-1.with-texture::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g fill="%23e2e8d4" fill-opacity="0.3"><path d="M25 18L35 28L15 48L5 38Z" transform="rotate(45 50 50)"/><path d="M75 18L85 28L65 48L55 38Z" transform="rotate(45 50 50)"/><path d="M25 68L35 78L15 98L5 88Z" transform="rotate(45 50 50)"/><path d="M75 68L85 78L65 98L55 88Z" transform="rotate(45 50 50)"/></g></svg>');
    background-size: 100px 100px;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0; /* Ensure content is above */
}

/* Keyframes for subtle animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0; /* Hidden by default */
}

/* Example usage: apply to a section or specific element when it comes into view */
/* This would typically be triggered by JavaScript Intersection Observer */
/* .my-element.is-visible { animation: fadeIn 0.8s ease-out forwards; } */


/* 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;
    }
}