:root {
    --color-primary: #4CAF50;
    --color-secondary: #8BC34A;
    --color-accent: #689F38;
    --color-background: #F0F4C3;
    --color-footer-bg: #388E3C;
    --color-text-dark: #2E7D32;
    --color-text-light: #F0F4C3;
    --color-section-1: #FFFFFF;
    --color-section-2: #F1F8E9;
    --color-section-3: #DCEDC8;
    --color-section-4: #C5E1A5;
    --color-section-5: #AED581;

    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Lato', sans-serif;

    --border-radius-base: 8px;

    --shadow-subtle: 0 4px 8px rgba(76, 175, 80, 0.1);
    --shadow-hover: 0 6px 12px rgba(76, 175, 80, 0.2);

    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 96px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    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-primary);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h3 {
    font-size: 1.8rem;
    line-height: 1.3;
}

p {
    margin-bottom: 1em;
    font-size: 1.1rem;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

a:hover {
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
}

header {
    background-color: var(--color-secondary);
    padding: var(--spacing-sm) var(--spacing-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-text-dark);
    letter-spacing: -0.05em;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--spacing-md);
}

header nav ul li a {
    color: var(--color-text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

header nav ul li a:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius-base);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-subtle);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background-color: var(--color-primary);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.section {
    padding: var(--spacing-xl) var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.02);
}

.section:nth-of-type(odd) {
    background-color: var(--color-section-1);
}

.section:nth-of-type(even) {
    background-color: var(--color-section-2);
}

.section-alt {
    background-color: var(--color-section-3);
}

.section-highlight {
    background-color: var(--color-section-4);
}

.section-dark {
    background-color: var(--color-section-5);
    color: var(--color-text-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-subtle);
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

.card {
    background-color: var(--color-section-1);
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-subtle);
    padding: var(--spacing-md);
    margin: var(--spacing-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-lg) var(--spacing-md);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--spacing-md);
    font-size: 0.95rem;
}

footer h4 {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

footer a {
    color: var(--color-text-light);
    opacity: 0.8;
    border-bottom: none;
}

footer a:hover {
    color: var(--color-background);
    opacity: 1;
    border-bottom: 1px solid var(--color-background);
}

footer .footer-column {
    flex: 1;
    min-width: 200px;
}

footer .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-nav ul li {
    margin-bottom: 8px;
}

footer .social-icons {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

footer .social-icons a {
    font-size: 1.5rem;
    color: var(--color-text-light);
    opacity: 0.8;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

footer .social-icons a:hover {
    opacity: 1;
    transform: translateY(-3px);
    color: var(--color-background);
}

/* Alpine.js specific styles */
[x-cloak] {
    display: none !important;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.fade-in.show {
    opacity: 1;
}

.slide-down {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.slide-down.open {
    max-height: 500px; /* Adjust based on content height */
}

/* AOS overrides/integrations for subtle effects */
[data-aos="fade-up"] {
    transform: translateY(20px);
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

[data-aos="fade-in"] {
    opacity: 0;
    transition-property: opacity;
}

[data-aos="fade-in"].aos-animate {
    opacity: 1;
}

/* Utility classes for spacing and layout (tailwind-like semantics) */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.grid-cols-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-center {
    text-align: center;
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-sm);
    }

    header nav ul {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
        margin-top: var(--spacing-sm);
    }

    header nav ul li a {
        display: block;
        padding: 8px 0;
    }

    .grid-cols-2, .grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

    footer .footer-column {
        min-width: unset;
        width: 100%;
    }

    footer .footer-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
    }

    footer .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .section {
        padding: var(--spacing-md) 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;
    }
}