/* ===========================
   AEERNY — sections.css
   All page sections below hero
   =========================== */

/* SHARED SECTION STYLES */
.section { padding: 80px 0; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.section-label {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--brown);
  margin-bottom: 14px;
  text-align: center;
}
.section-title.left { text-align: left; }
.section-sub { color: var(--text-muted); text-align: center; max-width: 560px; margin: 0 auto 48px; line-height: 1.7; }

/* PRODUCTS */
#products { background: var(--cream); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 8px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(61,31,0,0.15); }
.product-card.coming-soon { opacity: 0.75; }

.product-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  z-index: 2;
}
.product-badge.soon { background: var(--text-muted); }

.product-img-wrap {
  height: 220px;
  overflow: hidden;
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-img-wrap.placeholder { background: linear-gradient(135deg, var(--orange-light), var(--green-light)); }
.coming-icon { font-size: 5rem; }

.product-info { padding: 24px; }
.product-info h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--brown);
  margin-bottom: 10px;
}
.product-info p { color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; font-size: 0.95rem; }

/* NUTRITION */
.nutrition-section { background: var(--green); }
.nutrition-section .section-label { color: var(--orange); }
.nutrition-section .section-title { color: var(--white); }
.nutrition-section .section-sub { color: rgba(255,255,255,0.75); }

.nutrition-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.nutrition-panel {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.nutrition-header {
  display: flex;
  flex-direction: column;
  border-bottom: 6px solid var(--brown);
  padding-bottom: 12px;
  margin-bottom: 8px;
}
.nutrition-header strong { font-size: 1.5rem; font-family: var(--font-head); color: var(--brown); }
.nutrition-header span { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

.nutrition-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
  color: var(--text);
}
.nutrition-row.big { font-weight: 700; font-size: 1.1rem; color: var(--brown); }
.nutrition-row.sub { padding-left: 20px; color: var(--text-muted); }
.nutrition-divider { height: 6px; background: var(--brown); margin: 10px 0; border-radius: 2px; }

.nutrition-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.highlight-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  color: var(--white);
}
.highlight-icon { font-size: 2.2rem; margin-bottom: 12px; }
.highlight-card strong { font-size: 1rem; line-height: 1.4; }

/* VIDEO SECTION */
.video-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brown);
}
.mid-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.mid-video.playing { opacity: 1; }

.video-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brown) 0%, var(--orange-dark) 50%, var(--green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-fallback-inner image{ font-size: 8rem; }
.video-fallback.hidden { display: none; }

.video-fallback-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-text-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(37, 3, 3, 0.5);
}
.video-text-overlay h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 12px;
}
.video-text-overlay p { font-size: 1.1rem; opacity: 0.85; }

/* ABOUT */
.about-section { background: var(--orange-light); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.about-img-col img {
  border-radius: var(--radius);
  height: 690px;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.about-text-col .section-label { display: block; margin-bottom: 10px; }
.about-text-col p { color: var(--text-muted); line-height: 1.75; margin-bottom: 16px; }
.about-text-col .btn-primary { margin-top: 8px; }

/* TESTIMONIALS */
.testimonials-section { background: var(--cream); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 8px; }

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--orange);
}
.stars { color: var(--orange); font-size: 1.1rem; margin-bottom: 14px; }
.testimonial-card p { color: var(--text-muted); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testimonial-author { font-weight: 700; color: var(--brown); font-size: 0.9rem; }

/* FAQ */
.faq-section { background: var(--green-light); }
.faq-container { max-width: 760px; }
.faq-list { margin-top: 8px; }

.faq-item {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-arrow { font-size: 1.4rem; color: var(--orange); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 24px 20px; }
.faq-item.open .faq-a { display: block; }
.faq-a p { color: var(--text-muted); line-height: 1.7; }

/* CONTACT */
.contact-section { background: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info .section-label { display: block; margin-bottom: 10px; }
.contact-info p { color: var(--text-muted); line-height: 1.75; margin-bottom: 24px; }
.contact-details { display: flex; flex-direction: column; gap: 10px; color: var(--text-muted); font-size: 0.95rem; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 700; font-size: 0.9rem; color: var(--brown); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e0d5cc;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--cream);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--orange); }
.form-success { display: none; color: var(--green); font-weight: 700; text-align: center; }
.form-success.visible { display: block; }

/* FOOTER */
.site-footer { background: var(--brown); color: rgba(255,255,255,0.8); }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding: 60px 24px 40px;
  max-width: 1140px;
  margin: 0 auto;
}
.footer-logo { width: 170px; height: 170px; border-radius: 90%; object-fit: cover; border: 2px solid var(--orange); margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer-nyambaka-logo {
  max-width: 100px;
  width: 100%;
  height: auto;
  display: block;
  margin-top: 10px;
  object-fit: contain;
}
.footer-links h4,
.footer-social h4 { color: var(--orange); font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 16px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--orange); }
.social-links { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.social-links a { font-size: 0.9rem; transition: color var(--transition); }
.social-links a:hover { color: var(--orange); }
.footer-notify p { font-size: 0.85rem; margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 20px 24px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .nutrition-layout, .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .about-img-col img { height: 280px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .nutrition-highlights { grid-template-columns: 1fr 1fr; }
  .video-section { height: 300px; }
}

/* ===========================
   AEERNY — Additions 2026
   WhatsApp Contact, Products grid update,
   Achievements Preview
   =========================== */

/* PRODUCTS GRID — single active + 2 image slots */

.product-card--image-slot {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.product-card--image-slot:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(61,31,0,0.15);
}
.product-img-wrap--tall {
  height: 550px;
}
.product-img-wrap--tall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CONTACT — centered WhatsApp layout */
.contact-section { background: var(--white); }
.contact-centered {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.contact-intro {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  font-size: 1rem;
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  margin-bottom: 36px;
}
.whatsapp-btn:hover {
  background: #1DA851;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
}
.contact-details-centered {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
  align-items: center;
}
.contact-detail-item { display: inline-block; }

/* ACHIEVEMENTS PREVIEW on home page */
.achievements-preview-section { background: var(--green-light); }
.achievements-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.achievement-preview-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-bottom: 4px solid var(--green);
}
.achievement-preview-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(61,31,0,0.13);
}
.achievement-preview-icon { font-size: 3rem; margin-bottom: 16px; display: block; }
.achievement-preview-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--brown);
  margin-bottom: 10px;
}
.achievement-preview-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .products-grid--single { grid-template-columns: 1fr; }
  .product-img-wrap--tall { height: 260px; }
}