:root {
  --color-bg: #F0F2EB;
  --color-primary: #8CC08C;
  --color-secondary: #6B8E23;
  --color-accent: #D0F0C0;
  --color-dark: #2C3E2C;
  --color-light: #FFFFFF;
  --color-border: #E0E3D8;
}

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

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-dark);
  line-height: 1.6;
  letter-spacing: 0.3px;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-secondary);
}

h1, h2, h3 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.4;
}

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

header {
  position: sticky;
  top: 0;
  background-color: var(--color-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.navbar-nav {
  display: flex;
  list-style: none;
  gap: 0;
}

.navbar-nav a {
  color: var(--color-dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
}

.navbar-nav a:hover {
  background-color: var(--color-accent);
  color: var(--color-secondary);
}

footer {
  background-color: var(--color-dark);
  color: var(--color-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;
}

.footer-section h4 {
  color: var(--color-primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section p, .footer-section a {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #D0D0D0;
}

.footer-section a {
  display: block;
  margin-bottom: 0.5rem;
  cursor: pointer;
  color: var(--color-primary);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #A0A0A0;
}

.container-wide {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 4rem 0;
}

.hero-section {
  position: relative;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-light);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  padding: 6rem 2rem;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(107, 142, 35, 0.3), rgba(140, 192, 140, 0.2));
  z-index: 1;
}

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

.hero-content h1 {
  color: var(--color-light);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.intro-section {
  background-color: var(--color-light);
  max-width: 900px;
  margin: 0 auto;
}

.intro-section p {
  font-size: 1.1rem;
  color: var(--color-dark);
}

.principles-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.principles-text {
  padding-right: 2rem;
}

.principles-text h2 {
  color: var(--color-secondary);
}

.principles-text p {
  color: #555;
  margin-bottom: 1.2rem;
}

.principles-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  max-width: 450px;
}

.elements-section {
  background-color: var(--color-light);
}

.elements-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  max-width: 900px;
}

.elements-table th,
.elements-table td {
  border: 1px solid var(--color-border);
  padding: 1.2rem;
  text-align: left;
}

.elements-table th {
  background-color: var(--color-accent);
  color: var(--color-dark);
  font-weight: 600;
}

.elements-table tr:nth-child(even) {
  background-color: #F8F9F3;
}

.elements-table tr:hover {
  background-color: #F0F4F0;
}

.groups-section {
  background-color: var(--color-light);
}

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

.group-card {
  background-color: var(--color-accent);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.group-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.group-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.group-content {
  padding: 1.5rem;
}

.group-content h3 {
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.group-content p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

.group-link {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 0.5rem;
  transition: color 0.3s ease;
}

.group-link:hover {
  color: var(--color-secondary);
}

.water-section {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-bg) 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.water-content h2 {
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}

.water-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  max-width: 450px;
}

.myths-section {
  background-color: var(--color-light);
}

.myths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.myth-item, .fact-item {
  padding: 2rem;
  border-radius: 8px;
  border-left: 5px solid var(--color-primary);
}

.myth-item {
  background-color: #FFE8E8;
  border-left-color: #D9534F;
}

.fact-item {
  background-color: #E8F5E9;
  border-left-color: var(--color-secondary);
}

.myth-title, .fact-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.myth-title {
  color: #D9534F;
}

.fact-title {
  color: var(--color-secondary);
}

.timeline-section {
  background-color: var(--color-light);
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--color-primary);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  padding-right: calc(50% + 2rem);
  text-align: right;
}

.timeline-item:nth-child(even) {
  padding-left: calc(50% + 2rem);
  text-align: left;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 16px;
  height: 16px;
  background-color: var(--color-primary);
  border: 4px solid var(--color-light);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 3px var(--color-accent);
}

.timeline-content {
  background-color: var(--color-accent);
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.timeline-year {
  font-weight: 700;
  color: var(--color-secondary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.timeline-description {
  font-size: 0.95rem;
  color: #555;
}

.seasonality-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background-color: var(--color-light);
}

.seasonality-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  max-width: 450px;
}

.seasonality-content h2 {
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}

.seasonality-content p {
  color: #555;
  margin-bottom: 1.2rem;
}

.faq-section {
  background-color: var(--color-light);
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  background-color: var(--color-accent);
  cursor: pointer;
  font-weight: 600;
  color: var(--color-dark);
  user-select: none;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background-color: #C8E6C8;
}

.faq-toggle {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 1.5rem;
  background-color: #F8F9F3;
  display: none;
  color: #555;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  display: block;
}

.labels-section {
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-accent) 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.labels-content h2 {
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}

.labels-content p {
  color: #555;
  margin-bottom: 1.2rem;
}

.labels-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  max-width: 450px;
}

.diversity-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background-color: var(--color-light);
}

.diversity-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  max-width: 450px;
}

.diversity-content h2 {
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}

.diversity-content p {
  color: #555;
  margin-bottom: 1.2rem;
}

.cta-section {
  background-color: var(--color-primary);
  color: var(--color-light);
  text-align: center;
  padding: 3rem 2rem;
}

.cta-section h2 {
  color: var(--color-light);
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--color-light);
  color: var(--color-primary);
  padding: 1rem 2.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--color-light);
  cursor: pointer;
}

.cta-button:hover {
  background-color: var(--color-secondary);
  color: var(--color-light);
  border-color: var(--color-light);
}

.disclaimer {
  background-color: #F0F4F0;
  border-left: 5px solid var(--color-secondary);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.8;
}

.contact-section {
  background-color: var(--color-light);
  max-width: 900px;
  margin: 0 auto;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.contact-info h3 {
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}

.contact-info-item {
  margin-bottom: 1.5rem;
}

.contact-info-label {
  font-weight: 600;
  color: var(--color-primary);
  display: block;
  margin-bottom: 0.3rem;
}

.contact-info-value {
  color: #555;
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-dark);
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--color-light);
  color: var(--color-dark);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(140, 192, 140, 0.1);
}

.form-submit {
  background-color: var(--color-secondary);
  color: var(--color-light);
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.form-submit:hover {
  background-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(140, 192, 140, 0.3);
}

.form-disclaimer {
  background-color: #F0F4F0;
  border-left: 4px solid var(--color-primary);
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #666;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

.modal.show {
  display: block;
}

.modal-content {
  background-color: var(--color-light);
  margin: 5% auto;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h2 {
  margin: 0;
  color: var(--color-secondary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--color-dark);
}

.modal-body {
  color: #555;
  line-height: 1.8;
  font-size: 0.95rem;
}

.modal-body h3 {
  color: var(--color-secondary);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.modal-body p {
  margin-bottom: 1rem;
}

.modal-body ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-dark);
  color: var(--color-light);
  padding: 1.5rem 2rem;
  z-index: 999;
  display: none;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.cookie-text {
  font-size: 0.9rem;
  line-height: 1.6;
}

.cookie-text a {
  color: var(--color-accent);
}

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

.cookie-btn {
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

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

.cookie-accept:hover {
  background-color: #7AB87A;
}

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

.cookie-reject:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.thank-you-modal {
  position: fixed;
  z-index: 2500;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
}

.thank-you-modal.show {
  display: flex;
}

.thank-you-content {
  background-color: var(--color-light);
  padding: 3rem 2rem;
  border-radius: 8px;
  text-align: center;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.thank-you-content h2 {
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.thank-you-content p {
  color: #555;
  margin-bottom: 2rem;
}

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

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .navbar-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .navbar-nav a {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }

  .principles-section,
  .water-section,
  .seasonality-section,
  .labels-section,
  .diversity-section,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .principles-text {
    padding-right: 0;
  }

  .timeline::before {
    left: 15px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 60px;
    padding-right: 0;
    text-align: left;
  }

  .timeline-dot {
    left: 15px;
  }

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

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

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

  .cookie-buttons {
    justify-content: center;
  }

  section {
    padding: 2rem 0;
  }

  .modal-content {
    width: 95%;
    margin: 10% auto;
  }

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

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

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1rem;
  }

  .container-wide {
    padding: 0 1rem;
  }

  .hero-section {
    min-height: 400px;
    padding: 3rem 1rem;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

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

  .navbar-nav {
    gap: 0.5rem;
  }

  .navbar-nav a {
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 50px;
  }

  .timeline-dot {
    left: 10px;
  }

  .cookie-text {
    font-size: 0.8rem;
  }

  .cookie-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  .modal-content {
    padding: 1.5rem;
  }

  .elements-table {
    font-size: 0.85rem;
  }

  .elements-table th,
  .elements-table td {
    padding: 0.8rem;
  }
}
