:root {
    --color-primary: #6B8E23;
    --color-secondary: #F0EAD6;
    --color-background: #FFFFFF;
    --color-footer-bg: #3A4F3A;
    --color-button: #6B8E23;
    --color-text-dark: #333333;
    --color-text-light: #666666;
    --color-accent: #8FBC8F; /* A slightly lighter, more vibrant green for accents */
    --color-success: #4CAF50;
    --color-error: #F44336;

    --font-heading: 'Lora', serif;
    --font-body: 'Inter', sans-serif;

    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;

    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem; /* For buttons */

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15); /* For main elements */

    --transition-speed: 0.3s ease-in-out;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--color-text-light);
    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-text-dark);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.2rem;
    font-weight: 700;
}

h2 {
    font-size: 2.6rem;
    font-weight: 600;
}

h3 {
    font-size: 2.1rem;
    font-weight: 600;
}

h4 {
    font-size: 1.7rem;
    font-weight: 500;
}

h5 {
    font-size: 1.4rem;
    font-weight: 500;
}

h6 {
    font-size: 1.1rem;
    font-weight: 500;
}

p {
    margin-bottom: 1.2em;
    font-size: 1.05rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1.2em;
}

li {
    margin-bottom: 0.5em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-sm);
}

/* Layout & Sections */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
}

.section {
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
}

.section:nth-of-type(odd) {
    background-color: var(--color-background);
}

.section:nth-of-type(even) {
    background-color: #F8FBF8; /* From section_bg_colors */
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-xl);
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: all var(--transition-speed);
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.02em;
}

.btn-primary {
    background-color: var(--color-button);
    color: var(--color-background);
    box-shadow: var(--shadow-xl);
}

.btn-primary:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text-dark);
    border: 1px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
}

/* Forms */
form {
    margin-top: var(--spacing-xl);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--color-text-dark);
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
    display: block;
    width: 100%;
    padding: var(--spacing-md);
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid #D1D5DB;
    border-radius: var(--border-radius-sm);
    background-color: var(--color-background);
    color: var(--color-text-dark);
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.2); /* Soft focus ring */
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Cards & Elements */
.card {
    background-color: var(--color-background);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    padding: var(--spacing-xl);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 30px rgba(0, 0, 0, 0.18);
}

/* Alpine.js states for dynamic components */
[x-cloak] {
    display: none !important;
}

/* Transitions for Alpine.js x-show/x-if */
.fade-enter-active, .fade-leave-active {
    transition: opacity var(--transition-speed);
}
.fade-enter, .fade-leave-to /* .fade-leave-active in <2.1.8 */ {
    opacity: 0;
}

.slide-up-enter-active, .slide-up-leave-active {
    transition: all var(--transition-speed);
}
.slide-up-enter, .slide-up-leave-to {
    opacity: 0;
    transform: translateY(20px);
}

/* Subtle, earthy tones with large imagery */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
    color: var(--color-background);
    text-align: center;
    background-color: var(--color-primary); /* Fallback */
    background-image: linear-gradient(rgba(107, 142, 35, 0.7), rgba(107, 142, 35, 0.7)), url('https://images.unsplash.com/photo-1517713982783-f166ddc9b434?q=80&w=2670&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D'); /* Example large image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
}

.hero-section h1 {
    color: var(--color-background);
    font-size: 4.5rem;
    margin-bottom: var(--spacing-md);
    text-shadow: var(--shadow-md);
}

.hero-section p {
    font-size: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
}

/* Footer Styling */
.footer {
    background-color: var(--color-footer-bg);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-xxl) 0;
    font-size: 0.95rem;
}

.footer a {
    color: var(--color-secondary);
}

.footer a:hover {
    color: var(--color-background);
    text-decoration: underline;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
}

.footer-col h4 {
    color: var(--color-background);
    margin-top: 0;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.05em;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-bottom {
    margin-top: var(--spacing-xxl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 2.2rem;
    }
    .hero-section h1 {
        font-size: 3.5rem;
    }
    .hero-section p {
        font-size: 1.3rem;
    }
    .container {
        padding-left: var(--spacing-md);
        padding-right: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.4rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    h3 {
        font-size: 1.6rem;
    }
    .hero-section {
        padding: 6rem 0;
        min-height: 40vh;
    }
    .hero-section h1 {
        font-size: 2.8rem;
    }
    .hero-section p {
        font-size: 1.1rem;
    }
    .btn {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: 1rem;
    }
    .section {
        padding-top: var(--spacing-xl);
        padding-bottom: var(--spacing-xl);
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-col {
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .footer-col h4 {
        font-size: 1.1rem;
    }
}

/* Additional specific section background colors from design_preferences */
.bg-section-1 { background-color: var(--color-background); }
.bg-section-2 { background-color: #F8FBF8; } /* Lightest green/beige */
.bg-section-3 { background-color: #F0FFF0; } /* Slightly more green */
.bg-section-4 { background-color: #E8F5E9; }
.bg-section-5 { background-color: #DDF2DD; }
.bg-section-6 { background-color: #D1EED1; }

/* Focus states for accessibility */
*:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}

/* Utility classes to complement Tailwind, if needed */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.my-auto { margin-top: auto; margin-bottom: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

/* Custom: Glassmorphism effect for subtle overlays */
.glass-panel {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: var(--spacing-md);
}

/* Custom: Soft shadow for text to enhance readability over images */
.text-shadow-soft {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Custom: Focus on clean lines and natural aesthetic elements */
.divider {
    width: 80%;
    max-width: 150px;
    height: 3px;
    background-color: var(--color-primary);
    margin: var(--spacing-xl) auto;
    border-radius: 2px;
}

.image-overlay-text {
    position: relative;
}

.image-overlay-text::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 50%);
    pointer-events: none;
    border-radius: var(--border-radius-sm);
}

/* Emphasis on large imagery */
.img-full-width {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Subtle border for sections for separation, if needed */
.section-bordered {
    border-bottom: 1px solid #e0e0e0;
}

/* Elegant spacing for lists/menus */
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: var(--spacing-lg);
}

.nav-list li a {
    font-weight: 500;
    padding: var(--spacing-sm) 0;
    position: relative;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-speed);
}

.nav-list li a:hover::after {
    width: 100%;
}

/* Styling for content blocks, e.g., for articles or blog posts */
.content-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: var(--spacing-lg) 0;
}

.content-block p {
    font-size: 1.15rem;
    line-height: 1.8;
}

.content-block h2,
.content-block h3 {
    margin-top: var(--spacing-xxl);
    margin-bottom: var(--spacing-md);
}

.content-block img {
    margin: var(--spacing-xl) auto;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

/* For a serene, health-focused aesthetic */
.icon-box {
    text-align: center;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    background-color: var(--color-background);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.icon-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.icon-box .icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.icon-box h3 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
}

.icon-box p {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* Visual effect: subtle gradient overlay for section backgrounds */
.section-gradient-overlay {
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('https://images.unsplash.com/photo-1542838139-4475494200b2?q=80&w=2670&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
}

/* Micro-interaction: glowing border on focus for interactive elements */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus,
.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px var(--color-accent);
}


/* 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;
    }
}