/* ============================================
   NUSANTARA HAI COCOA — style.css
   Design: Warm Cream × Chocolate Brown (PDF Match)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --brown-dark:   #3B1A08;
  --brown-mid:    #6B3A1F;
  --brown-light:  #A0622A;
  --gold:         #C49A3C;
  --gold-light:   #E8C97A;
  --cream:        #FDF6EC;
  --cream-2:      #F5E9D8;
  --cream-3:      #EDD9BB;
  --warm-white:   #FFFCF7;
  --text-dark:    #2C1206;
  --text-mid:     #5C3A1E;
  --text-light:   #8B6240;
  --border:       rgba(107,58,31,0.15);
  --shadow:       0 4px 24px rgba(59,26,8,0.1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--text-dark);
  overflow-x: hidden;
  font-size: 15px;
  line-height: 1.65;
}

/* ── NAVBAR ─────────────────────────────── */
.navbar {
  background: rgba(59,26,8,0.97) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196,154,60,0.25);
  padding: 14px 0;
  transition: all 0.3s;
}
.navbar-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-light) !important;
  letter-spacing: 1px;
}
.navbar-brand i { color: var(--gold); margin-right: 8px; }
.navbar-toggler {
  border-color: rgba(196,154,60,0.5) !important;
  padding: 4px 8px;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28232,201,122,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
.nav-link {
  color: rgba(255,255,255,0.8) !important;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 14px !important;
  letter-spacing: 0.3px;
  transition: color 0.25s;
}
.nav-link:hover, .nav-link.active { color: var(--gold-light) !important; }

/* ── BUTTONS ─────────────────────────────── */
.btn-primary-brown {
  display: inline-block;
  background: var(--brown-dark);
  color: var(--gold-light);
  border: 2px solid var(--brown-dark);
  padding: 13px 30px;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}
.btn-primary-brown:hover {
  background: var(--brown-mid);
  border-color: var(--brown-mid);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,26,8,0.25);
}
.btn-outline-brown {
  display: inline-block;
  background: transparent;
  color: var(--brown-dark);
  border: 2px solid var(--brown-dark);
  padding: 11px 30px;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-outline-brown:hover {
  background: var(--brown-dark);
  color: var(--gold-light);
}
.btn-submit {
  width: 100%; padding: 14px;
  background: var(--brown-dark);
  color: var(--gold-light);
  border: none; border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600; font-size: 0.9rem;
  letter-spacing: 0.5px; cursor: pointer;
  transition: all 0.3s;
}
.btn-submit:hover {
  background: var(--brown-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59,26,8,0.2);
}

/* ── HERO ────────────────────────────────── */
.hero-section {
  min-height: 100svh;
  background: linear-gradient(rgba(59,26,8,0.78), rgba(59,26,8,0.72)),
              url("asset/hero1.jpg") center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 110px 20px 80px;
  position: relative;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(59,26,8,0.5) 0%, transparent 70%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 760px; margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold-light);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: ""; display: block;
  width: 32px; height: 1px;
  background: var(--gold);
}
.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--gold-light);
}
.hero-content p {
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.8;
  font-weight: 300;
}
.hero-btns {
  display: flex; gap: 14px;
  justify-content: center; flex-wrap: wrap;
}
.hero-scroll {
  margin-top: 56px;
  color: rgba(255,255,255,0.4);
  font-size: 1.1rem;
  animation: bounce 2.2s ease-in-out infinite;
}
@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ── STATS BAR ───────────────────────────── */
.stats-bar {
  background: var(--brown-dark);
  padding: 32px 0;
}
.stat-item {
  text-align: center;
  padding: 12px 8px;
  border-right: 1px solid rgba(196,154,60,0.2);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-top: 5px;
}

/* ── SECTION COMMONS ─────────────────────── */
section { padding: 72px 0; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--brown-light);
  font-size: 0.7rem; letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-eyebrow::before {
  content: ""; display: block;
  width: 28px; height: 1px;
  background: var(--gold);
}
.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700;
  color: var(--brown-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-heading em { font-style: italic; color: var(--brown-light); }
.section-desc {
  color: var(--text-light);
  font-size: 0.92rem;
  max-width: 520px;
}
.divider-line {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 20px;
}

/* ── ABOUT SECTION ───────────────────────── */
.about-section { background: var(--cream); }
.about-img-wrap { position: relative; border-radius: 8px; overflow: hidden; }
.about-img {
  width: 100%; height: 300px;
  object-fit: cover; border-radius: 8px;
  display: block;
  border: 3px solid var(--cream-3);
}
.about-img-badge {
  position: absolute; bottom: 16px; left: 16px;
  background: var(--brown-dark);
  color: var(--gold-light);
  padding: 8px 16px; border-radius: 4px;
  font-size: 0.78rem; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.about-body-text {
  color: var(--text-mid);
  line-height: 1.9;
  font-size: 0.95rem;
}
.value-list { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.value-item { display: flex; gap: 14px; align-items: flex-start; }
.value-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--brown-dark);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-size: 1rem;
  flex-shrink: 0;
}
.value-title {
  font-weight: 600; color: var(--brown-dark);
  font-size: 0.92rem; margin-bottom: 3px;
}
.value-desc { font-size: 0.83rem; color: var(--text-light); line-height: 1.55; }

/* ── WHY CHOOSE US ───────────────────────── */
.why-section { background: var(--warm-white); }
.why-card {
  background: var(--cream);
  border: 1px solid var(--cream-3);
  border-radius: 10px;
  padding: 28px 22px;
  height: 100%;
  transition: all 0.35s;
  position: relative; overflow: hidden;
}
.why-card::after {
  content: "";
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brown-dark), var(--gold));
  opacity: 0; transition: opacity 0.3s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(59,26,8,0.12); }
.why-card:hover::after { opacity: 1; }
.why-icon {
  width: 56px; height: 56px;
  background: var(--brown-dark);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--gold-light);
  margin-bottom: 18px;
}
.why-card h5 { font-weight: 600; color: var(--brown-dark); font-size: 0.95rem; margin-bottom: 10px; }
.why-card p { color: var(--text-light); font-size: 0.85rem; line-height: 1.65; margin: 0; }

/* ── CORE VALUES (4 CARDS INLINE) ────────── */
.core-section {
  background: var(--cream-2);
  padding: 72px 0;
}
.core-card {
  background: var(--warm-white);
  border: 1px solid var(--cream-3);
  border-radius: 10px;
  padding: 28px 20px;
  height: 100%;
  text-align: center;
}
.core-icon {
  width: 56px; height: 56px;
  background: var(--brown-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--gold-light);
  margin: 0 auto 16px;
}
.core-card h6 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--brown-dark); margin-bottom: 10px;
}
.core-card p { color: var(--text-light); font-size: 0.82rem; line-height: 1.65; margin: 0; }

/* ── PRODUCTS ─────────────────────────────── */
.products-section { background: var(--warm-white); }
.product-card {
  background: var(--cream);
  border: 1px solid var(--cream-3);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.35s;
  height: 100%;
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(59,26,8,0.13);
  border-color: var(--brown-light);
}
.product-img-wrap {
  background: #000;
  height: 160px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 0.5s;
  background-color: white;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-body {
  padding: 16px 16px 18px;
  flex: 1; display: flex; flex-direction: column;
}
.product-brand {
  font-size: 0.68rem; color: var(--brown-light);
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 4px;
}
.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--brown-dark); margin-bottom: 10px;
}
.product-spec { font-size: 0.78rem; color: var(--text-light); line-height: 1.75; flex: 1; }
.product-spec b { color: var(--brown-mid); }
.product-moq {
  margin-top: 12px; padding-top: 10px;
  border-top: 1px solid var(--cream-3);
  font-size: 0.75rem; color: var(--text-light);
  display: flex; align-items: center; gap: 6px;
}
.product-moq b { color: var(--brown-dark); font-size: 0.85rem; }
.product-moq i { color: var(--gold); }
.product-cta-card {
  background: var(--brown-dark);
  border: none;
}
.product-cta-inner {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  height: 100%; min-height: 260px;
  text-align: center; padding: 24px 16px;
}
.product-cta-inner i { font-size: 2.2rem; color: var(--gold-light); margin-bottom: 14px; }
.product-cta-inner h6 { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: #fff; margin-bottom: 8px; }
.product-cta-inner p { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-bottom: 18px; }

/* ── PROCESS ─────────────────────────────── */
.process-section { background: var(--brown-dark); }
.process-section .section-heading { color: var(--gold-light); }
.process-section .section-eyebrow { color: var(--gold); }
.process-section .section-eyebrow::before { background: var(--gold); }
.process-section .divider-line { background: linear-gradient(90deg, var(--gold), transparent); }

/* Desktop: horizontal row */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.process-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(196,154,60,0.2);
  border-radius: 10px;
  padding: 28px 20px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: all 0.3s;
}
.process-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(196,154,60,0.4); }
.process-num {
  width: 52px; height: 52px; min-width: 52px;
  background: linear-gradient(135deg, var(--gold), var(--brown-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 700; color: var(--brown-dark);
}
.process-body h5 {
  font-weight: 600; color: var(--gold-light);
  font-size: 0.95rem; margin-bottom: 6px;
}
.process-body p { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin: 0; line-height: 1.6; }

/* ── CERTIFICATION ───────────────────────── */
.cert-section { background: var(--cream-2); }
.cert-card {
  background: var(--warm-white);
  border: 1px solid var(--cream-3);
  border-radius: 12px;
  padding: 28px 16px;
  text-align: center; height: 100%;
  transition: all 0.3s;
}
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(59,26,8,0.1);
  border-color: var(--brown-light);
}
.cert-card img {
  height: 68px; object-fit: contain;
  margin-bottom: 14px; display: block; margin-left: auto; margin-right: auto;
}
.cert-card h6 { font-weight: 600; color: var(--brown-dark); font-size: 0.9rem; margin-bottom: 4px; }
.cert-card p { color: var(--text-light); font-size: 0.78rem; margin: 0; }

/* ── CONTACT ─────────────────────────────── */
.contact-section { background: var(--cream); }
.contact-form-wrap {
  background: var(--warm-white);
  border: 1px solid var(--cream-3);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.contact-form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--brown-dark); margin-bottom: 20px;
}
.form-label {
  color: var(--text-mid); font-size: 0.8rem;
  font-weight: 500; margin-bottom: 5px;
}
.form-control {
  background: var(--cream) !important;
  border: 1px solid var(--cream-3) !important;
  color: var(--text-dark) !important;
  border-radius: 5px;
  padding: 11px 14px;
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.3s;
}
.form-control:focus {
  background: var(--warm-white) !important;
  border-color: var(--brown-mid) !important;
  box-shadow: 0 0 0 3px rgba(107,58,31,0.1) !important;
  color: var(--text-dark) !important;
}
.form-control::placeholder { color: rgba(92,58,30,0.4) !important; }
textarea.form-control { resize: none; }

.contact-info-card {
  background: var(--brown-dark);
  border-radius: 12px;
  padding: 28px 24px;
  height: 100%;
}
.contact-info-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--gold-light); margin-bottom: 24px;
}
.contact-item {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 22px;
}
.contact-icon {
  width: 42px; height: 42px; min-width: 42px;
  background: rgba(196,154,60,0.15);
  border: 1px solid rgba(196,154,60,0.3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-size: 0.95rem;
}
.contact-item h6 {
  color: var(--gold-light); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px;
}
.contact-item p { color: rgba(255,255,255,0.65); font-size: 0.87rem; line-height: 1.55; margin: 0; }
.whatsapp-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #25D366; color: #fff;
  padding: 13px; border-radius: 6px;
  text-decoration: none; font-weight: 600;
  font-size: 0.88rem; transition: all 0.3s; margin-top: 8px;
}
.whatsapp-btn:hover { background: #1da851; color: #fff; }
.whatsapp-btn i { font-size: 1.1rem; }

/* ── FOOTER ──────────────────────────────── */
footer {
  background: var(--brown-dark);
  border-top: 1px solid rgba(196,154,60,0.2);
  padding: 36px 0;
  text-align: center;
}
.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-light); font-size: 1.15rem;
  font-weight: 700; margin-bottom: 6px;
}
.footer-sub { color: rgba(255,255,255,0.4); font-size: 0.8rem; margin-bottom: 4px; }
.footer-copy { color: rgba(255,255,255,0.28); font-size: 0.75rem; }

/* ── FLOATING WA ─────────────────────────── */
.wa-float {
  position: fixed; bottom: 24px; right: 20px;
  width: 54px; height: 54px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  z-index: 999; transition: transform 0.3s;
  animation: wa-pulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.1); color: #fff; }
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 30px rgba(37,211,102,0.65); }
}

/* ── SCROLL REVEAL ───────────────────────── */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── MOBILE FIRST → TABLET ───────────────── */
@media (min-width: 576px) {
  section { padding: 88px 0; }
  .about-img { height: 360px; }
  .product-img-wrap { height: 180px; }
}

/* ── DESKTOP ─────────────────────────────── */
@media (min-width: 992px) {
  section { padding: 100px 0; }
  .about-img { height: 440px; }
  .product-img-wrap { height: 200px; }
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .process-card { flex-direction: column; align-items: flex-start; }
  .navbar-collapse { padding-top: 0; }
}

/* ── EXTRAS ──────────────────────────────── */
.btn-outline-hero {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
  padding: 11px 30px;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-outline-hero:hover { background: rgba(255,255,255,0.15); color: #fff; }

.section-eyebrow.justify-content-center,
.section-eyebrow { display: inline-flex; }
.justify-content-center.section-eyebrow { display: flex; }
