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

:root {
  --color-primary: #a8d5ba;
  --color-dark-blue: #1a3a52;
  --color-sand: #e8dcc4;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-light-bg: #f5f5f5;
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark-blue);
}

h1 {
  font-size: 3rem;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

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

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

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

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

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

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

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-dark-blue);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 40px;
  height: 40px;
  display: block;
}

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

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a.active {
  color: var(--color-dark-blue);
}

nav a.active::after {
  width: 100%;
}

main {
  margin-top: 80px;
}

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

.hero {
  height: 100vh;
  background: linear-gradient(rgba(26, 58, 82, 0.4), rgba(26, 58, 82, 0.4)), url('images/hero-nutrition.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  margin-top: -80px;
  padding-top: 80px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-white);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.3rem;
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-white);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

section {
  padding: 5rem 0;
}

.section-full-width {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 5rem 0;
}

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

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

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

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

.row {
  display: flex;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.row.reverse {
  flex-direction: row-reverse;
}

.row-col {
  flex: 1;
}

.row img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

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

.card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

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

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

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

.faq-item {
  background: var(--color-white);
  border-left: 4px solid var(--color-primary);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.faq-item p {
  font-size: 0.95rem;
  color: #555;
}

.disclaimer-box {
  background-color: #fff3cd;
  border-left: 4px solid var(--color-sand);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.disclaimer-box h4 {
  color: var(--color-dark-blue);
  margin-bottom: 1rem;
}

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  background-color: var(--color-dark-blue);
  color: var(--color-white);
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  margin-top: 1rem;
}

.btn:hover {
  background-color: var(--color-primary);
  color: var(--color-dark-blue);
  box-shadow: 0 4px 12px rgba(168, 213, 186, 0.3);
}

.btn-secondary {
  background-color: var(--color-primary);
  color: var(--color-dark-blue);
}

.btn-secondary:hover {
  background-color: var(--color-dark-blue);
  color: var(--color-white);
}

footer {
  background-color: var(--color-dark-blue);
  color: var(--color-white);
  padding: 3rem 0 1.5rem;
  margin-top: 5rem;
}

footer h4 {
  color: var(--color-white);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

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

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

.footer-section h4 {
  margin-bottom: 1rem;
}

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

.footer-section li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-section p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

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

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

.cookie-banner.show {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
  min-width: 200px;
}

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

.cookie-banner button {
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-accept {
  background-color: var(--color-primary);
  color: var(--color-dark-blue);
}

.cookie-accept:hover {
  background-color: var(--color-sand);
}

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

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

.cookie-policy-link {
  color: var(--color-sand);
  text-decoration: underline;
  cursor: pointer;
}

.cookie-policy-link:hover {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    gap: 1rem;
    flex-direction: column;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

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

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

  .row {
    flex-direction: column;
    gap: 2rem;
  }

  .row.reverse {
    flex-direction: column;
  }

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

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

  .cookie-banner {
    flex-direction: column;
    padding: 1rem;
    bottom: auto;
    top: 0;
    margin-top: 80px;
  }

  .cookie-banner-buttons {
    width: 100%;
    justify-content: center;
  }

  .container {
    padding: 0 1rem;
  }

  section {
    padding: 3rem 0;
  }
}

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

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  nav a {
    font-size: 0.85rem;
  }
}
