/* =====================================================
   MODEL PAGES STYLES
   File : model.css
   Scope: /models/*
===================================================== */

/* =========================
   HERO MODEL (HALF HEIGHT)
========================= */

.hero-model{
  position: relative;
  height: 65vh;
  min-height: 420px;
  width: 100%;
  overflow: hidden;
  background-color: #000;
}

/* BACKGROUND IMAGE */
.hero-model-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* OVERLAY (reuse style index) */
.hero-model .hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.55)
  );
  z-index: 2;
}

/* CONTENT */
.hero-model .hero-content{
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 24px 0;
  color: #fff;

  /* NEW
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right; */
}

/* BADGE */
.hero-model .hero-badge{
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
}

/* TITLE */
.hero-model h1{
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-model h1 strong{
  font-weight: 700;
}

/* DESCRIPTION */
.hero-model p{
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 28px;

  /* NEW
  margin-left: auto; */
}

/* CTA BUTTON */
.hero-model .hero-cta{
  display: inline-block;
  padding: 14px 28px;
  background: #1fbf75; /* hijau WA */
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all .3s ease;
}

.hero-model .hero-cta:hover{
  background: #18a966;
  transform: translateY(-2px);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px){
  .hero-model .hero-content{
    padding-top: 120px;
  }
}

@media (max-width: 768px){
  .hero-model{
    height: 65vh;
  }

  .hero-model .hero-content{
    padding-top: 110px;
  }

  .hero-model h1{
    font-size: 34px;
  }
}

@media (max-width: 480px){
  .hero-model{
    min-height: 380px;
  }

  .hero-model p{
    font-size: 15px;
  }
}

/* =========================
   MODEL OVERVIEW
========================= */

.model-overview{
  padding: 100px 0;
  background: #fff;
}

.model-overview .container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 86px;
  align-items: center;
}

/* IMAGE */
.overview-image img{
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* CONTENT */
.overview-content .section-label{
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #38BDF8;
}

.overview-content h2{
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.15;
  margin-bottom: 20px;
}

.overview-content h2 strong{
  font-weight: 700;
}

.overview-content p{
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 16px;
  max-width: 520px;
}

/* CTA */
.overview-cta{
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  background: #1fbf75;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all .3s ease;
}

.overview-cta:hover{
  background: #18a966;
  transform: translateY(-2px);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px){
  .model-overview .container{
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .overview-content p{
    max-width: 100%;
  }
}

/* =========================
   MODEL FEATURES
========================= */

.model-features{
  padding: 80px 0;
  background: #fff;
}

/* CONTAINER WIDTH CONTROL */
.model-features .container{
  max-width: 1200px;
  padding: 0 24px;
  margin: 0 auto;
}

/* =========================
   SECTION HEADER
========================= */

.model-features .section-header{
  max-width: 620px;
  margin-bottom: 48px;
}

.model-features .section-label{
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #38BDF8;
}

.model-features .section-header h2{
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.2;
  margin-bottom: 0;
}

.model-features .section-header h2 strong{
  font-weight: 700;
}

/* =========================
   FEATURE CARD
========================= */

.feature-card{
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4 / 5;
  background: #000;
}

/* IMAGE */
.feature-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

/* OVERLAY */
.feature-card::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.65),
    rgba(0,0,0,.2),
    rgba(0,0,0,0)
  );
  z-index: 1;
}

/* FEATURE TITLE */
.feature-title{
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  z-index: 2;

  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;

  text-shadow:
    0 4px 10px rgba(0,0,0,.4),
    0 1px 2px rgba(0,0,0,.6);
}

/* HOVER (SUBTLE) */
.feature-card:hover img{
  transform: scale(1.06);
}
/* =========================
   FEATURE SLIDER
========================= */

.feature-slider{
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;

  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.feature-slider::-webkit-scrollbar{
  height: 6px;
}

.feature-slider::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.15);
  border-radius: 10px;
}

/* =========================
   FEATURE CARD
========================= */

.feature-card{
  flex: 0 0 280px;
  aspect-ratio: 4 / 5;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  scroll-snap-align: start;
}

/* IMAGE */
.feature-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

/* OVERLAY */
.feature-card::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.65),
    rgba(0,0,0,.2),
    rgba(0,0,0,0)
  );
  z-index: 1;
}

/* TITLE */
.feature-title{
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;

  font-size: 16px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;

  text-shadow:
    0 4px 10px rgba(0,0,0,.4),
    0 1px 2px rgba(0,0,0,.6);
}

/* HOVER */
.feature-card:hover img{
  transform: scale(1.06);
}
/* =========================
   FEATURE SLIDER (AUTO)
========================= */

.feature-slider{
  position: relative;
  overflow: hidden;
}

/* TRACK */
.feature-track{
  display: flex;
  gap: 20px;
  width: max-content;

  animation: feature-scroll 32s linear infinite;
}

/* PAUSE ON HOVER */
.feature-slider:hover .feature-track{
  animation-play-state: paused;
}

/* =========================
   FEATURE CARD
========================= */

.feature-card{
  flex: 0 0 280px;
  aspect-ratio: 4 / 5;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

/* IMAGE */
.feature-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

/* OVERLAY */
.feature-card::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.65),
    rgba(0,0,0,.25),
    rgba(0,0,0,0)
  );
  z-index: 1;
}

/* TITLE */
.feature-title{
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;

  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;

  text-shadow:
    0 4px 10px rgba(0,0,0,.45),
    0 1px 2px rgba(0,0,0,.6);
}

/* HOVER EFFECT */
.feature-card:hover img{
  transform: scale(1.06);
}

/* =========================
   AUTO SCROLL ANIMATION
========================= */

@keyframes feature-scroll{
  from{
    transform: translateX(0);
  }
  to{
    transform: translateX(-50%);
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px){
  .feature-card{
    flex: 0 0 240px;
  }
}

@media (max-width: 480px){
  .model-features{
    padding: 64px 0;
  }

  .feature-card{
    flex: 0 0 220px;
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 480px){
  .feature-card{
    flex: 0 0 240px;
  }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px){
  .features-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px){
  .model-features{
    padding: 64px 0;
  }

  .features-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .feature-title{
    font-size: 16px;
  }
}


/* =========================
   MODEL SPECS
========================= */

/* =========================
   MODEL SPECS
========================= */

.model-specs{
  padding: 80px 0;
  background: #fff;
}

.model-specs .container{
  max-width: 1200px;
  padding: 0 24px;
  margin: 0 auto;
}

/* =========================
   HIGHLIGHT NUMBERS
========================= */

.specs-highlight{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 48px 0 56px;
  text-align: center;
}

.highlight-item h3{
  font-size: 42px;
  font-weight: 700;
  color: #000;
}

.highlight-item h3 span{
  font-size: 18px;
  font-weight: 600;
  margin-left: 4px;
}

.highlight-item p{
  margin-top: 6px;
  font-size: 14px;
  color: #1d4ed8;
  font-weight: 600;
}

/* =========================
   SPECS TABLE
========================= */

/* HEADER */
.model-specs .section-header{
  max-width: 640px;
  margin-bottom: 70px;
}

.model-specs .section-header.center{
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.model-specs .section-label{
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #38BDF8;
}

.model-specs h2{
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.15;
  margin-bottom: 16px;
}
.specs-table{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.spec-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 20px 24px;
  border-radius: 10px;
}

.spec-row:nth-child(odd){
  background: #f1f1f1;
}

.spec-row strong{
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}

.spec-row p{
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px){
  .specs-highlight{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px){
  .spec-row{
    grid-template-columns: 1fr;
  }
}

/* =========================
   MODEL PRICE
========================= */

.model-price{
  padding: 120px 0;
  background: #f8f9fb;
}

.model-price .container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.model-price .section-header{
  max-width: 640px;
  margin-bottom: 70px;
}

.model-price .section-header.center{
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.model-price .section-label{
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #38BDF8;
}

.model-price h2{
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.15;
  margin-bottom: 16px;
}

/* CARD */
.price-card{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  background: #fff;
  padding: 56px;
  border-radius: 32px;
  box-shadow: 0 28px 60px rgba(0,0,0,0.1);
  align-items: center;
}

/* IMAGE */
.price-image img{
  width: 100%;
  border-radius: 22px;
}

/* CONTENT */
.price-content h3{
  font-size: 26px;
  margin-bottom: 10px;
}

.price-desc{
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 22px;
}

/* PRICE */
.price-value{
  margin-bottom: 24px;
}

.price-value span{
  display: block;
  font-size: 14px;
  color: #777;
}

.price-value strong{
  font-size: 30px;
  color: #111;
}

/* PACKAGE */
.price-package{
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.price-package li{
  font-size: 15px;
  margin-bottom: 10px;
}

/* CTA */
.price-cta .primary-cta{
  display: inline-block;
  padding: 16px 36px;
  background: #1fbf75;
  color: #fff;
  font-weight: 600;
  border-radius: 32px;
  text-decoration: none;
  transition: all .3s ease;
}

.price-cta .primary-cta:hover{
  background: #18a966;
  transform: translateY(-2px);
}

.price-note{
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: #777;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px){
  .price-card{
    grid-template-columns: 1fr;
    padding: 40px;
  }
}

/* =========================
   SECTION 6 – COLORS (ISOLATED)
========================= */

.lumin-colors {
  position: relative;
  padding: 100px 20px;
  background:
    radial-gradient(circle at top, #f6fff9, #ffffff 60%);
  text-align: center;

  /* ⬅️ PENTING: isolasi dari dark theme */
  isolation: isolate;
  color-scheme: light;
}

/* pastikan SEMUA child tidak kena filter global */
.lumin-colors *,
.lumin-colors img {
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* title */
.lumin-colors .section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 64px;
  letter-spacing: -0.5px;
  color: #0f172a;
}

/* =========================
   COLOR GROUP CARD
========================= */
.color-group {
  max-width: 960px;
  margin: 0 auto 80px;
  padding: 40px 24px;
  border-radius: 24px;
  background: #ffffff; /* ⬅️ FIX: solid light */
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.color-group h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 28px;
  color: #020617;
}

/* =========================
   PREVIEW IMAGE
========================= */
.car-preview {
  max-width: 840px;
  margin: 0 auto 32px;
}

.car-preview img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;

  /* ⬅️ JANGAN PAKAI FILTER DI DARK MODE */
  filter: none !important;

  /* bayangan aman */
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
  transition: opacity .35s ease, transform .45s ease;
}

.car-preview img:hover {
  transform: scale(1.02);
}

/* =========================
   COLOR PICKER
========================= */
.color-picker {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* dots */
.color-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  background-color: transparent;

  box-shadow: inset 0 0 0 2px rgba(0,0,0,.2);
  transition: all .25s ease;
}

.color-dot.split {
  background-size: cover;
  background-position: center;
}

.color-dot:hover {
  transform: translateY(-3px) scale(1.08);
}

.color-dot.active {
  transform: scale(1.22);
  box-shadow:
    0 0 0 5px rgba(0,181,106,0.18),
    0 14px 28px rgba(0,0,0,0.25);
}

/* =========================
   MOBILE
========================= */
@media (max-width: 600px) {

  .color-group {
    padding: 28px 16px;
  }

  .color-dot {
    width: 38px;
    height: 38px;
  }
}


/* =========================
   SECTION 7 – GALLERY GEN Z
========================= */
.lumin-gallery {
  padding: 100px 20px;
  background: linear-gradient(180deg, #ffffff, #f6fff9);
}

.gallery-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.gallery-header .section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
}

.gallery-header .section-desc {
  font-size: 16px;
  color: #666;
}

/* GRID */
.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 180px;
  gap: 20px;
}

/* ITEMS */
.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: #eee;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  transition: transform .35s ease, box-shadow .35s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

/* HERO */
.gallery-item.big {
  grid-row: span 2;
}

/* IMAGE */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .4s ease, transform .4s ease;
}

/* ACTIVE FEEL */
.gallery-item.big img {
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.25));
}

/* MOBILE */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }

  .gallery-item.big {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .gallery-item.big {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* =========================
   LIGHTBOX GALLERY
========================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 9999;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 92%;
  max-height: 88%;
  border-radius: 14px;
  transition: transform 0.25s ease;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}

/* Mobile swipe hint (subtle) */
@media (max-width: 768px) {
  .lightbox-img {
    max-width: 96%;
  }
}

/* =========================
   LIGHTBOX COUNTER
========================= */
.lightbox-counter {
  position: absolute;
  top: 26px;
  left: 28px;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.35);
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(6px);
}

/* =========================
   CTA FINAL – GEN Z EV
========================= */
.cta-final {
  position: relative;
  background: #38BDF8;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.55)
  );
  z-index: 1;
}

.cta-box {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px;
}

.cta-box h2 {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.cta-box p {
  font-size: 1.05rem;
  opacity: 0.95;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* BUTTON */
.cta-btn {
  display: inline-block;
  margin: 8px;
  padding: 15px 34px;
  border-radius: 40px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn.primary {
  background: #00b56a;
  color: #fff;
}

.cta-btn.primary:hover {
  background: #00a45f;
  transform: translateY(-2px);
}

.cta-btn.secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}

.cta-btn.secondary:hover {
  background: rgba(255,255,255,0.25);
}

.cta-note {
  display: block;
  margin-top: 18px;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* =========================
   STICKY WHATSAPP
========================= */
.wa-sticky {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: #25d366;
  color: #fff;
  padding: 14px 18px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 999;
  transition: transform 0.25s ease;
}

.wa-sticky:hover {
  transform: scale(1.05);
}
