:root {
    /* Colors */
    --color-primary: #b4ddbc;
    --color-secondary: #f0dbd4;
    --color-accent: #8fc297;
    --color-background: #fdfafa;
    --color-footer-bg: #7a9b89;
    --color-text-dark: #3a473e; /* Derived from primary/footer for elegance */
    --color-text-light: #fdfafa;
    --color-section-1: #fdfafa;
    --color-section-2: #fcf7f5;
    --color-section-3: #f3fded;
    --color-section-4: #f0e9e7;
    --color-section-5: #e9f1ed;

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-size-base: 1.125rem; /* 18px */
    --line-height-base: 1.7;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;

    /* Border Radius */
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1.5rem;
    --border-radius-lg: 2.5rem; /* For buttons */

    /* Shadows */
    --shadow-subtle: 0 4px 8px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 16px rgba(0, 0, 0, 0.08);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base for rem calculation */
}

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;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    font-weight: 600;
    line-height: 1.2;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 3.8rem; letter-spacing: -0.03em; }
h2 { font-size: 3rem; letter-spacing: -0.02em; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.2rem; }

p {
    margin-bottom: var(--spacing-md);
    font-weight: 300;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary);
}

ul, ol {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

li {
    margin-bottom: var(--spacing-sm);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.section-padding {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

/* Header */
.header {
    background-color: var(--color-background);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-subtle);
    transition: background-color 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-dark);
    letter-spacing: 0.05em;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--spacing-lg);
}

.nav-menu a {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    color: var(--color-text-dark);
    font-weight: 400;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    left: 0;
    bottom: -3px;
    transition: width 0.3s ease-in-out;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--border-radius-lg); /* Softly rounded corners */
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: var(--shadow-subtle); /* Subtle shadow */
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text-dark); /* Dark elegant color */
}

.btn-primary:hover {
    background-color: var(--color-primary);
    box-shadow: var(--shadow-hover); /* Subtle shadow on hover */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-dark);
    border: 1px solid var(--color-accent);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

/* 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); }


/* Input Fields */
.input-field {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-sm); /* Softly rounded borders */
    background-color: rgba(255, 255, 255, 0.7); /* Light pastel background */
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    color: var(--color-text-dark);
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
}

.input-field:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(143, 194, 151, 0.2); /* Clean focus state */
    background-color: var(--color-background);
}

.input-field::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

/* Images */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-sm); /* Consistent with input fields */
    box-shadow: var(--shadow-subtle);
}

/* Icons (Placeholder for custom icons) */
.icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    stroke-width: 1.5;
    stroke: currentColor;
    fill: none;
    transition: transform 0.2s ease-in-out;
}

.icon-filled {
    fill: currentColor;
    stroke: none;
}

.social-icon {
    color: var(--color-text-light);
    margin: 0 var(--spacing-sm);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: var(--color-primary); /* Lighter hover for contrast */
    transform: translateY(-3px) scale(1.1);
}

/* Footer */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-xl) 0;
    font-size: 0.95rem;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md) var(--spacing-lg);
}

.footer-nav a {
    color: var(--color-text-light);
    font-weight: 300;
    position: relative;
}

.footer-nav a::after {
    background-color: var(--color-primary);
}

.copyright {
    margin-top: var(--spacing-md);
    font-weight: 300;
    opacity: 0.8;
}

/* Alpine.js specific styles */
[x-cloak] {
    display: none !important;
}

.fade-enter-active, .fade-leave-active {
    transition: opacity 0.5s ease;
}
.fade-enter, .fade-leave-to {
    opacity: 0;
}

/* Card Component (Example) */
.card {
    background-color: var(--color-background);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-subtle);
    padding: var(--spacing-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 2rem; }
    h4 { font-size: 1.6rem; }

    .nav-menu ul {
        gap: var(--spacing-md);
    }

    .section-padding {
        padding-top: var(--spacing-lg);
        padding-bottom: var(--spacing-lg);
    }

    .footer {
        padding: var(--spacing-lg) 0;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-base: 1rem; /* 16px */
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    h4 { font-size: 1.4rem; }

    .header-content {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .nav-menu ul {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .nav-menu a {
        padding: var(--spacing-xs) 0;
    }

    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 1rem;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.2rem; }

    .container {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }

    .section-padding {
        padding-top: var(--spacing-md);
        padding-bottom: var(--spacing-md);
    }

    .logo {
        font-size: 1.75rem;
    }
}

/* Unique feature: Subtle Organic Divider */
.organic-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.1) 20%, rgba(0,0,0,0.1) 80%, transparent 100%);
    margin: var(--spacing-xl) 0;
    opacity: 0.7;
    position: relative;
}

.organic-divider::before {
    content: '';
    position: absolute;
    top: -0.5px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--color-accent);
    opacity: 0.3;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    transform: scaleX(0.8);
}

/* Claymorphism-inspired elements for premium feel */
.clay-card {
    background-color: var(--color-background);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.05),
                -6px -6px 12px rgba(255, 255, 255, 0.9),
                inset 2px 2px 5px rgba(0, 0, 0, 0.02),
                inset -2px -2px 5px rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.clay-card:hover {
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.08),
                -8px -8px 16px rgba(255, 255, 255, 0.9),
                inset 2px 2px 5px rgba(0, 0, 0, 0.03),
                inset -2px -2px 5px rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
}

/* A subtle texture overlay for some sections */
.section-textured {
    position: relative;
    overflow: hidden;
}

.section-textured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%23000" fill-opacity="0.03"%3E%3Cpath fill-rule="evenodd" d="M0 0h8v8H0V0zm8 8h8v8H8V8z"/%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

/* Subtle border-radius variations for different elements to add naturalness */
.image-natural-curve {
    border-radius: 20% 80% 60% 40% / 40% 60% 80% 20%;
    overflow: hidden;
    transition: border-radius 0.5s ease;
}

.image-natural-curve:hover {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

/* Placeholder for custom focus outline for accessibility */
*:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}

/* Remove default outline for elements that have custom focus styles */
.btn:focus-visible,
.input-field:focus-visible,
.nav-menu a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(143, 194, 151, 0.4);
}

/* General spacing for content blocks */
section > div {
    margin-bottom: var(--spacing-lg);
}

section > div:last-child {
    margin-bottom: 0;
}


/* 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;
    }
}