/* Google Fonts*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,700;1,600&display=swap");
* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  scroll-padding-top: 1rem;
  scroll-behavior: smooth;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}
@import "tailwindcss";
@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";

/* Untuk posisi default */
#menu-icon {
  font-size: 32px;
  color: rgb(255, 255, 255);
  cursor: pointer;
  display: block;
}

.navbar {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  right: 20px;
  background-color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 1000;
}

.navbar.active ul {
  display: flex;
}

@media (min-width: 768px) {
  #menu-icon {
    display: none;
  }

  .navbar {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: none;
    box-shadow: none;
  }

  .navbar a {
    color: rgb(128, 128, 128);
    padding: 0 16px;
  }
}

.coverage-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  padding: 20px;
}

/* PETA DAN INFO BERSEBELAHAN DI DESKTOP */
.coverage-map, .coverage-info {
  flex: 1 1 100%;
}

#map {
  width: 100%;
  height: 300px;
  border-radius: 10px;
}

.coverage-table table {
  width: 100%;
  overflow-x: auto;
  display: block;
  border-collapse: collapse;
}



@media (min-width: 768px) {
  .coverage-map, .coverage-info {
    flex: 1 1 45%;
  }

  #map {
    height: 350px;
  }
}

@media (min-width: 1024px) {
  #map {
    height: 400px;
  }

  .wa-button {
    font-size: 18px;
  }
}

:root {
  --main-color: #ff6d00;
  --text-color: #020102;
  --bg-color: #fff;
}

/* Custom Scroll Bar */
html::-webkit-scrollbar {
  width: 0.5rem;
  background: transparent;
}

html::-webkit-scrollbar-thumb {
  border-radius: 0.5rem;
  background: rgba(43, 43, 255, 0.479);
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  -ms-border-radius: 0.5rem;
  -o-border-radius: 0.5rem;
}

section {
  padding: 4rem 0 2rem;
}

img {
  width: 100%;
}

body {
  color: var(--text-color);
}

.home-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slider-background {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: opacity 1.5s ease-in-out, transform 3s ease-in-out;
  z-index: -1;
}


.container {
  max-width: 1068px;
  margin-left: auto;
  margin-right: auto;
}

header {
  display: block;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0px;
  z-index: 100;
}


@keyframes slideDownFade {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 8px 15px;
  }

  .navbar a {
    font-size: 0.85rem;
  }

  .logo img {
    height: 35px;
  }
}

.navbar li a {
  padding: 4px 0;
  line-height: 1.2;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  /*efekblur*/background-color: rgba(255, 255, 255, 0.1);
  /*transparan+blur*/transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.9); /* ubah ke gelap */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(0); /* hilangkan blur */
}

.navbar a {
  color: white;
  transition: color 0.4s ease;
}

.navbar a.scrolled-link {
  color: rgb(0, 0, 0) !important;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

header.scrolled {
  animation: fadeDown 0.6s ease;
}

header {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}


.navbar li a {
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
  text-decoration: none;
}

.navbar li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background-color: #ff3c00;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.navbar li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

header.shadow {
  background: var(--bg-color);
  box-shadow: 4px 4px 20px rgb(15 54 55 / 10%);
  transition: o.5s ease;
  -webkit-transition: o.5s ease;
  -moz-transition: o.5s ease;
  -ms-transition: o.5s ease;
  -o-transition: o.5s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.navbar {
  display: flex;
  gap: 20px;
  margin-left: auto; /* Mendorong menu ke kanan */
  list-style: none;
}


#menu-icon {
  font-size: 24px;
  cursor: pointer;
  color: var(--text-color);
  display: none;
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-color);
}

.logo span {
  color: var(--main-color);
}

.navbar {
  display: flex;
  column-gap: 1rem;;
}

.navbar a {
  color: var(--text-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 500;
}

.navbar a:hover,
.navbar .active {
  color: #0051ff;
}


.home {
  max-width: 1400px;
  margin: auto;
  width: 100%;
  min-height: 660px;
  display: flex;
  align-items: center;
  background: url(img/Background-home.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center left;
}

.home-text {
  padding-left: 130px;
}

.home-text h1 {
  font-size: 3rem;
}

.home-text a {
  font-size: 0.983rem;
}

.home-text span {
  color: var(--main-color);
}

.home-text p {
  font-size: 1rem;
  font-weight: 300;
  margin: 0.5rem 0 1.2rem;
}

.btn {
  padding: 10px 22px;
  background: var(--main-color);
  color: var(--bg-color);
  font-weight: 400;
  border-radius: 0.5rem;
}

.btn:hover {
  transform: scale(1.06);
  background: #ff5100;
  box-shadow: 1px 1px 20px rgba(255, 94, 0, 0.7);
  -webkit-transform: scale(1.06);
  -moz-transform: scale(1.06);
  -ms-transform: scale(1.06);
  -o-transform: scale(1.06);
}

/* .box:hover {
  box-shadow: 1px 1px 20px rgb(255, 94, 0);
} */

.heading {
  text-align: center;
}

.heading span {
  font-weight: 500;
  color: var(--main-color);
}

.heading p {
  font-size: 0.938rem;
  font-weight: 300;
}

.cars-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  margin-right: 20px;
  margin-left: 20px;
}

.cars-container .box {
  flex: 1 1 17rem;
  position: relative;
  /* height: 300px; */
  border-radius: 1rem;
  overflow: hidden;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
}

html {
  scroll-behavior: smooth;
}


.cars-container .box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
  border: 2px solid var(--main-color);
  box-shadow: 0 0 10px var(--main-color);
  border-radius: 1rem;}

 .cars-container .box img:hover {
  box-shadow: 0 0 20px var(--main-color);
  border: 2px solid var(--main-color);
  transform: scale(1.1);
  transition: 0.5s;
 }

 .box:hover {
  box-shadow: 0 0 20px var(--main-color);
  transform: scale(1.05);
  transition: 0.2s;
  border: 5px solid var(--main-color);
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  -ms-transition: 0.2s;
  -o-transition: 0.2s;
}


.cars-container .box h2 {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-weight: 400;
  font-size: 1rem;
  background: var(--bg-color);
  padding: 8px;
  border-radius: 0.5rem;
}

.cars-container .box:hover h2 {
  background: var(--main-color);
  color: var(--bg-color);
}

.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.about-img {
  flex: 1 1 21rem;
}

.aboutt-img {
  flex: 1 1 21rem;
}

.about-text {
  flex: 1 1 21rem;
}

.about-text span {
 align-items: center;
  color: var(--main-color);
}

.about-text h2 {
  font-size: 1.7rem;
}

.about-text p {
  font-size: 0.938rem;
  margin: 0.5rem 0 1.4rem;
}
.aboutt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}


.aboutt-img {
  flex: 1 1 5rem;
}

.aboutt-text {
  flex: 1 1 21rem;
}

.aboutt-text span {
 align-items: center;
  color: var(--main-color);
}

.aboutt-text h2 {
  font-size: 1.7rem;
}

.aboutt-text p {
  font-size: 0.938rem;
  margin: 0.5rem 0 1.4rem;
}


.parts-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.parts-container .box {
  text-align: center;
  flex: 1 1 17rem;
  position: relative;
  padding: 20px;
  display: flex;
  flex-direction: column;
  background: #000080;
  border-radius: 1rem;
  border: 4px solid var(--main-color);;
}

 .parts-container .box:hover {
    border: 2px solid var(--main-color);
  }

.parts-container .box img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  object-position: center;
  margin-bottom: 1rem;
}

.parts-container .box h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.parts-container .box span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--main-color);
}

.parts-container .box .bx {
  color: yellow;
  margin: 0.8rem 0;
}

.parts-container .box .btn {
  text-align: center;
}

@media (max-width: 768px) {
  .parts-container .box img {
    border-radius: 1rem !important;
    height: 100% !important;
    -webkit-border-radius: 1rem !important;
    -moz-border-radius: 1rem !important;
    -ms-border-radius: 1rem !important;
    -o-border-radius: 1rem !important;
}
}

.footer {
  background: var(--text-color);
  color: #f6f6f6;
  border-top: 2px solid var(--main-color);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.footer-container .logo {
  color: var(--bg-color);
  margin-bottom: 1rem;
}

.footer-container .footer-box {
  display: flex;
  flex-direction: column;
}

.social {
  display: flex;
  align-items: center;
}

.social a {
  font-size: 24px;
  color: var(--bg-color);
  margin-right: 1rem;
}

.social a:hover {
  color: var(--main-color);
}

.footer-box h3 {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.footer-box a,
.footer-box p {
  color: #d1d1d1;
  margin-bottom: 10px;
}

/* .footer-box a:hover {
  color: var(--main-color);
} */

.copyright {
  padding: 20px;
  text-align: center;
  color: var(--bg-color);
  background: var(--text-color);
}

/* Responsive */
@media (max-width: 1000px) {
  .container {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

@media (max-width: 991px) {
  .nav {
    padding: 15px 20px;
  }
  section {
    padding: 3rem 0 1rem;
  }
  .home-text {
    padding-left: 2rem;
  }
  .home-text h1 {
    font-size: 2.1rem;
  }
}

@media (max-width: 920px) {
  #search-icon {
    color: var(--text-color);
  }
}

@media (max-width: 768px) {
  .search-box input {
    padding: 15px;
  }
  .nav {
    padding: 10px 0;
  }
  #menu-icon {
    display: initial;
  }
  .navbar {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    background: var(--bg-color);
    row-gap: 0.5rem;
    text-align: center;
    box-shadow: 4px 4px 20px rgb(15 54 55 / 20%);
    clip-path: circle(0% at 0% 0%);
    transition: 0.6s;
  }

  .navbar a {
    display: block;
    padding: 15px;
  }

  .navbar a:hover,
  .navbar .active {
    border-bottom: none;
    background: var(--main-color);
    color: var(--bg-color);
  }

  .navbar.active {
    clip-path: circle(144% at 0% 0%);
  }
}



@media (max-width: 727px) {
  .heading span {
    font-size: 0.9rem;
  }
  .heading h2 {
    font-size: 1.4rem;
  }

  .heading {
    margin-top: 0; /* hilangkan jarak di atas */
    padding-top: 20px; /* beri sedikit ruang saja */
  }

   .home-slider {
    height: 50vh; /* tinggi slider diperkecil */
  }

  .slider-background {
    background-size: contain; /* supaya gambar tidak terpotong di layar kecil */
    background-repeat: no-repeat;
  }

  .about {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 0; 
  }
  .aboutt {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 0; 
    flex-direction: column-reverse;
  }

  .about-img {
    margin: 0;
    padding-bottom: 1rem;
    padding-top: 1rem;
  }


  .about-img img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    border-radius: 10px;
}

  .about-text {
    margin: 0;
    padding-bottom: 7rem;
  }
  .aboutt-text {
    margin: 0;
    padding-bottom: 3rem;
    text-align: center;
    justify-content: center;
    padding-right: 1rem;
  }

  .about-text h2 {
    font-size: 1.4rem;
    margin: 0;
    padding: 0;
  }
}


@media (max-width: 607px) {
  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px; /* jarak antar box */
  }

  .footer-box {
    width: 100%;
  }

  .footer-box img {
    margin-left: 0 !important;
  }

  .social {
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .search-box input {
    padding: 11px;
  }
  .home {
    min-height: 500px;
  }
  .home-text h1 {
    font-size: 2rem;
  }
  .home-text p br {
    display: contents;
  }
}

html, body {
  overflow-x: hidden;
}

 #lokasiTable {
    border-collapse: collapse;
    width: 100%;
    font-family: Arial, sans-serif;
    font-size: 14px;
  }

  #lokasiTable thead {
    background-color: #333;
    color: #fff;
  }

  #lokasiTable th, #lokasiTable td {
    border: 1px solid #ddd;
    padding: 10px;
    vertical-align: top;
  }

  #lokasiTable td {
    text-align: left;
  }

  #lokasiTable td:hover {
    text-decoration: underline;
  }

  #lokasiTable tr {
    cursor: pointer;
    transition: background-color 0.3s ease;
  }


/* Tombol WA */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
  cursor: pointer;
  z-index: 9999;
  animation: floatIn 0.8s ease-out, pulseGlow 3s infinite ease-in-out;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

/* Popup Styling */
.wa-popup {
  position: fixed;
  bottom: 110px;
  right: 24px;
  width: 280px;
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(40px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease-in-out;
  z-index: 9999;
}

.wa-popup.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.wa-popup h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  color: #333;
}

.wa-input-group {
  display: flex;
  flex-direction: column;
}

.wa-popup input,
.wa-popup textarea,
.wa-popup select {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
  width: 100%;
  transition: border 0.2s ease;
}

.wa-popup input:focus,
.wa-popup textarea:focus,
.wa-popup select:focus {
  border-color: #25d366;
  outline: none;
}

.wa-popup textarea {
  resize: vertical;
  min-height: 80px;
}

.wa-popup button {
  background-color: #25d366;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}

.wa-popup button:hover {
  background-color: #1ebe5a;
  transform: scale(1.03);
}

/* Animasi */
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.8);
  }
}




.video-bg-section {
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: #fff;
  padding: 100px 20px;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Konten di atas video */
.video-bg-section .heading,
.video-bg-section .cars-container {
  position: relative;
  z-index: 2;
}

.video-bg-section {
  position: relative;
  overflow: hidden;
  z-index: 1;
  color: #fff;
  padding: 100px 20px;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-bg-section .heading,
.video-bg-section .parts-container {
  position: relative;
  z-index: 2;
}



/* text shadow */
/* .video-bg-section .heading h2,
.video-bg-section .heading p {
  text-shadow: 1px 1px 3px rgba(255, 94, 0, 0.7);
} */
