@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

body, button, p, h1, h2, h3, h4, h5, h6, span, div {
  font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}



body{
  height: auto
  ;
}



.navbar{
  background-color: #ffffff;
  transition: all .3s ease;
  z-index: 900;
}

.navbar-active{
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.1);
}

.nav-link{
    font-family: 'Poppins', sans-serif ;
    color: #0E0E0E;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    transition: 0.2s;
}

.navbar-brand{
    font-family: 'Poppins', sans-serif ;
    font-size: 20px;
    font-weight: 500;
    color: #0E0E0E;
}

.btn.navbar-btn {
    color: white;
    background-color: #0E0E0E;
    border-radius: 4px;
    padding: 0.3rem 2rem;
    font-weight: 500;
     white-space: nowrap;
     margin-right: 10px;
}
.btn.navbar-btn:hover {

    background-color: #232323;
    color: #AFE607;
    font-weight: 500;
}

.Home.btn{
    background-color: #0E0E0E;
    border-radius: 4px;
    padding: 0.5rem 2rem;
    font-weight: 500;
}

.Home.btn:hover{
    background-color: #232323;
    color: #AFE607;
    font-weight: 500;
}

.main {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #fff;
  display: flex;
  overflow: hidden;
}

.main::before {
  content: "";
  position: absolute;
  top: 0;
  right: -200px;
  width: 850px;  
  height: 100%;
  background: url('../asset/mobil.png') no-repeat center right;
  background-size: contain;
  transform: scaleX(-1);
  opacity: 1;
  filter: drop-shadow(-10px 15px 8px rgba(0,0,0,0.35));
  z-index: 0;
}

/* Modal layar penuh */
.login-modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: .3s ease;
    z-index: 100;
}

/* Muncul */
.login-modal.show {
    visibility: visible;
    opacity: 1;
}

/* Blur background */
.modal-overlay {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(3px);
    background: rgba(0, 0, 0, 0.45);
}

/* Wrapper untuk posisi */
.login-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 55px;
}

/* Card biasa (tanpa glass) */
.login-card {
    width: 380px;
    background: white;             /* SOLID */
    border-radius: 10px;
    border: 1px solid #ddd;        /* Border normal */
    animation: zoomIn .2s ease;
}

/* Animasi */
@keyframes zoomIn {
    from { transform: scale(.85); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* Tombol close */
.close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    transition: .2s;
}

.close-btn:hover {
    color: red;
}

#loginModal * {
    font-family: 'Poppins', sans-serif !important;
}

.btn.btn-login {
    background-color: #0E0E0E;
    border-radius: 4px;
    padding: 0.3rem 2rem;
    font-weight: 300;
    width: 100%;
    color: white;
}

.btn.btn-login:hover {
    background-color: #232323;
    color: #AFE607;
}

.input-group-text {
    background-color: #0E0E0E;
    color: white;
    border: none;
}

.text-decoration-none {
    color: #7fa900;
}

.home-section {
    height: 100vh;  
    display: flex;
    flex-direction: column;
    justify-content: center;     /* konten ke tengah */
    align-items: center;
    padding: 0;                  /* padding dihapus supaya tidak mendorong */
    text-align: center;
}


/* TITLE SPACING — dibuat lebih rapat */
.title-1 {
    margin-top: 70px !important;
    margin-bottom: 5px !important;
    font-weight: 600;    /* tetap tebal */
    color: #0E0E0E;
}

.title-2 {
    margin-top: 5px !important;
    margin-bottom: 5px !important;
    font-weight: 300;    /* lebih ringan, cocok untuk subtitle */
    color: #0E0E0E;
}



/* IMAGE — besarkan & tarik lebih ke atas */
.car-image {
    width: 90%;                       /* sedikit mengecil biar proporsional */
    margin-top: -380px;                /* naikkan gambar */
    filter: drop-shadow(0 0px 10px rgba(0, 0, 0, 0.25));
}

/* BUTTON — rapatkan ke gambar */
.explore-btn {
    margin-top: -10px!important;   /* normal */
    padding: 0.6rem 2.2rem;
    background-color: #0E0E0E;
    color: white;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: .3s ease;
}

.explore-btn:hover {
    background-color: #232323;
    color: #AFE607;
}

.vehicle-card {
  border: none;
  box-shadow: 0px 4px 12px -2px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
}
.vehicle-card:hover {
  transform: translateY(-8px);
  box-shadow: 0px 10px 20px -2px rgba(0,0,0,0.2);
}

.stat-card{
    border: none;
    box-shadow: 0px 4px 12px -2px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}
.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 10px 20px -2px rgba(0,0,0,0.2);
}

/* ===== VEHICLES SECTION ===== */

.section-title span {
  position: relative;
  z-index: 1;
}

.section-title span::before {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 40%;
  background: #AFE607;
  z-index: -1;
  border-radius: 4px;
}

/* wrapper */
.vehicles {
  background: #fff;
  padding: 4rem 0;
}

/* slide base */
.vehicles .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: .4s ease;
}

/* card */
.vehicle-box {
  width: 320px;
  background: transparent;
  border: none;
  text-align: center;
  transition: .4s ease;
}

/* gambar mobil */
.vehicle-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  object-position: bottom center;
  transition: .4s ease;
  opacity: .3;
  transform: scale(.85);
}

/* SLIDE AKTIF (TENGAH) */
.swiper-slide-active .vehicle-img {
  opacity: 1;
  transform: scale(1.1);
}

/* konten */
.vehicle-box h5 {
  margin-top: 1rem;
  font-weight: 600;
}

.vehicle-box .price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #AFE607;
}

.rent-btn {
  background-color: #0E0E0E;
  color: white;
}

/* HOVER SAMA KAYAK explore-btn */
.rent-btn:hover {
  background-color: #232323;
  color: #AFE607;
}


/* slide samping sedikit blur */
.swiper-slide-prev .vehicle-img,
.swiper-slide-next .vehicle-img {
  filter: blur(1px);
}

.swiper-pagination {
  bottom: -5px !important;   /* jarak ke bawah */
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #d0d0d0;
  opacity: 1;
  margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
  background: #AFE607 !important;
}



:root {
  --swiper-pagination-color: #AFE607;       /* dot aktif */
  --swiper-pagination-bullet-inactive-color: #d0d0d0;
  --swiper-pagination-bullet-inactive-opacity: 1;
}


.services-wrapper {
  display: flex;
  gap: 1rem;
  height: 380px;
}

.service-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  transition: flex .6s ease;
  background: #000;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
}

.service-card .content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: .4s ease;
  z-index: 2;
}

/* ACTIVE CARD */
.service-card.active {
  flex: 4;
}

.service-card.active .content {
  opacity: 1;
  transform: translateY(0);
}

/* MOBILE */
@media (max-width: 768px) {
  .services-wrapper {
    flex-direction: column;
    margin-top: 20px;
    height: auto;
  }

  .service-card {
    height: 240px;
  }
}


#newPasswordModal .login-card h3 {
    margin-top: 20px; /* turunin judul */
}

#newPasswordModal .login-card p.small {
    margin-top: -10px; /* turunin text kecil */
}



.section-title {
  text-align: center;
    font-weight: 550;
    margin-bottom: 5px;
    font-size: 3rem;
    color: #0E0E0E;
}

.section-subtitle {
  text-align: center;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #0E0E0E;
}


/* Wrapper agar benar-benar tengah */
.search-wrapper {
    margin: 0 auto;
    margin-top: 15px;
    width: 100%;
    max-width: 750px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

/* Input */
.search-input {
    flex: 1;
    height: 55px;
    border-radius: 10px 0 0 10px;
    border: none;
    background: #f3f3f3;
    padding-left: 20px;
}

/* Button */
.search-btn {
    height: 55px;
    padding: 0 35px;
    background: #c6ff00; /* sesuai desain kamu */
    border-radius: 0 10px 10px 0;
    border: none;
    font-weight: 600;
    font-size: 18px;
}
.search-btn:hover {
    background: #afe607; /* sesuai desain kamu */
    cursor: pointer;
    transition: all 0.3s ease;    
}

/* === CONTACT SECTION === */
.contact-section {
  background: #f7f9fc;
  padding: 5rem 0;
}

.contact-section .section-title {
  font-size: 2.8rem;
  font-weight: 600;
  color: #0E0E0E;
  margin-bottom: 0.5rem;
}

.contact-section .section-subtitle {
  font-size: 1.1rem;
  color: #0E0E0E;
  margin-bottom: 2.5rem;
}

.contact-card {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.contact-title {
  font-size: 2.8rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.title-contact {
  font-size: 2.2rem;
  font-weight: 600;
  color: #0E0E0E;
  margin-bottom: 1rem;
}

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.contact-card .form-label {
  font-weight: 500;
  color: #0E0E0E;
}

.contact-card input,
.contact-card textarea {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  width: 100%;
  margin-top: 0.3rem;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
}

.contact-card input:focus,
.contact-card textarea:focus {
  outline: none;
  border-color: #AFE607;
  box-shadow: 0 0 5px rgba(175, 230, 7, 0.5);
}

.send-btn {
  background-color: #0E0E0E;
  color: #fff;
  width: 100%;
  padding: 0.6rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.send-btn:hover {
  background-color: #0E0E0E;
  color: #AFE607;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* LEFT TOP CARD (dark) */
.contact-left {
  background: #0E0E0E;
  color: white;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* Map styling */
.map-wrapper iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Right card */
.contact-card {
  background: white;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 15px;
}

.send-btn {
  width: 100%;
  background: #0E0E0E;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 10px;
  font-weight: 400;
  font-size: 17px;
  transition: .3s ease;
}

.send-btn:hover {
  opacity: .85;
}

.map-wrapper {
  background: white;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    width: 100%;
  height: 255px;
}

/* ===== CAR DETAIL SECTION ===== */
.mclaren-section {
    width: 100%;
    min-height: 100vh;

    background-image: url("../asset/background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
    overflow: hidden;
}

.mclaren-section .container {
    position: relative;
    z-index: 2;
}

.mclaren-section .hero-car-wrapper {
    position: relative;
    z-index: 3;
}

.mclaren-section .hero-car {
    max-width: 80%;
    filter: drop-shadow(0 30px 10px rgba(0,0,0,0.45));
}



/* mobil */
.hero-car {
    position: relative;
    z-index: 2;
    width: 85%;
    max-width: 1000px;
}


@media (max-width: 768px) {
    .mclaren-hero {
        width: 95%;
        margin-top: -160px;
    }
}

.title-1-mclaren {
    margin-top: 80px !important;
    margin-bottom: 5px !important;
    font-weight: 700;    /* tetap tebal */
    color: #0E0E0E;
    font-size: 60px;
}

.title-2-mclaren {
    margin-top: 5px !important;
    margin-bottom: -30px !important;
    font-size: 20px;
    font-weight: 300;    /* lebih ringan, cocok untuk subtitle */
    color: #0E0E0E;
}


/* ===== CAR STATS RIGHT ===== */
.mclaren-stats {
    position: absolute;
    right: 10px;        /* lebih ke kanan (kecil = makin kanan) */
    top: 40%;           /* lebih ke atas (kecil = naik) */
    transform: translateY(-50%);
    z-index: 5;

    display: flex;
    flex-direction: column;
    gap: 40px;
}


.stat-item h2 {
    font-size: 40px;
    font-weight: 700;
    color: #0E0E0E;
    margin: 0;
    line-height: 1;
}

.stat-item h2 small {
    font-size: 18px;
    font-weight: 400;
    margin-left: 5px;
}

.stat-item p {
    margin: 5px 0 0;
    font-size: 18px;
    font-weight: 400;
    color: #0E0E0E;
}

/* RESPONSIVE - sembunyikan di mobile */
@media (max-width: 768px) {
    .mclaren-stats {
        display: none;
    }
}


/* ===== HARD NUMBERS SECTION ===== */
.vehicles-section {
  background: #fff;
}

/* Mobil kiri */
.hardnumbers-car {
  max-width: 90%;
  filter: drop-shadow(0 30px 20px rgba(0,0,0,0.25));
}

/* Card kanan */
.stats-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Item card */
.stat-box {
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 15px;
  transition: all .3s ease;
}

.stat-box:last-child {
  border-bottom: none;
}

.stat-box h5 {
  font-weight: 600;
  margin-bottom: 5px;
  color: #0E0E0E;
}

.stat-box p {
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* Hover effect */
.stat-box:hover {
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
  .stats-card {
    margin-top: 30px;
  }
}

/* ===== RENTAL CARD ===== */
.rental-card {
  height: 420px;                 /* tinggi tetap */
  margin-bottom: 60px;
  overflow-y: auto;              /* SCROLL */
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  padding: 25px;
}

/* Judul */
.card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

/* Info row */
.info-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}

.info-item:last-child {
  border-bottom: none;
}

/* ===== FORM ===== */
.rental-form input {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.form-row {
  display: flex;
  gap: 10px;
}

.form-row input {
  flex: 1;
}

/* BUTTON */
.order-btn {
  width: 100%;
  padding: 14px;
  background: #0E0E0E;
  color: white;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 10px;
  margin-top: 10px;
  transition: .3s ease;
}

.order-btn:hover {
  background: #232323;
  color: #AFE607;
}

/* Scrollbar (opsional, biar keren) */
.rental-card::-webkit-scrollbar {
  width: 6px;
}
.rental-card::-webkit-scrollbar-thumb {
  background: #AFE607;
  border-radius: 10px;
}

.button-pojok {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
    background-color: #AFE607;

    transition: all 0.3s ease;
}

.button-pojok:hover {
    box-shadow: 0 0 20px rgba(175, 230, 7, 0.6);
}
.button-pojok button i {
    transition: transform 0.3s ease;
}
.button-pojok button:hover i {
    color: #ffffff;
}

.vehicles-section {
  overflow: hidden; /* biar nggak ada scroll horizontal */
}

.hardnumbers-car {
  width: 110%;
  max-width: none;
  transform: scaleX(-1);
}

/*
.vehicles-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
*/

.text-box {
  padding-left: -5rem;
}

.section-titlee {
  font-size: 3.2rem;
  font-weight: 700;
}

.section-subtitlee {
  font-size: 1.1rem;
  max-width: 420px;
}

@media (max-width: 992px) {
  .hardnumbers-car {
    width: 100%;
  }

  .text-box {
    padding: 2rem;
    text-align: center;
  }

  .section-subtitle {
    margin: 0 auto;
  }
}
/* ===== FOOTER ===== */
.site-footer {
  background: #0E0E0E;
  padding: 50px 0 30px;
  text-align: center;
}

/* HEADING TENGAH */
.footer-heading-inner h4 {
  font-size: 14px;
  letter-spacing: 3px;
  font-weight: 500;
  color: #9c9c9c;
  margin-bottom: 25px;
  text-transform: uppercase;
}

/* MENU */
.footer-menu {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.footer-menu li {
  font-size: 13px;
  letter-spacing: 2px;
  color: #ffffff;
  cursor: pointer;
  transition: .3s ease;
}

.footer-menu li:hover {
  color: #AFE607;
}

/* COPYRIGHT */
.site-footer p {
  font-size: 12px;
  color: #8a8a8a;
}

/* ===== ORDER SUCCESS (NO CARD) ===== */

.success-section {
  min-height: 100vh;
  background: #0E0E0E;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 15px;
}

.success-content {
  max-width: 720px;
  width: 100%;
}

/* ICON */
.success-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #AFE607;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 38px;
  color: #0E0E0E;
}

/* TITLE */
.success-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

/* SUBTITLE */
.success-content p {
  font-size: 15px;
  color: #d0d0d0;
  margin-bottom: 1px;
  line-height: 1.7;
}

/* CAR IMAGE */
.success-car img {
  width: 65%;
  margin-bottom: 40px;
  filter: drop-shadow(0 30px 20px rgba(0,0,0,0.5));
}

/* BUTTONS */
.success-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* BUTTON STYLE */
.success-actions .btn-primary-custom {
  background: #AFE607;
  color: #0E0E0E;
  padding: 14px 34px;
  border-radius: 5px;
  font-weight: 600;
  transition: .3s ease;
}

.success-actions .btn-primary-custom:hover {
  background: #c6ff00;
  box-shadow: 0 0 20px rgba(175,230,7,0.55);
}

.success-actions .btn-outline-custom {
  background: transparent;
  border: 1px solid #AFE607;
  color: #AFE607;
  padding: 14px 34px;
  border-radius: 5px;
  font-weight: 500;
  transition: .3s ease;
}

.success-actions .btn-outline-custom:hover {
  background: #AFE607;
  color: #0E0E0E;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .success-content h2 {
    font-size: 26px;
  }

  .success-car img {
    width: 85%;
  }
}
/* HEADER FLEX */
.success-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  justify-content: center;
  margin-bottom: 35px;
}

/* ICON TETAP */
.success-icon {
  margin-top: 80px;
  width: 100px;
  height: 100px;
  border-radius: 5%;
  background: #AFE607;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: #0E0E0E;
  flex-shrink: 0;
}

/* TEXT */
.success-text {
  text-align: left;
  max-width: 460px;
}

.success-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 70px;
  margin-bottom: 8px;
}

.success-text p {
  font-size: 15px;
  color: #d0d0d0;
  line-height: 1.7;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 576px) {
  .success-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .success-text {
    text-align: center;
  }
}

/* ===== REMOVE LINE UNDER BUTTONS ===== */
.success-actions a {
  text-decoration: none !important;
}

.success-actions a::after {
  display: none !important;
}

