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

:root {
  --primary-color: #0A3D2F;
  --light-bg: #F8F9F7;
  --text-dark: #1A1A1A;
  --text-light: #666666;
  --border-color: #E5E5E5;
  --accent-light: #C8D7D0;
}

body {
  font-family: 'Merriweather', serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--light-bg);
  transition: all 0.24s ease;
}

html {
  scroll-behavior: smooth;
}

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

a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--primary-color);
  line-height: 1.4;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
}

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

p {
  margin-bottom: 1.2rem;
  color: var(--text-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.24s ease;
}

.header-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

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

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

nav a {
  color: var(--primary-color);
  font-size: 0.95rem;
  font-weight: 500;
}

nav a:hover {
  opacity: 0.7;
}

main {
  margin-top: 80px;
  padding-top: 3rem;
}

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

section:last-of-type {
  border-bottom: none;
}

.hero {
  position: relative;
  height: 600px;
  background-image: url('images/hero-forest.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 3rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 61, 47, 0.4);
  z-index: 1;
}

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

.hero h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  color: rgba(255,255,255,0.95);
  font-size: 1.1rem;
}

.section-wrapper {
  grid-column: 1 / -1;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

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

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

.content-block {
  grid-column: span 6;
}

.image-block {
  grid-column: span 6;
}

.image-block img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.compound-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.compound-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: all 0.24s ease;
}

.compound-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.compound-item h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.faq-list {
  display: grid;
  gap: 1.5rem;
}

.faq-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.24s ease;
}

.faq-item h3 {
  margin-top: 0;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-size: 14px;
  transition: all 0.24s ease;
}

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

.faq-answer {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
}

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

.context-box {
  background-color: white;
  border: 2px solid var(--primary-color);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
}

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

.disclaimer {
  background-color: var(--accent-light);
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.product-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.24s ease;
}

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

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.contact-form {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  max-width: 600px;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary-color);
}

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

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(10, 61, 47, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.24s ease;
}

button:hover {
  background-color: #062A22;
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

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

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: white;
  margin-top: 0;
}

.footer-section p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  display: block;
  padding: 0.25rem 0;
}

.footer-section a:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
  text-align: center;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

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

.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: auto;
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideIn 0.3s ease;
  position: relative;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  background: none;
  border: none;
  padding: 0;
  width: auto;
  transition: all 0.24s ease;
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  color: white;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  z-index: 999;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

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

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
}

.cookie-text a {
  color: white;
  text-decoration: underline;
  cursor: pointer;
}

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

.cookie-buttons button {
  background-color: white;
  color: var(--primary-color);
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

.cookie-buttons button:hover {
  background-color: rgba(255,255,255,0.9);
}

.cookie-buttons button.accept {
  background-color: rgba(255,255,255,0.2);
  color: white;
  border: 1px solid white;
}

.cookie-buttons button.accept:hover {
  background-color: rgba(255,255,255,0.3);
}

.success-message {
  display: none;
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1ABC9C;
  color: white;
  padding: 1rem 2rem;
  border-radius: 4px;
  z-index: 3000;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateX(-50%) translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

.success-message.show {
  display: block;
}

@media (max-width: 1024px) {
  .container {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    padding: 0 20px;
  }

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

  .content-block,
  .image-block {
    grid-column: span 6;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .compound-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .container {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 15px;
  }

  .section-wrapper {
    grid-column: 1 / -1;
  }

  header {
    padding: 0.75rem 0;
  }

  nav ul {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .hero {
    height: 400px;
  }

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

  .hero-content {
    padding: 1rem;
  }

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

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

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

  .cookie-buttons {
    width: 100%;
    justify-content: flex-end;
  }

  main {
    margin-top: 70px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .header-wrapper {
    padding: 0 12px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero {
    height: 300px;
  }

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

  .modal-content {
    max-width: 90%;
    padding: 1.5rem;
  }

  .faq-item h3 {
    font-size: 1rem;
  }
}
