@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;800;900&family=Roboto+Slab:wght@400;500;600;700&display=swap');

:root {
  --primary: #2B3F2A;
  --accent-light: #EDE3D1;
  --accent-mid: #A0B49C;
  --accent-dark: #556651;
  --white: #FFFFFF;
  --off-white: #F5F3F0;
  --text-dark: #1A1A1A;
  --border-light: #E0DCD4;
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto Slab', serif;
  font-size: 18px;
  line-height: 1.72;
  color: var(--text-dark);
  background-color: var(--white);
}

h1 {
  font-family: 'Cinzel', serif;
  font-size: 70px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--primary);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

h2 {
  font-family: 'Cinzel', serif;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary);
  margin-bottom: 20px;
}

h3 {
  font-family: 'Cinzel', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

p {
  margin-bottom: 16px;
  color: var(--text-dark);
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  padding: 16px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

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

.logo {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.3s ease;
}

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

main {
  padding-top: 80px;
}

.container {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 32px;
}

section {
  padding: 80px 0;
}

.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('images/hero-alpine-valley.jpg') center/cover;
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(43, 63, 42, 0.5);
  z-index: -1;
}

.hero-content {
  z-index: 1;
  max-width: 900px;
  animation: fadeIn 0.8s ease-out;
}

.hero h1 {
  color: var(--white);
  font-size: 70px;
  margin-bottom: 24px;
}

.hero p {
  color: var(--accent-light);
  font-size: 20px;
  line-height: 1.6;
}

.overview-block {
  background-color: var(--off-white);
}

.overview-block p {
  font-size: 18px;
  line-height: 1.72;
  max-width: 900px;
  margin: 0 auto;
}

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

.nutrient-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nutrient-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

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

.nutrient-card-content {
  padding: 24px;
}

.nutrient-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.nutrient-card p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

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

.two-column-reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.two-column-reverse > * {
  direction: ltr;
}

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

.two-column h2 {
  font-size: 48px;
}

.two-column p {
  font-size: 18px;
}

.table-container {
  overflow-x: auto;
  margin-top: 32px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

table th,
table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

table th {
  background-color: var(--primary);
  color: var(--white);
  font-family: 'Cinzel', serif;
  font-weight: 700;
}

table tr:hover {
  background-color: var(--off-white);
}

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

.info-card {
  background: var(--off-white);
  padding: 32px;
  border-left: 4px solid var(--accent-dark);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.info-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.info-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 16px;
  border-radius: var(--radius);
}

.info-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.info-card p {
  font-size: 16px;
  margin: 0;
}

.assumptions-list {
  max-width: 800px;
  margin: 32px auto 0;
}

.assumptions-list li {
  list-style: none;
  padding: 16px;
  border-left: 2px solid var(--accent-mid);
  margin-bottom: 12px;
  background: var(--off-white);
  border-radius: var(--radius);
}

.cta-section {
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--accent-dark));
  padding: 80px 32px;
  margin: 80px 0;
  border-radius: var(--radius);
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 24px;
}

.cta-section p {
  color: var(--accent-light);
  font-size: 18px;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  padding: 16px 40px;
  background-color: var(--accent-light);
  color: var(--primary);
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.3);
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.4), 0 4px 12px rgba(0,0,0,0.15);
}

.cta-button:active {
  transform: scale(0.98);
}

footer {
  background-color: var(--primary);
  color: var(--accent-light);
  padding: 64px 32px 32px;
  margin-top: 80px;
}

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

.footer-section h4 {
  font-family: 'Cinzel', serif;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-section p,
.footer-section a {
  font-size: 14px;
  line-height: 1.8;
  color: var(--accent-light);
}

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

.footer-bottom {
  border-top: 1px solid rgba(173, 180, 156, 0.3);
  padding-top: 32px;
  text-align: center;
  font-size: 14px;
  color: var(--accent-light);
}

.educational-message {
  text-align: center;
  font-style: italic;
  color: var(--accent-light);
  margin-bottom: 16px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary);
  color: var(--accent-light);
  padding: 24px 32px;
  z-index: 999;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-height: 150px;
  animation: slideUp 0.4s ease-out;
}

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

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

.cookie-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
}

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

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Cinzel', serif;
}

.cookie-btn-accept {
  background-color: var(--accent-light);
  color: var(--primary);
}

.cookie-btn-accept:hover {
  background-color: #E0D9CB;
  transform: scale(1.05);
}

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

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

.cookie-btn-learn {
  background-color: transparent;
  color: var(--accent-light);
  border: 1px solid var(--accent-light);
}

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

.disclaimer-box {
  background: var(--off-white);
  border-left: 4px solid var(--accent-dark);
  padding: 24px;
  margin: 24px 0;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.6;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 24px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  background: var(--off-white);
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
  font-size: 16px;
}

.faq-question:hover {
  background-color: #E8E4DC;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.faq-answer {
  display: none;
  padding: 24px;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  line-height: 1.72;
}

.faq-answer.active {
  display: block;
  animation: fadeIn 0.3s ease-out;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--off-white);
  padding: 40px;
  border-radius: var(--radius);
}

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

label {
  display: block;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--primary);
}

input[type="email"],
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-family: 'Roboto Slab', serif;
  font-size: 16px;
  color: var(--text-dark);
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(85, 102, 81, 0.1);
}

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

.form-submit {
  width: 100%;
  padding: 14px;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background-color: var(--accent-dark);
  transform: scale(1.02);
}

.form-submit:active {
  transform: scale(0.98);
}

.thank-you-message {
  text-align: center;
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
  background: var(--off-white);
  border-radius: var(--radius);
}

.thank-you-message h1 {
  font-size: 56px;
  margin-bottom: 24px;
}

.thank-you-message p {
  font-size: 18px;
  margin-bottom: 32px;
}

.home-link {
  display: inline-block;
  padding: 12px 32px;
  background-color: var(--primary);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius);
  font-family: 'Cinzel', serif;
  font-weight: 600;
  transition: all 0.3s ease;
}

.home-link:hover {
  background-color: var(--accent-dark);
  transform: scale(1.05);
}

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

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

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 24px;
  }

  .header-container {
    padding: 0 16px;
  }

  nav {
    gap: 16px;
  }

  nav a {
    font-size: 12px;
  }

  section {
    padding: 48px 0;
  }

  .container {
    padding: 0 16px;
  }

  .two-column,
  .two-column-reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .two-column-reverse {
    direction: ltr;
  }

  .two-column-reverse > * {
    direction: ltr;
  }

  .micronutrient-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .six-card-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

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

  .cookie-btn {
    flex: 1;
  }

  .hero {
    height: 400px;
  }

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

  .contact-form {
    padding: 24px;
  }

  .cta-section {
    padding: 48px 16px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

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

  .header-container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  body {
    font-size: 16px;
  }
}
