:root {
    --color-primary: #5D8A5E;
    --color-secondary: #F0EAD6;
    --color-background: #FFFFFF;
    --color-footer-bg: #F8F8F8;
    --color-button: #8A9F8E;
    --color-section-1: #FFFFFF;
    --color-section-2: #FDFDFD;
    --color-section-3: #F8F8F8;
    --color-section-4: #F0F5EE;
    --color-section-5: #E8EBE7;
    --color-section-6: #DCE0DB;

    --font-family-base: 'Inter', sans-serif;
    --font-family-heading: 'Lora', serif;

    --border-radius-base: 0.5rem; /* rounded-lg */
    --shadow-base: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); /* shadow-md */
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1); /* shadow-lg */

    --spacing-unit: 1rem; /* Based on rem */

    /* Custom specific to Airy Minimalism with Soft Botanicals */
    --color-text-light: rgba(0, 0, 0, 0.6);
    --color-hover-accent: #6E9B71;
    --color-focus-outline: #A9D1A9;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family-base);
    line-height: 1.65;
    color: #333;
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: calc(var(--spacing-unit) * 0.75);
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.03em;
    margin-top: calc(var(--spacing-unit) * 2);
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    margin-top: calc(var(--spacing-unit) * 1.5);
}

h3 {
    font-size: 1.8rem;
    margin-top: var(--spacing-unit);
}

h4 {
    font-size: 1.4rem;
    margin-top: calc(var(--spacing-unit) * 0.8);
}

p {
    margin-bottom: calc(var(--spacing-unit) * 1);
    color: var(--color-text-light);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
    color: var(--color-hover-accent);
    text-decoration: underline;
    transform: translateY(-1px);
}

ul, ol {
    margin-left: calc(var(--spacing-unit) * 1.5);
    margin-bottom: var(--spacing-unit);
    color: var(--color-text-light);
}

li {
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}

/* Layout and Structure */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 1.5);
}

section {
    padding: calc(var(--spacing-unit) * 4) 0;
    position: relative;
    overflow: hidden;
}

section:nth-of-type(odd) {
    background-color: var(--color-section-2);
}

section:nth-of-type(even) {
    background-color: var(--color-section-1);
}

/* Subtle botanical texture overlay for sections */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2390a791' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zm1 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--spacing-unit) * 0.75) calc(var(--spacing-unit) * 1.5);
    border-radius: var(--border-radius-base);
    font-family: var(--font-family-base);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-button);
    color: var(--color-background);
    border: 1px solid var(--color-button);
}

.btn-primary:hover {
    background-color: var(--color-hover-accent);
    border-color: var(--color-hover-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Card Style */
.card {
    background-color: var(--color-section-1);
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-base);
    padding: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 2);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

/* Forms */
.form-group {
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}

label {
    display: block;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    font-weight: 500;
    color: var(--color-primary);
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: calc(var(--spacing-unit) * 0.75);
    border: 1px solid #ccc;
    border-radius: var(--border-radius-base);
    font-family: var(--font-family-base);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--color-section-1);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px var(--color-focus-outline);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--color-footer-bg);
    padding: calc(var(--spacing-unit) * 3) 0;
    text-align: center;
    color: var(--color-text-light);
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

footer a {
    color: var(--color-primary);
}

footer a:hover {
    color: var(--color-hover-accent);
}

/* Alpine.js specific styles for transitions */
[x-cloak] {
    display: none !important;
}

.fade-enter-active, .fade-leave-active {
    transition: opacity 0.5s ease-out;
}

.fade-enter, .fade-leave-to {
    opacity: 0;
}

/* Botanical Accents - Placeholder for potential SVG icons or decorative elements */
.icon-botanical {
    fill: var(--color-primary);
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 0.5rem;
}

/* Utility classes for spacing and alignment (can be combined with Tailwind utilities) */
.text-center {
    text-align: center;
}

.mb-4 { margin-bottom: calc(var(--spacing-unit) * 1); }
.mb-8 { margin-bottom: calc(var(--spacing-unit) * 2); }
.mt-4 { margin-top: calc(var(--spacing-unit) * 1); }
.mt-8 { margin-top: calc(var(--spacing-unit) * 2); }

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: calc(var(--spacing-unit) * 2.5) 0;
    }

    .container {
        padding: 0 var(--spacing-unit);
    }

    .btn {
        padding: calc(var(--spacing-unit) * 0.6) calc(var(--spacing-unit) * 1.2);
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    p {
        font-size: 0.95rem;
    }

    .card {
        padding: calc(var(--spacing-unit) * 1.5);
    }
}

/* Custom Gradients - example for visual cues */
.hero-section {
    background: linear-gradient(135deg, var(--color-section-4) 0%, var(--color-secondary) 100%);
    padding: calc(var(--spacing-unit) * 6) 0;
    text-align: center;
}

.hero-section h1 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-unit);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

.hero-section p {
    max-width: 800px;
    margin: 0 auto calc(var(--spacing-unit) * 2);
    font-size: 1.25rem;
    color: rgba(0,0,0,0.7);
}

/* Soft transition for general elements */
.smooth-transition {
    transition: all 0.3s ease-out;
}

/* Subtle border on text inputs to match airy style */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    border: 1px solid rgba(var(--color-primary), 0.3);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-focus-outline);
}

/* Enhance form elements with a subtle "lift" on focus */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus,
.btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(var(--color-primary), 0.2);
}

/* Botanical icon style for lists (if using custom icons instead of default bullets) */
.list-botanical li {
    list-style: none;
    padding-left: 1.8rem;
    position: relative;
}

.list-botanical li::before {
    content: "🌿"; /* Example botanical emoji, replace with SVG if needed */
    position: absolute;
    left: 0;
    top: 0.1rem;
    color: var(--color-primary);
    font-size: 1.1em;
}

/* Custom scrollbar for a refined feel */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-section-3);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-hover-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;
    }
}