@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;
  }

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

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

  .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);
  }

/* ========================================= */
/* DROPDOWN OUR SERVICE                      */
/* ========================================= */

/* 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;
}

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

/* BANNER JUDUL GALERI (MENYESUAIKAN GAYA ABOUT US) */
.gallery-banner {
  height: 480px;
  background: linear-gradient(180deg, rgba(13,13,13,0.3) 0%, rgba(13,13,13,0.9) 100%),
              url(assets/slides/slide5.jpeg) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  border-bottom: 3px solid #ff1e00;
  margin-bottom: 60px;
}

.gallery-banner h2 {
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  color: #ffffff;
  letter-spacing: 2px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

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

/* CONTAINER GRID MOTOR */
.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

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

/* KARTU MOTOR */
.bike-card {
  background: #141414;
  border: 1px solid #222222;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.bike-card:hover {
  transform: translateY(-8px);
  border-color: #ff1e00;
  box-shadow: 0 10px 25px rgba(255, 30, 0, 0.2);
}

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

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

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

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

.bike-details {
  padding: 20px;
  text-align: left;
}

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

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

.bike-specs {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #222222;
  border-bottom: 1px solid #222222;
  padding: 10px 0;
  margin-bottom: 15px;
  font-size: 0.8rem;
  color: #aaaaaa;
}

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

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

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

/* 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 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 GALLERY / SHOWROOM */
@media (max-width: 1024px) {
  .gallery-banner { height: 360px; margin-bottom: 42px; }
  .gallery-banner h2 { font-size: clamp(2rem, 5vw, 2.7rem); padding: 0 18px; }
  .gallery-container { padding: 0 24px; }
  .bike-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .bike-details { padding: 18px; }
}
@media (max-width: 640px) {
  .gallery-banner { height: 250px; margin-bottom: 30px; }
  .gallery-banner h2 { font-size: clamp(1.45rem, 6.5vw, 2rem); letter-spacing: .5px; line-height: 1.25; }
  .gallery-container { padding: 0 14px; }
  .bike-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .bike-img-box { height: 220px; }
  .bike-details { padding: 16px; }
  .bike-details h3 { font-size: 1.08rem; }
  .bike-price { font-size: 1.05rem; }
  .bike-specs { flex-wrap: wrap; justify-content: flex-start; gap: 10px 18px; font-size: .76rem; }
  .gallery-section { padding-bottom: 55px; }
}

/* CTA WhatsApp dan booking */
.gallery-booking-intro{color:#c5c5c5;max-width:620px;margin:12px auto 16px;text-align:center;padding:0 16px}
.gallery-booking-cta,.btn-booking-home{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;background:#252525;color:#fff;border:1px solid #ff1e00;padding:10px 18px;font-weight:700;border-radius:5px;transition:.2s}
.gallery-booking-cta{display:flex;width:max-content;max-width:calc(100% - 24px);margin:0 auto 24px}
.gallery-booking-cta:hover,.btn-booking-home:hover{background:#ff1e00}
.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:480px){.gallery-booking-intro{font-size:13px}.gallery-booking-cta{font-size:12px}}
