/*
Theme Name: Jaecoo Official
Theme URI: https://www.jaecooofficial.com
Author: Agensi Digital
Author URI: https://www.agensidigital.com
Description: Jaecoo Official theme 
Version: 1.0
*/

/* =========================
   GLOBAL RESET
========================= */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html, body{
  width:100%;
}

body{
  font-family: Inter, sans-serif;
}

/* =========================
   FLOATING CTA BUTTON
========================= */

.floating-cta-box{
  position:fixed;
  right:15px;
  top:50%;
  transform:translateY(-50%);
  background:white;
  border-radius:10px;
  box-shadow:0 15px 40px rgba(0,0,0,0.15);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  z-index:999;
}

.floating-cta-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:10px;
  text-decoration:none;
  border-bottom:1px solid #eee;
  transition:all .3s;
}

.floating-cta-item:last-child{
  border-bottom:none;
}

.floating-cta-item:hover{
  background:#f5f5f5;
}

.floating-cta-item svg{
  width:26px;
  height:26px;
  stroke:#111;
  fill:none;
  stroke-width:2;
}

.floating-cta-item span{
  font-size:12px;
  color:#222;
  font-weight:500;
}

@media (max-width:768px){
	.floating-cta-item span{
		display:none;
	}

  .floating-cta-box{
   
    bottom:20px;
    top:auto;
    left:50%;
    right:auto;
    transform:translateX(-50%);
    flex-direction:row;
    border-radius:60px;
  }

  .floating-cta-item{
    border-bottom:none;
    border-right:1px solid #eee;
    padding:14px 18px;
  }

  .floating-cta-item:last-child{
    border-right:none;
  }

}

/* =========================
   HEADER
========================= */

/* DEFAULT TRANSPARENT */
.jc-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:transparent;
  transition:all .4s ease;
}

/* GLASS AFTER SCROLL */
.jc-header.scrolled{
  backdrop-filter:blur(20px);
  background:rgba(255,255,255,0.85);
  box-shadow:0 8px 30px rgba(0,0,0,.08);
}

/* TEXT COLOR BEFORE SCROLL */
.jc-header:not(.scrolled) .jc-nav a,
.jc-header:not(.scrolled) .jc-model-btn,
.jc-header:not(.scrolled) .jc-testdrive,
.jc-header:not(.scrolled) .jc-location{
  color:#fff;
}

.jc-header:not(.scrolled) .jc-hamburger span{
  background:#fff;
}

/* TEXT AFTER SCROLL */
.jc-header.scrolled .jc-nav a,
.jc-header.scrolled .jc-model-btn,
.jc-header.scrolled .jc-testdrive,
.jc-header.scrolled .jc-location{
  color:#000;
}

.jc-header.scrolled .jc-hamburger span{
  background:#000;
}

.jc-container{
  max-width:1400px;
  margin:auto;
  padding:30px 45px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* NAV */
.jc-nav ul{
  display:flex;
  list-style:none;
  gap:40px;
  align-items:center;
}

.jc-nav a,
.jc-model-btn{
  text-decoration:none;
  border:none;
  background:none;
  font-weight:500;
  font-size:15px;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:6px;
  font-family: 'Orbitron';
}

.jc-nav .active{
  background:#d5e7e7;
  padding:8px 18px;
  border-radius:20px;
  font-family: 'Orbitron';
}

/* ARROW */
.jc-arrow{
  transition:transform .3s ease;
}

.jc-model-btn.active .jc-arrow{
  transform:rotate(180deg);
}

/* RIGHT */
.jc-right{
  display:flex;
  gap:20px;
  align-items:center;
}

.jc-testdrive{
  font-weight:600;
  text-decoration:none;
  font-family: 'Orbitron';
}


/* =========================
   MEGA MENU
========================= */

.jc-mega{
  position:fixed;
  top:68px;
  left:0;
  width:100%;
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(25px);
  padding:60px 0;
  transform:translateY(-20px);
  opacity:0;
  pointer-events:none;
  transition:all .4s ease;
  z-index:999; /* ADD THIS */
}

.jc-mega.active{
  transform:translateY(0);
  opacity:1;
  pointer-events:auto;
}

.jc-mega-inner{
  max-width:1400px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:50px;
}

.jc-car{
  text-align:center;
  text-decoration:none;
  color:#000;
  transition:.3s;
  font-family: 'Inter';
  font-weight: bold;
}

.jc-car img{
  width:100%;
  transition:.4s;
}

.jc-car:hover img{
  transform:scale(1.05);
}


/* =========================
   HAMBURGER
========================= */

.jc-hamburger{
  display:none;
  flex-direction:column;
  gap:6px;
  cursor:pointer;
  z-index:1100;
}

.jc-hamburger span{
  width:26px;
  height:2px;
  transition:.3s;
}


/* =========================
   MOBILE MENU
========================= */

.jc-mobile{
  position:fixed;
  inset:0;
  background:linear-gradient(180deg,#1c1c1c,#111);
  color:#fff;
  z-index:2000;
  transform:translateX(-100%);
  transition:transform .5s cubic-bezier(.77,0,.18,1);
  padding:40px 30px;
  overflow-y:auto;
}

.jc-mobile.active{
  transform:translateX(0);
}

.jc-mobile-top{
  margin-bottom:40px;
}

.jc-mobile-top button{
  background:none;
  border:none;
  color:#fff;
  font-size:18px;
  cursor:pointer;
}

.jc-mobile-content{
  display:flex;
  flex-direction:column;
  gap:35px;
  text-align:center;
  padding-top: 50px;
}

.jc-mobile-link{
  font-size:20px;
  text-decoration:none;
  color:#e0e0e0;
  font-weight:500;
  transition:.3s;
}

.jc-mobile-link.active{
  color:#ffffff;
}

.jc-mobile-model-head{
  font-size:20px;
  color:#ffffff;
  cursor:pointer;
  display:flex;
  justify-content:center;
  gap:8px;
}

.jc-mobile-arrow{
  transition:.3s;
}

.jc-mobile-model-head.active .jc-mobile-arrow{
  transform:rotate(180deg);
}

.jc-mobile-model-list{
  border-radius:30px;
  padding:0 20px;
  max-height:0;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  gap:30px;
  transition:max-height .4s ease, padding .3s ease;
}

.jc-mobile-model-list.open{
  max-height:1000px;
  padding:30px 20px;
}

.jc-mobile-model-list a{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-decoration:none;
  color:#fff;
  gap:15px;
}

.jc-mobile-model-list img{
  width:200px;
}


/* =========================
   HERO SLIDER (FULL FIXED)
========================= */

/* HERO SLIDER FIX */
.hero-slider{
  position:relative;
  width:100%;
  height:100vh;
  overflow:hidden;
}

.hero-track{
  display:flex;
  height:100%;
  transition:transform .6s ease;
}

.hero-slide{
  flex:0 0 100%;
  height:100%;
  position:relative;
}

.hero-slide picture,
.hero-slide img{
  width:100%;
  height:100%;
}

.hero-slide img{
  object-fit:cover;
  display:block;
}

.hero-slide::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
}

.hero-content{
  position:absolute;
  bottom:15%;
  left:8%;
  color:#fff;
  z-index:2;
  max-width:500px;
}

.hero-content span{
  font-size:52px;
  margin-bottom:20px;
  font-family: 'Orbitron';
	font-weight:bold;
}

.hero-content p{
  font-size:18px;
  margin-bottom:25px;
  opacity:.9;
}

.hero-btn{
  display:inline-block;
  padding:14px 28px;
  background:#00b3b3;
  color:#fff;
  text-decoration:none;
  border-radius:40px;
  font-weight:600;
  transition:.3s;
}

.hero-btn:hover{
  background:#008f8f;
}

.hero-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(255,255,255,.2);
  border:none;
  color:#fff;
  font-size:30px;
  padding:12px 18px;
  cursor:pointer;
  backdrop-filter:blur(6px);
  z-index:3;
}

.hero-arrow.prev{ left:20px; }
.hero-arrow.next{ right:20px; }

.hero-dots{
  position:absolute;
  bottom:30px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
  z-index:3;
}

.hero-dots button{
  width:12px;
  height:12px;
  border-radius:50%;
  border:none;
  background:rgba(255,255,255,.4);
  cursor:pointer;
}

.hero-dots button.active{
  background:#00b3b3;
}


/* =========================
   RESPONSIVE
========================= */

@media(max-width:1024px){
  .jc-nav,
  .jc-right{
    display:none;
  }

  .jc-hamburger{
    display:flex;
  }

  .jc-container{
    justify-content:space-between;
    padding: 30px 20px;
  }

  .jc-logo{
    position:absolute;
    left:50%;
    transform:translateX(-50%);
  }
}

@media(max-width:768px){

  .hero-content{
    left:50%;
    transform:translateX(-50%);
    text-align:center;
    bottom:20%;
    width:85%;
  }

  .hero-content h1{
    font-size:30px;
  }

  .hero-content p{
    font-size:14px;
  }

  .hero-arrow{
    display:none;
  }
}

:root {
    --primary-teal: #4db3b3;
    --slide-width: 60%; /* Agar sisa 40% layar diisi mobil berikutnya */
}

.choose-car-model {
    width: 100%;
    padding: 60px 0;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 40px;font-family:'Orbitron'; }

/* Slider Logic */
.slider-wrapper { width: 100%; display: flex; }

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    /* Offset awal agar mobil pertama tepat di tengah */
    transform: translateX(20%); 
}

.slide {
    min-width: 60%;
    display: flex;
    justify-content: center;
    opacity: 0.15;
    transition: opacity 0.4s ease;
    padding: 0 10px;
}

.slide.active { opacity: 1; }

.slide img { width: 100%; height: auto; object-fit: contain; }

/* Detail Information Grid */
.info-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.info-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
}

.col-left span { font-size: 2.2rem; margin: 0; font-weight:bold; font-family:'Orbitron'; }
.tagline { color: #888; font-weight: bold; margin-top: 5px; }

.col-right { max-width: 500px; }
.col-right h3 { font-size: 0.9rem; margin-bottom: 10px; }
.specs-text { font-size: 0.85rem; color: #555; line-height: 1.6; }

.info-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 25px;
}

.price-box .label { font-size: 0.8rem; color: #000; }
.price-box .amount { font-size: 2rem; font-weight: bold; margin: 5px 0; font-family:'Orbitron' }
.price-box .otr { font-size: 1rem; color: #000; font-weight:bold; }

.button-group { display: flex; gap: 15px; }
.button-group button {
    padding: 12px 30px;
    border: 2px solid var(--primary-teal);
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-filled { background: var(--primary-teal); color: white; }
.btn-outline { background: transparent; color: var(--primary-teal); }

/* Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.arrow {
    background: none;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.dots { display: flex; gap: 8px; }
.dot { width: 30px; height: 4px; background: #eee; transition: 0.3s; cursor: pointer; }
.dot.active { background: #333; width: 50px; }

/* Mobile Responsive */
@media (max-width: 768px) {
  .section-title{
    font-size: 28px;
  }

  /* Set slide jadi 100% agar hanya muncul 1 gambar */
  .slide {
      min-width: 85%;
      padding: 0; /* Menghilangkan padding agar benar-benar full */
  }

  /* Reset transform ke 0 agar gambar pertama pas di tengah layar */
  .slider-track { 
      transform: translateX(0); 
  }

  /* Penyesuaian Layout Info */
  .info-top { 
      flex-direction: column; 
      gap: 20px; 
  }

  .info-bottom { 
      flex-direction: column; 
      align-items: flex-start; 
      gap: 30px; 
  }

  .button-group { 
      width: 100%; 
  }

  .button-group button { 
      flex: 1; 
      padding: 12px 15px; /* Sedikit dikecilkan agar tidak sesak di HP */
      font-size: 0.8rem;
  }
}

.intro-overview{
  padding:100px 70px;
  background:#f7f7f7;
  font-family:Arial, Helvetica, sans-serif;
}

.intro-container{
  max-width:1400px;
  margin:auto;
}

.intro-header{
  text-align:center;
  margin-bottom:60px;
}

.intro-header h1{
  font-size:36px;
  font-weight:700;
  margin-bottom:15px;
  font-family: 'Orbitron';
}

.intro-header p{
  max-width:900px;
  margin:auto;
  color:#555;
  line-height:1.6;
  font-family: 'Inter';
}

/* GRID */

.intro-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:25px;
}

/* CARD */

.intro-card{
  background:white;
  padding:35px;
  border-radius:14px;
  border:1px solid #e6e6e6;
  text-align:center;
  transition:all .3s ease;
}

.intro-card:hover{
  transform:translateY(-5px);
  box-shadow:0 10px 25px rgba(0,0,0,0.05);
}

.intro-card h2{
  font-size:20px;
  font-family: 'Orbitron';
  margin:15px 0 10px;
}

.intro-card p{
  color:#555;
  line-height:1.6;
  font-size:15px;
  font-family: 'Inter';
}

/* ICON */

.intro-icon{
  width:55px;
  height:55px;
  margin:auto;
  border-radius:50%;
  background:#f0f0f0;
  display:flex;
  align-items:center;
  justify-content:center;
}

.intro-icon svg{
  width:26px;
  height:26px;
  color:#333;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .intro-overview{
    padding: 80px 30px;
  }
}

@media(max-width:900px){

  .intro-grid{
    grid-template-columns:1fr;
  }

  .intro-header h2{
    font-size:28px;
  }
}

.video-text{
  width:100%;
  overflow:hidden;
}

.video-text-grid{
  display:grid;
  grid-template-columns:1fr 2fr;
  min-height:520px;
}

/* LEFT SIDE */

.video-text-content{
  background:#eaebef;
  color:white;
  display:flex;
  align-items:center;
}

.video-text-inner{
  max-width:520px;
  padding:80px;
}

.video-text-inner h2{
  font-size:40px;
  line-height:1.2;
  margin-bottom:20px;
  color: black;
  font-family: 'Orbitron';
}

.video-text-inner p{
  font-size:17px;
  line-height:1.7;
  opacity:.9;
  color: black;
}

/* RIGHT VIDEO */

.video-text-media{
  position:relative;
  overflow:hidden;
}

.video-text-media video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* RESPONSIVE */

@media (max-width:1024px){

.video-text-inner{
padding:60px;
}

.video-text-inner h2{
font-size:34px;
}

}

@media (max-width:768px){

.video-text-grid{
grid-template-columns:1fr;
}

.video-text-media{
height:242px;
}

.video-text-inner{
padding:50px 30px;
}

.video-text-inner h2{
font-size:28px;
}

.video-text-inner p{
font-size:16px;
}

}

.our-commit-section{
padding-top:50px;
padding-bottom: 20px;
background:#ffffff;
}

.our-commit-container{

margin:auto;
padding-left: 5%;
padding-right: 5%;

display:grid;
grid-template-columns:0.8fr 1fr;
gap:60px;
align-items:center;
}

/* LEFT */

.our-commit-left h2{
font-size:36px;
font-weight:500;
line-height:1.15;
color:#000;
font-family: 'Orbitron';
}

/* RIGHT */

.our-commit-right p{
font-size:17px;
line-height:1.7;
color:#000;
margin-bottom:30px;
font-family: 'Inter';
}

/* BUTTON */

.our-commit-btn{
display:inline-flex;
align-items:center;
gap:14px;

background:#2563eb;
color:#fff;

padding:14px 24px;
border-radius:40px;

text-decoration:none;
font-weight:500;

transition:all .3s ease;
}

.our-commit-btn svg{
width:20px;
height:20px;
stroke:white;
stroke-width:2;
fill:none;
}

.our-commit-btn:hover{
background:#1d4ed8;
}

@media (max-width:900px){

.our-commit-container{
grid-template-columns:1fr;
gap:40px;
}

.our-commit-left h2{
font-size:42px;
}

.our-commit-right p{
max-width:100%;
}

}



.main-container {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    background: #fff;
}

/* Grid Specific Placements */
.car-hero { grid-column: 1 / 2; grid-row: 1 / 3; }
.sub-nav { grid-column: 2 / 4; border-top: 1px solid #ddd; }
.brand-box { background-color: #b71c1c; color: white; display: flex; align-items: flex-end; justify-content: flex-end; padding: 40px; }

/* Image Handling */
.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Inquire Section Styling */
.inquire-section {
    padding: 40px;
    background: #dcdcdc;
}

.inquire-section h2 {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 500;
    font-family: 'Orbitron';
}

.inquire-section h2 strong {
    font-weight: 700;
}

.inquire-list {
    list-style: none;
}

.inquire-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.inquire-list .title {
    font-weight: bold;
    font-size: 18px;
    font-family: 'Orbitron';
}

.inquire-list .desc {
    font-size: 16px;
    color: #000;
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Inter';
    padding-top: 10px;
}

.red-box {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #b71c1c;
}

.btn-outline {
    text-decoration: none;
    color: #000000;
    border: 1px solid #ccc;
    padding: 8px 15px;
    font-size: 12px;
}

/* Sub Nav Styling */
.sub-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 40px 0;
}

.nav-item span {
    color: #000;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Orbitron';
}

.nav-item h3 {
    font-size: 18px;
    margin-top: 5px;
}

.divider {
    color: #000;
    font-size: 36px;
    font-weight: 100;
}

/* Bottom Right Section */
.company-info {
    padding: 40px;
    background: #fff;
}

.red-text {
    color: #b71c1c;
    margin-bottom: 15px;
    font-size: 14px;
}

.company-info p {
    font-size: 13px;
    line-height: 1.6;
    color: #333;
}

.brand-content { text-align: right; }
.small-square {
    width: 8px;
    height: 8px;
    background: white;
    margin-left: auto;
    margin-top: 10px;
}

/* Responsive Logic */
@media (max-width: 992px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    .car-hero, .sub-nav, .brand-box {
        grid-column: span 1;
    }
    .sub-nav {
        flex-wrap: wrap;
    }
}

/* FOOTER */

.jd-footer{

background:#181818;
padding:80px 20px;

color:white;
font-family:Arial, Helvetica, sans-serif;

}


.jd-footer-container{

max-width:1200px;
margin:auto;

display:flex;
flex-direction:column;
gap:40px;

}


/* MODELS */

.jd-footer-models{

display:grid;
grid-template-columns:repeat(4,1fr);

text-align:center;
gap:30px;

}


.jd-footer-models a{

color:#e5e5e5;
text-decoration:none;

font-size:16px;
font-weight:600;
letter-spacing:0.5px;

transition:0.3s;

}


.jd-footer-models a:hover{
color:white;
}


/* DIVIDER */

.jd-footer-divider{

width:100%;
height:1px;
background:#333;

}


/* NAVIGATION */

.jd-footer-nav{

display:flex;
justify-content:center;
flex-wrap:wrap;
gap:40px;

}


.jd-footer-nav a{

color:#bdbdbd;
text-decoration:none;

font-size:15px;
letter-spacing:1px;

transition:0.3s;

}


.jd-footer-nav a:hover{
color:white;
}

@media (max-width:1024px){

.jd-footer-models{

grid-template-columns:repeat(2,1fr);
row-gap:25px;

}

}

@media (max-width:600px){

.jd-footer{

padding:60px 20px;

}

.jd-footer-models{

grid-template-columns:1fr;
gap:18px;

}

.jd-footer-nav{

gap:20px;
font-size:14px;

}

}
