:root {
    /* Colors */
    --color-primary: #8BBEB2;
    --color-secondary: #BEA0AA;
    --color-background: #F8F5F2;
    --color-text-dark: #333333;
    --color-text-light: #5A5A5A;
    --color-footer-bg: #B1C7C1;
    --color-button: #8BBEB2;
    --color-accent: #A0B2BE; /* Derived from primary/secondary for harmony */

    --section-bg-1: #F8F5F2;
    --section-bg-2: #EDEBE8;
    --section-bg-3: #F2F0ED;
    --section-bg-4: #E8E3DF;
    --section-bg-5: #EBEFEA;
    --section-bg-6: #F1EFEA;

    /* Typography */
    --font-family-body: 'Lora', serif; /* Elegant and readable serif for body */
    --font-family-heading: 'Poppins', sans-serif; /* Modern sans-serif for headings */
    --font-size-base: 1rem; /* 16px */
    --line-height-base: 1.7;

    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-xxl: 6rem;

    /* Border Radius */
    --border-radius-soft: 8px; /* Soft, natural feel */
    --border-radius-pill: 9999px;

    /* Shadows */
    --shadow-subtle: 0 4px 8px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 16px rgba(0, 0, 0, 0.1);
    --shadow-floating: 0 12px 24px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition-speed-fast: 0.2s;
    --transition-speed-normal: 0.3s;
    --transition-speed-slow: 0.5s;
    --transition-ease: ease-in-out;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px; /* Ensure base font size is set */
}

body {
    font-family: var(--font-family-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;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    color: var(--color-text-dark);
    line-height: 1.2;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
    font-weight: 600;
    letter-spacing: -0.02em; /* Slight tightening for modern feel */
}

h1 {
    font-size: 3.5rem; /* ~56px */
    font-weight: 700;
}

h2 {
    font-size: 2.5rem; /* ~40px */
}

h3 {
    font-size: 2rem; /* ~32px */
}

h4 {
    font-size: 1.5rem; /* ~24px */
}

h5 {
    font-size: 1.25rem; /* ~20px */
}

h6 {
    font-size: 1rem; /* ~16px */
}

p {
    margin-bottom: var(--space-md);
    color: var(--color-text-light);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed-normal) var(--transition-ease);
}

a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

ul, ol {
    margin-left: var(--space-md);
    margin-bottom: var(--space-md);
    color: var(--color-text-light);
}

li {
    margin-bottom: var(--space-xs);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-md);
    border: none;
    border-radius: var(--border-radius-soft);
    font-family: var(--font-family-heading);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed-normal) var(--transition-ease);
    text-decoration: none;
    box-shadow: var(--shadow-subtle);
    letter-spacing: 0.02em;
}

.btn-primary {
    background-color: var(--color-button);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: calc(var(--space-sm) - 2px) calc(var(--space-md) - 2px);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: var(--space-sm);
    margin-bottom: var(--space-md);
    border: 1px solid #ddd;
    border-radius: var(--border-radius-soft);
    font-family: var(--font-family-body);
    font-size: var(--font-size-base);
    color: var(--color-text-dark);
    background-color: white;
    transition: border-color var(--transition-speed-fast) var(--transition-ease), box-shadow var(--transition-speed-fast) var(--transition-ease);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary), 0.2); /* Soft focus ring */
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Cards & Sections */
.card {
    background-color: white;
    border-radius: var(--border-radius-soft);
    box-shadow: var(--shadow-subtle);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    transition: transform var(--transition-speed-normal) var(--transition-ease), box-shadow var(--transition-speed-normal) var(--transition-ease);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.section {
    padding: var(--space-xxl) 0;
    overflow: hidden; /* Ensure content doesn't bleed */
}

/* Specific section background colors */
.section:nth-of-type(even) {
    background-color: var(--section-bg-2);
}

.section:nth-of-type(odd) {
    background-color: var(--section-bg-1);
}

/* More granular control for specific sections if needed */
.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); }
.section-bg-4 { background-color: var(--section-bg-4); }
.section-bg-5 { background-color: var(--section-bg-5); }
.section-bg-6 { background-color: var(--section-bg-6); }

/* Footer */
footer {
    background-color: var(--color-footer-bg);
    color: white;
    padding: var(--space-xl) 0;
    text-align: center;
    font-size: 0.9rem;
}

footer a {
    color: white;
    text-decoration: underline;
}

footer a:hover {
    color: var(--color-primary); /* Lighter hover for contrast */
}

/* Utility Classes (to complement Tailwind) */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

.text-center {
    text-align: center;
}

.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }

/* Alpine.js specific styles */
[x-cloak] {
    display: none !important;
}

/* Premium Minimalism Enhancements */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: var(--space-xxl) 0;
    background: linear-gradient(135deg, var(--color-background) 0%, var(--section-bg-2) 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    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="grain" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="1" cy="1" r="0.5" fill="%23000" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: var(--space-md);
    color: var(--color-text-dark);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.hero-content p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--color-text-light);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-lg);
}

/* Subtle border on header for definition */
.main-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: var(--space-sm) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-subtle);
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .hero-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-base: 0.95rem;
        --space-lg: 2rem;
        --space-xl: 3rem;
        --space-xxl: 4rem;
    }

    h1 {
        font-size: 2.8rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .btn {
        padding: var(--space-xs) var(--space-md);
        font-size: 0.9rem;
    }
    .container {
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
    .section {
        padding: var(--space-xl) 0;
    }
    .card {
        padding: var(--space-md);
    }
}

/* Custom styles for specific elements not covered by Tailwind default or base styles */
/* Add more custom classes here as needed for unique components */


/* 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;
    }
}