@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

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

html, body {
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  line-height: 1.68;
  color: #2c3e50;
  background-color: #fafbf8;
}

body {
  padding-top: 70px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 8px rgba(13, 107, 72, 0.08);
  z-index: 1000;
  padding: 12px 0;
}

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

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #0D6B48;
  text-decoration: none;
  transition: opacity 0.26s ease-out;
}

.logo:hover {
  opacity: 0.85;
}

nav a {
  color: #2c3e50;
  text-decoration: none;
  margin-left: 32px;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.26s ease-out;
}

nav a:hover {
  color: #0D6B48;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

section {
  padding: 72px 0;
  margin: 0 auto;
  scroll-margin-top: 100px;
}

h1 {
  font-size: 48px;
  font-weight: 700;
  color: #0D6B48;
  line-height: 1.3;
  margin-bottom: 24px;
  text-align: center;
}

h2 {
  font-size: 36px;
  font-weight: 600;
  color: #0D6B48;
  margin-bottom: 32px;
  text-align: center;
}

h3 {
  font-size: 24px;
  font-weight: 600;
  color: #0D6B48;
  margin-bottom: 20px;
}

p {
  margin-bottom: 18px;
  color: #2c3e50;
}

.hero {
  background: linear-gradient(rgba(13, 107, 72, 0.3), rgba(13, 107, 72, 0.3)), url('images/hero-bg.jpg') center/cover;
  color: white;
  text-align: center;
  padding: 120px 28px;
  margin-top: -70px;
  padding-top: 190px;
  border-radius: 0;
}

.hero h1 {
  color: white;
  font-size: 56px;
  margin-bottom: 20px;
}

.hero p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

.intro-text {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 18px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.content-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.content-item.reverse {
  direction: rtl;
}

.content-item.reverse > * {
  direction: ltr;
}

.content-text h3 {
  margin-bottom: 20px;
}

.content-text p {
  margin-bottom: 14px;
}

.content-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(13, 107, 72, 0.12);
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.compounds-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}

.compound-item {
  background-color: #f0f8f5;
  padding: 24px;
  border-radius: 12px;
  border-left: 4px solid #0D6B48;
}

.compound-item h4 {
  color: #0D6B48;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.compound-item p {
  font-size: 15px;
  color: #2c3e50;
}

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

.product-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(13, 107, 72, 0.1);
  transition: transform 0.26s ease-out, box-shadow 0.26s ease-out;
}

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

.product-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

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

.product-content {
  padding: 24px;
  text-align: center;
}

.product-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.product-content p {
  font-size: 15px;
  color: #555;
}

.faq-list {
  margin: 40px 0;
}

.faq-item {
  background-color: white;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
  border-left: 4px solid #0D6B48;
  box-shadow: 0 2px 8px rgba(13, 107, 72, 0.08);
}

.faq-item h4 {
  color: #0D6B48;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item h4:hover {
  color: #0D6B48;
}

.faq-toggle {
  font-size: 20px;
  transition: transform 0.26s ease-out;
}

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

.faq-answer {
  color: #2c3e50;
  line-height: 1.68;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.26s ease-out;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  margin-top: 16px;
}

.disclaimer-box {
  background-color: #e8f5e9;
  border: 2px solid #0D6B48;
  border-radius: 12px;
  padding: 32px;
  margin: 40px 0;
  text-align: center;
}

.disclaimer-box h3 {
  color: #0D6B48;
  margin-bottom: 16px;
}

.disclaimer-box p {
  font-size: 15px;
  color: #2c3e50;
}

.invitation-box {
  background: linear-gradient(135deg, rgba(13, 107, 72, 0.05), rgba(13, 107, 72, 0.02));
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
  margin: 40px 0;
}

.invitation-box h2 {
  margin-bottom: 20px;
}

.invitation-box p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.contact-info {
  padding: 32px;
  background-color: #f0f8f5;
  border-radius: 12px;
}

.contact-info h3 {
  margin-bottom: 24px;
}

.contact-item {
  margin-bottom: 20px;
}

.contact-item strong {
  color: #0D6B48;
}

.contact-form {
  padding: 32px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(13, 107, 72, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #0D6B48;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  transition: border-color 0.26s ease-out;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0D6B48;
  box-shadow: 0 0 0 3px rgba(13, 107, 72, 0.1);
}

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

.btn {
  background-color: #0D6B48;
  color: white;
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.26s ease-out, transform 0.26s ease-out;
}

.btn:hover {
  background-color: #0a5038;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

footer {
  background-color: #1a3a2e;
  color: white;
  padding: 48px 28px 32px;
  margin-top: 72px;
  font-size: 14px;
}

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

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: #a8d5ba;
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-section a {
  color: #c8dcc9;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: color 0.26s ease-out;
  cursor: pointer;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  color: #a8d5ba;
}

.footer-bottom p {
  margin-bottom: 8px;
  font-size: 13px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.26s ease-out;
}

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

.modal-content {
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.26s ease-out;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  font-weight: 300;
  color: #999;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.26s ease-out;
}

.modal-close:hover {
  color: #0D6B48;
}

.modal-content h2 {
  text-align: left;
  margin-bottom: 24px;
  margin-top: 0;
}

.modal-content h3 {
  text-align: left;
  margin-top: 24px;
}

.modal-content p,
.modal-content ul,
.modal-content li {
  text-align: left;
  margin-bottom: 16px;
}

.modal-content ul {
  margin-left: 20px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1a3a2e;
  color: white;
  padding: 24px 28px;
  z-index: 1500;
  display: none;
  transform: translateY(100%);
  transition: transform 0.26s ease-out;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
}

.cookie-banner.show {
  display: flex;
  transform: translateY(0);
  align-items: center;
  justify-content: space-between;
}

.cookie-text {
  flex: 1;
  margin-right: 24px;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-buttons button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  transition: background-color 0.26s ease-out;
}

.cookie-accept {
  background-color: #0D6B48;
  color: white;
}

.cookie-accept:hover {
  background-color: #0a5038;
}

.success-message {
  display: none;
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0D6B48;
  color: white;
  padding: 16px 32px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(13, 107, 72, 0.3);
  z-index: 3000;
  animation: slideDown 0.26s ease-out;
}

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

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

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }

  section {
    padding: 48px 0;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  nav a {
    margin-left: 16px;
    font-size: 12px;
  }

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

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

  .contact-section {
    grid-template-columns: 1fr;
  }

  .cookie-banner.show {
    flex-direction: column;
    gap: 16px;
  }

  .cookie-text {
    margin-right: 0;
  }

  .cookie-buttons {
    width: 100%;
  }

  .cookie-buttons button {
    flex: 1;
  }

  .hero {
    padding: 90px 28px 60px;
    padding-top: 140px;
  }

  .hero h1 {
    font-size: 32px;
  }

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