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

:root {
  --primary-dark: #1A3B4F;
  --accent-orange: #F9A826;
  --accent-green: #5CB85C;
  --accent-grey: #C0C0C0;
  --neutral-light: #F5F5F5;
  --neutral-white: #FFFFFF;
  --text-dark: #2C3E50;
  --text-light: #555555;
  --border-light: #E8E8E8;
}

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

html, body {
  font-family: 'Inter', sans-serif;
  background-color: var(--neutral-white);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

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

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.8rem;
}

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

p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

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

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

strong {
  font-weight: 600;
  color: var(--primary-dark);
}

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

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

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.3s;
}

.logo:hover {
  color: var(--accent-orange);
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
  text-decoration: none;
}

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

main {
  margin-top: 70px;
  padding: 0;
}

.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.section:last-child {
  border-bottom: none;
}

.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, rgba(26, 59, 79, 0.8) 100%);
  color: var(--neutral-white);
  padding: 6rem 0 4rem 0;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 70px;
}

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

.hero .container {
  position: relative;
  z-index: 1;
}

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

.hero p {
  color: rgba(255,255,255,0.95);
  font-size: 1.1rem;
  max-width: 700px;
  margin-bottom: 1.5rem;
}

.disclaimer-badge {
  background-color: var(--accent-orange);
  color: var(--neutral-white);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 2rem;
}

.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);
}

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

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

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

.card {
  background-color: var(--neutral-light);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-orange);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

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

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

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

.image-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

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

.table-responsive {
  overflow-x: auto;
  margin: 2rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--neutral-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
}

th {
  background-color: var(--primary-dark);
  color: var(--neutral-white);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
}

tr:hover {
  background-color: var(--neutral-light);
}

.accordion {
  margin: 2rem 0;
}

.accordion-item {
  background-color: var(--neutral-light);
  margin-bottom: 1rem;
  border-radius: 4px;
  overflow: hidden;
}

.accordion-header {
  padding: 1.5rem;
  background-color: var(--neutral-light);
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-dark);
  user-select: none;
  transition: background-color 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover {
  background-color: #e8e8e8;
}

.accordion-header.active {
  background-color: var(--accent-orange);
  color: var(--neutral-white);
}

.accordion-body {
  padding: 1.5rem;
  background-color: var(--neutral-white);
  display: none;
  color: var(--text-light);
}

.accordion-body.show {
  display: block;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-orange);
  color: var(--neutral-white);
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s;
  text-decoration: none;
  border: 2px solid var(--accent-orange);
  cursor: pointer;
  font-size: 1rem;
}

.cta-button:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--neutral-white);
}

.cta-button-secondary {
  background-color: transparent;
  color: var(--accent-orange);
  border: 2px solid var(--accent-orange);
}

.cta-button-secondary:hover {
  background-color: var(--accent-orange);
  color: var(--neutral-white);
}

footer {
  background-color: var(--primary-dark);
  color: var(--neutral-white);
  padding: 3rem 0;
  margin-top: 3rem;
}

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

footer h4 {
  color: var(--accent-orange);
  margin-bottom: 1rem;
}

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

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

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

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

.footer-bottom p {
  margin: 0.5rem 0;
}

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

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary-dark);
}

input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(249, 168, 38, 0.1);
}

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

.form-disclaimer {
  background-color: var(--neutral-light);
  padding: 1.5rem;
  border-radius: 4px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--accent-green);
}

.form-disclaimer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-right: 0.5rem;
}

.list-styled {
  list-style: none;
  padding-left: 0;
}

.list-styled li {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
  color: var(--text-light);
}

.list-styled li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
  font-size: 1.2rem;
}

.center-text {
  text-align: center;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-dark);
  color: var(--neutral-white);
  padding: 1.5rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
  z-index: 999;
  display: none;
}

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

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

.cookie-message {
  flex: 1;
}

.cookie-message p {
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}

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

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

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

.cookie-btn-accept:hover {
  background-color: var(--accent-green);
}

.cookie-btn-decline {
  background-color: transparent;
  color: var(--neutral-white);
  border: 1px solid rgba(255,255,255,0.3);
}

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

.cookie-btn-learn {
  color: var(--accent-orange);
  text-decoration: underline;
}

.thank-you-message {
  text-align: center;
  padding: 3rem 0;
}

.thank-you-message h1 {
  color: var(--accent-green);
  margin-bottom: 1rem;
}

.highlight-box {
  background-color: rgba(249, 168, 38, 0.1);
  border-left: 4px solid var(--accent-orange);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.highlight-box p {
  margin: 0;
}

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

  h2 {
    font-size: 1.5rem;
  }

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

  nav {
    gap: 1rem;
    font-size: 0.85rem;
  }

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

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

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

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

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

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

  .image-grid img {
    height: 200px;
  }
}

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

  h2 {
    font-size: 1.2rem;
  }

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

  nav {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  main {
    margin-top: 120px;
  }

  .section {
    padding: 3rem 0;
  }

  .two-column {
    gap: 1.5rem;
  }

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

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