:root {
  --color-primary: #5a8f8a;
  --color-beige: #e8dcc4;
  --color-orange: #d89b6f;
  --color-gray: #d4d0c8;
  --color-text-dark: #2c2c2c;
  --color-text-light: #6b6b6b;
  --color-white: #ffffff;
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  color: var(--color-text-dark);
  line-height: 1.6;
  background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary);
}

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

h2 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

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

p {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

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

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

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

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
}

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

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

.nav-links a {
  font-size: 0.95rem;
  color: var(--color-text-light);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-primary);
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

section {
  padding: 4rem 2rem;
  margin: 0;
}

section:nth-child(even) {
  background-color: #f8f6f2;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary) 60%, var(--color-beige));
  color: var(--color-white);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
}

.hero h1 {
  color: var(--color-white);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

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

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

.two-column img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.two-column-reverse {
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.two-column-reverse .img-column {
  order: -1;
}

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

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

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

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

.card-content {
  padding: 1.5rem;
}

.card h3 {
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.card p {
  font-size: 1rem;
  color: var(--color-text-light);
}

.card-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-orange);
  font-weight: 600;
  font-size: 0.95rem;
}

.card-link:hover {
  color: var(--color-primary);
}

.ingredients-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

.ingredients-table th {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 1rem;
  text-align: left;
  font-weight: 700;
}

.ingredients-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-gray);
}

.ingredients-table tr:hover {
  background-color: #f0ebe0;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--color-orange);
  padding-left: 1.5rem;
}

.faq-item h3 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--color-text-light);
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-orange);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #c97f52;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(216, 155, 111, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

form {
  max-width: 600px;
  margin: 2rem auto;
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

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

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

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

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

.form-disclaimer {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  padding: 1rem;
  background-color: #f8f6f2;
  border-radius: var(--radius);
  border-left: 3px solid var(--color-orange);
}

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

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

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

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

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

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

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

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

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

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--color-white);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  width: 90%;
  animation: slideIn 0.3s ease;
}

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

.modal-close {
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-light);
}

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

.modal-content h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.modal-content ol,
.modal-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

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

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

.cookie-banner.active {
  display: flex;
}

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

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

.btn-cookie {
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-cookie-accept {
  background-color: var(--color-orange);
  color: var(--color-white);
}

.btn-cookie-accept:hover {
  background-color: #c97f52;
}

.btn-cookie-reject {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

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

.btn-cookie-learn {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
  text-decoration: underline;
}

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

.success-message {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius);
  z-index: 3000;
  text-align: center;
  max-width: 400px;
}

.success-message.show {
  display: block;
  animation: slideIn 0.3s ease;
}

.success-message h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.disclaimer-banner {
  background-color: var(--color-beige);
  padding: 1rem 2rem;
  text-align: center;
  border-top: 2px solid var(--color-orange);
  border-bottom: 2px solid var(--color-orange);
}

.disclaimer-banner p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  font-weight: 500;
}

@media (max-width: 992px) {
  .two-column,
  .two-column-reverse {
    grid-template-columns: 1fr;
  }

  .two-column-reverse .img-column {
    order: 0;
  }

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

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

  h1 {
    font-size: 2rem;
  }

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

  h2 {
    font-size: 1.75rem;
  }

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

  .navbar {
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-buttons {
    width: 100%;
  }

  .btn-cookie {
    flex: 1;
  }

  section {
    padding: 2.5rem 1rem;
  }

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

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

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

  .nav-links {
    gap: 0.5rem;
    font-size: 0.8rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  form {
    padding: 1.5rem;
  }

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