:root {
  --primary: #F0F2EB;
  --accent-1: #A3B18A;
  --accent-2: #588157;
  --accent-3: #344E41;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --border-color: #E0E0E0;
}

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

html {
  font-size: 16px;
}

body {
  font-family: 'Lora', 'Merriweather', serif;
  background-color: var(--primary);
  color: var(--text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Oswald', sans-serif;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  letter-spacing: -1px;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  color: var(--accent-3);
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--accent-2);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: var(--primary);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-3);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--accent-2);
}

/* Main content padding */
main {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

/* Sections */
section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-color);
}

section:last-child {
  border-bottom: none;
}

/* Hero Section */
.hero {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  padding: 60px 20px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(52, 78, 65, 0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
}

/* Cards */
.card {
  background: var(--text-light);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-2);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background-color: var(--accent-3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(88, 129, 87, 0.3);
}

.btn-secondary {
  background-color: var(--accent-1);
}

.btn-secondary:hover {
  background-color: var(--accent-2);
}

/* Lists */
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-column img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.two-column.reverse {
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

/* Accordion */
.accordion {
  margin-top: 2rem;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-bottom: none;
  background-color: var(--text-light);
}

.accordion-item:last-child {
  border-bottom: 1px solid var(--border-color);
}

.accordion-header {
  padding: 1rem;
  background-color: var(--primary);
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  color: var(--accent-3);
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: rgba(163, 177, 138, 0.2);
}

.accordion-header.active {
  background-color: var(--accent-1);
  color: var(--text-light);
}

.accordion-content {
  padding: 1rem;
  display: none;
  background-color: rgba(240, 242, 235, 0.5);
}

.accordion-content.show {
  display: block;
}

/* Forms */
form {
  max-width: 600px;
  margin: 2rem 0;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--accent-3);
}

input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
input[type="text"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(88, 129, 87, 0.1);
}

textarea {
  min-height: 150px;
}

.form-disclaimer {
  background-color: rgba(163, 177, 138, 0.1);
  border-left: 4px solid var(--accent-1);
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer */
footer {
  background-color: var(--accent-3);
  color: var(--text-light);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

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

.footer-section h3 {
  color: var(--accent-1);
  margin-bottom: 1rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

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

.footer-disclaimer {
  background-color: rgba(52, 78, 65, 0.8);
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(163, 177, 138, 0.3);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--accent-3);
  color: var(--text-light);
  padding: 1.5rem 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  z-index: 999;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-message {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.5;
}

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

.cookie-buttons button {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.cookie-accept {
  background-color: var(--accent-1);
  color: var(--text-dark);
}

.cookie-accept:hover {
  background-color: rgba(163, 177, 138, 0.8);
}

.cookie-reject {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid var(--accent-1);
}

.cookie-reject:hover {
  background-color: rgba(163, 177, 138, 0.2);
}

.cookie-learn {
  color: var(--accent-1);
  text-decoration: none;
  cursor: pointer;
  text-decoration: underline;
}

.cookie-learn:hover {
  color: var(--text-light);
}

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

  h2 {
    font-size: 1.5rem;
  }

  nav ul {
    gap: 1rem;
  }

  nav a {
    font-size: 0.85rem;
  }

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

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-buttons button {
    width: 100%;
  }

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

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

  main {
    margin-top: 70px;
  }

  section {
    padding: 2rem 0;
  }
}

/* Disclaimer Section */
.disclaimer-box {
  background-color: rgba(163, 177, 138, 0.1);
  border-left: 4px solid var(--accent-2);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.disclaimer-box h3 {
  color: var(--accent-3);
  margin-top: 0;
}

.text-balance {
  text-wrap: balance;
}

.text-pretty {
  text-wrap: pretty;
}

/* Image Sizing */
.img-small {
  max-width: 250px;
  height: auto;
}

.img-medium {
  max-width: 500px;
  height: auto;
}

.img-large {
  max-width: 100%;
  height: auto;
}

/* Utility */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.hidden {
  display: none;
}
