:root {
  /* Colors */
  --color-primary: #5D6D4A;
  --color-secondary: #B1C79F;
  --color-accent: #7B906A; /* Using button color as accent */
  --color-text-dark: #3A4532;
  --color-text-light: #F8F7F0;
  --color-bg-body: #F8F7F0;
  --color-footer-bg: #3A4532;

  --section-bg-1: #F8F7F0;
  --section-bg-2: #EDEBE0;
  --section-bg-3: #E1DED3;
  --section-bg-4: #D6CEC3; /* Added for more variation based on request */

  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Merriweather', serif;
  --font-size-base: 17px; /* Slightly larger for warmth and readability */
  --line-height-base: 1.7;

  /* Spacing */
  --spacing-unit: 8px;
  --spacing-xs: calc(var(--spacing-unit) * 1);   /* 8px */
  --spacing-sm: calc(var(--spacing-unit) * 2);   /* 16px */
  --spacing-md: calc(var(--spacing-unit) * 3);   /* 24px */
  --spacing-lg: calc(var(--spacing-unit) * 5);   /* 40px */
  --spacing-xl: calc(var(--spacing-unit) * 8);   /* 64px */
  --spacing-2xl: calc(var(--spacing-unit) * 12);  /* 96px */

  /* Visual Effects */
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
  --transition-speed: 0.35s;
  --transition-easing: cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text-dark);
  background-color: var(--color-bg-body);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  color: var(--color-primary);
  line-height: 1.2;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  font-weight: 700;
}

h1 {
  font-size: calc(var(--font-size-base) * 2.8); /* ~47px */
  letter-spacing: -0.03em;
}

h2 {
  font-size: calc(var(--font-size-base) * 2.2); /* ~37px */
  letter-spacing: -0.02em;
}

h3 {
  font-size: calc(var(--font-size-base) * 1.8); /* ~30px */
}

h4 {
  font-size: calc(var(--font-size-base) * 1.4); /* ~24px */
}

h5 {
  font-size: calc(var(--font-size-base) * 1.2); /* ~20px */
}

h6 {
  font-size: calc(var(--font-size-base) * 1); /* ~17px */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-secondary);
}

p {
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-speed) var(--transition-easing);
}

a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

ul, ol {
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-sm); /* Subtle rounded corners for images */
}

/* Section Backgrounds */
.section-bg-1 {
  background-color: var(--section-bg-1);
  color: var(--color-text-dark) !important;
}
.section-bg-1 h1, .section-bg-1 h2, .section-bg-1 h3, .section-bg-1 h4, .section-bg-1 h5, .section-bg-1 h6, .section-bg-1 p, .section-bg-1 span, .section-bg-1 div, .section-bg-1 a {
  color: var(--color-text-dark) !important;
}

.section-bg-2 {
  background-color: var(--section-bg-2);
  color: var(--color-text-dark) !important;
}
.section-bg-2 h1, .section-bg-2 h2, .section-bg-2 h3, .section-bg-2 h4, .section-bg-2 h5, .section-bg-2 h6, .section-bg-2 p, .section-bg-2 span, .section-bg-2 div, .section-bg-2 a {
  color: var(--color-text-dark) !important;
}

.section-bg-3 {
  background-color: var(--section-bg-3);
  color: var(--color-text-dark) !important;
}
.section-bg-3 h1, .section-bg-3 h2, .section-bg-3 h3, .section-bg-3 h4, .section-bg-3 h5, .section-bg-3 h6, .section-bg-3 p, .section-bg-3 span, .section-bg-3 div, .section-bg-3 a {
  color: var(--color-text-dark) !important;
}

.section-bg-4 {
  background-color: var(--section-bg-4);
  color: var(--color-text-dark) !important;
}
.section-bg-4 h1, .section-bg-4 h2, .section-bg-4 h3, .section-bg-4 h4, .section-bg-4 h5, .section-bg-4 h6, .section-bg-4 p, .section-bg-4 span, .section-bg-4 div, .section-bg-4 a {
  color: var(--color-text-dark) !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius-lg); /* More rounded for natural feel */
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition-speed) var(--transition-easing);
  background: linear-gradient(135deg, var(--color-accent) 0%, darken(var(--color-accent), 10%) 100%);
  color: var(--color-text-light); /* Light text on dark button */
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, lighten(var(--color-accent), 5%) 0%, var(--color-accent) 100%);
}

.btn-secondary {
  background: none;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  box-shadow: none;
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(248, 247, 240, 0.9); /* Slightly translucent */
  backdrop-filter: blur(8px); /* Glassmorphism effect */
  -webkit-backdrop-filter: blur(8px);
  padding: var(--spacing-sm) var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color var(--transition-speed) var(--transition-easing), box-shadow var(--transition-speed) var(--transition-easing);
}

.header.scrolled {
  background-color: rgba(248, 247, 240, 0.95);
  box-shadow: var(--shadow-md);
}

.header .logo img {
  height: 48px; /* Adjust as needed for logo size */
  width: auto;
  border-radius: 0; /* Logo image usually doesn't need rounded corners */
}

.header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--spacing-md);
}

.header nav ul li a {
  font-family: var(--font-primary);
  font-weight: 500;
  color: var(--color-text-dark);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-bottom: 2px solid transparent;
  transition: color var(--transition-speed) var(--transition-easing), border-color var(--transition-speed) var(--transition-easing);
}

.header nav ul li a:hover,
.header nav ul li a.active {
  color: var(--color-primary);
  border-color: var(--color-primary);
  text-decoration: none;
}

/* Footer */
.footer {
  background-color: var(--color-footer-bg);
  color: var(--color-text-light);
  padding: var(--spacing-xl) var(--spacing-lg);
  text-align: center;
  font-size: calc(var(--font-size-base) * 0.9);
}

.footer a {
  color: var(--color-secondary);
  margin: 0 var(--spacing-xs);
  transition: color var(--transition-speed) var(--transition-easing);
}

.footer a:hover {
  color: var(--color-text-light);
  text-decoration: underline;
}

.footer .social-icons {
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
}

.footer .social-icons a {
  color: var(--color-secondary);
  font-size: calc(var(--font-size-base) * 1.5);
}

.footer .social-icons a:hover {
  color: var(--color-text-light);
  transform: scale(1.1);
}

/* Cards (example) */
.card {
  background-color: #ffffff;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-lg);
  transition: transform var(--transition-speed) var(--transition-easing), box-shadow var(--transition-speed) var(--transition-easing);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Form elements (basic) */
.input, .textarea, .select {
  width: 100%;
  padding: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  border: 1px solid var(--color-secondary);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  color: var(--color-text-dark);
  background-color: #ffffff;
  transition: border-color var(--transition-speed) var(--transition-easing), box-shadow var(--transition-speed) var(--transition-easing);
}

.input:focus, .textarea:focus, .select:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--color-primary), 0.2); /* Subtle focus ring */
}

/* Utility for Alpine.js x-cloak */
[x-cloak] {
  display: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: calc(var(--font-size-base) * 2.2);
  }
  h2 {
    font-size: calc(var(--font-size-base) * 1.8);
  }
  .header {
    padding: var(--spacing-sm) var(--spacing-md);
  }
  .header nav ul {
    display: none; /* Hidden by default, Alpine.js will toggle */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-body);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-md) 0;
  }
  .header nav ul li {
    text-align: center;
  }
  .header nav ul li a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
  }

  /* Hamburger icon for mobile navigation, if needed */
  .nav-toggle {
    display: block;
    cursor: pointer;
    font-size: calc(var(--font-size-base) * 1.5);
    color: var(--color-text-dark);
  }

  .nav-toggle.hidden {
    display: none;
  }
}

@media (min-width: 769px) {
  .header nav.hidden {
    display: flex !important; /* Ensure navigation is visible on desktop */
  }
  .nav-toggle {
    display: none; /* Hide hamburger on desktop */
  }
}

/* Micro-interactions and Premium feel */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s var(--transition-easing) forwards;
}

.scale-in {
  opacity: 0;
  transform: scale(0.95);
  animation: scaleIn 0.7s var(--transition-easing) forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Image specific styles - warm tones, no text */
.image-wrapper img {
  filter: saturate(1.1) contrast(1.05) brightness(1.05); /* Warm tone enhancement */
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Subtle border for images within content, if desired */
.content-image {
  border: 1px solid var(--section-bg-3);
  padding: 4px;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-sm);
}

/* Focus states for accessibility */
*:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--border-radius-sm);
}


/* 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;
    }
}