:root {
    /* Colors */
    --primary-color: #3B5A24;
    --secondary-color: #ACB390;
    --background-color: #F3EFE0;
    --footer-bg-color: #2C3E20;
    --button-color: #76885B;
    --text-color: #333;
    --light-text-color: #F3EFE0; /* For dark backgrounds */
    --accent-color-light: #DDE7C7; /* From section_bg_colors */
    --accent-color-medium: #D4E5F6; /* From section_bg_colors */
    --accent-color-dark: #ACB390; /* From section_bg_colors */
    --hover-green-highlight: #9BB87C; /* Brighter natural green for button hover */

    /* Typography */
    --heading-font: 'Merriweather', serif;
    --body-font: 'Lato', sans-serif;
    --base-font-size: 1.125rem; /* 18px */
    --line-height-body: 1.7;
    --line-height-heading: 1.2;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;

    /* Borders & Radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.75rem;
    --border-radius-lg: 1.5rem;

    /* Shadows */
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.08); /* Organic, leaf-like shadow */
    --shadow-pressed-earth: inset 0 2px 4px rgba(0, 0, 0, 0.15), inset 0 -2px 4px rgba(255, 255, 255, 0.05); /* For pressed buttons */
    --shadow-lifted: 0 8px 20px rgba(0, 0, 0, 0.12); /* For lifted elements */
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--base-font-size);
    line-height: var(--line-height-body);
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    line-height: var(--line-height-heading);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em; /* Subtle tightening for headings */
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.8rem;
    font-weight: 600;
}

h3 {
    font-size: 2.2rem;
    font-weight: 600;
}

h4 {
    font-size: 1.8rem;
    font-weight: 500;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover {
    color: var(--button-color);
    text-decoration: underline;
}

/* Utilities (Complementing Tailwind) */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.section-padding {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--background-color);
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.header-logo img {
    height: 35px; /* Leaf-inspired logo size */
    margin-right: 10px;
}

.nav-link {
    font-family: var(--body-font);
    font-weight: 500;
    color: var(--primary-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    margin: 0 var(--spacing-xs);
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #B09B7A, #8B7355); /* Subtle bamboo texture */
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
}

.nav-link:hover {
    color: var(--button-color);
}

.nav-link:hover::before {
    transform: translateX(0);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border: none;
    border-radius: var(--border-radius-md);
    font-family: var(--body-font);
    font-size: var(--base-font-size);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-pressed-earth); /* Deboss effect */
    background-color: var(--button-color);
    color: var(--light-text-color);
}

.btn:hover {
    transform: translateY(-2px); /* Gentle upward lift */
    background-color: var(--hover-green-highlight); /* Brighter natural green */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1), var(--shadow-pressed-earth); /* Add a slight outer shadow on lift */
}

.btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-pressed-earth); /* Return to pressed state */
}

/* Cards */
.card {
    background-color: #FFFFFF;
    border: 1px solid rgba(172, 179, 144, 0.3); /* Subtle wood grain inspired border */
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
    padding: var(--spacing-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lifted);
}

.card-image-container {
    position: relative;
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    border-radius: var(--border-radius-sm);
}

.card-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease-in-out;
    transform: scale(1.02); /* Slightly lifted effect */
}

.card:hover .card-image-container img {
    transform: scale(1.05); /* Slight zoom on hover */
}

.card-title {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.card-text {
    font-size: 1rem;
    color: var(--text-color);
}

/* Section Backgrounds */
.section-bg-1 {
    background-color: var(--background-color);
}

.section-bg-2 {
    background-color: var(--accent-color-light); /* DDE7C7 */
}

.section-bg-3 {
    background-color: var(--accent-color-medium); /* D4E5F6 */
}

.section-bg-4 {
    background-color: var(--accent-color-dark); /* ACB390 */
    color: var(--light-text-color);
}
.section-bg-4 h1, .section-bg-4 h2, .section-bg-4 h3, .section-bg-4 h4 {
    color: var(--light-text-color);
}

/* Footer */
.footer {
    background-color: var(--footer-bg-color);
    color: var(--light-text-color);
    padding: var(--spacing-xl) 0;
    font-family: var(--body-font);
    position: relative;
    overflow: hidden;
}

/* Subtle soil texture effect for footer */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><filter id="noise" x="0" y="0"><feTurbulence type="fractalNoise" baseFrequency="0.6" numOctaves="3" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter><rect width="100" height="100" filter="url(%23noise)" opacity="0.05"/></svg>') repeat;
    opacity: 0.1;
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.footer-column h4 {
    color: var(--light-text-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.4rem;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-column ul li a {
    color: var(--light-text-color);
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.footer-column ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #B09B7A; /* Earthy glow color */
    transition: width 0.3s ease-out;
}

.footer-column ul li a:hover {
    color: #B09B7A; /* Earthy glow color */
}

.footer-column ul li a:hover::before {
    width: 100%;
}

.social-icons {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.social-icon {
    color: var(--light-text-color);
    font-size: 1.8rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    color: #B09B7A; /* Earthy glow color */
    transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Media Queries */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.6rem;
    }

    .header {
        flex-direction: column;
        padding-top: var(--spacing-md);
        padding-bottom: var(--spacing-md);
    }

    .header-logo {
        margin-bottom: var(--spacing-md);
    }

    .nav-link {
        margin: 0 var(--spacing-xs);
        padding: var(--spacing-xs) var(--spacing-xs);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: 1rem;
    }
}


/* 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;
    }
}