:root {
    /* Colors derived from design_preferences */
    --color-primary: #6B8E23; /* Olive Drab */
    --color-secondary: #DAA520; /* Goldenrod */
    --color-background: #F8F8F8; /* Light Gray */
    --color-footer-bg: #36454F; /* Charcoal */
    --color-button: #6B8E23; /* Olive Drab */
    --color-section-1: #FFFFFF; /* White */
    --color-section-2: #F8F8F8; /* Light Gray */
    --color-section-3: #F0F5EB; /* Pale Mint */
    --color-text-dark: #333333;
    --color-text-light: #f4f4f4;
    --color-accent: #DAA520; /* Goldenrod for accents */

    /* Typography */
    --font-heading: 'Lora', serif;
    --font-body: 'Open Sans', sans-serif;
    --font-size-base: 1rem; /* 16px */
    --line-height-base: 1.6;
    --line-height-heading: 1.2;

    /* Spacing */
    --space-xs: 0.25rem; /* 4px */
    --space-sm: 0.5rem; /* 8px */
    --space-md: 1rem; /* 16px */
    --space-lg: 2rem; /* 32px */
    --space-xl: 4rem; /* 64px */

    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.12);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px; /* Ensures consistent rem scaling */
}

body {
    font-family: var(--font-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;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: var(--line-height-heading);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
    color: var(--color-text-dark);
}

h1 {
    font-size: 3.5rem; /* 56px */
    font-weight: 700;
    letter-spacing: -0.05em;
    color: var(--color-primary); /* Emphasize with primary color */
}

h2 {
    font-size: 2.5rem; /* 40px */
    font-weight: 600;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.875rem; /* 30px */
    font-weight: 600;
}

h4 {
    font-size: 1.5rem; /* 24px */
    font-weight: 500;
}

h5 {
    font-size: 1.25rem; /* 20px */
    font-weight: 500;
}

h6 {
    font-size: 1rem; /* 16px */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
}

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

a:hover,
a:focus {
    color: var(--color-accent);
    text-decoration: underline;
}

ul, ol {
    margin-left: var(--space-lg);
    margin-bottom: var(--space-md);
}

li {
    margin-bottom: var(--space-sm);
}

/* Layout & Sections */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.section-bg-1 {
    background-color: var(--color-section-1);
}

.section-bg-2 {
    background-color: var(--color-section-2);
}

.section-bg-3 {
    background-color: var(--color-section-3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--color-button);
    color: var(--color-text-light);
    border-color: var(--color-button);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: darken(var(--color-button), 10%); /* Placeholder for CSS-only darken */
    background-color: color-mix(in srgb, var(--color-button) 90%, black 10%); /* Modern CSS darken */
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Cards */
.card {
    background-color: var(--color-section-1);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Forms */
.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--color-text-dark);
}

.form-input,
.form-textarea,
.form-select {
    display: block;
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text-dark);
    background-color: var(--color-section-1);
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.2); /* Olive Drab with transparency */
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer Style */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: calc(var(--space-xl) * 1.2) var(--space-md);
    margin-top: var(--space-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(218, 165, 32, 0.1), transparent 50%),
                radial-gradient(circle at bottom right, rgba(107, 142, 35, 0.1), transparent 50%);
    opacity: 0.8;
    z-index: 0;
}

.footer-content {
    position: relative;
    z-index: 1;
}

.footer p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
}

.footer a {
    color: var(--color-secondary);
}

.footer a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* Premium Minimalism Enhancements */

/* Subtle Text Shadows for Headings */
h1 {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.05);
}

/* Animated Underline for Links in Content */
p a {
    position: relative;
    display: inline-block;
    padding-bottom: 2px; /* Space for the line */
}

p a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width 0.3s ease-out;
}

p a:hover::after {
    width: 100%;
}

/* Image Styling for natural aesthetics */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-md);
}

/* Alpine.js specific styles for transitions */
[x-transition] {
    transition-property: all;
    transition-duration: 300ms;
    transition-timing-function: ease-out;
}

[x-transition:enter] {
    opacity: 0;
    transform: translateY(10px);
}

[x-transition:enter-start] {
    opacity: 0;
    transform: translateY(10px);
}

[x-transition:enter-end] {
    opacity: 1;
    transform: translateY(0);
}

[x-transition:leave] {
    opacity: 1;
    transform: translateY(0);
}

[x-transition:leave-start] {
    opacity: 1;
    transform: translateY(0);
}

[x-transition:leave-end] {
    opacity: 0;
    transform: translateY(10px);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem; /* 40px */
    }

    h2 {
        font-size: 2rem; /* 32px */
    }

    h3 {
        font-size: 1.5rem; /* 24px */
    }

    section {
        padding-top: var(--space-lg);
        padding-bottom: var(--space-lg);
    }

    .container {
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    }

    .btn {
        padding: var(--space-sm);
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem; /* 32px */
    }

    h2 {
        font-size: 1.75rem; /* 28px */
    }

    .footer {
        padding: var(--space-lg) var(--space-sm);
    }
}

/* Utility classes for alignment etc. (Can be overridden by Tailwind if present) */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mt-md {
    margin-top: var(--space-md);
}

.py-lg {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
}

/* Specific elements for premium feel */
.hero-section {
    background-color: var(--color-section-3);
    padding: calc(var(--space-xl) * 1.5) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--color-text-dark);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 L 0 10" fill="none" stroke="%23e0e0e0" stroke-width="0.1"></path></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)" /></svg>') repeat;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    letter-spacing: -0.06em;
    color: var(--color-primary);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text-dark);
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Subtle border on header/nav if present */
.header-nav {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-color: var(--color-section-1);
    padding: var(--space-md) 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-sm) var(--space-md);
    color: var(--color-text-dark);
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: var(--border-radius-sm);
}

.nav-link:hover {
    color: var(--color-primary);
    background-color: var(--color-section-2);
    text-decoration: none;
}

/* Pseudo-elements for visual flair (example for a card or section) */
.card-with-accent:hover {
    border-left: 5px solid var(--color-primary);
    padding-left: calc(var(--space-lg) - 5px);
}

/* Focus states for accessibility and visual feedback */
*:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: var(--border-radius-sm);
}

/* Scrollbar styling for a cleaner look */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-background);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
    border: 2px solid var(--color-background);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

/* Selection color */
::selection {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

::-moz-selection {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

/* Image captions */
.image-caption {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: var(--space-sm);
    margin-bottom: var(--space-md);
    font-style: italic;
}<ctrl63>


/* 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;
    }
}