:root {
  /* Color Palette - Natural Earth Tones */
  --color-primary: #F5F1E8;
  --color-secondary: #8FA382;
  --color-background: #FFFFFF;
  --color-footer: #6B5D47;
  --color-button: #8B7355;
  --color-section-1: #F5F1E8;
  --color-section-2: #FFFFFF;
  --color-section-3: #F8F6F1;
  
  /* Typography */
  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-sans: 'Inter', 'Segoe UI', system-ui, sans-serif;
  
  /* Spacing System */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  
  /* Border Radius */
  --radius-pill: 9999px;
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  
  /* Shadows */
  --shadow-soft: 0 2px 8px rgba(107, 93, 71, 0.08);
  --shadow-hover: 0 4px 16px rgba(107, 93, 71, 0.12);
}

/* Base Reset & Typography */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: #4A4A4A;
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy - Serif for Headings */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: #2A2A2A;
  margin: 0 0 var(--space-md) 0;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 1.875rem;
  margin-bottom: var(--space-sm);
}

h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.3;
  color: #3A3A3A;
  margin: 0 0 var(--space-sm) 0;
}

p {
  margin: 0 0 var(--space-md) 0;
  max-width: 65ch;
}

/* Elegant Links */
a {
  color: var(--color-button);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--color-secondary);
}

a:not(.btn)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--color-secondary);
  transition: width 0.3s ease;
}

a:not(.btn):hover::after {
  width: 100%;
}

/* Container & Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-2xl) 0;
}

.section-dark {
  background-color: var(--color-footer);
  color: #F5F1E8;
}

.section-light {
  background-color: var(--color-section-1);
}

.section-white {
  background-color: var(--color-section-2);
}

.section-cream {
  background-color: var(--color-section-3);
}

/* Minimal Navigation */
.nav {
  padding: var(--space-lg) 0;
  background-color: transparent;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-button);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 400;
  color: #4A4A4A;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--color-secondary);
}

/* Pill-shaped Buttons */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--color-button);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-button);
  border: 2px solid var(--color-button);
}

.btn-secondary:hover {
  background-color: var(--color-button);
  color: white;
}

/* Elegant Cards */
.card {
  background-color: var(--color-background);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  border: 1px solid rgba(143, 163, 130, 0.1);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.card-header {
  margin-bottom: var(--space-md);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-button);
  margin-bottom: var(--space-sm);
}

.card-content {
  color: #4A4A4A;
  line-height: 1.7;
}

/* Hero Section */
.hero {
  padding: var(--space-2xl) 0;
  text-align: center;
  background: linear-gradient(135deg, var(--color-section-1) 0%, var(--color-section-3) 100%);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: #2A2A2A;
  margin-bottom: var(--space-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #6B5D47;
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Grid Layout */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Form Elements */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-weight: 500;
  color: #4A4A4A;
  margin-bottom: var(--space-xs);
}

.form-input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 2px solid rgba(143, 163, 130, 0.2);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 1rem;
  background-color: var(--color-background);
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(143, 163, 130, 0.1);
}

/* Footer */
.footer {
  background-color: var(--color-footer);
  color: var(--color-primary);
  padding: var(--space-2xl) 0 var(--space-lg) 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.footer-section h3 {
  color: var(--color-primary);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.footer-section p,
.footer-section a {
  color: rgba(245, 241, 232, 0.8);
  line-height: 1.6;
}

.footer-section a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 241, 232, 0.2);
  padding-top: var(--space-lg);
  text-align: center;
  color: rgba(245, 241, 232, 0.7);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.py-2xl { padding: var(--space-2xl) 0; }
.py-xl { padding: var(--space-xl) 0; }
.py-lg { padding: var(--space-lg) 0; }

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .container {
    padding: 0 var(--space-sm);
  }
  
  .nav-container {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
}

/* Focus States for Accessibility */
.btn:focus,
.form-input:focus,
.nav-link:focus {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* Smooth Transitions */
* {
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* Selection */
::selection {
  background-color: var(--color-secondary);
  color: white;
}

::-moz-selection {
  background-color: var(--color-secondary);
  color: white;
}


/* 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;
    }
}