:root {
  --primary-red: #e60012;
  --primary-red-dark: #b4000f;
  --black: #0f0f10;
  --black-soft: #17181b;
  --dark-section: #1d1e22;
  --white: #ffffff;
  --text-light: #d7d7db;
  --text-muted: #a9abb3;
  --border-soft: rgba(255, 255, 255, 0.08);
  --shadow-red: 0 12px 40px rgba(230, 0, 18, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: "Public Sans", sans-serif;
}

a {
  text-decoration: none;
}

.section-dark {
  background: var(--black);
}

.section-soft-dark {
  background: var(--dark-section);
}

.section-light-soft {
  background: #f4f4f6;
  color: #111;
}

.text-muted-custom {
  color: var(--text-muted);
}

.btn-red {
  background: var(--primary-red);
  color: var(--white);
  border: 1px solid var(--primary-red);
  border-radius: 12px;
  padding: 13px 24px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-red:hover {
  background: var(--primary-red-dark);
  border-color: var(--primary-red-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-red {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(230, 0, 18, 0.7);
  border-radius: 12px;
  padding: 13px 24px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-outline-red:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: var(--white);
  transform: translateY(-2px);
}

.section-title {
  font-size: 2.4rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 700px;
  line-height: 1.8;
}

.red-badge {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid rgba(230, 0, 18, 0.8);
  border-radius: 999px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(230, 0, 18, 0.12);
}

.navbar-red-premium {
  background: rgba(10, 10, 12, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.brand-red {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #fff;
}

.brand-red:hover {
  color: #fff;
}

.brand-mark {
  width: 14px;
  height: 14px;
  background: var(--primary-red);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(230, 0, 18, 0.5);
}

.navbar-red-premium .nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  margin-left: 10px;
}

.navbar-red-premium .nav-link:hover,
.navbar-red-premium .nav-link:focus {
  color: #fff;
}

.hero-red-showroom {
  position: relative;
  overflow: hidden;
  background: #000;
}

.hero-red-slide {
  position: relative;
  height: 88vh;
  min-height: 620px;
  max-height: 920px;
  overflow: hidden;
}

.hero-red-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoomRed 7s ease forwards;
}

.hero-red-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.68) 35%, rgba(35, 0, 0, 0.4) 65%, rgba(20, 0, 0, 0.2) 100%);
}

.hero-red-accent {
  position: absolute;
  background: rgba(230, 0, 18, 0.92);
  z-index: 1;
}

.hero-red-accent-top {
  width: 480px;
  height: 180px;
  top: -60px;
  left: 25%;
  border-radius: 0 0 220px 220px;
  transform: rotate(-8deg);
  opacity: 0.9;
}

.hero-red-accent-bottom {
  width: 420px;
  height: 180px;
  bottom: -70px;
  right: -40px;
  border-radius: 220px 220px 0 0;
  transform: rotate(-8deg);
  opacity: 0.95;
}

.hero-red-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: #fff;
}

.hero-red-content h1 {
  font-size: 4rem;
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.hero-red-content p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.hero-red-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-red-points span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 10px 16px;
  border: 1px solid rgba(230, 0, 18, 0.8);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
}

.hero-red-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-red-side-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: end;
}

.hero-side-box {
  width: 280px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 22px;
  color: #fff;
}

.hero-side-box small {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-side-box strong {
  font-size: 1.2rem;
  display: block;
  line-height: 1.5;
}

.hero-side-box.red-box {
  background: var(--primary-red);
  border-color: var(--primary-red);
  box-shadow: var(--shadow-red);
}

.hero-red-control {
  width: 70px;
  opacity: 1;
}

.hero-red-control .carousel-control-prev-icon,
.hero-red-control .carousel-control-next-icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.45);
  background-size: 50% 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-red-indicators {
  bottom: 24px;
}

.hero-red-indicators button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50%;
  border: 0 !important;
  background-color: rgba(255, 255, 255, 0.45) !important;
  margin: 0 6px !important;
}

.hero-red-indicators .active {
  background-color: var(--primary-red) !important;
}

.carousel-item.active .hero-red-content h1,
.carousel-item.active .hero-red-content p,
.carousel-item.active .hero-red-content .hero-red-points,
.carousel-item.active .hero-red-content .hero-red-actions,
.carousel-item.active .hero-red-side-card {
  animation: heroRedFadeUp 0.85s ease forwards;
}

@keyframes heroRedFadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoomRed {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

.intro-red-block {
  background: #3a3a3d;
}

.intro-main-box,
.intro-info-box,
.intro-call-box {
  min-height: 220px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro-main-box {
  background: transparent;
  color: #fff;
}

.intro-main-box h2 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 16px;
  color: #fff;
  max-width: 270px;
}

.intro-main-box p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
  word-break: break-word;
}

.intro-info-box {
  background: #d9d9db;
  color: #222;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.5;
}

.intro-call-box {
  background: var(--primary-red);
  color: #fff;
  transition: all 0.3s ease;
}

.intro-call-box:hover {
  color: #fff;
  background: var(--primary-red-dark);
}

.intro-call-box span {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.intro-call-box strong {
  font-size: 1.25rem;
  line-height: 1.5;
}

.car-card-red {
  background: #151518;
  border: 1px solid rgba(230, 0, 18, 0.14);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.car-card-red:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 50px rgba(230, 0, 18, 0.12);
  border-color: rgba(230, 0, 18, 0.35);
}

.car-card-red .car-thumb {
  position: relative;
  overflow: hidden;
}

.car-card-red .car-thumb img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.car-card-red:hover .car-thumb img {
  transform: scale(1.05);
}

.car-card-red .car-body {
  padding: 22px;
}

.car-card-red .car-title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.car-card-red .car-price {
  color: var(--primary-red);
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.car-card-red .car-meta {
  color: #c7c7cb;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.car-card-red .car-meta span {
  display: inline-block;
  margin-right: 12px;
  margin-bottom: 6px;
}

.status-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  z-index: 2;
}

.status-available {
  background: #18b45b;
  color: #fff;
}

.status-booked {
  background: #ffb300;
  color: #111;
}

.status-maintenance {
  background: #6c757d;
  color: #fff;
}

.feature-red-card {
  background: #151518;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.3s ease;
}

.feature-red-card:hover {
  border-color: rgba(230, 0, 18, 0.35);
  transform: translateY(-6px);
}

.feature-red-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-red);
  margin-bottom: 18px;
}

.feature-red-card h3 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.feature-red-card p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.8;
}

.cta-band-red {
  background: linear-gradient(180deg, #1d1e22 0%, #111214 100%);
}

.cta-band-box {
  border: 1px solid rgba(230, 0, 18, 0.2);
  border-radius: 24px;
  padding: 38px 34px;
  background: linear-gradient(135deg, rgba(230, 0, 18, 0.16) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.cta-band-box h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.cta-band-box p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.8;
}

.footer-red {
  background: #0b0b0d;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  font-size: 1.45rem;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
}

.footer-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.footer-text,
.footer-links li,
.footer-links a {
  color: var(--text-muted);
  line-height: 1.9;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.floating-wa-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  z-index: 999;
}

.floating-wa-btn:hover {
  color: #fff;
  transform: translateY(-2px);
}

.empty-state-red {
  padding: 48px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  color: var(--text-muted);
}

@media (max-width: 1199.98px) {
  .hero-red-content h1 {
    font-size: 3.2rem;
  }
}

@media (max-width: 991.98px) {
  .hero-red-slide {
    height: 78vh;
    min-height: 560px;
  }

  .hero-red-content h1 {
    font-size: 2.7rem;
  }

  .hero-red-content p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .intro-main-box h2 {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .hero-red-slide {
    height: 82vh;
    min-height: 620px;
  }

  .hero-red-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.55) 35%, rgba(0, 0, 0, 0.88) 100%);
  }

  .hero-red-content h1 {
    font-size: 2.1rem;
    line-height: 1.12;
  }

  .hero-red-content p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .hero-red-points span {
    min-width: unset;
    font-size: 0.82rem;
    padding: 9px 14px;
  }

  .hero-red-actions {
    flex-direction: column;
  }

  .hero-red-actions .btn {
    width: 100%;
  }

  .hero-red-control {
    display: none;
  }

  .hero-red-accent-top {
    width: 280px;
    height: 120px;
    left: 18%;
  }

  .hero-red-accent-bottom {
    width: 260px;
    height: 120px;
  }

  .intro-main-box h2 {
    font-size: 2.2rem;
  }

  .intro-info-box,
  .intro-call-box,
  .intro-main-box {
    min-height: unset;
  }

  .car-card-red .car-thumb img {
    height: 200px;
  }

  .cta-band-box h2 {
    font-size: 1.7rem;
  }

  .section-title {
    font-size: 1.7rem;
  }
}

/* =========================
   DETAIL PAGE - CLEAN FIX
========================= */

.detail-hero-red {
  background: linear-gradient(180deg, #0a0a0c 0%, #15161a 100%);
  padding-top: 48px;
  padding-bottom: 64px;
}

.detail-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #9ea3ae;
  font-size: 14px;
  margin-bottom: 24px;
}

.detail-breadcrumb a {
  color: #9ea3ae;
  transition: 0.25s ease;
}

.detail-breadcrumb a:hover {
  color: #ffffff;
}

/* area galeri kiri */
.detail-main-image-box {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #111214;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}

.detail-main-image {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
}

/* thumbnail */
.detail-thumb-btn {
  width: 100%;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: #111214;
  transition: all 0.25s ease;
  cursor: pointer;
}

.detail-thumb-btn img {
  display: block;
  width: 100%;
  height: 95px;
  object-fit: cover;
}

.detail-thumb-btn:hover,
.detail-thumb-btn.active {
  border-color: rgba(230, 0, 18, 0.8);
  box-shadow: 0 0 0 2px rgba(230, 0, 18, 0.18);
  transform: translateY(-2px);
}

/* card detail kanan */
.detail-info-card {
  background: #151518;
  border: 1px solid rgba(230, 0, 18, 0.14);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  position: sticky;
  top: 100px;
}

.detail-title {
  font-size: 2.15rem;
  line-height: 1.15;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.detail-price {
  color: #ff1a1a;
  font-size: 1.95rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.detail-desc {
  color: #d4d7dd;
  line-height: 1.85;
  margin-bottom: 24px;
  font-size: 15px;
}

.detail-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 26px;
}

.detail-spec-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 16px 18px;
}

.detail-spec-item small {
  display: block;
  color: #9ea3ae;
  font-size: 12px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.detail-spec-item strong {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
}

/* status badge */
.status-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.status-available {
  background: #17b35b;
  color: #fff;
}

.status-booked {
  background: #ffc107;
  color: #111;
}

.status-maintenance {
  background: #6c757d;
  color: #fff;
}

/* =========================
   SECTION HEADING
========================= */

.section-heading-wrap {
  margin-bottom: 28px;
}

.section-title {
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-subtitle {
  color: #a9abb3;
  max-width: 680px;
  line-height: 1.8;
  font-size: 14px;
}

/* =========================
   CARD MOBIL LAINNYA
========================= */

.section-soft-dark {
  background: #1a1b20;
}

.car-card-red {
  background: #121317;
  border: 1px solid rgba(230, 0, 18, 0.15);
  border-radius: 18px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.car-card-red:hover {
  transform: translateY(-6px);
  border-color: rgba(230, 0, 18, 0.4);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.car-card-red .car-thumb {
  position: relative;
  overflow: hidden;
}

.car-card-red .car-thumb img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.car-card-red .car-body {
  padding: 18px;
}

.car-card-red .car-title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.35;
}

.car-card-red .car-price {
  color: #ff1a1a;
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.car-card-red .car-meta {
  color: #b9bec8;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.car-card-red .car-meta span {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 4px;
}

/* tombol card */
.btn-red,
.btn-outline-red {
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 16px;
}

.btn-red {
  background: #e60012;
  border: 1px solid #e60012;
  color: #fff;
}

.btn-red:hover {
  background: #bf000f;
  border-color: #bf000f;
  color: #fff;
}

.btn-outline-red {
  background: transparent;
  border: 1px solid rgba(230, 0, 18, 0.85);
  color: #fff;
}

.btn-outline-red:hover {
  background: #e60012;
  border-color: #e60012;
  color: #fff;
}

/* =========================
   FOOTER
========================= */

.footer-red {
  background: #08090b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 56px;
  padding-bottom: 32px;
}

.footer-brand {
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-text,
.footer-links li,
.footer-links a {
  color: #a9abb3;
  font-size: 14px;
  line-height: 1.9;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 28px;
  padding-top: 18px;
}

.footer-bottom p {
  color: #8f95a0;
  font-size: 13px;
}

/* =========================
   FLOATING WA
========================= */

.floating-wa-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  z-index: 999;
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.35);
}

.floating-wa-btn:hover {
  color: #fff;
  transform: translateY(-2px);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 991.98px) {
  .detail-info-card {
    position: static;
    top: auto;
  }

  .detail-main-image {
    height: 420px;
  }

  .detail-title {
    font-size: 1.9rem;
  }
}

@media (max-width: 767.98px) {
  .detail-hero-red {
    padding-top: 32px;
    padding-bottom: 42px;
  }

  .detail-main-image {
    height: 260px;
  }

  .detail-thumb-btn img {
    height: 72px;
  }

  .detail-info-card {
    padding: 22px;
    border-radius: 20px;
  }

  .detail-title {
    font-size: 1.55rem;
  }

  .detail-price {
    font-size: 1.45rem;
  }

  .detail-spec-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .car-card-red .car-thumb img {
    height: 180px;
  }

  .footer-red {
    padding-top: 42px;
  }
}