:root {
  --primary: #1A5319;
  --accent-1: #F7CAC9;
  --accent-2: #FFD700;
  --neutral: #E0E0E0;
  --white: #FFFFFF;
  --black: #000000;
  --dark-gray: #333333;
  --light-gray: #F5F5F5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Merriweather', 'Lora', serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary);
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--neutral);
  z-index: 1000;
  padding: 1rem 0;
}

.header-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 40px;
  width: auto;
}

nav a {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--primary);
  text-decoration: none;
  margin-left: 2rem;
  transition: color 0.3s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.25rem;
}

nav a:hover {
  color: var(--accent-1);
  border-bottom-color: var(--accent-1);
}

main {
  margin-top: 80px;
  width: 100%;
}

section {
  padding: 4rem 2rem;
  max-width: 1440px;
  margin: 0 auto;
}

.hero {
  background: linear-gradient(rgba(26, 83, 25, 0.6), rgba(26, 83, 25, 0.6)), url('images/hero-landscape.jpg') center/cover;
  color: var(--white);
  text-align: center;
  padding: 8rem 2rem;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--white);
  font-size: 1.2rem;
  max-width: 600px;
}

.section-1, .section-2, .section-3, .section-4, .section-5, .section-6, .section-7, .section-8 {
  display: flex;
  gap: 3rem;
  align-items: center;
  margin: 2rem 0;
}

.section-1.reverse, .section-5.alternate-2 {
  flex-direction: row-reverse;
}

.section-1 > div:first-child, .section-2 > div, .section-3 > div:first-child, 
.section-4 > div:first-child, .section-5 > div:first-child, .section-6 > div:first-child {
  flex: 1;
}

.section-1 img, .section-3 img, .section-4 img, .section-5 img, .section-6 img {
  flex: 1;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.card {
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--neutral);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(26, 83, 25, 0.1);
  border-color: var(--primary);
}

.card img {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  display: block;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background-color: var(--light-gray);
  border: 1px solid var(--neutral);
}

table th, table td {
  padding: 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--neutral);
}

table th {
  background-color: var(--primary);
  color: var(--white);
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-weight: 600;
}

table tr:hover {
  background-color: #f9f9f9;
}

.three-column-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.three-column-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.three-column-grid > div {
  text-align: center;
}

.three-column-grid h3 {
  font-size: 1.2rem;
  margin-top: 1rem;
}

.text-block {
  background-color: var(--light-gray);
  padding: 3rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  margin: 2rem 0;
}

.text-block h3 {
  margin-top: 0;
  color: var(--primary);
}

.text-block ul, .text-block ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.text-block li {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

.cta-block {
  background-color: var(--neutral);
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 8px;
  margin: 3rem 0;
}

.cta-block h2 {
  margin-top: 0;
  color: var(--primary);
}

.cta-block a {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--primary);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 0.5rem;
}

.cta-block a:hover {
  background-color: var(--accent-1);
  color: var(--primary);
  transform: translateY(-2px);
}

footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 3rem 2rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  margin-top: 0;
}

.footer-section p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.footer-section a {
  color: var(--accent-2);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-1);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.disclaimer {
  background-color: var(--accent-1);
  color: var(--primary);
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  border-left: 4px solid var(--primary);
}

.disclaimer h3 {
  margin-top: 0;
  color: var(--primary);
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  font-size: 0.95rem;
}

.cookie-consent p {
  margin: 0;
  flex: 1;
  margin-right: 2rem;
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-weight: 600;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background-color: var(--primary);
  color: var(--white);
}

.cookie-btn-accept:hover {
  background-color: var(--accent-1);
  color: var(--primary);
}

.cookie-btn-decline {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.cookie-btn-decline:hover {
  background-color: var(--white);
  color: var(--dark-gray);
}

.cookie-btn-learn {
  background-color: transparent;
  color: var(--accent-2);
  border: 1px solid var(--accent-2);
}

.cookie-btn-learn:hover {
  background-color: var(--accent-2);
  color: var(--primary);
}

form {
  max-width: 600px;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-weight: 600;
  color: var(--primary);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--neutral);
  border-radius: 4px;
  font-family: 'Merriweather', 'Lora', serif;
  font-size: 0.95rem;
  color: var(--dark-gray);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 83, 25, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

button[type="submit"] {
  padding: 1rem 2.5rem;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  align-self: flex-start;
}

button[type="submit"]:hover {
  background-color: var(--accent-1);
  color: var(--primary);
  transform: translateY(-2px);
}

.content-width {
  max-width: 1280px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .hero {
    padding: 4rem 1rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-1, .section-2, .section-3, .section-4, .section-5, .section-6, .section-7, .section-8 {
    flex-direction: column !important;
    gap: 1.5rem;
  }

  .section-1 > div:first-child, .section-2 > div, .section-3 > div:first-child, 
  .section-4 > div:first-child, .section-5 > div:first-child, .section-6 > div:first-child {
    flex: 1 !important;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .three-column-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 2rem 1rem;
  }

  .header-content {
    padding: 0 1rem;
    flex-wrap: wrap;
  }

  nav a {
    margin-left: 1rem;
    font-size: 0.85rem;
  }

  .cookie-consent {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .cookie-consent p {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .cookie-buttons {
    justify-content: center;
    gap: 0.5rem;
  }

  .cookie-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  table {
    font-size: 0.85rem;
  }

  table th, table td {
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  h3 {
    font-size: 1rem;
  }

  section {
    padding: 1.5rem 1rem;
  }

  .hero {
    padding: 3rem 1rem;
  }

  nav a {
    display: block;
    margin: 0.5rem 0;
    margin-left: 0;
  }

  .cta-block {
    padding: 1.5rem 1rem;
  }

  form {
    max-width: 100%;
  }
}
