:root {
    /* Colors */
    --color-primary: #278A7E;
    --color-secondary: #F0E4D9;
    --color-background: #FDFCFB;
    --color-footer-bg: #1A4941;
    --color-button: #278A7E;
    --color-text-dark: #1A4941;
    --color-text-light: #FDFCFB;
    --color-accent: #278A7E; /* Using primary as accent for minimalism */

    --section-bg-1: #FDFCFB;
    --section-bg-2: #F0E4D9;
    --section-bg-3: #D9E5E2;

    /* Fonts */
    --font-heading: 'Kanit', sans-serif;
    --font-body: 'Noto Sans Thai', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.75rem; /* For buttons and cards */
    --border-radius-lg: 1.5rem;

    /* Shadows */
    --shadow-subtle: 0 4px 6px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-clay-base: 8px 8px 16px rgba(200, 200, 200, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.8);
    --shadow-clay-hover: 4px 4px 8px rgba(200, 200, 200, 0.2), -4px -4px 8px rgba(255, 255, 255, 0.6);

    /* Transitions */
    --transition-ease: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.8;
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    line-height: 1.3;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    letter-spacing: 0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.1rem; }

p {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-ease);
}

a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

ul, ol {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

li {
    margin-bottom: var(--spacing-xs);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: var(--transition-ease);
    box-shadow: var(--shadow-subtle);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background-color: var(--color-button);
    color: var(--color-text-light);
    box-shadow: 6px 6px 12px rgba(39, 138, 126, 0.3), -6px -6px 12px rgba(255, 255, 255, 0.8);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 8px 8px 16px rgba(39, 138, 126, 0.4), -8px -8px 16px rgba(255, 255, 255, 0.9);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text-dark);
    border: 1px solid var(--color-primary);
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding: var(--spacing-sm) 0;
    transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.header.scrolled {
    background-color: rgba(var(--color-background), 0.95);
    box-shadow: var(--shadow-subtle);
    backdrop-filter: blur(5px);
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text-dark);
    letter-spacing: 0.05em;
}

.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--spacing-lg);
}

.header-nav a {
    color: var(--color-text-dark);
    font-weight: 500;
    position: relative;
    padding: var(--spacing-xs) 0;
}

.header-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.header-nav a:hover::after {
    width: 100%;
}

/* Sections */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.section-bg-1 {
    background-color: var(--section-bg-1);
}

.section-bg-2 {
    background-color: var(--section-bg-2);
}

.section-bg-3 {
    background-color: var(--section-bg-3);
}

/* Botanical Pattern Overlay (Subtle) */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="100px" height="100px" viewBox="0 0 100 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><path d="M50,0 C77.6142375,0 100,22.3857625 100,50 C100,77.6142375 77.6142375,100 50,100 C22.3857625,100 0,77.6142375 0,50 C0,22.3857625 22.3857625,0 50,0 Z M50,10 C27.90861,10 10,27.90861 10,50 C10,72.09139 27.90861,90 50,90 C72.09139,90 90,72.09139 90,50 C90,27.90861 72.09139,10 50,10 Z" id="path-1"></path></defs><g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="leaf-pattern" fill="%23000000" fill-opacity="0.03"><use xlink:href="#path-1"></use></g></g></svg>');
    background-size: 150px;
    opacity: 0.05; /* Very subtle */
    pointer-events: none;
    z-index: 1;
}

/* Claymorphism Cards */
.card {
    background-color: var(--color-background);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-clay-base);
    transition: var(--transition-ease);
    position: relative;
    z-index: 2; /* Above the botanical pattern */
}

.card:hover {
    box-shadow: var(--shadow-clay-hover);
    transform: translateY(-5px);
}

/* Image Style */
.image-natural {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-subtle);
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Footer */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-xl) 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
}

.footer h3 {
    color: var(--color-text-light);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer a {
    color: var(--color-secondary);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.footer a:hover {
    color: var(--color-primary);
    text-decoration: none;
    transform: translateX(5px);
}

.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);
    color: rgba(var(--color-text-light), 0.7);
}

/* Form Elements */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--color-secondary);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    background-color: var(--color-background);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05);
    transition: var(--transition-ease);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1), 0 0 0 2px rgba(39, 138, 126, 0.2);
}

/* Alpine.js specific styles (example for dropdown) */
[x-cloak] { display: none !important; }

.dropdown-menu {
    position: absolute;
    background-color: var(--color-background);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-subtle);
    padding: var(--spacing-sm) 0;
    min-width: 150px;
    z-index: 10;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
}

.dropdown-menu.open {
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: var(--spacing-xs) var(--spacing-md);
    color: var(--color-text-dark);
}

.dropdown-menu a:hover {
    background-color: var(--section-bg-2);
    text-decoration: none;
}


/* Scroll-reveal animation (example) */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.6rem; }

    .header-nav ul {
        display: none; /* Hide for mobile, assuming a hamburger menu would be implemented with Alpine.js */
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid > div {
        text-align: center;
    }

    .footer a {
        display: inline-block;
        margin: 0 var(--spacing-xs) var(--spacing-xs) var(--spacing-xs);
    }
}


/* 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;
    }
}