/* ============================================
   GENSET CENTER - style.css
   ============================================ */

:root {
  --navy: #1a2a4a;
  --blue: #1e3c72;
  --accent: #e63946;
  --gold: #f4a261;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --text-dark: #212529;
  --text-muted: #6c757d;
  --radius: 12px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.07);
  --shadow: 0 4px 20px rgba(0,0,0,0.09);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.13);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a { text-decoration: none; }
.text-navy { color: var(--navy); }

/* ── Navbar ── */
.navbar-top {
  background: var(--white);
  padding: 10px 0;
  z-index: 1030;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.navbar-top .navbar-brand img {
  height: 52px;
  width: auto;
}
.navbar-top .nav-link {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 14px !important;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
.navbar-top .nav-link:hover,
.navbar-top .nav-item.active .nav-link {
  background: var(--blue);
  color: var(--white) !important;
}

/* ── Section Titles ── */
.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.title-underline {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 4px;
  margin-bottom: 10px;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 0.97rem;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Hero ── */
.hero-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, #2a6496 100%);
  padding: 72px 0 56px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -8%;
  width: 480px;
  height: 480px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}
.hero-section h1 {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.1rem;
}
.hero-section p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 1.8rem;
  line-height: 1.7;
}
.hero-images img {
  border-radius: var(--radius);
  width: 100%;
  will-change: transform;
  animation: floatY 4s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.btn-hero, .btn-hero2 {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.93rem;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-hero {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}
.btn-hero:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230,57,70,0.4);
}
.btn-hero2 {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.45);
}
.btn-hero2:hover {
  background: #25D366;
  border-color: #25D366;
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Tentang ── */
.tentang-section {
  padding: 80px 0;
  background: var(--white);
}
.tentang-section .desc {
  font-size: 0.97rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1rem;
}

/* ────────────────────────────────────────
   PRODUK — natural image ratio, no crop
──────────────────────────────────────── */
.produk-section {
  padding: 80px 0;
  background: var(--light-bg);
}
.produk-section .card {
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .28s, box-shadow .28s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
  height: 100%;
}
.produk-section .card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}
/* Natural ratio image wrapper — no fixed height crop */
.produk-section .card-img-wrap {
  width: 100%;
  overflow: hidden;
  background: #f0f2f5;
}
.produk-section .card-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform .35s;
}
.produk-section .card:hover .card-img-wrap img {
  transform: scale(1.04);
}
.produk-section .card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.produk-section .card-title {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.produk-section .card-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}
.btn-produk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: var(--white);
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.87rem;
  transition: background .25s, transform .25s, box-shadow .25s;
}
.btn-produk:hover {
  background: #128C7E;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37,211,102,0.38);
}

/* ── Mitra ── */
.mitra-section {
  padding: 68px 0;
  background: var(--white);
  text-align: center !important;
}
.mitra-section .section-title,
.mitra-section .title-underline,
.mitra-section .section-subtitle {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.mitra-logos-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.mitra-logo {
  height: 58px;
  width: auto;
  object-fit: contain;
}
.mitra-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.06);
}

/* ── CTA Banner ── */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #c1121f 100%);
  padding: 68px 0;
  text-align: center;
  color: var(--white);
}
.cta-section h2 {
  font-size: 1.85rem;
  font-weight: 900;
  margin-bottom: 10px;
}
.cta-section p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0 auto 1.8rem;
  max-width: 580px;
  line-height: 1.6;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  color: var(--accent);
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  transition: background .25s, color .25s, transform .25s, box-shadow .25s;
}
.btn-cta:hover {
  background: #25D366;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

/* ── Mengapa ── */
.mengapa-section {
  padding: 80px 0;
  background: var(--light-bg);
}
.featuredlist .feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(30,60,114,0.28);
}
.feature-title {
  font-weight: 800;
  color: var(--navy);
  font-size: 0.97rem;
  margin-bottom: 3px;
}
.feature-text {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.mengapa-img img { border-radius: 16px; }

/* ── Customer ── */
.customer-section {
  padding: 68px 0;
  background: var(--white);
}
.customer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.customer-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

/* ── E-Katalog ── */
.ekatalog-section {
  padding: 60px 0;
  background: #eef2f7;
}
.ekatalog-section img {
  max-width: 680px;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin: 20px auto 0;
}

/* ── Contact ── */
.contact-section {
  padding: 80px 0;
  background: var(--white);
}
.contact-wrap {
  background: var(--light-bg);
  border-radius: 16px;
  padding: 30px;
}
.contact-form label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 5px;
  display: block;
}
.contact-form .form-control {
  border: 2px solid #dee2e6;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.94rem;
  transition: border-color .22s;
  width: 100%;
}
.contact-form .form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,60,114,0.09);
  outline: none;
}
.btn-form {
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  font-weight: 800;
  padding: 13px 28px;
  border-radius: 50px;
  border: none;
  font-size: 0.94rem;
  width: 100%;
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.btn-form:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30,60,114,0.38);
  color: var(--white);
}

/* ────────────────────────────────────────
   FOOTER — logo original color (no invert)
──────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}
.footer-logo {
  margin-bottom: 16px;
}
.footer-logo img {
  height: 64px;        /* larger */
  width: auto;
  /* NO filter — show original logo colors */
  display: block;
}
footer p {
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-title {
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 14px;
}
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer ul li { margin-bottom: 8px; }
footer ul a {
  color: rgba(255,255,255,0.68);
  font-size: 0.9rem;
  transition: color .2s, padding-left .2s;
}
footer ul a:hover {
  color: var(--white);
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

/* ── WhatsApp Float ── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
}
.wa-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  font-size: 1.7rem;
  box-shadow: 0 6px 18px rgba(37,211,102,0.5);
  transition: background .25s, transform .25s;
  animation: pulse-wa 2.5s infinite;
}
.wa-float a:hover {
  background: #128C7E;
  transform: scale(1.1);
  color: var(--white);
}
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 6px 18px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 6px 28px rgba(37,211,102,0.75), 0 0 0 9px rgba(37,211,102,0.12); }
}

/* ────────────────────────────────────────
   MODAL FORM
──────────────────────────────────────── */
.modal-penawaran .modal-content {
  border: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}
.modal-penawaran .modal-header {
  background: linear-gradient(135deg, #1a2a4a, #1e3c72);
  color: #fff;
  border: none;
  padding: 20px 26px;
}
.modal-penawaran .modal-header .modal-title {
  font-weight: 900;
  font-size: 1.15rem;
}
.modal-penawaran .modal-header .btn-close {
  filter: invert(1);
  opacity: 0.8;
}
.modal-penawaran .modal-body {
  padding: 26px;
  background: #f8f9fa;
}
.modal-penawaran label {
  font-weight: 700;
  font-size: 0.88rem;
  color: #1a2a4a;
  margin-bottom: 5px;
  display: block;
}
.modal-penawaran .form-control {
  border: 2px solid #dee2e6;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.94rem;
  transition: border-color .22s;
  width: 100%;
}
.modal-penawaran .form-control:focus {
  border-color: #1e3c72;
  box-shadow: 0 0 0 3px rgba(30,60,114,0.09);
  outline: none;
}
.btn-modal-submit {
  background: linear-gradient(135deg, #1e3c72, #1a2a4a);
  color: #fff;
  font-weight: 800;
  padding: 13px 28px;
  border-radius: 50px;
  border: none;
  font-size: 0.94rem;
  width: 100%;
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
}
.btn-modal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30,60,114,0.38);
  color: #fff;
}
.modal-footer-note {
  font-size: 0.77rem;
  color: #aaa;
  text-align: center;
  margin-top: 10px;
}
.modal-footer-note i { color: #25D366; }

/* ────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────── */
@media (max-width: 991px) {
  .section-title { font-size: 1.7rem; }
}

@media (max-width: 767px) {
  .hero-section { padding: 48px 0 36px; }
  .hero-section h1 { font-size: 1.8rem; }
  .hero-images { margin-top: 28px; }
  .section-title { font-size: 1.5rem; }
  .tentang-section,
  .produk-section,
  .mengapa-section,
  .contact-section { padding: 56px 0; }
  .mitra-section,
  .customer-section { padding: 48px 0; }
  .cta-section { padding: 52px 0; }
  .cta-section h2 { font-size: 1.45rem; }
  .btn-hero, .btn-hero2 { padding: 10px 18px; font-size: 0.88rem; }
  .contact-wrap { padding: 22px 16px; }
  .footer-logo img { height: 52px; }
  .wa-float { bottom: 18px; right: 16px; }
  .wa-float a { width: 50px; height: 50px; font-size: 1.5rem; }
  .mitra-logo { height: 44px; }
  .customer-logo { height: 40px; }
}

@media (max-width: 480px) {
  .hero-section h1 { font-size: 1.55rem; }
  .hero-section p { font-size: 0.92rem; }
  .btn-hero, .btn-hero2 { padding: 9px 16px; font-size: 0.84rem; }
  .section-title { font-size: 1.35rem; }
}