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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lora', serif;
  background-color: #FFFFFF;
  color: #333333;
  line-height: 1.6;
  letter-spacing: 0.5px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #2C2C2C;
}

h1 {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #2C2C2C;
  font-weight: 600;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #3A7356;
  font-weight: 600;
}

p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: #555555;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  padding: 1rem 0;
}

.navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #3A7356 !important;
  letter-spacing: 1px;
}

.nav-link {
  color: #2C2C2C !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0 1rem;
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav-link:hover {
  color: #3A7356 !important;
  text-decoration: underline;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  background: linear-gradient(135deg, rgba(58, 115, 86, 0.4), rgba(139, 183, 159, 0.4)),
              url('images/hero-landscape.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 60px;
  overflow: hidden;
}

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

.hero-content h1 {
  font-size: 2.8rem;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.5rem;
}

/* Main Content Sections */
.content-section {
  padding: 5rem 0;
  background-color: #FFFFFF;
  position: relative;
}

.content-section:nth-child(even) {
  background-color: #F0F2F5;
}

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

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

.column-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.column-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.column-image:hover img {
  transform: scale(1.05);
}

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

.column-text p {
  margin-bottom: 1.5rem;
  color: #555555;
}

ul {
  list-style: none;
  padding-left: 2rem;
}

ul li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
  color: #555555;
  line-height: 1.8;
}

ul li:before {
  content: "■";
  color: #3A7356;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-8px);
  border-color: #3A7356;
}

.card h3 {
  margin-bottom: 1rem;
  color: #3A7356;
}

.card p {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.7;
}

/* Ingredient Cards */
.ingredient-card {
  text-align: center;
  background-color: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

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

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

.ingredient-card-content {
  padding: 1.5rem;
}

.ingredient-card h3 {
  margin-bottom: 0.8rem;
  color: #3A7356;
  font-size: 1.2rem;
}

.ingredient-card p {
  font-size: 0.9rem;
  color: #666666;
  line-height: 1.6;
}

/* Table */
.table-container {
  margin-top: 2rem;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

table thead {
  background-color: #3A7356;
  color: #FFFFFF;
}

table th {
  padding: 1.2rem;
  text-align: left;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #E8E8E8;
  color: #555555;
}

table tbody tr:hover {
  background-color: #F0F2F5;
}

/* Disclaimer Block */
.disclaimer-block {
  background-color: #F0F2F5;
  border-left: 4px solid #3A7356;
  padding: 2rem;
  margin: 2.5rem 0;
  border-radius: 8px;
}

.disclaimer-block h3 {
  color: #3A7356;
  margin-bottom: 1rem;
}

.disclaimer-block p {
  color: #555555;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.disclaimer-block ul {
  margin-top: 1rem;
}

/* CTA Links */
a.cta-link {
  display: inline-block;
  color: #3A7356;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  padding: 0.8rem 1.5rem;
  border: 2px solid #3A7356;
  border-radius: 6px;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
  cursor: pointer;
}

a.cta-link:hover {
  background-color: #3A7356;
  color: #FFFFFF;
  text-decoration: none;
}

/* Footer */
footer {
  background-color: #2C2C2C;
  color: #E0E0E0;
  padding: 3rem 0 2rem 0;
  margin-top: 4rem;
  font-size: 0.9rem;
}

footer a {
  color: #8BB79F;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

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

.footer-section h4 {
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section p {
  color: #E0E0E0;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.footer-section ul {
  list-style: none;
  padding-left: 0;
}

.footer-section ul li {
  padding-left: 0;
  margin-bottom: 0.5rem;
}

.footer-section ul li:before {
  content: "";
  display: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444444;
  color: #B0B0B0;
  font-size: 0.85rem;
}

.footer-disclaimer {
  color: #D4AF37;
  font-weight: 600;
  margin-top: 1rem;
  font-family: 'Montserrat', sans-serif;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  background-color: #F0F2F5;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #2C2C2C;
  font-family: 'Montserrat', sans-serif;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #D0D0D0;
  border-radius: 6px;
  font-family: 'Lora', serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background-color: #FFFFFF;
  color: #333333;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3A7356;
  box-shadow: 0 0 0 3px rgba(58, 115, 86, 0.1);
}

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

.form-disclaimer {
  background-color: #FFFFFF;
  border: 1px solid #D4AF37;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: #555555;
  font-family: 'Montserrat', sans-serif;
}

.form-disclaimer strong {
  color: #3A7356;
}

.btn-submit {
  width: 100%;
  padding: 1.2rem;
  background-color: #3A7356;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: #2C5C44;
  box-shadow: 0 4px 12px rgba(58, 115, 86, 0.3);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #2C2C2C;
  color: #E0E0E0;
  padding: 2rem;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
}

.cookie-content {
  flex: 1;
}

.cookie-content p {
  color: #E0E0E0;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

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

.cookie-btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.cookie-btn-accept {
  background-color: #3A7356;
  color: #FFFFFF;
}

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

.cookie-btn-decline {
  background-color: transparent;
  color: #E0E0E0;
  border: 1px solid #E0E0E0;
}

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

.cookie-btn-learn {
  background-color: transparent;
  color: #8BB79F;
  border: 1px solid #8BB79F;
}

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

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

/* Thank You Page */
.thank-you-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
}

.thank-you-content h1 {
  color: #3A7356;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.thank-you-content p {
  color: #555555;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.thank-you-content a {
  color: #3A7356;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.thank-you-content a:hover {
  color: #8BB79F;
}

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

  h2 {
    font-size: 1.6rem;
  }

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

  .hero-section {
    height: 60vh;
    margin-top: 60px;
  }

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

  .content-section {
    padding: 3rem 0;
  }

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

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

  .cookie-buttons {
    width: 100%;
    justify-content: space-between;
  }

  .cookie-btn {
    flex: 1;
  }

  ul li {
    padding-left: 1.5rem;
  }

  ul li:before {
    left: 0;
  }

  footer {
    padding: 2rem 0 1rem 0;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

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

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

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

  .two-column {
    gap: 1.5rem;
  }

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

  .cookie-banner {
    padding: 1.5rem;
  }

  .cookie-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }

  table {
    font-size: 0.85rem;
  }

  table th,
  table td {
    padding: 0.75rem;
  }
}
