:root {
  --blue-1: #2563eb;
  --blue-2: #38bdf8;
  --grad: linear-gradient(135deg, #2563eb, #38bdf8);
  --dark: #0f172a;
  --muted: #64748b;
  --light: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #f8fafc;
  color: var(--dark);
}

/* =====================
   NAVBAR
===================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  width: 100%;
}

/* CONTAINER */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.nav-logo img {
  height: 38px;
  display: block;
}

/* MENU */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu a {
  text-decoration: none;
  font-weight: 600;
  color: var(--dark);
  font-size: 15px;
}

/* CTA */
.nav-cta {
  padding: 10px 18px;
  background: #25D366;
  color: #fff !important;
  border-radius: 6px;
  font-weight: 600;
}

/* =====================
   MOBILE
===================== */
@media (max-width: 768px) {

  .nav-container {
    padding: 14px 16px;
  }

  .nav-logo img {
    height: 34px;
  }

  .nav-menu {
    gap: 16px;
  }

  .nav-menu a {
    font-size: 14px;
  }

  .nav-cta {
    padding: 8px 14px;
    font-size: 14px;
  }
}


/* HERO */
/* =========================
   HERO SLIDER EV PREMIUM
========================= */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: white;
}

/* SLIDE */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(15,23,42,.85),
    rgba(37,99,235,.55),
    rgba(56,189,248,.25)
  );
  z-index: 1;
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding-left: 80px;
  top: 50%;
  transform: translateY(-50%);
}

.hero-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  font-weight: 600;
  font-size: 14px;
}

.hero-content h1 {
  font-size: 52px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-content h1 strong {
  color: #38bdf8;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.7;
  opacity: .95;
}

/* CTA */
.hero-cta {
  display: inline-block;
  margin-top: 30px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 25px 50px rgba(34,197,94,.45);
  transition: .3s;
}

.hero-cta:hover {
  transform: translateY(-4px);
}

/* INDICATOR (LINE STYLE) */
.hero-indicator {
  position: absolute;
  bottom: 50px;
  left: 80px;
  display: flex;
  gap: 16px;
  z-index: 3;
}

.hero-indicator span {
  width: 50px;
  height: 3px;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: .4s;
}

.hero-indicator span.active {
  background: #38bdf8;
  box-shadow: 0 0 12px rgba(56,189,248,.8);
}

/* TEXT ANIMATION */
.hero-content h1,
.hero-content p,
.hero-badge {
  transition: opacity .6s ease, transform .6s ease;
}

.hero-text-hide {
  opacity: 0;
  transform: translateY(12px);
}

.hero-text-show {
  opacity: 1;
  transform: translateY(0);
}


/* TESTIMONI */
.testi img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

/* SALES */
.sales {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  align-items: center;
}

/* MAP */
iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: 16px;
  margin-top: 20px;
}

/* ANIMATION */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: .8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* =========================
   FUTURISTIC SHOWCASE (FINAL)
========================= */
.showcase {
  position: relative;
  padding: 80px 0 40px;
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #f1f5ff 45%,
    #ffffff 100%
  );
}

/* TRACK */
.showcase-track {
  display: flex;
  gap: 56px;
  padding-left: 80px;
  width: max-content;
  animation: showcaseLoop 45s linear infinite;
}

/* ITEM (BIGGER FRAME) */
.showcase-item {
  min-width: 500px;          /* ⬅️ LEBIH BESAR */
  height: 360px;             /* ⬅️ PROPORSIONAL */
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  transform: perspective(1200px) rotateY(-8deg);
  transition: .5s ease;
}

.showcase-item:hover {
  transform: perspective(1200px) rotateY(0deg) scale(1.06);
  z-index: 5;
}

/* IMAGE */
.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  box-shadow:
    0 35px 90px rgba(37,99,235,.25),
    inset 0 0 0 1px rgba(255,255,255,.35);
}

/* LOOP ANIMATION */
@keyframes showcaseLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* ANIMATION */
@keyframes scrollShowcase {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================
   GLOW DIVIDER (READABLE)
========================= */
.glow-divider {
  position: relative;
  margin: 72px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* AMBIENT GLOW LINE */
.glow-divider::before {
  content: "";
  position: absolute;
  width: 100%;
  max-width: 620px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(37,99,235,.45),
    transparent
  );
  filter: blur(1px);
}

/* TEXT PANEL */
.glow-divider span {
  position: relative;
  padding: 14px 36px;
  font-size: 1.15rem;       /* ⬅️ LEBIH BESAR */
  font-weight: 600;
  letter-spacing: .6px;
  color: #1e293b;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  box-shadow:
    0 10px 35px rgba(37,99,235,.18),
    inset 0 0 0 1px rgba(37,99,235,.25);
  z-index: 1;
}

/* =========================
   SALES PROFILE (PREMIUM)
========================= */
.sales-section {
  padding: 80px 20px;
}

.sales-card {
  max-width: 980px;              /* ⬅️ LEBIH BESAR */
  margin: auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding: 48px;
  border-radius: 32px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px);
  box-shadow:
    0 40px 80px rgba(37,99,235,.18),
    inset 0 0 0 1px rgba(37,99,235,.18);
}

/* FOTO */
.sales-photo {
  width: 100%;
  height: 280px;                 /* ⬅️ SESUAI REQUEST */
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.sales-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;             /* ⬅️ RASIO 3:4 */
  border-radius: 24px;
  filter: contrast(1.05) saturate(1.05);
  transition: .4s ease;
}

.sales-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
}

.sales-card:hover .sales-photo img {
  transform: scale(1.05);
}

/* INFO */
.sales-info h2 {
  font-size: 32px;
  margin-bottom: 8px;
}

.sales-role {
  font-weight: 600;
  color: #2563eb;
  margin-bottom: 14px;
}

.sales-desc {
  color: #475569;
  line-height: 1.7;
}

/* BADGE */
.sales-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(
    135deg,
    rgba(37,99,235,.15),
    rgba(56,189,248,.15)
  );
  color: #2563eb;
}

/* CTA */
.sales-cta {
  display: inline-block;
  margin-top: 28px;
  padding: 16px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 20px 45px rgba(34,197,94,.45);
  transition: .3s;
}

.sales-cta:hover {
  transform: translateY(-4px);
}

/* FLOATING WA */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  padding: 16px 22px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 20px 40px rgba(34,197,94,.45);
  animation: pulse 2.5s infinite;
  z-index: 999;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); }
  70% { box-shadow: 0 0 0 18px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.hero-sub {
  margin-top: 14px;
  font-size: 18px;
  opacity: .9;
  max-width: 520px;
}

html {
  scroll-behavior: smooth;
}


/* =========================
   NAVBAR BASE
========================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  transition: all .4s ease;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.nav-logo img {
  height: 36px;
  transition: opacity .3s ease, transform .3s ease;
}

.logo-dark {
  display: none;
}

/* MENU */
.nav-menu {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color .3s ease;
}

/* HOVER UNDERLINE ANIMATION */
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #2563eb);
  transition: width .3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* CTA BUTTON */
.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white !important;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(34,197,94,.35);
  transition: transform .3s ease, box-shadow .3s ease;
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 40px rgba(34,197,94,.45);
}

/* =========================
   TRANSPARENT (HERO)
========================= */
.navbar.transparent {
  background: transparent;
}

/* =========================
   SCROLLED (OTHER SECTION)
========================= */
.navbar.scrolled {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(15,23,42,.12);
}

.navbar.scrolled .nav-menu a {
  color: #0f172a;
}

.navbar.scrolled .nav-menu a::after {
  background: linear-gradient(90deg, #2563eb, #38bdf8);
}

/* SWITCH LOGO */
.navbar.scrolled .logo-light {
  display: none;
}

.navbar.scrolled .logo-dark {
  display: block;
}

.nav-menu a:active {
  transform: scale(.96);
}

/* =======================
   MODELS SECTION FIX
======================= */

.models-section{
  background:#fff;
  padding:80px 6%;
}

.models-header{
  margin-bottom:40px;
}

.models-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:32px;
}

.model-card{
  background:#ffffff;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  transition:.3s ease;
}

.model-card:hover{
  transform:translateY(-6px);
}

.model-card img{
  width:100%;
  height:200px;
  object-fit:cover;
}

.model-card h3{
  padding:16px 16px 4px;
  font-size:18px;
}

.model-card p{
  padding:0 16px;
  font-size:14px;
  color:#666;
}

.model-card .price{
  display:block;
  padding:8px 16px;
  font-weight:600;
}

.model-card button{
  margin:16px;
  width:calc(100% - 32px);
  padding:12px;
  border:none;
  border-radius:10px;
  background:#000;
  color:#fff;
  cursor:pointer;
}

/* OFFSET AGAR KONTEN TIDAK KETIBAN NAVBAR */
.page-model {
  padding-top: 90px; /* sesuaikan tinggi navbar */
}

/* =========================
   FOOTER – DEALER (FINAL)
========================= */

.dealer-footer {
  background: linear-gradient(
    180deg,
    #81A4CB 0%,
    #1F538E 55%,
    #0B457F 100%
  );
  color: #dbeafe;
  position: relative;
  z-index: 1;
}

/* INNER */
.dealer-footer-inner {
  max-width: 1200px;
  margin: auto;
  padding: 72px 24px 56px;
  display: grid;
  grid-template-columns: 2.2fr 1.3fr 1fr;
  gap: 48px;
}

/* =========================
   MAP
========================= */
.dealer-map h3 {
  font-size: 22px;
  margin-bottom: 16px;
}

.dealer-map iframe {
  width: 100%;
  height: 320px;
  border-radius: 16px;
  border: none;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}

/* =========================
   INFO
========================= */
.dealer-info h4 {
  font-size: 20px;
  margin-bottom: 12px;
}

.dealer-info p {
  line-height: 1.7;
  color: #e0e7ff;
}

.dealer-contact {
  margin-top: 16px;
}

.dealer-contact a {
  color: #93c5fd;
  font-weight: 600;
  text-decoration: none;
}

/* =========================
   SOCIAL
========================= */
.dealer-social h4 {
  font-size: 18px;
  margin-bottom: 16px;
}

.dealer-social-icons {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}

.dealer-social-icons a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  transition: .3s;
}

.dealer-social-icons img {
  width: 20px;
  filter: invert(1);
}

.dealer-social-icons a:hover {
  background: #2563eb;
  transform: translateY(-4px);
}

/* WA BUTTON */
.dealer-wa-btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(34,197,94,.45);
}

/* =========================
   FOOTER BOTTOM NAV
========================= */
.dealer-footer-bottom {
  padding: 28px 16px;
}

.dealer-footer-bottom nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.dealer-footer-bottom nav a {
  font-size: 14px;
  font-weight: 600;
  color: #dbeafe;
  text-decoration: none;
  position: relative;
}

.dealer-footer-bottom nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #60a5fa, #2563eb);
  transition: .25s;
}

.dealer-footer-bottom nav a:hover::after {
  width: 100%;
}

/* =========================
   FLOATING WA
========================= */
.wa-float-global {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 20px 45px rgba(34,197,94,.45);
  transition: .3s;
}

.wa-float-global:hover {
  transform: translateY(-4px) scale(1.04);
}

/* =========================
   RESPONSIVE MOBILE
========================= */
@media (max-width: 768px) {

  .dealer-footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 56px 20px 40px;
  }

  .dealer-map iframe {
    height: 240px;
  }

  .dealer-footer-bottom nav {
    gap: 14px;
  }

  .wa-float-global {
    right: 16px;
    bottom: 16px;
    padding: 12px 18px;
    font-size: 14px;
  }
}
