/* === GLOBAL === */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #002f6c;
}

/* === NAVBAR === */
.navbar {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 15px 0;
  min-height: 70px;
  transition: all 0.4s ease;
}
.navbar:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.navbar-brand img {
  height: 40px;
}
.nav-link {
  color: #002f6c !important;
  font-weight: bold;
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: #e60012 !important;
}
.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1030;
}

/* === TOP INFO BAR === */
.bg-info-top {
  background-color: #002f6c;
  font-size: 14px;
}
.bg-info-top a:hover {
  text-decoration: underline;
}
.contact-icons a {
  color: white;
  text-decoration: none;
  margin-left: 10px;
  font-size: 1rem;
}
@media (max-width: 768px) {
  .contact-text {
    display: none;
  }
}

/* === MARQUEE === */
.marquee-container {
  background-color: #002f6c;
  color: white;
  font-size: 15px;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  height: 35px;
  display: flex;
  align-items: center;
}
.marquee-container span {
  display: inline-block;
  padding-left: 100%;
  animation: marqueeScroll 20s linear infinite;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

/* === TENTANG & ALAMAT === */
.dealer-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin: 30px 0 10px;
  color: #000;
  position: relative;
}
.dealer-title::after {
  content: "";
  width: 100px;
  height: 4px;
  background-color: #e60012;
  display: block;
  margin: 10px auto 0;
}
ul.checklist {
  list-style: none;
  padding-left: 0;
}
ul.checklist li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: green;
  margin-right: 8px;
}
.section-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #002f6c;
}
.card-title {
  color: #002f6c;
}
.category-btn {
  margin: 5px;
}

/* === CARD PRODUK & CAROUSEL === */
.carousel-container {
  display: flex;
  align-items: center;
  position: relative;
}
.card-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 10px;
  padding-bottom: 1rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.card-carousel::-webkit-scrollbar {
  display: none;
}
.card-carousel::-webkit-scrollbar-thumb {
  background-color: #002f6c;
  border-radius: 10px;
}
.card-carousel::-webkit-scrollbar-track {
  background: #eee;
}
.product-card {
  flex: 0 0 auto;
  width: 250px;
  min-width: 250px;
  height: 300px;
  background-color: #f0f0f0;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
  scroll-snap-align: start;
}
.product-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.product-card .btn-sm {
  font-size: 0.75rem;
}
@media (max-width: 768px) {
  .product-card {
    width: 50vw;
  }
}

/* === CAROUSEL BUTTONS === */
.carousel-btn,
.nav-arrow {
  position: absolute;
  top: 35%;
  z-index: 10;
  background-color: rgba(0, 47, 108, 0.7);
  border: none;
  color: white;
  padding: 10px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
}
.left-arrow {
  left: 10px;
}
.right-arrow {
  right: 10px;
}

/* === SCROLL TO TOP === */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 999;
  background-color: #e60012;
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}
.scroll-top-btn:hover {
  transform: scale(1.1);
}

/* === FOOTER === */
.footer {
  background-color: #002f6c;
  color: white;
  padding: 40px 20px 20px;
}
.footer-logo img {
  width: 100px;
}
.footer-nav a {
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}


.footer-benefits li {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.footer a:hover {
  text-decoration: underline;
  color: #ffc107;
}

@media (max-width: 768px) {
  .footer img {
    max-width: 80px !important;
  }
}

.footer-card {
  background-color: #003b7a;
  border-radius: 1rem;
}

.card-footer-mobile {
  background-color: #002f6c;
}

/* Footer Desktop: Semua warna navy, kecuali ceklis tetap hijau */
@media (min-width: 768px) {
footer .text-dark,
footer .footer-benefits li,
footer .text-decoration-none,
footer .fas:not(.fa-check-circle),
footer .fab,
footer h5,
footer p,
footer ul li a {
  color: #002f6c !important;
}

/* Ikon ceklis tetap hijau */
footer .fa-check-circle {
  color: #28a745 !important; /* atau ganti sesuai warna hijau yang kamu mau */
}

footer a:hover {
  text-decoration: underline;
}
}





/* === RESPONSIVE LAYOUT === */
.responsive-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
  width: 100%;
}
.responsive-col {
  flex: 1 1 50%;
  max-width: 50%;
}
.responsive-img,
.responsive-map {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .responsive-col {
    flex: 1 1 50%;
    max-width: 50%;
  }
  .responsive-img,
  .responsive-map {
    height: 100%;
    max-height: 200px;
  }
}

/* === CAROUSEL IMAGE ZOOM === */
.zoom-img {
  transition: transform 5s ease;
}
.carousel-item.active .zoom-img {
  transform: scale(1.1);
}

/* === CAROUSEL INDICATORS === */
.carousel-inner {
  max-height: 500px;
  overflow: hidden;
}
.carousel-indicators [data-bs-target] {
  background-color: #002f6c;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

/* === UTILITAS === */
.bg-navy {
  background-color: #002f6c;
}
.card {
  border: none;
}
.object-fit-cover {
  object-fit: cover;
}
.info-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ICON FOOTER MOBILE */
.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #002f6c;
  z-index: 9999;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.divider-vertikal {
  width: 1px;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.3);
}

/* page harga  */

.dropdown-toggle {
  background-color: #002f6c;
  color: white;
  border: none;
  text-align: left;
}

.dropdown-menu {
  width: 100%;
}

.dropdown-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 15px;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

.keterangan {
  background-color: rgba(255, 255, 255, 0.9);
  color: #002f6c;
  padding: 20px 20px 20px 30px;
  border-left: 8px solid #002f6c;
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.keterangan ol li {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .dropdown-item {
    font-size: 14px;
  }
}

