/* ============================================
   Nutri-Dokter Foods – Premium Single-Page Website
   Dark, bold, food-tech aesthetic
   Updated with founder feedback & new assets
   ============================================ */

:root {
  --bg-primary: #0D0D0D;
  --bg-secondary: #1A1A1A;
  --bg-card: #222222;
  --accent: #FF4500;
  --accent-dark: #E63900;
  --text-primary: #FFFFFF;
  --text-secondary: #F5F0E8;
  --text-muted: #A0A0A0;
  --border: #333333;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Bebas Neue', Impact, sans-serif;
  --radius: 12px;
  --shadow: 0 20px 40px rgba(0,0,0,0.4);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 620px;
  margin-bottom: 3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 0 20px rgba(255, 69, 0, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.btn-outline:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.1rem 2.4rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* Header / Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.logo-img-sm {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-menu a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-menu a:not(.btn):hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* Hero – lighter overlay for 85-90% image visibility */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 13, 13, 0.25) 0%,
    rgba(13, 13, 13, 0.45) 50%,
    rgba(13, 13, 13, 0.70) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 2rem 1rem;
}

.badge {
  display: inline-block;
  background: rgba(255, 69, 0, 0.18);
  border: 1px solid var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.45;
  padding: 0.55rem 1.15rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 5.8rem);
  letter-spacing: 0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
  text-shadow: 0 3px 20px rgba(0,0,0,0.65);
}

.hero-sub {
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  color: var(--text-secondary);
  margin-bottom: 2.4rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Product range strip under Hero */
.product-strip {
  background: #fff;
  padding: 2.5rem 0;
}

.product-strip-img {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: block;
  height: auto;
  object-fit: contain;
}

/* Story / Timeline */
.story {
  background: var(--bg-secondary);
}

.heavy-chef-cta {
  margin: 0 0 3rem;
  max-width: 720px;
}

.heavy-chef-cta .btn {
  margin-bottom: 1.5rem;
}

.heavy-chef-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.heavy-chef-text strong {
  color: var(--accent);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.timeline-item.reverse {
  direction: rtl;
}

.timeline-item.reverse > * {
  direction: ltr;
}

.timeline-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #111;
}

.timeline-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.timeline-item.reverse .timeline-img img {
  object-fit: cover;
  padding: 0;
  background: #111;
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Founder */
.founder {
  background: var(--bg-primary);
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  align-items: center;
}

.founder-portrait {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid var(--accent);
  background: #fff;
}

.founder-portrait img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/5;
  object-position: top center;
}

.founder-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.founder-content blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-secondary);
  border-left: 4px solid var(--accent);
  padding-left: 1.25rem;
  margin: 1.25rem 0;
  line-height: 1.6;
}

.founder-bio {
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 1.75rem;
  font-size: 1.1rem;
}

.founder-contact .contact-detail {
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Products */
.products {
  background: var(--bg-secondary);
}

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

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(255, 69, 0, 0.15);
}

.product-card.featured {
  border-color: var(--accent);
}

.product-img {
  background: #f5f0e8;
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  display: block;
}

/* Lifestyle product decor shot */
.product-lifestyle {
  margin: 2.5rem auto 3rem;
  max-width: 900px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.product-lifestyle img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.28rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
  color: #fff;
  width: fit-content;
}

.product-badge.extreme { background: #c62828; }
.product-badge.hot { background: #e65100; }
.product-badge.medium { background: #f9a825; color: #111; }

.product-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}

.product-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
  flex: 1;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  letter-spacing: 0.03em;
  margin-bottom: 1.1rem;
}

.fun-fact {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  max-width: 720px;
  margin: 0 auto;
}

.fun-fact .emoji {
  font-size: 2rem;
  line-height: 1;
}

.fun-fact strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent);
}

.fun-fact p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Brand Pillars */
.pillars {
  background: var(--bg-primary);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.pillar-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: border-color var(--transition);
}

.pillar-card:hover {
  border-color: var(--accent);
}

.pillar-card h3 {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Wholesale */
.wholesale {
  background: linear-gradient(135deg, #1a0a00 0%, #0D0D0D 100%);
  text-align: center;
}

.wholesale-inner {
  max-width: 640px;
}

.wholesale p {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-pride {
  color: var(--accent) !important;
  font-weight: 500;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

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

.whatsapp-link {
  color: var(--accent);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.agency-credit a {
  color: var(--accent);
  font-weight: 500;
}

.agency-credit a:hover {
  text-decoration: underline;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
}

/* Responsive */
@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .logo-img {
    height: 44px;
  }

  .timeline-item,
  .timeline-item.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .timeline-img img {
    height: 280px;
  }

  .founder-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .founder-portrait {
    max-width: 300px;
    margin: 0 auto;
  }

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

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

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    padding: 1.5rem 0.5rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .fun-fact {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
}

@media (min-width: 1100px) {
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(13, 13, 13, 0.20) 0%,
      rgba(13, 13, 13, 0.38) 55%,
      rgba(13, 13, 13, 0.65) 100%
    );
  }
}
