:root {
  --color-navy: #001f3f;
  --color-teal: #20b2aa;
  --color-light-gray: #f5f5f5;
  --color-ochre: #daa520;
  --color-white: #ffffff;
  --color-text: #333333;
  --font-sans: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-serif: 'Georgia', serif;
}

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

html, body {
  font-family: var(--font-serif);
  color: var(--color-text);
  line-height: 1.6;
}

body {
  background-color: var(--color-white);
}

h1 {
  font-family: var(--font-sans);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

h2 {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 1.2rem;
  margin-top: 2rem;
}

h3 {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 0.8rem;
}

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

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

a:hover {
  color: var(--color-ochre);
  text-decoration: underline;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  border-bottom: 1px solid #e0e0e0;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 31, 63, 0.1);
}

header.scrolled {
  box-shadow: 0 4px 12px rgba(0, 31, 63, 0.15);
}

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

.logo {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
  text-decoration: none;
}

.logo:hover {
  color: var(--color-teal);
  text-decoration: none;
}

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

.nav-links a {
  font-family: var(--font-sans);
  color: var(--color-navy);
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-teal);
  text-decoration: none;
}

main {
  margin-top: 80px;
}

.hero {
  background: linear-gradient(rgba(0, 31, 63, 0.5), rgba(0, 31, 63, 0.5)), url('images/hero-nutrition.jpg');
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  padding: 8rem 2rem;
  text-align: center;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-white);
}

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

section {
  padding: 4rem 2rem;
}

.full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

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

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

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

.section-navy h2,
.section-navy h3 {
  color: var(--color-white);
}

.section-navy p {
  color: rgba(255, 255, 255, 0.95);
}

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

.two-column img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  max-width: 500px;
}

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

.card {
  background-color: var(--color-white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 3rem 2rem 1rem;
  font-family: var(--font-sans);
  margin-top: 4rem;
}

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

.footer-section h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-ochre);
}

.footer-section p,
.footer-section a {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.footer-section a {
  display: block;
  text-decoration: none;
}

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

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

.footer-disclaimer {
  background-color: rgba(218, 165, 32, 0.1);
  padding: 1rem;
  border-radius: 4px;
  margin: 1rem 0;
  border-left: 3px solid var(--color-ochre);
}

.cta-button {
  display: inline-block;
  background-color: var(--color-teal);
  color: var(--color-white);
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  margin-top: 1rem;
}

.cta-button:hover {
  background-color: var(--color-ochre);
  color: var(--color-navy);
  text-decoration: none;
  transform: scale(1.05);
}

.disclaimer-box {
  background-color: var(--color-light-gray);
  border: 2px solid var(--color-ochre);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
  font-style: italic;
}

.disclaimer-box h3 {
  color: var(--color-navy);
  margin-bottom: 1rem;
}

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

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

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

input[type="email"],
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  font-family: var(--font-serif);
  font-size: 1rem;
  transition: all 0.3s ease;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 8px rgba(32, 178, 170, 0.2);
}

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

.btn-submit {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: var(--color-teal);
  transform: scale(1.02);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 1.5rem 2rem;
  display: none;
  z-index: 999;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
}

.cookie-banner.show {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-message {
  flex: 1;
  line-height: 1.5;
}

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

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

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

.cookie-btn-accept:hover {
  background-color: var(--color-ochre);
  color: var(--color-navy);
}

.cookie-btn-reject {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

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

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

.cookie-btn-info:hover {
  background-color: rgba(32, 178, 170, 0.1);
}

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

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 4rem 1rem;
    min-height: 50vh;
  }

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

  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

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

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

  .two-column img {
    max-width: 100%;
  }

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

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

  .cookie-banner.show {
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: flex-end;
  }

  section {
    padding: 2rem 1rem;
  }

  .container {
    padding: 0 1rem;
  }
}

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

  h2 {
    font-size: 1.2rem;
  }

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

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

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}
