* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: #f4f7f2;
  color: #222;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* HEADER */
.site-header {
  width: 100%;
  background: #1f3b2d;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.nav-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  position: relative;
}

.logo {
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  font-weight: 700;
  flex-shrink: 0;
}

.navbar {
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
  white-space: nowrap;
}

a {
    text-decoration: none;
}

.navbar a:hover {
  color: #9be38c;
}

.menu-checkbox {
  display: none;
}

.menu-icon {
  display: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  user-select: none;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, #151312, #0a0596);
  color: #fff;
  padding: 50px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
}

.hero-text h1 {
  font-size: 44px;
  margin-bottom: 16px;
}

.hero-text p {
  font-size: 18px;
  max-width: 650px;
}

.hero-image img {
  border-radius: 20px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  width: 100%;
  max-width: 420px;
  height: 450px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

/* MAIN */
.food-page {
  padding: 40px 0 60px;
}

.card {
  background: #fff;
  border-radius: 18px;
  padding: 26px;
  margin-bottom: 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.card h2 {
  font-size: 28px;
  margin-bottom: 14px;
  color: #1f3b2d;
}

.card p {
  font-size: 17px;
  margin-bottom: 12px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.info-list {
  padding-left: 20px;
}

.info-list li {
  margin-bottom: 10px;
  font-size: 17px;
}

/* TABLE */
.table-wrap {
  overflow-x: auto;
}

.nutrition-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.nutrition-table td {
  border: 1px solid #dcdcdc;
  padding: 14px;
  font-size: 16px;
}

.nutrition-table tr:nth-child(even) {
  background: #f7faf6;
}

.nutrition-table td:first-child {
  font-weight: 700;
  width: 50%;
}

/* TABLET */
@media (max-width: 850px) {
  .hero-content,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .nav-container {
    padding: 18px 24px;
  }

  .navbar {
    gap: 18px;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .nav-container {
    padding: 16px 18px;
  }

  .logo {
    font-size: 24px;
  }

  .menu-icon {
    display: block;
    margin-left: auto;
    padding-left: 20px;
  }

  .navbar {
    display: none;
    position: absolute;
    top: 100%;
    right: 18px;
    width: 240px;
    background: #1f3b2d;
    border-radius: 12px;
    padding: 10px 0;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    margin-left: 0;
  }

  .menu-checkbox:checked + .menu-icon + .navbar {
    display: flex;
  }

  .navbar a {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .navbar a:last-child {
    border-bottom: none;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-text h1 {
    font-size: 30px;
  }

  .hero-text p,
  .card p,
  .info-list li,
  .nutrition-table td {
    font-size: 15px;
  }

  .card {
    padding: 20px;
  }

  .hero-image img {
    max-width: 100%;
    height: 300px;
  }
}
