/* Public Website Styles - Putra Arimbi */
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.top-bar {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  padding: 7px 16px;
  font-weight: 500;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.03em; color: var(--primary); }
.brand img { width: 34px; height: 34px; border-radius: 7px; object-fit: cover; flex-shrink: 0; }
.brand span { font-size: 0.98rem; line-height: 1; }

.nav-links { display: flex; align-items: center; justify-content: center; gap: 28px; }
.nav-links a {
  font-size: 0.89rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

.nav-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.nav-search-btn {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid transparent; background: transparent;
  color: var(--text); cursor: pointer;
}
.nav-search-btn svg, .mobile-toggle svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav-search-btn:hover { background: var(--bg); color: var(--primary); }
.mobile-toggle {
  display: none; width: 36px; height: 36px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--border-strong); border-radius: 8px;
  cursor: pointer; color: var(--text);
}

/* Quick search bar */
.quick-search-bar {
  display: none;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.quick-search-bar.open { display: block; }
.quick-search-form { display: flex; gap: 8px; max-width: 560px; margin: 0 auto; }

/* Hero matching reference mockup */
.hero { padding: 24px 0 0; }
.hero-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  background: var(--primary);
  box-shadow: var(--shadow-md);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(102deg, #163728 0%, #163728 44%, rgba(22, 55, 40, 0.88) 54%, rgba(22, 55, 40, 0.14) 78%, rgba(22, 55, 40, 0.04) 100%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 540px;
  padding: 46px 42px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-copy h1 { margin: 0; font-size: clamp(1.75rem, 3.1vw, 2.35rem); line-height: 1.18; font-weight: 700; letter-spacing: -0.015em; }
.hero-copy p { margin: 0; color: rgba(255, 255, 255, 0.88); font-size: 0.94rem; line-height: 1.55; max-width: 450px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.btn-hero-light { background: #fff; color: var(--primary); border-radius: 999px; padding: 10px 20px; }
.btn-hero-light:hover { background: #EFECE6; }
.btn-hero-outline { background: rgba(24, 59, 43, 0.45); color: #fff; border-color: rgba(255, 255, 255, 0.65); border-radius: 999px; padding: 10px 20px; }
.btn-hero-outline:hover { background: rgba(255, 255, 255, 0.16); }

/* Value Props strip (clean outline icons without boxed badges, matching reference mockup) */
.values-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0 22px;
  border-right: 1px solid var(--border);
}
.value-item:first-child { padding-left: 0; }
.value-item:last-child { border-right: none; padding-right: 0; }
.value-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.value-icon svg { width: 24px; height: 24px; flex-shrink: 0; }
.value-item h3 { margin: 0 0 3px; font-size: 0.93rem; font-weight: 600; color: var(--text); }
.value-item p { margin: 0; font-size: 0.81rem; color: var(--text-muted); line-height: 1.48; }

/* Sections */
.section { padding: 34px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.section-head h2 { margin: 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; }
.section-link { font-size: 0.85rem; font-weight: 600; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; }
.section-link:hover { text-decoration: underline; }

/* Grids */
.grid-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* Category Card */
.cat-card { overflow: hidden; transition: transform 0.16s ease, box-shadow 0.16s ease; display: flex; flex-direction: column; }
.cat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.cat-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #EAE4D8; }
.cat-card-body { padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; font-size: 0.88rem; }

/* Product Card */
.prod-card { overflow: hidden; display: flex; flex-direction: column; transition: transform 0.16s ease, box-shadow 0.16s ease; }
.prod-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.prod-thumb { position: relative; aspect-ratio: 4/3; background: #EAE4D8; overflow: hidden; }
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.prod-card:hover .prod-thumb img { transform: scale(1.03); }
.prod-cat-tag {
  position: absolute; top: 10px; left: 10px;
  background: rgba(255, 255, 255, 0.94); color: var(--primary);
  padding: 3px 9px; border-radius: 6px; font-size: 0.72rem; font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.prod-body { padding: 14px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.prod-body h3 {
  margin: 0; font-size: 0.95rem; font-weight: 700; line-height: 1.32;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.prod-body p {
  margin: 0; font-size: 0.8125rem; color: var(--text-muted); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.prod-body .btn { width: 100%; margin-top: 8px; }

/* Compact related product card matching mockup 03 Detail Produk */
.related-card { overflow: hidden; transition: transform 0.16s ease, box-shadow 0.16s ease; }
.related-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.related-card .prod-thumb { aspect-ratio: 16/10; }
.related-card-foot { padding: 11px 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 0.87rem; font-weight: 600; }

/* About split on homepage */
.about-split { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; border: none; }
.about-split img { width: 100%; height: 100%; min-height: 250px; object-fit: cover; }
.about-split-copy { background: var(--primary); color: #fff; padding: 36px 38px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.about-split-copy h2 { margin: 0; font-size: 1.45rem; }
.about-split-copy p { margin: 0; color: rgba(255, 255, 255, 0.86); font-size: 0.9rem; line-height: 1.62; }

/* CTA Banner matching mockup */
.cta-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 26px; background: var(--surface-sand); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.cta-bar-left { display: flex; align-items: center; gap: 14px; }
.cta-bar h3 { margin: 0 0 2px; font-size: 1rem; font-weight: 700; color: var(--text); }
.cta-bar p { margin: 0; font-size: 0.84rem; color: var(--text-muted); }

/* Catalog Controls */
.breadcrumb { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 10px; }
.breadcrumb a:hover { color: var(--primary); }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; }
.page-head h1 { margin: 0 0 4px; font-size: 1.7rem; letter-spacing: -0.015em; }
.page-head p { margin: 0; color: var(--text-muted); font-size: 0.9rem; }
.search-wrap { position: relative; width: 100%; max-width: 310px; }
.search-wrap input { padding-right: 36px; border-radius: 10px; }
.search-wrap svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--text-muted); pointer-events: none; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pill {
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: var(--surface); font-size: 0.825rem; font-weight: 500; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.pill.active, .pill:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.catalog-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; font-size: 0.84rem; color: var(--text-muted); }

/* Pagination */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 28px; }
.page-btn {
  min-width: 34px; height: 34px; padding: 0 10px;
  border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
  background: var(--surface); cursor: pointer; font-size: 0.84rem; font-weight: 500;
}
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* Product Detail */
.detail-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 32px; align-items: start; }
.gallery-main { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: #EAE4D8; aspect-ratio: 4/3; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.gallery-thumbs button {
  width: 76px; height: 58px; padding: 0; border-radius: 8px; overflow: hidden;
  border: 2px solid transparent; cursor: pointer; background: #EAE4D8;
}
.gallery-thumbs button.active { border-color: var(--primary); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.specs-table { width: 100%; border-collapse: collapse; margin: 12px 0 22px; font-size: 0.875rem; background: var(--surface); border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); }
.specs-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.specs-table tr:last-child td { border-bottom: none; }
.specs-table td:first-child { font-weight: 600; color: var(--text); width: 42%; background: var(--surface-alt); }
.specs-table td:last-child { color: var(--text-muted); }

.wa-box { background: var(--primary-soft); border: 1px solid #C5DFD0; border-radius: var(--radius-lg); padding: 18px; }
.wa-box-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.wa-box-icon {
  width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.wa-box-icon svg { width: 19px; height: 19px; flex-shrink: 0; }
.wa-box h3 { margin: 0 0 2px; font-size: 0.95rem; color: var(--primary); }
.wa-box p { margin: 0; font-size: 0.82rem; color: var(--text-muted); }

/* Value Photo Cards on Tentang Kami */
.nilai-card { overflow: hidden; }
.nilai-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #EAE4D8; }
.nilai-card-body { padding: 16px; }
.nilai-card-body h3 { margin: 0 0 6px; font-size: 1rem; color: var(--primary); }
.nilai-card-body p { margin: 0; font-size: 0.84rem; color: var(--text-muted); }

/* Contact & Map */
.contact-card { padding: 18px; display: flex; align-items: flex-start; gap: 14px; }
.contact-card + .contact-card { margin-top: 12px; }
.contact-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--surface-sand); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; flex-shrink: 0; }
.contact-icon-wa { background: var(--primary); color: #fff; }
.map-frame-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
}
.map-frame-wrap iframe { width: 100%; flex: 1; min-height: 260px; border: 0; }
.map-frame-foot {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Footer matching reference mockup with strict icon alignment */
.site-footer { background: var(--primary); color: rgba(255, 255, 255, 0.85); margin-top: 48px; padding: 42px 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1.3fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-col h4 { margin: 0 0 10px; color: #fff; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.01em; }
.footer-col p { margin: 0; font-size: 0.82rem; color: rgba(255, 255, 255, 0.78); line-height: 1.58; }
.footer-brand-desc { margin-top: 10px; max-width: 240px; }
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.88);
  padding: 2px 0;
  transition: color 0.15s ease;
}
.footer-contact-link svg { width: 15px; height: 15px; flex-shrink: 0; opacity: 0.85; }
.footer-contact-link:hover { color: #fff; }
.footer-hours { white-space: pre-line; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.68);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-socials { display: flex; align-items: center; gap: 8px; }
.footer-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.15s ease, color 0.15s ease;
}
.footer-social-btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.footer-social-btn:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }

@media (max-width: 960px) {
  .about-split, .detail-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-overlay { background: linear-gradient(180deg, rgba(22, 55, 40, 0.92) 0%, rgba(22, 55, 40, 0.82) 65%, rgba(22, 55, 40, 0.55) 100%); }
}
@media (max-width: 760px) {
  .nav-inner { grid-template-columns: auto auto; }
  .nav-links {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start;
    padding: 14px 20px; gap: 12px;
  }
  .nav-links.open { display: flex; }
  .mobile-toggle { display: inline-flex; }
  .values-strip, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .value-item { padding: 14px 0; border-right: none; border-bottom: 1px solid var(--border); }
  .value-item:last-child { border-bottom: none; }
  .hero-copy { padding: 28px 22px; }
  .cta-bar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
}
