/* ============================================================
   Netral Jaya Motor - Main Stylesheet
   Font: Barlow (bold, sporty, cocok buat dealer motor)
   ============================================================ */

:root {
  --njm-red: #CC0000;
  --njm-red-dark: #990000;
  --njm-red-light: #FF3333;
  --njm-black: #0D0D0D;
  --njm-dark: #1A1A1A;
  --njm-gray: #6B7280;
  --njm-light: #F8F9FA;
  --njm-white: #FFFFFF;
}

* { box-sizing: border-box; }

body {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  color: #1A1A1A;
  background: #fff;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNavbar {
  background: var(--njm-black);
  padding: 0.6rem 0;
  transition: all 0.3s ease;
  border-bottom: 2px solid var(--njm-red);
}
#mainNavbar.scrolled {
  background: rgba(13,13,13,0.97);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.navbar-brand .logo-img {
  transition: transform 0.2s;
}
.navbar-brand:hover .logo-img { transform: scale(1.05); }

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85) !important;
  padding: 0.5rem 0.8rem !important;
  border-radius: 4px;
  transition: all 0.2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
  background: var(--njm-red);
}
.dropdown-menu {
  background: var(--njm-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 2px solid var(--njm-red);
  border-radius: 0;
  min-width: 200px;
}
.dropdown-item {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  transition: all 0.15s;
}
.dropdown-item:hover {
  background: var(--njm-red);
  color: #fff;
}

/* ============================================================
   CAROUSEL / BANNER SLIDER
   ============================================================ */
.hero-carousel { position: relative; }
.hero-carousel .carousel-item img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 5%;
  opacity: 0;
  transition: opacity 0.3s;
}
.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next { opacity: 1; }

.hero-cta-wrapper {
  text-align: center;
  padding: 20px;
  background: var(--njm-black);
}
.btn-hero-cta {
  background: var(--njm-red);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 48px;
  border: none;
  border-radius: 2px;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}
.btn-hero-cta:hover {
  background: var(--njm-red-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(204,0,0,0.4);
}

/* ============================================================
   MOTOR CATALOG SECTION
   ============================================================ */
.catalog-section {
  padding: 48px 0 32px;
  background: var(--njm-light);
}
.catalog-section:nth-child(even) {
  background: #fff;
}
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--njm-black);
  border-left: 5px solid var(--njm-red);
  padding-left: 16px;
  margin-bottom: 28px;
}

.motor-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.25s ease;
  height: 100%;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.motor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border-color: var(--njm-red);
}
.motor-card-img {
  background: #f5f5f5;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}
.motor-card-img img {
  max-height: 130px;
  object-fit: contain;
  transition: transform 0.3s;
}
.motor-card:hover .motor-card-img img {
  transform: scale(1.05);
}
.motor-card-body {
  padding: 12px 16px 16px;
  flex: 1;
}
.motor-card-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--njm-black);
}
.motor-card-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--njm-red);
}

/* ============================================================
   BOOKING CTA SECTION
   ============================================================ */
.booking-cta-section {
  background: var(--njm-red);
  padding: 32px 0;
  text-align: center;
}
.btn-booking-cta {
  background: #fff;
  color: var(--njm-red);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 56px;
  border: 3px solid #fff;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-block;
}
.btn-booking-cta:hover {
  background: transparent;
  color: #fff;
}

/* ============================================================
   TESTIMONI SECTION
   ============================================================ */
.testimoni-section {
  padding: 56px 0;
  background: var(--njm-black);
}
.testimoni-section .section-title {
  color: #fff;
}
.testimoni-carousel .carousel-item img {
  border-radius: 8px;
  max-height: 320px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* ============================================================
   GOOGLE REVIEW CTA
   ============================================================ */
.google-review-section {
  padding: 40px 0;
  text-align: center;
  background: var(--njm-light);
}
.google-review-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
  padding: 56px 0;
  background: #fff;
}
.accordion-button {
  font-weight: 600;
  color: var(--njm-black);
}
.accordion-button:not(.collapsed) {
  background: var(--njm-red);
  color: #fff;
  box-shadow: none;
}
.accordion-button::after {
  filter: none;
}
.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

/* ============================================================
   CUSTOMER SERVICE BANNER
   ============================================================ */
.cs-banner-section { overflow: hidden; }
.cs-banner-section img {
  width: 100%;
  object-fit: cover;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--njm-black);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 24px;
}
.footer-heading {
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--njm-red);
  display: inline-block;
}
.footer-text { font-size: 0.875rem; line-height: 1.7; }
.footer-table td { padding: 3px 8px 3px 0; font-size: 0.875rem; }
.footer-divider { border-color: rgba(255,255,255,0.1); margin: 32px 0 16px; }
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

/* ============================================================
   WA FLOAT BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  z-index: 999;
  transition: all 0.25s;
  animation: waPulse 2s infinite;
}
.wa-float:hover {
  background: #128C7E;
  color: #fff;
  transform: scale(1.1);
  animation: none;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.7); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .motor-card-img { min-height: 130px; }
  .motor-card-img img { max-height: 100px; }
  .section-title { font-size: 1.5rem; }
  .hero-carousel .carousel-item img { max-height: 280px; }
}
