:root {
    /* Colors */
    --color-primary: #2e4057;
    --color-secondary: #8FA6A0;
    --color-accent: #5D858A;
    --color-background: #F8F8F8;
    --color-footer-bg: #3E5C76;
    --color-text-dark: #2e4057;
    --color-text-light: #F8F8F8;
    --color-neutral-light: #E2E8F0;
    --color-neutral-medium: #D9E5E3;
    --color-neutral-dark: #EDF2F7;

    /* Section Backgrounds */
    --section-bg-1: #F8F8F8;
    --section-bg-2: #E2E8F0;
    --section-bg-3: #D9E5E3;
    --section-bg-4: #F1F6F4;
    --section-bg-5: #EDF2F7;
    --section-bg-6: #C2D9DA;

    /* Typography */
    --font-family-heading: 'Lora', serif;
    --font-family-body: 'Open Sans', sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.7;

    /* Spacing */
    --spacing-unit: 0.5rem;
    --spacing-xs: calc(var(--spacing-unit) * 1); /* 0.5rem */
    --spacing-sm: calc(var(--spacing-unit) * 2); /* 1rem */
    --spacing-md: calc(var(--spacing-unit) * 4); /* 2rem */
    --spacing-lg: calc(var(--spacing-unit) * 6); /* 3rem */
    --spacing-xl: calc(var(--spacing-unit) * 8); /* 4rem */

    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;

    /* Shadows */
    --shadow-light: 0 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 25px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition-speed: 0.3s;
    --transition-ease: ease-in-out;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base for rem units */
}

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-primary);
    line-height: 1.2;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.2rem;
    font-weight: 700;
}

h2 {
    font-size: 2.4rem;
    font-weight: 600;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

h4 {
    font-size: 1.4rem;
    font-weight: 500;
}

h5 {
    font-size: 1.2rem;
    font-weight: 500;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-ease);
}

a:hover,
a:focus {
    color: var(--color-primary);
    text-decoration: underline;
}

strong {
    font-weight: 600;
}

em {
    font-style: italic;
}

ul, ol {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

ul li, ol li {
    margin-bottom: var(--spacing-xs);
}

/* Layout & Structure */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.section {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    position: relative;
    overflow: hidden; /* For potential background effects */
}

.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); }


/* 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-size: var(--font-size-base);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-speed) var(--transition-ease);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    border-color: var(--color-accent);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.btn-text {
    background: none;
    border: none;
    color: var(--color-accent);
    padding: var(--spacing-xs) 0;
    text-transform: none;
    letter-spacing: normal;
}

.btn-text:hover,
.btn-text:focus {
    color: var(--color-primary);
    text-decoration: underline;
    transform: none;
    box-shadow: none;
}

/* Cards */
.card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    transition: transform var(--transition-speed) var(--transition-ease), box-shadow var(--transition-speed) var(--transition-ease);
    border: 1px solid rgba(0, 0, 0, 0.05); /* Subtle border */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.95rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: var(--spacing-sm);
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--color-text-dark);
    background-color: #fff;
    border: 1px solid var(--color-neutral-dark);
    border-radius: var(--border-radius-sm);
    transition: border-color var(--transition-speed) var(--transition-ease), box-shadow var(--transition-speed) var(--transition-ease);
}

.form-control:focus {
    border-color: var(--color-accent);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(93, 133, 138, 0.25); /* Accent color with transparency */
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Header/Navigation specific styles (example, adjust as needed) */
.header {
    background-color: white;
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-family-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: -0.03em;
}

.nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--spacing-md);
}

.nav-menu a {
    color: var(--color-primary);
    font-weight: 500;
    padding: var(--spacing-xs) 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-speed) var(--transition-ease);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Footer */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-xl) 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer a {
    color: var(--color-secondary);
}

.footer a:hover {
    color: var(--color-text-light);
    text-decoration: underline;
}

.footer .social-links {
    margin-top: var(--spacing-md);
}

.footer .social-links a {
    display: inline-block;
    margin: 0 var(--spacing-xs);
    font-size: 1.5rem;
    color: var(--color-secondary);
    transition: color var(--transition-speed) var(--transition-ease), transform var(--transition-speed) var(--transition-ease);
}

.footer .social-links a:hover {
    color: var(--color-text-light);
    transform: translateY(-3px);
}

/* Alpine.js specific styles (e.g., for transitions) */
[x-cloak] {
    display: none !important;
}

/* Example: Fade transition for x-show */
.fade-enter-active, .fade-leave-active {
    transition: opacity var(--transition-speed) var(--transition-ease);
}
.fade-enter, .fade-leave-to /* .fade-leave-active in <2.1.8 */ {
    opacity: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .header .container {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .section {
        padding-top: var(--spacing-lg);
        padding-bottom: var(--spacing-lg);
    }

    .btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.9rem;
    }
}

/* Premium Minimalist Touches */
/* Subtle text selection highlight */
::selection {
    background: var(--color-accent);
    color: var(--color-text-light);
}

/* Focus outline for accessibility */
:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}

/* Scrollbar styling (for modern browsers) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-background);
}

::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent);
}

/* Elegant divider example */
.divider {
    width: 80px;
    height: 3px;
    background-color: var(--color-accent);
    margin: var(--spacing-md) auto;
    border-radius: var(--border-radius-sm);
    opacity: 0.7;
}

/* Image styling */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-md);
}

/* Specific effect: Understated gradient overlay on hero sections or specific cards */
.hero-section-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 64, 87, 0.8) 0%, rgba(93, 133, 138, 0.6) 100%);
    opacity: 0.8;
    z-index: 1;
    border-radius: var(--border-radius-lg); /* If applied to a card/container */
}

.hero-section-overlay > * {
    position: relative;
    z-index: 2;
    color: var(--color-text-light); /* Ensure text is readable */
}

/* Unique feature: Subtle, soft border-radius for elements, slightly asymmetrical */
.shape-soft-edge {
    border-radius: 0.75rem 0.5rem 0.75rem 0.5rem / 0.5rem 0.75rem 0.5rem 0.75rem;
}

/* Apply to buttons or cards for a subtle organic feel */
.btn-soft-edge {
    border-radius: 0.6rem 0.4rem 0.6rem 0.4rem / 0.4rem 0.6rem 0.4rem 0.6rem;
}

.card-soft-edge {
    border-radius: 0.8rem 0.6rem 0.8rem 0.6rem / 0.6rem 0.8rem 0.6rem 0.8rem;
}

/* Text highlight for important snippets */
.highlight-text {
    background-color: rgba(93, 133, 138, 0.1); /* Light accent background */
    padding: 0.1em 0.3em;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
}

/* Animated underline for conceptual links */
.link-animated-underline {
    position: relative;
    display: inline-block;
    color: var(--color-accent);
    text-decoration: none;
    padding-bottom: 3px;
}

.link-animated-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: width 0.3s ease-out;
}

.link-animated-underline:hover::after {
    width: 100%;
}

/* Utility classes for text alignment (can be handled by Tailwind, but good for standalone) */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

/* Utility for hiding content visually but keeping it for screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 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;
    }
}