:root {
    --color-primary: #508E73;
    --color-secondary: #D4E8CE;
    --color-accent: #8EC3B0;
    --color-background: #F8FBF5;
    --color-footer-bg: #3A6351;
    --color-text-dark: #3A6351;
    --color-text-light: #F8FBF5;
    --color-section-1: #F8FBF5;
    --color-section-2: #EBF5E0;
    --color-section-3: #F1F9EF;
    --color-section-4: #F8FBF5;
    --color-section-5: #EBF5E0;

    --font-heading: 'Georgia', serif;
    --font-body: 'Noto Sans', sans-serif;

    --border-radius-card: 8px;
    --border-radius-button: 12px;

    --shadow-subtle: 0px 4px 6px rgba(0, 0, 0, 0.08), 0px 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-button-emboss: 2px 2px 5px rgba(0, 0, 0, 0.1), -2px -2px 5px rgba(255, 255, 255, 0.6);
    --shadow-button-hover: 0px 6px 12px rgba(0, 0, 0, 0.15), 0px 2px 6px rgba(0, 0, 0, 0.08);

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.7;
    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: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 600;
}

h4 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 500;
}

p {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

ul, ol {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    list-style-position: outside;
}

ul li, ol li {
    margin-bottom: var(--spacing-xs);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Section Backgrounds */
.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); }
.section-bg-4 { background-color: var(--color-section-4); }
.section-bg-5 { background-color: var(--color-section-5); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-button);
    border: none;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--shadow-button-emboss);
    background: linear-gradient(145deg, var(--color-accent) 0%, var(--color-primary) 100%);
    color: var(--color-text-light);
    position: relative;
    overflow: hidden;
    outline: none;
}

.btn:hover {
    box-shadow: var(--shadow-button-hover);
    transform: translateY(-2px);
    background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-text-light);
}

.btn:active {
    transform: translateY(0);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.15), inset -2px -2px 5px rgba(255, 255, 255, 0.7);
    background: var(--color-primary);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
}

.btn:hover::before {
    width: 200%;
    height: 200%;
    opacity: 1;
}

/* Card Style */
.card {
    background-color: var(--color-background);
    border-radius: var(--border-radius-card);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-subtle);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05); /* Subtle border for claymorphism */
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.12), 0px 3px 8px rgba(0, 0, 0, 0.06);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-card);
    font-family: var(--font-body);
    font-size: 1rem;
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-color: var(--color-section-1);
    color: var(--color-text-dark);
}

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 3px rgba(80, 142, 115, 0.2);
    outline: none;
    background-color: #ffffff;
}

/* Footer specific styles */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    font-size: 0.9rem;
    margin-top: var(--spacing-xxl);
}

.footer a {
    color: var(--color-secondary);
}

.footer a:hover {
    color: var(--color-accent);
}

/* Utility classes for layout (assuming Tailwind is present, these are additions) */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.py-section {
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
}

/* Claymorphism-inspired elements */
.clay-element {
    background-color: var(--color-background);
    border-radius: var(--border-radius-card);
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.05), -6px -6px 12px rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.clay-element:hover {
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08), -8px -8px 16px rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* Alpine.js Transitions (example) */
[x-cloak] { display: none !important; }

.fade-enter-active, .fade-leave-active {
    transition: opacity 0.5s ease;
}
.fade-enter-from, .fade-leave-to {
    opacity: 0;
}

.slide-up-enter-active, .slide-up-leave-active {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.slide-up-enter-from, .slide-up-leave-to {
    opacity: 0;
    transform: translateY(20px);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    h1 { font-size: clamp(2rem, 8vw, 3rem); }
    h2 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
    h3 { font-size: clamp(1.4rem, 5vw, 2rem); }
    p { font-size: 1rem; }

    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 1rem;
    }

    .py-section {
        padding-top: var(--spacing-lg);
        padding-bottom: var(--spacing-lg);
    }

    .container {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    h1 { font-size: clamp(1.8rem, 10vw, 2.5rem); }
    h2 { font-size: clamp(1.5rem, 8vw, 2rem); }
    h3 { font-size: clamp(1.2rem, 7vw, 1.6rem); }
    p { font-size: 0.95rem; }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
}


/* 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;
    }
}