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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Georgia', 'Garamond', serif;
  background-color: #F8F8F8;
  color: #3A4750;
  line-height: 1.6;
  font-size: 16px;
}

header {
  background-color: #F8F8F8;
  border-bottom: 1px solid #E0C240;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(58, 71, 80, 0.1);
}

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

.logo {
  font-size: 32px;
  font-weight: bold;
  color: #3A4750;
  text-decoration: none;
  font-family: 'Arial', 'Helvetica', sans-serif;
  letter-spacing: 2px;
}

.logo:hover {
  color: #E0C240;
  transition: color 0.3s ease;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
  align-items: center;
}

nav a {
  color: #3A4750;
  text-decoration: none;
  font-size: 15px;
  font-family: 'Arial', 'Helvetica', sans-serif;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #E0C240;
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #E0C240;
}

main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 30px;
}

.section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(224, 194, 64, 0.2);
}

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

h1 {
  font-size: 48px;
  color: #3A4750;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
  font-family: 'Arial', 'Helvetica', sans-serif;
}

h2 {
  font-size: 36px;
  color: #3A4750;
  margin-bottom: 25px;
  margin-top: 40px;
  font-weight: 700;
  line-height: 1.3;
  font-family: 'Arial', 'Helvetica', sans-serif;
}

h3 {
  font-size: 24px;
  color: #3A4750;
  margin-bottom: 15px;
  margin-top: 30px;
  font-weight: 600;
  font-family: 'Arial', 'Helvetica', sans-serif;
}

p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #3A4750;
}

ul, ol {
  margin-left: 40px;
  margin-bottom: 20px;
  color: #3A4750;
}

ul li, ol li {
  margin-bottom: 12px;
  line-height: 1.8;
}

ul li::marker {
  color: #E0C240;
}

a {
  color: #607D8B;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #E0C240;
  text-decoration: underline;
}

.hero-section {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(58, 71, 80, 0.3), rgba(58, 71, 80, 0.3)), url('images/hero-balanced-nutrition.jpg') center/cover;
  background-attachment: fixed;
  padding: 100px 30px;
}

.hero-content {
  text-align: center;
  max-width: 800px;
}

.hero-content h1 {
  color: #F8F8F8;
  font-size: 56px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  color: #F8F8F8;
  font-size: 18px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin: 40px 0;
}

.two-column img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(58, 71, 80, 0.2);
}

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

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

.info-box {
  background-color: #607D8B;
  color: #F8F8F8;
  padding: 30px 40px;
  border-left: 6px solid #E0C240;
  margin: 30px 0;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(58, 71, 80, 0.15);
}

.info-box h3 {
  color: #E0C240;
  margin-top: 0;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin: 40px 0;
}

.card {
  background-color: #F8F8F8;
  border: 2px solid #E0C240;
  border-radius: 8px;
  padding: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(58, 71, 80, 0.1);
}

.card:hover {
  box-shadow: 0 15px 40px rgba(58, 71, 80, 0.25);
  border-color: #607D8B;
  transform: translateY(-5px);
}

.card h3 {
  color: #3A4750;
  margin-top: 0;
  border-bottom: 2px solid #E0C240;
  padding-bottom: 15px;
}

.card p {
  color: #3A4750;
}

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

.glossary {
  background-color: #F8F8F8;
  border-left: 6px solid #607D8B;
  padding: 30px 40px;
  margin: 30px 0;
  border-radius: 4px;
}

.glossary-term {
  margin: 25px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(224, 194, 64, 0.3);
}

.glossary-term:last-child {
  border-bottom: none;
}

.glossary-term strong {
  color: #E0C240;
  font-size: 18px;
}

.glossary-term p {
  margin-top: 10px;
  margin-bottom: 0;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.stat-item {
  background: linear-gradient(135deg, #607D8B 0%, #3A4750 100%);
  color: #F8F8F8;
  padding: 40px 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(58, 71, 80, 0.2);
  border-top: 4px solid #E0C240;
}

.stat-item h3 {
  color: #E0C240;
  font-size: 28px;
  margin-bottom: 10px;
  margin-top: 0;
}

.stat-item p {
  color: #F8F8F8;
  font-size: 14px;
  margin: 0;
}

.button {
  display: inline-block;
  padding: 14px 35px;
  background-color: #607D8B;
  color: #F8F8F8;
  border: 2px solid #607D8B;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Arial', 'Helvetica', sans-serif;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 15px;
}

.button:hover {
  background-color: #3A4750;
  border-color: #3A4750;
  box-shadow: 0 8px 20px rgba(58, 71, 80, 0.3);
}

.button-outline {
  background-color: transparent;
  color: #607D8B;
  border: 2px solid #607D8B;
}

.button-outline:hover {
  background-color: #607D8B;
  color: #F8F8F8;
}

footer {
  background-color: #3A4750;
  color: #F8F8F8;
  padding: 60px 30px 30px;
  margin-top: 80px;
}

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

.footer-section h3 {
  color: #E0C240;
  font-size: 18px;
  margin-bottom: 20px;
  margin-top: 0;
}

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

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section a {
  color: #F8F8F8;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #E0C240;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(224, 194, 64, 0.3);
  padding-top: 30px;
  text-align: center;
  font-size: 14px;
  color: #B0BCC4;
}

.divider {
  width: 80px;
  height: 3px;
  background-color: #E0C240;
  margin: 30px 0;
}

.quote-block {
  background-color: #F8F8F8;
  border-left: 6px solid #E0C240;
  padding: 30px 40px;
  margin: 40px 0;
  font-size: 18px;
  font-style: italic;
  color: #3A4750;
  line-height: 1.8;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background-color: #F8F8F8;
  box-shadow: 0 5px 15px rgba(58, 71, 80, 0.1);
}

table thead {
  background-color: #607D8B;
  color: #F8F8F8;
}

table th {
  padding: 20px;
  text-align: left;
  font-weight: 600;
  border-bottom: 3px solid #E0C240;
  font-family: 'Arial', 'Helvetica', sans-serif;
}

table td {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(224, 194, 64, 0.2);
  color: #3A4750;
}

table tbody tr:hover {
  background-color: rgba(224, 194, 64, 0.1);
}

.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline-item {
  margin-bottom: 50px;
  padding-left: 50px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  background-color: #E0C240;
  border-radius: 50%;
  border: 3px solid #3A4750;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 8px;
  top: 20px;
  width: 4px;
  height: 30px;
  background-color: #E0C240;
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-item h3 {
  margin-top: 0;
  color: #3A4750;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #3A4750;
  color: #F8F8F8;
  padding: 20px 30px;
  z-index: 9999;
  display: none;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
  display: block;
  animation: slideUp 0.3s ease-out;
}

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

.cookie-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.cookie-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-text a {
  color: #E0C240;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Arial', 'Helvetica', sans-serif;
}

.cookie-accept {
  background-color: #E0C240;
  color: #3A4750;
}

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

.cookie-decline {
  background-color: transparent;
  color: #F8F8F8;
  border: 2px solid #F8F8F8;
}

.cookie-decline:hover {
  background-color: #F8F8F8;
  color: #3A4750;
}

.cookie-more {
  background-color: transparent;
  color: #E0C240;
  border: 2px solid #E0C240;
}

.cookie-more:hover {
  background-color: #E0C240;
  color: #3A4750;
}

@media (max-width: 768px) {
  nav ul {
    gap: 20px;
  }

  nav a {
    font-size: 13px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 20px;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-section {
    min-height: 400px;
    padding: 60px 20px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

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

  .cookie-buttons {
    flex-wrap: wrap;
    gap: 10px;
  }

  main {
    padding: 0 20px;
  }

  .section {
    padding: 50px 0;
  }

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

  footer {
    padding: 40px 20px 20px;
  }

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

@media (max-width: 480px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  nav a {
    display: block;
    padding: 10px 0;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }

  p {
    font-size: 14px;
  }

  .cards-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }

  .cookie-btn {
    padding: 8px 15px;
    font-size: 12px;
  }
}
