:root {
  /* Brand Colors */
  --primary-green: #2C5530;
  --secondary-brown: #8B7355;
  --light-gray-bg: #FAFAFA;
  --footer-dark: #2C3E50;
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --text-primary: #2C3E50;
  --text-secondary: #6C757D;
  --border-light: #E9ECEF;
  --shadow-light: 0 2px 4px rgba(44, 85, 48, 0.08);
  --shadow-medium: 0 4px 8px rgba(44, 85, 48, 0.12);
  --border-radius: 4px;
  --border-radius-lg: 8px;
  
  /* Typography Scale */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing System */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--light-gray-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  min-height: 100vh;
}

/* Container Overrides for Full-Screen Design */
.container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.container-fluid {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.025em;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

h2 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

h5 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

h6 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

p {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.text-large {
  font-size: 1.125rem;
  line-height: 1.6;
}

.text-small {
  font-size: 0.875rem;
}

/* Links */
a {
  color: var(--primary-green);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--secondary-brown);
  text-decoration: underline;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  min-width: 120px;
  height: 44px;
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--white);
  border-color: var(--primary-green);
}

.btn-primary:hover {
  background-color: #1e3d22;
  border-color: #1e3d22;
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow-medium);
  transform: translateY(-1px);
}

.btn-primary:focus {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-green);
  border-color: var(--primary-green);
}

.btn-secondary:hover {
  background-color: var(--primary-green);
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow-light);
  transform: translateY(-1px);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary-green);
  text-decoration: none;
  box-shadow: var(--shadow-light);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  height: 52px;
  min-width: 160px;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  height: 36px;
  min-width: 100px;
}

/* Card System */
.card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

.card-header {
  padding: var(--space-lg);
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
}

.card-body {
  padding: var(--space-lg);
}

.card-footer {
  padding: var(--space-lg);
  background-color: var(--light-gray);
  border-top: 1px solid var(--border-light);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.card-text {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Section Styles */
.section {
  padding: var(--space-3xl) 0;
  width: 100%;
}

.section-full-height {
  min-height: 100vh;
  padding: var(--space-3xl) 0;
  display: flex;
  align-items: center;
}

.section-light {
  background-color: var(--light-gray);
}

.section-dark {
  background-color: var(--footer-dark);
  color: var(--white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.85);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-green) 0%, #1e3d22 100%);
  color: var(--white);
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.05);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn-group {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* Grid System */
.row {
  margin: 0 -15px;
}

.col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, 
.col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
  padding: 0 15px;
}

/* Form Elements */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  font-size: 0.875rem;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem 0.875rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-primary);
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.1);
}

.form-control::placeholder {
  color: var(--text-secondary);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-green); }
.text-secondary { color: var(--secondary-brown); }
.text-muted { color: var(--text-secondary); }

.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--light-gray); }
.bg-primary { background-color: var(--primary-green); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }

.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }

.m-0 { margin: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }

.p-0 { padding: 0; }
.p-1 { padding: var(--space-xs); }
.p-2 { padding: var(--space-sm); }
.p-3 { padding: var(--space-md); }
.pt-3 { padding-top: var(--space-md); }
.pb-3 { padding-bottom: var(--space-md); }

/* List Styles */
ul, ol {
  padding-left: 1.5rem;
  margin-bottom: var(--space-sm);
}

li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

/* Table Styles */
.table {
  width: 100%;
  margin-bottom: var(--space-md);
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.table th {
  font-weight: 600;
  color: var(--text-primary);
  background-color: var(--light-gray);
}

/* Alert Styles */
.alert {
  padding: var(--space-md);
  border: 1px solid transparent;
  border-radius: var(--border-radius);
  margin-bottom: var(--space-md);
}

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeaa7;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

/* Focus and Accessibility */
*:focus {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

button:focus,
.btn:focus {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

/* Animation Utilities */
.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --space-3xl: 4rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.125rem;
  }
  
  .hero .btn-group {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  :root {
    --space-3xl: 3rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: var(--space-2xl) 0;
  }
  
  .card-body {
    padding: var(--space-md);
  }
}

/* Print Styles */
@media print {
  .btn,
  nav,
  footer {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #000000;
    --text-primary: #000000;
    --border-light: #000000;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* 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;
    }
}