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

:root {
  --primary-color: #224229;
  --beige: #F8F4E3;
  --terracotta: #D98A6A;
  --warm-grey: #B2A398;
  --light-grey: #E8E3D8;
  --text-dark: #2C2C2C;
  --text-light: #6B6B6B;
}

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

html, body {
  font-family: 'Lora', serif;
  color: var(--text-dark);
  background-color: #FFFFFF;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

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

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

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--light-grey);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar {
  padding: 0.5rem 0 !important;
}

.navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary-color) !important;
  font-size: 1.5rem;
}

.navbar-nav .nav-link {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark) !important;
  font-weight: 500;
  margin-left: 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--terracotta) !important;
}

main {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

.hero-section {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--warm-grey) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--beige);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

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

.hero-content h1 {
  color: var(--beige);
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-content p {
  color: var(--beige);
  font-size: 1.2rem;
}

section {
  padding: 4rem 0;
}

.section-full-width {
  width: 100%;
  padding: 4rem 0;
}

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

.section-primary {
  background-color: var(--primary-color);
  color: var(--beige);
}

.section-primary h2,
.section-primary h3 {
  color: var(--beige);
}

.section-primary p {
  color: var(--beige);
}

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

.section-light {
  background-color: #F5F2EB;
}

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

.two-column-layout img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.text-block {
  padding: 1rem;
}

.text-block h2 {
  margin-bottom: 1.5rem;
}

.text-block p {
  margin-bottom: 1rem;
  text-align: justify;
}

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

.ingredient-card {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(34, 66, 41, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ingredient-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(34, 66, 41, 0.15);
}

.ingredient-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.ingredient-card h3 {
  color: var(--terracotta);
  margin-bottom: 0.5rem;
}

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

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.comparison-table th {
  background-color: var(--primary-color);
  color: var(--beige);
  padding: 1.5rem;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

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

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover {
  background-color: var(--beige);
}

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

.disclaimer-block strong {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

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

footer h3 {
  color: var(--terracotta);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

footer p {
  color: var(--beige);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

footer a {
  color: var(--terracotta);
}

footer a:hover {
  color: var(--beige);
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-divider {
  border-top: 1px solid rgba(248, 244, 227, 0.2);
  margin-top: 2rem;
  padding-top: 2rem;
}

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

.footer-links a {
  display: inline-block;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  color: var(--beige);
  padding: 1.5rem;
  z-index: 999;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

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

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

.btn-custom {
  padding: 0.7rem 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 0.95rem;
}

.btn-accept {
  background-color: var(--terracotta);
  color: #FFFFFF;
}

.btn-accept:hover {
  background-color: #C67450;
  color: #FFFFFF;
}

.btn-decline {
  background-color: transparent;
  color: var(--beige);
  border: 1px solid var(--beige);
}

.btn-decline:hover {
  background-color: rgba(248, 244, 227, 0.1);
  color: var(--beige);
}

.btn-learn-more {
  background-color: transparent;
  color: var(--terracotta);
  border: 1px solid var(--terracotta);
}

.btn-learn-more:hover {
  background-color: var(--terracotta);
  color: #FFFFFF;
}

.btn-cta {
  background-color: var(--terracotta);
  color: #FFFFFF;
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-cta:hover {
  background-color: #C67450;
  color: #FFFFFF;
}

.btn-secondary {
  background-color: var(--primary-color);
  color: var(--beige);
  padding: 0.7rem 1.5rem;
}

.btn-secondary:hover {
  background-color: var(--warm-grey);
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary-color);
}

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

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 2px rgba(217, 138, 106, 0.1);
}

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

.contact-info {
  background-color: var(--beige);
  padding: 2rem;
  border-radius: 8px;
  margin-top: 2rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.highlight {
  color: var(--terracotta);
  font-weight: 600;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-color);
}

.mt-3 {
  margin-top: 2rem;
}

.mb-3 {
  margin-bottom: 2rem;
}

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

  h2 {
    font-size: 1.7rem;
  }

  .hero-section {
    height: 300px;
  }

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

  .hero-content p {
    font-size: 1rem;
  }

  .two-column-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .two-column-layout img {
    max-height: 300px;
  }

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

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

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .btn-custom {
    width: 100%;
    text-align: center;
  }

  .navbar-collapse {
    padding-top: 1rem;
  }

  section {
    padding: 2rem 0;
  }
}

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

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.95rem;
  }

  .hero-content {
    padding: 1rem;
  }

  .section-container {
    padding: 0 0.5rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

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

  footer {
    padding: 2rem 0 1rem;
  }

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