:root {
  --primary-teal: #20a39e;
  --accent-orange: #f4a460;
  --accent-blue: #003d5c;
  --neutral-light: #f5f5f5;
  --neutral-dark: #333333;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--neutral-dark);
  background-color: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 3rem;
  color: var(--primary-teal);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  color: var(--accent-blue);
  margin-bottom: 1.5rem;
}

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

p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--accent-blue);
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

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

header .navbar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
}

header .navbar-brand img {
  width: 40px;
  height: 40px;
}

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

header .nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

header .nav-menu a:hover {
  color: var(--accent-orange);
}

header .nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
}

header .nav-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

section {
  padding: 4rem 2rem;
}

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

.container-small {
  max-width: 1200px;
  margin: 0 auto;
}

.hero {
  background: linear-gradient(135deg, rgba(32, 163, 158, 0.85) 0%, rgba(0, 61, 92, 0.85) 100%);
  background-size: cover;
  background-position: center;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 500px;
  margin-bottom: 2rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/hero-macronutrients.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: -1;
}

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

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

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
}

.section-alt {
  background-color: var(--neutral-light);
}

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

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

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

.card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--primary-teal);
}

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

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

.card h3 {
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-weight: 600;
}

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

.btn-primary:hover {
  background-color: #e89450;
  box-shadow: 0 4px 8px rgba(244, 164, 96, 0.3);
}

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

.btn-secondary:hover {
  background-color: #1a8b88;
}

.disclaimer {
  background-color: #fff3cd;
  border-left: 4px solid var(--accent-orange);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 4px;
}

.disclaimer h3 {
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
}

.disclaimer p {
  color: #333333;
  font-size: 0.95rem;
}

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

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

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

footer .footer-section p, footer .footer-section a {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

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

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

footer .footer-disclaimer {
  text-align: center;
  color: var(--accent-orange);
  font-weight: 600;
  margin-top: 1rem;
}

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

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

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.5;
}

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

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

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

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

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

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

.cookie-learn:hover {
  background-color: rgba(244, 164, 96, 0.1);
}

form {
  max-width: 600px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--accent-blue);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(32, 163, 158, 0.1);
}

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

.form-disclaimer {
  background-color: #f0f7f7;
  border-left: 4px solid var(--primary-teal);
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #333333;
}

.thank-you-container {
  text-align: center;
  padding: 4rem 2rem;
}

.thank-you-container h1 {
  margin-bottom: 1.5rem;
}

.thank-you-container p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-teal);
  color: var(--white);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background-color: #1a8b88;
}

.policy-content {
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.8;
}

.policy-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-content p {
  text-align: justify;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background-color: var(--neutral-light);
  border-left: 4px solid var(--primary-teal);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-item .faq-question {
  font-weight: 600;
  color: var(--accent-blue);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item .faq-toggle {
  font-size: 1.5rem;
  color: var(--primary-teal);
}

.faq-item .faq-answer {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  color: #555555;
}

.faq-item.active .faq-answer {
  display: block;
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline-item {
  margin-bottom: 2rem;
  padding-left: 3rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 12px;
  height: 12px;
  background-color: var(--primary-teal);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary-teal);
}

.timeline-item h3 {
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
}

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

  h2 {
    font-size: 1.5rem;
  }

  header .navbar {
    padding: 0 1rem;
  }

  header .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--accent-blue);
    padding: 1rem;
    gap: 0;
  }

  header .nav-menu.active {
    display: flex;
  }

  header .nav-menu a {
    padding: 0.75rem 0;
  }

  header .nav-toggle {
    display: flex;
  }

  main {
    margin-top: 60px;
  }

  section {
    padding: 2rem 1rem;
  }

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

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

  .hero {
    min-height: 350px;
  }

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

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

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

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

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

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

@media (max-width: 480px) {
  header .navbar {
    padding: 0 0.75rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  section {
    padding: 1.5rem 0.75rem;
  }

  .container {
    padding: 0 0.75rem;
  }

  footer .footer-section h3 {
    font-size: 1rem;
  }
}
