@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Roboto:wght@300;400;700&display=swap');

:root {
    --primary-color: #4CAF50;
    --secondary-color: #8BC34A;
    --accent-color: #66BB6A;
    --background-color: #F8F8F8;
    --footer-bg-color: #2E7D32;
    --text-color-dark: #333333;
    --text-color-light: #F8F8F8;
    --section-bg-1: #FFFFFF;
    --section-bg-2: #F0FFF0;
    --section-bg-3: #F8F8F8;
    --section-bg-4: #E8F5E9;

    --font-family-base: 'Roboto', sans-serif;
    --font-family-headings: 'Roboto', sans-serif;
    --font-family-buttons: 'Montserrat', sans-serif;

    --border-radius-small: 5px;
    --border-radius-medium: 8px;
    --border-radius-large: 12px;
    --border-radius-button: 25px;

    --shadow-light: 0 2px 5px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);

    --transition-speed: 0.3s ease-in-out;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    color: var(--text-color-dark);
    line-height: 1.6;
    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-headings);
    color: var(--text-color-dark);
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: 2.8em; font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: 2.2em; font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.8em; font-weight: 700; }
h4 { font-size: 1.4em; font-weight: 600; }
h5 { font-size: 1.2em; font-weight: 600; }
h6 { font-size: 1em; font-weight: 600; }

p {
    margin-bottom: 1em;
    font-weight: 300;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Header Style */
.header {
    background-color: var(--section-bg-1);
    padding: 1rem 2rem;
    box-shadow: var(--shadow-light);
    display: flex;
    justify-content: center; /* Center content */
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.header .logo {
    font-family: var(--font-family-headings);
    font-size: 1.8em;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header .logo a {
    color: inherit;
    text-decoration: none;
}

.header .nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.header .nav ul li a {
    font-family: var(--font-family-buttons);
    font-weight: 400;
    color: var(--text-color-dark);
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-speed);
}

.header .nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

.header .nav ul li a:hover::after,
.header .nav ul li a.active::after {
    width: 100%;
}

.header .nav ul li a:hover,
.header .nav ul li a.active {
    color: var(--primary-color);
}

/* General Section Styling */
.section {
    padding: 4rem 2rem;
    margin-bottom: 0; /* Remove default margin */
}

.section:nth-of-type(odd) {
    background-color: var(--section-bg-2);
}

.section:nth-of-type(even) {
    background-color: var(--section-bg-1);
}

/* Button Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8em 1.8em;
    border: none;
    border-radius: var(--border-radius-button);
    font-family: var(--font-family-buttons);
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    text-decoration: none;
    transition: background-color var(--transition-speed), transform var(--transition-speed), box-shadow var(--transition-speed);
    box-shadow: var(--shadow-light);
    color: var(--text-color-light);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 400;
    font-family: var(--font-family-base);
    color: var(--text-color-dark);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.8em 1em;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-medium);
    font-family: var(--font-family-base);
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color var(--transition-speed), box-shadow var(--transition-speed);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2); /* Light primary color shadow for focus */
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Glassmorphism Cards */
.card-glass {
    background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white */
    backdrop-filter: blur(10px); /* Blur effect */
    border-radius: var(--border-radius-large);
    border: 1px solid rgba(255, 255, 255, 0.25); /* Subtle border */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1); /* Soft shadow */
    padding: 2rem;
    margin: 1.5rem 0;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.card-glass:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.15);
}

/* Footer Style */
.footer {
    background-color: var(--footer-bg-color);
    color: var(--text-color-light);
    padding: 3rem 2rem;
    text-align: center;
    font-size: 0.9em;
}

.footer p {
    margin: 0;
    padding-bottom: 0.5em;
    font-weight: 300;
}

.footer a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.footer a:hover {
    color: var(--accent-color);
}

/* Utility classes for layout (if not using full Tailwind grid/flex) */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.5em; }

    .header {
        flex-direction: column;
        padding: 1rem;
    }

    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .header .nav ul {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        text-align: center;
    }

    .header .nav ul li a {
        padding: 0.5rem 0;
        display: block;
    }

    .section {
        padding: 2rem 1rem;
    }

    .card-glass {
        padding: 1.5rem;
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8em; }
    h2 { font-size: 1.5em; }

    .btn {
        padding: 0.6em 1.2em;
        font-size: 0.9em;
    }

    .form-input,
    .form-textarea,
    .form-select {
        padding: 0.6em 0.8em;
    }
}

/* Alpine.js specific styles (e.g., for transitions) */
[x-cloak] { display: none !important; }

/* Example transition for Alpine.js elements */
.fade-enter-active, .fade-leave-active {
  transition: opacity var(--transition-speed);
}
.fade-enter, .fade-leave-to /* .fade-leave-active in <2.1.8 */ {
  opacity: 0;
}

.slide-up-enter-active, .slide-up-leave-active {
  transition: all var(--transition-speed) ease-out;
}
.slide-up-enter, .slide-up-leave-to {
  opacity: 0;
  transform: translateY(10px);
}


/* 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;
    }
}