@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #0d0d0d;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* BAR ATAS */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  z-index: 1000;
  border-bottom: 2px solid #ff0000;
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  font-style: italic;
  color: #fff;
  text-transform: uppercase;
}

.logo span {
  color: #ff1e00;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

nav a {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.3s;
}

/* EFEK HOVER PADA MENU */
nav a:hover {
  color: #ff1e00;
}

.btn-kontak {
  background: #ff1e00;
  color: #fff;
  padding: 10px 24px;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.btn-kontak:hover {
  background: #cc1700;
  transform: translateY(-2px);
}

/* ========================================= */
/* TAMBAHAN KODE STYLING DROPDOWN OUR SERVICE */
/* ========================================= */

nav ul li {
  position: relative; /* Wajib ada biar posisi dropdown nempel di induknya */
}

/* Panah kecil di samping Our Service */
.arrow {
  font-size: 0.8rem;
  margin-left: 3px;
  color: #ff1e00;
}

/* KOTAK SUBMENU DROPDOWN */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* Ditaruh tepat di bawah menu utama */
  left: 0;
  background-color: #141414;
  border: 1px solid #222222;
  border-top: 3px solid #ff1e00;
  min-width: 230px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
  border-radius: 0 0 6px 6px;
  z-index: 1001;
  padding: 8px 0;
  flex-direction: column; /* Bikin susunan anak menu ke bawah */
  gap: 0;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 0.85rem;
  color: #cccccc;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.3s, color 0.3s, padding-left 0.3s;
}

/* Efek saat mouse mengarah ke item pilihan (Jual/Tukar Tambah) */
.dropdown-menu a:hover {
  background-color: #ff1e00;
  color: #ffffff;
  padding-left: 25px; /* Geser sedikit ke kanan pas di-hover */
}

/* MUNCULKAN DROPDOWN KETIKA MENU OUR SERVICE DI-HOVER */
.dropdown:hover .dropdown-menu {
  display: flex;
}

  .hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8%;
    position: relative;
    overflow: hidden;
  }

  /* BACKGROUND SLIDES */
    .hero-bg-slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      opacity: 0;
      transition: opacity 0.8s ease-in-out;
      z-index: 1;
    }

    .hero-bg-slide.active {
      opacity: 1;
    }

    .hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(180deg, rgba(13,13,13,0.4) 0%, rgba(13,13,13,0.9) 100%);
      z-index: 2;
    }

    /* TOMBOL NAVIGASI SLIDER (PANAH KIRI & KANAN) */
    .slider-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(255, 30, 0, 0.7);
      color: #fff;
      border: none;
      width: 50px;
      height: 50px;
      font-size: 1.5rem;
      font-weight: bold;
      cursor: pointer;
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: center;
    }


    .slider-btn.prev {
      left: 20px;
    }

    .slider-btn.next {
      right: 20px;
    }


  .hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    text-align: center;
    margin-top: 40px;
  }

  .hero-tag {
    display: inline-block;
    background: #ff1e00;
    color: #fff;
    padding: 4px 12px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
  }

  .hero h1 {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.1;
    font-style: italic;

  }

  .hero h1 span {
    color: #ff1e00;
    text-shadow: 0 0 15px rgba(255, 30, 0, 0.5);
  }

  .hero p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 30px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  }
  
  .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .btn-primary {
    background: #ff1e00;
    color: #fff;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 62px; 
    display: inline-block;
  }


  /* SECTION KELEBIHAN / ADVANTAGES */
.advantages-section {
  padding: 80px 8%;
  background-color: #0d0d0d;
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  font-style: italic;
  margin-bottom: 10px;
  color: #ffffff;
}

.advantages-section h2 span {
  color: #ff1e00;
}

.title-line {
  width: 100px;
  height: 4px;
  background-color: #ff1e00;
  margin: 0 auto 50px auto;
  border-radius: 2px;
}

/* CONTAINER BARIS KARTU */
.advantages-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.advantages-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* KARTU WARNA PUTIH SEPERTI REFERENSI GAMPANG BACA */
.advantage-card {
  background: #ffffff;
  color: #111111;
  padding: 35px 25px;
  border-radius: 6px;
  border: 4px solid #ff1e00;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(255, 30, 0, 0.25);
}

.advantage-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: inline-block;
}

.advantage-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ff1e00;
  margin-bottom: 12px;
  line-height: 1.3;
}

.advantage-card p {
  font-size: 0.92rem;
  color: #555555;
  line-height: 1.6;
  font-family: 'Segoe UI', Roboto, sans-serif;
}

/* SECTION KONSULTASI / CTA */
.consult-section {
  padding: 80px 8%;
  background-color: #0d0d0d;
  text-align: center;
  border-top: 1px solid #222222;
  border-bottom: 1px solid #222222;
}

.consult-container {
  max-width: 900px;
  margin: 0 auto;
}

.consult-title {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.2;
}

.consult-title span {
  color: #ff1e00;
}

.consult-line {
  width: 80px;
  height: 4px;
  background-color: #ff1e00;
  margin: 0 auto 30px auto;
  border-radius: 2px;
}

.consult-desc {
  font-size: 1.1rem;
  color: #cccccc;
  line-height: 1.8;
  margin-bottom: 35px;
  font-family: 'Segoe UI', Roboto, sans-serif;
}

.btn-consult-now {
  display: inline-block;
  background: #ff1e00;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 16px 40px;
  text-decoration: none;
  border-radius: 62px;
  box-shadow: 0 10px 25px rgba(255, 30, 0, 0.3);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.btn-consult-now:hover {
  background: #ffffff;
  color: #ff1e00;
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
}

/* SECTION TITLE Gallery */
    .gallery-section-title {
      text-align: center;
      margin-bottom: 50px;
      margin-top: 40px;
    }

    .gallery-section-title h2 {
      font-size: 2.8rem;
      font-weight: 900;
      text-transform: uppercase;
      font-style: italic;
    }

    .gallery-section-title h2 span {
      color: #ff1e00;
    }

    .gallery-section-title p {
      color: #888;
      max-width: 600px;
      margin: 10px auto 0;
    }

/* GALERI / SHOWROOM SECTION */
    .gallery-section {
      padding: 100px 8%;
      background: #0d0d0d;
    }

    .filter-btn-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
      margin-bottom: 40px;
      
    }

    .filter-btn {
      background: #141414;
      color: #aaa;
      border: 1px solid #333;
      padding: 10px 24px;
      font-weight: 700;
      text-transform: uppercase;
      cursor: pointer;
      transition: 0.3s;
    }

    .filter-btn:hover, .filter-btn.active {
      background: #ff1e00;
      color: #fff;
      border-color: #ff1e00;
    }

    .bike-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 30px;
    }

    .bike-card {
      background: #141414;
      border: 1px solid #222;
      border-radius: 4px;
      overflow: hidden;
      transition: transform 0.3s, border-color 0.3s;
      position: relative;
    }

    .bike-card:hover {
      transform: translateY(-8px);
      border-color: #ff1e00;
    }

    .bike-img-box {
      width: 100%;
      height: 230px;
      overflow: hidden;
      position: relative;
    }

    .bike-img-box img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s;
    }

    .bike-card:hover .bike-img-box img {
      transform: scale(1.1);
    }

    .bike-tag {
      position: absolute;
      top: 15px;
      left: 15px;
      background: #ff1e00;
      color: #fff;
      font-size: 0.75rem;
      font-weight: 800;
      padding: 4px 10px;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .bike-details {
      padding: 25px;
    }

    .bike-details h3 {
      font-size: 1.5rem;
      font-weight: 800;
      text-transform: uppercase;
      margin-bottom: 8px;
    }

    .bike-price {
      font-size: 1.3rem;
      color: #ff1e00;
      font-weight: 900;
      margin-bottom: 15px;
    }

    .bike-specs {
      display: flex;
      justify-content: space-between;
      border-top: 1px solid #222;
      border-bottom: 1px solid #222;
      padding: 12px 0;
      margin-bottom: 20px;
      font-size: 0.85rem;
      color: #aaa;
    }

    .bike-specs span strong {
      color: #fff;
      display: block;
    }

    .btn-buy {
      width: 100%;
      background: #222;
      color: #fff;
      border: none;
      padding: 12px;
      font-weight: 800;
      text-transform: uppercase;
      cursor: pointer;
      transition: 0.3s;
    }

    .bike-card:hover .btn-buy {
      background: #ff1e00;
    }

    .view-all-collection {
      text-align:center; 
      margin:32px 0 8px;
    }

    .view-all-collection a {
      display:inline-block; 
      padding:13px 28px; 
      background: #ff1e00;
      color: #ffffff;
      border-radius:6px; 
      text-decoration:none; 
      font-weight:700;
      box-shadow: 0 10px 25px rgba(255, 30, 0, 0.3);
      transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    }

    .view-all-collection a:hover {
      background: #ffffff;
      color: #ff1e00;
      transform: translateY(-4px);
      box-shadow: 0 15px 30px rgba(255, 255, 255, 0.2);
    }


    /* FOOTERS */
    footer {
      background-color: #050505;
      color: #888888;
      padding: 60px 20px 8%;
      border-top: 2px solid #222222;
      
    }

    .footer-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 40px;
      margin-bottom: 40px ;
    }

    .footer-col h3 {
      color: #ffffff;
      font-size: 1.1rem;
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 20px;
      letter-spacing: 1px;
      border-left: 3px solid #ff1e00;
      padding-left: 10px;
    }

    .footer-col p {
      font-size: 0.9rem;
      line-height: 1.6;
      margin-bottom: 15px;
    }

    .footer-links {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 10px;

    }

    .footer-links a {
      color: #aaaaaa;
      text-decoration: none;
      font-size: 0.9rem;

    }

    .footer-socials {
      display: flex;
      gap: 15px;
      
    }

    .footer-socials a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 36px;
      height: 36px;
      background-color: #141414;
      color: #fff;
      border-radius: 4px;
      text-decoration: none;
      border: 1px solid #222;
    }

    .footer-bottom {
      text-align: center;
      padding-top: 14px;
    }

  
    /* RESPONSIVE */
    @media (max-width: 768px) {
      .hero h1 {
        font-size: 2.5rem;
      }
      nav ul {
        display: none;
      }
    }

/* =========================================================
   RESPONSIVE UPDATE — TABLET & HANDPHONE
   Navigasi tetap tampil dan bisa digunakan pada layar sentuh.
   ========================================================= */
img, video, iframe {
  max-width: 100%;
}
html {
  scroll-padding-top: 110px;
}
body {
  max-width: 100%;
}

@media (max-width: 1024px) {
  header {
    position: sticky;
    top: 0;
    width: 100%;
    padding: 13px 4%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
  }

  header .logo {
    font-size: clamp(1.12rem, 2.5vw, 1.55rem);
    line-height: 1.2;
    min-width: 0;
  }

  header > nav {
    order: 3;
    flex: 1 0 100%;
    width: 100%;
    min-width: 0;
  }

  header > nav > ul {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 9px 18px;
  }

  header > nav > ul > li {
    min-width: 0;
  }

  header nav a {
    font-size: .82rem;
    letter-spacing: .35px;
  }

  header > a {
    margin-left: auto;
    flex-shrink: 0;
  }

  .btn-kontak {
    padding: 9px 15px;
    font-size: .78rem;
    white-space: nowrap;
  }

  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    display: flex;
  }

  .footer-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer-col,
  .footer-container > * {
    min-width: 0;
  }

  .footer-socials {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 125px;
  }

  header {
    padding: 10px 12px;
    gap: 10px 8px;
  }

  header .logo {
    font-size: clamp(.92rem, 3.9vw, 1.18rem);
    letter-spacing: -.3px;
    overflow-wrap: anywhere;
  }

  header .logo img {
    width: 24px;
    height: auto;
  }

  header > nav > ul {
    justify-content: center;
    gap: 8px 12px;
  }

  header nav a {
    font-size: .68rem;
    letter-spacing: 0;
  }

  .btn-kontak {
    padding: 8px 10px;
    font-size: .67rem;
  }

  .dropdown-menu {
    min-width: 205px;
    max-width: calc(100vw - 24px);
  }

  .dropdown-menu a {
    display: block;
    padding: 11px 14px;
    font-size: .72rem;
    white-space: normal;
  }

  footer {
    padding: 40px 16px 28px;
  }

  .footer-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    margin-bottom: 28px;
  }

  .footer-col h3 {
    font-size: 1rem;
    margin-bottom: 13px;
  }

  .footer-col p,
  .footer-links a {
    overflow-wrap: anywhere;
  }

  .footer-bottom {
    font-size: .76rem;
    line-height: 1.6;
  }
}


/* RESPONSIVE HOMEPAGE */
@media (max-width: 1024px) {
  .hero { min-height: 590px; height: calc(100vh - 105px); padding: 0 6%; }
  .hero-content { width: 100%; max-width: 700px; margin-top: 0; }
  .hero h1 { font-size: clamp(2.4rem, 5vw, 3.3rem); }
  .hero p { font-size: 1rem; }
  .advantages-section { padding: 62px 5%; }
  .advantages-row { gap: 18px; }
  .advantage-card { flex: 1 1 calc(50% - 18px); min-width: 0; max-width: none; padding: 27px 20px; }
  .consult-section { padding: 62px 5%; }
  .consult-title { font-size: clamp(1.9rem, 4.5vw, 2.5rem); }
  .consult-desc { font-size: 1rem; }
  .gallery-section { padding: 0 5% 65px; }
  .gallery-section-title h2 { font-size: clamp(2rem, 5vw, 2.6rem); }
  .filter-btn-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .bike-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}
@media (max-width: 640px) {
  .hero { min-height: 500px; height: calc(100svh - 112px); padding: 30px 18px; }
  .hero-content { max-width: 100%; }
  .hero-tag { font-size: .65rem; letter-spacing: .8px; padding: 5px 9px; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.55rem); line-height: 1.12; }
  .hero p { font-size: .9rem; line-height: 1.65; margin: 16px 0 22px; }
  .hero-buttons { flex-wrap: wrap; gap: 12px; }
  .btn-primary { padding: 12px 22px; font-size: .9rem; }
  .slider-btn { width: 34px; height: 34px; font-size: 1rem; }
  .slider-btn.prev { left: 8px; }
  .slider-btn.next { right: 8px; }
  .advantages-section { padding: 45px 14px; }
  .section-title { font-size: clamp(1.45rem, 6vw, 1.9rem); }
  .title-line { margin-bottom: 28px; }
  .advantages-container { gap: 16px; }
  .advantages-row { gap: 16px; }
  .advantage-card { flex: 1 1 100%; width: 100%; min-width: 0; padding: 22px 18px; border-width: 3px; }
  .advantage-card h3 { font-size: 1.08rem; }
  .advantage-card p { font-size: .88rem; }
  .consult-section { padding: 46px 16px; }
  .consult-title { font-size: clamp(1.55rem, 6.5vw, 2rem); }
  .consult-desc { font-size: .92rem; line-height: 1.7; }
  .btn-consult-now { font-size: .9rem; padding: 13px 23px; }
  .gallery-section { padding: 0 14px 50px; }
  .gallery-section-title { margin-top: 25px; margin-bottom: 28px; }
  .gallery-section-title h2 { font-size: clamp(1.6rem, 7vw, 2.1rem); }
  .gallery-section-title p { font-size: .88rem; }
  .filter-btn-container { gap: 8px; }
  .filter-btn { padding: 9px 13px; font-size: .72rem; }
  .bike-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .bike-img-box { height: 215px; }
  .bike-details { padding: 16px; }
  .bike-details h3 { font-size: 1.08rem; }
  .bike-price { font-size: 1.02rem; }
  .bike-specs { flex-wrap: wrap; justify-content: flex-start; gap: 8px 15px; font-size: .75rem; }
  .view-all-collection { max-width: 100%; }
}

/* CTA booking kunjungan */
.btn-booking-home{margin-left:10px;min-height:44px}
.bike-card-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:14px}
.bike-card-actions .btn-buy,.bike-card-actions .btn-booking{display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;min-height:42px;padding:10px 12px;border-radius:4px;font-weight:700;font-size:12px}
.bike-card-actions .btn-booking{background:#252525;color:#fff;border:1px solid #ff1e00}
.bike-card-actions .btn-booking:hover{background:#ff1e00}
@media(max-width:640px){.btn-booking-home{margin:10px 0 0;width:100%}.hero-buttons{display:flex;flex-wrap:wrap;gap:10px}.hero-buttons .btn-primary{margin:0}}
