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

:root {
  --primary-bg: #fdfaf6;
  --accent-rose: #d89f9e;
  --accent-jade: #5c7a5c;
  --accent-linen: #f3ede5;
  --text-dark: #2c2c2c;
  --text-light: #5a5a5a;
  --border-light: #e8ddd4;
}

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

html, body {
  font-family: 'Verdana', 'Trebuchet MS', sans-serif;
  font-size: 16px;
  line-height: 1.82;
  color: var(--text-dark);
  background-color: var(--primary-bg);
  height: 100%;
}

h1, h2, h3 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--text-dark);
  line-height: 1.4;
}

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

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

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

p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

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

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

header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(253, 250, 246, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 0.8rem 0;
  background-color: rgba(253, 250, 246, 0.95);
}

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

.logo {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-rose);
  cursor: pointer;
  transition: color 0.3s ease;
}

.logo:hover {
  color: var(--accent-jade);
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  font-size: 1rem;
  color: var(--text-dark);
  transition: color 0.3s ease;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent;
}

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

main {
  margin-top: 70px;
}

.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fdfaf6 0%, #f3ede5 100%);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-content h1 {
  color: var(--accent-jade);
  text-shadow: 0 2px 10px rgba(92, 122, 92, 0.1);
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

section {
  max-width: 1620px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.diptych {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 3rem;
}

.diptych.reverse {
  flex-direction: row-reverse;
}

.diptych-image {
  flex: 1;
  min-width: 0;
}

.diptych-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  animation: fadeInScale 0.8s ease-out forwards;
}

.diptych-content {
  flex: 1;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.diptych-content h3 {
  color: var(--accent-jade);
  margin-bottom: 1.5rem;
}

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

.card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.card:hover {
  transform: scale(1.05);
  border-color: var(--accent-rose);
  box-shadow: 0 15px 35px rgba(216, 159, 158, 0.2);
}

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

.card-image {
  width: 100%;
  height: 250px;
  margin-bottom: 1.5rem;
  border-radius: 6px;
  overflow: hidden;
}

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

.nutrient-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.nutrient-table thead {
  background-color: var(--accent-jade);
  color: white;
}

.nutrient-table th {
  padding: 1.5rem;
  text-align: left;
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
}

.nutrient-table td {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.nutrient-table tbody tr:nth-child(even) {
  background-color: rgba(216, 159, 158, 0.1);
}

.nutrient-table tbody tr:hover {
  background-color: rgba(92, 122, 92, 0.1);
}

.faq-section {
  max-width: 900px;
  margin: 3rem auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  cursor: pointer;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  border-left: 3px solid var(--accent-jade);
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: var(--accent-linen);
}

.faq-question h4 {
  margin: 0;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.1rem;
  color: var(--accent-jade);
}

.faq-toggle {
  font-size: 1.5rem;
  color: var(--accent-jade);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: white;
  padding: 0 1.5rem;
}

.faq-answer.show {
  max-height: 500px;
  padding: 1.5rem;
}

.faq-answer p {
  margin-bottom: 1rem;
}

.quote-section {
  background: linear-gradient(135deg, rgba(92, 122, 92, 0.1) 0%, rgba(216, 159, 158, 0.1) 100%);
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 8px;
  margin: 3rem 0;
}

.quote-section h3 {
  color: var(--accent-jade);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
}

.quote-image {
  width: 100%;
  max-width: 600px;
  height: 400px;
  margin: 2rem auto;
  border-radius: 8px;
  overflow: hidden;
}

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

.cta-button {
  display: inline-block;
  background-color: white;
  color: var(--accent-rose);
  padding: 1rem 2.5rem;
  border: 2px solid var(--accent-rose);
  border-radius: 50px;
  font-family: 'Verdana', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-button:hover {
  background: radial-gradient(circle, var(--accent-rose), rgba(216, 159, 158, 0.8));
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(216, 159, 158, 0.3);
}

.contact-section {
  background-color: var(--accent-linen);
  padding: 4rem 2rem;
  border-radius: 8px;
}

.contact-diptych {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.contact-image {
  flex: 1;
  min-width: 0;
}

.contact-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form {
  flex: 1;
}

.contact-form h2 {
  color: var(--accent-jade);
  margin-bottom: 1.5rem;
}

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

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

.form-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: 'Verdana', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-rose);
  box-shadow: 0 0 0 3px rgba(216, 159, 158, 0.1);
}

.form-disclaimer {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 1rem 0;
  padding: 1rem;
  background-color: white;
  border-left: 3px solid var(--accent-jade);
  border-radius: 4px;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  background-color: var(--accent-jade);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: 'Verdana', sans-serif;
  font-weight: 500;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background-color: rgba(92, 122, 92, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(92, 122, 92, 0.3);
}

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

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

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
  font-family: 'Merriweather', Georgia, serif;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

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

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

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

.modal.show {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem;
}

.modal-content {
  background-color: white;
  border-radius: 8px;
  max-width: 700px;
  width: 100%;
  padding: 2.5rem;
  margin-top: 2rem;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideDown 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
}

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

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: color 0.3s ease;
}

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

.modal-body {
  line-height: 1.82;
}

.modal-body h3 {
  margin-top: 1.5rem;
  color: var(--accent-jade);
}

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

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

.modal-body li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  border-top: 1px solid var(--border-light);
  padding: 1.5rem 2rem;
  z-index: 1500;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  animation: slideUp 0.3s ease;
}

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

.cookie-text {
  flex: 1;
  color: var(--text-light);
  font-size: 0.95rem;
}

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

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Verdana', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cookie-accept {
  background-color: var(--accent-jade);
  color: white;
}

.cookie-accept:hover {
  background-color: rgba(92, 122, 92, 0.8);
}

.cookie-reject {
  background-color: white;
  color: var(--accent-jade);
  border: 2px solid var(--accent-jade);
}

.cookie-reject:hover {
  background-color: var(--accent-linen);
}

.cookie-learn {
  background-color: white;
  color: var(--accent-rose);
  border: 2px solid var(--accent-rose);
}

.cookie-learn:hover {
  background-color: rgba(216, 159, 158, 0.1);
}

.thank-you-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
  z-index: 3000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: none;
  max-width: 500px;
}

.thank-you-modal.show {
  display: block;
  animation: slideDown 0.3s ease;
}

.thank-you-modal h2 {
  color: var(--accent-jade);
  margin-bottom: 1rem;
}

.thank-you-modal p {
  margin-bottom: 2rem;
}

.thank-you-modal button {
  background-color: var(--accent-rose);
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Verdana', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
}

.thank-you-modal button:hover {
  background-color: rgba(216, 159, 158, 0.8);
}

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

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

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  nav {
    gap: 1rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  .diptych {
    flex-direction: column !important;
    gap: 2rem;
  }

  .diptych.reverse {
    flex-direction: column;
  }

  .contact-diptych {
    flex-direction: column;
    gap: 2rem;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }

  .modal-content {
    padding: 1.5rem;
  }
}
