/* ============================================================
   KAGEZI SEEDS — products.css
   Styles for Products page (Nutrava spotlight, Chisamba factory)
   ============================================================ */

/* ── NUTRAVA SPOTLIGHT ── */
#nutrava-spotlight {
  background: var(--white);
  padding: 96px 5%;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.spotlight-content .section-title {
  margin-bottom: 8px;
}

.spotlight-content .section-subtitle {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  color: var(--green-light);
  margin-bottom: 24px;
}

.spotlight-desc {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 36px;
}

.spotlight-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.s-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.s-feat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--green-deep);
  flex-shrink: 0;
}

.s-feat-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.s-feat-item p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}

.spotlight-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spotlight-main-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.12));
  animation: floatImage 4s ease-in-out infinite;
  z-index: 2;
}

.spotlight-splash-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: auto;
  pointer-events: none;
  opacity: 0.15;
  z-index: 1;
}

.spotlight-splash-overlay img {
  width: 100%;
  height: auto;
}

@keyframes floatImage {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── VALUE ADDITION STORY ── */
#value-addition {
  background: var(--cream);
  padding: 96px 5%;
}

.value-addition-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.val-image-block {
  position: relative;
  height: 520px;
}

.val-img-main-wrap {
  width: 85%;
  height: 80%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.val-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.val-img-main-wrap:hover .val-img-main {
  transform: scale(1.05);
}

.val-img-sub-wrap {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 50%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.val-img-sub {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.val-img-sub-wrap:hover .val-img-sub {
  transform: scale(1.05);
}

.val-content-block p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}

.factory-info-card {
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 24px 30px;
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
}

.factory-info-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.factory-info-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ── NUTRITIONAL PROFILE ── */
#nutrition-profile {
  background: var(--white);
  padding: 96px 5%;
}

.nutrition-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.nut-text p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 28px;
}

.nut-table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.nut-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.nut-table th, .nut-table td {
  padding: 14px 20px;
  font-size: 14px;
}

.nut-table th {
  background: var(--green-deep);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
}

.nut-table tbody tr {
  border-bottom: 1px solid var(--border);
}

.nut-table tbody tr:last-of-type {
  border-bottom: none;
}

.nut-table tbody tr:nth-of-type(even) {
  background: var(--green-pale);
}

.nut-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
  box-shadow: var(--shadow-md);
}

.nut-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nut-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--gold);
  color: var(--green-deep);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.badge-lbl {
  font-size: 12px;
  font-weight: 600;
  margin-top: 4px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .value-addition-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .nutrition-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .val-image-block {
    height: 400px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
  .nut-media {
    height: 360px;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }
  .spotlight-main-img {
    max-width: 320px;
  }
}

@media (max-width: 600px) {
  #nutrava-spotlight, #value-addition, #nutrition-profile {
    padding: 72px 4%;
  }
  .val-image-block {
    height: 280px;
  }
  .nut-media {
    height: 280px;
  }
}
