:root {
    /* Colors */
    --primary-color: #B1DDF1;
    --secondary-color: #F0EAD6;
    --accent-color: #A7C7E7; /* From button_color_hex */
    --background-color: #FDFDFC;
    --footer-bg-color: #E0E0E0;
    --text-color: #333333;
    --light-text-color: #666666;
    --border-color: rgba(0, 0, 0, 0.1);

    /* Section Backgrounds */
    --section-bg-1: #FDFDFC;
    --section-bg-2: #F7F7F9;
    --section-bg-3: #F0EAD6;
    --section-bg-4: #E6F2F7;
    --section-bg-5: #FDFDFC;

    /* Typography */
    --font-family-heading: 'Lora', serif;
    --font-family-body: 'Open Sans', sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.6;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Border Radius */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.75rem;
    --border-radius-lg: 1.5rem; /* More pronounced for a softer feel */

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);
    --shadow-card: 0px 8px 20px rgba(177, 221, 241, 0.2); /* Soft shadow with primary color tint */
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    color: var(--text-color);
    line-height: 1.2;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em; /* Slightly tighter for elegance */
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.05);
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

h4 {
    font-size: 1.4rem;
    font-weight: 500;
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
    border-bottom: 1px solid transparent;
}

a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

ul, ol {
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

li {
    margin-bottom: var(--spacing-xs);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-md);
}

/* Layout & Structure */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    padding: var(--spacing-xl) 0;
    background-color: var(--background-color); /* Default */
    position: relative;
    overflow: hidden;
}

section:nth-of-type(odd) {
    background-color: var(--section-bg-2);
}

section:nth-of-type(even) {
    background-color: var(--section-bg-1);
}

/* Specific section backgrounds */
.section-bg-primary { background-color: var(--section-bg-1); }
.section-bg-secondary { background-color: var(--section-bg-2); }
.section-bg-tertiary { background-color: var(--section-bg-3); }
.section-bg-quaternary { background-color: var(--section-bg-4); }
.section-bg-quinary { background-color: var(--section-bg-5); }


/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-md);
    font-family: var(--font-family-body);
    font-weight: 600;
    font-size: var(--font-size-base);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0px 5px 15px rgba(167, 199, 231, 0.4); /* Soft shadow from accent */
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0px 8px 20px rgba(177, 221, 241, 0.5);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: calc(var(--spacing-sm) - 2px) calc(var(--spacing-md) - 2px);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0px 5px 15px rgba(167, 199, 231, 0.3);
}

/* Cards & Panels */
.card {
    background-color: white;
    border-radius: var(--border-radius-lg); /* Softer, more premium look */
    box-shadow: var(--shadow-card);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(0,0,0,0.02); /* Very subtle border */
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 25px rgba(177, 221, 241, 0.3);
}

.card-header {
    font-family: var(--font-family-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-md);
}

label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--light-text-color);
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-family-body);
    font-size: var(--font-size-base);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #ffffff;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(177, 221, 241, 0.2);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-xs { margin-bottom: var(--spacing-xs); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.mt-xs { margin-top: var(--spacing-xs); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

/* Alpine.js specific styles */
[x-cloak] {
    display: none !important;
}

/* Transitions for Alpine.js */
.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 ease-out;
}
.slide-up-enter-from, .slide-up-leave-to {
    opacity: 0;
    transform: translateY(20px);
}

/* Specific elements for a "Pastel-Premium Minimalism" */

/* Header/Navigation Example - assuming a simple structure */
.header {
    background-color: var(--background-color);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .nav-link {
    font-family: var(--font-family-heading);
    font-weight: 500;
    color: var(--light-text-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    margin: 0 var(--spacing-xs);
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
    border-bottom: none; /* Override default link style */
}

.header .nav-link:hover,
.header .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(177, 221, 241, 0.1);
}

/* Footer */
.footer {
    background-color: var(--footer-bg-color);
    color: var(--light-text-color);
    padding: var(--spacing-xl) 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer a {
    color: var(--light-text-color);
    border-bottom-color: rgba(0,0,0,0.1);
}

.footer a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Imagery with subtle touch */
.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.image-wrapper img {
    border-radius: var(--border-radius-lg);
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.03);
}

/* Decorative elements */
.soft-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(177, 221, 241, 0.1) 0%, rgba(240, 234, 214, 0.1) 100%);
    pointer-events: none;
    border-radius: var(--border-radius-lg);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    section {
        padding: var(--spacing-lg) 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .header .nav-link {
        padding: var(--spacing-xs);
        margin: 0 var(--spacing-xs) 0 0;
    }
}

/* Custom Scrollbar for a premium feel */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
    border: 2px solid var(--background-color);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Subtle background texture for overall calmness */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.6" numOctaves="3" stitchTiles="stitch"></feTurbulence><feColorMatrix type="saturate" values="0"></feColorMatrix><feComponentTransfer><feFuncA type="linear" slope="0.03"></feFuncA></feComponentTransfer></filter></defs><rect width="100%" height="100%" filter="url(%23noiseFilter)"></rect></svg>');
    background-size: cover;
    opacity: 0.05; /* Very subtle */
    pointer-events: none;
    z-index: -1;
}

/* Focus states for accessibility */
*:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}

/* Custom cursor for a unique feel */
/* This is often debated for accessibility, use with caution */
/* body {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="4" fill="%23B1DDF1" stroke="%23A7C7E7" stroke-width="1.5"/></svg>') 12 12, auto;
}

a, button, input[type="submit"] {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 14.5c-2.49 0-4.5-2.01-4.5-4.5S9.51 7.5 12 7.5s4.5 2.01 4.5 4.5-2.01 4.5-4.5 4.5z" fill="%23A7C7E7"/></svg>') 12 12, pointer;
} */


/* 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;
    }
}