:root {
  --primary-color: #003366;
  --primary-light: #2563eb;
  --accent-blue: #0066cc;
  --accent-hover: #005bb5;
  --dark-gray: #333;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --gray-light: #e0f7fa;
}

* {
  transition: all 0.3s ease-in-out;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--light-gray);
}

.header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header .navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Segoe UI', sans-serif;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  padding-right: 1rem;
}

.logo {
  width: 120px;
  height: auto;
  padding-left: 1rem;
}

.contact-sidebar {
  position: fixed;
  top: 100px;
  right: -260px;
  width: 240px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--white);
  padding: 20px 15px;
  border-radius: 16px 0 0 16px;
  box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.2);
  font-family: 'Segoe UI', sans-serif;
  transition: right 0.4s ease-in-out;
  z-index: 1000;
}

@media (max-width: 768px) {
  .contact-sidebar {
    width: 90%;
    right: -95%;
  }

  .contact-sidebar.open {
    right: 0;
  }
}

.contact-sidebar.open {
  right: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.8rem;
  margin: 1rem 0;
  font-size: 16px;
  transition: transform 0.2s ease;
  background-color: var(--white);
  border-radius: 10px;
  height: 50px;
  padding: 0 1rem;
  text-decoration: none;
  color: black;
  font-weight: 600;
}

.contact-item:hover {
  transform: translateX(5px);
  text-decoration: none;
}

.contact-item span {
  color: black;
  font-weight: 600;
}

.contact-item img {
  width: 24px;
  height: 24px;
  display: block;
}

.toggle-sidebar {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 12px 20px;
  border-radius: 9999px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
  z-index: 1001;
}

.toggle-sidebar:hover {
  background-color: #002244;
}

.main-nav {
  position: absolute;
  top: 20px;
  right: 20px;
}

.main-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

.main-nav li a {
  text-decoration: none;
  color: var(--white);
  font-weight: bold;
  transition: color 0.3s ease;
}

.main-nav li a:hover {
  color: #007bff;
}

.hero {
  background: url('suzuki-hero.jpg') no-repeat center center / cover;
  color: black;
  text-align: center;
  padding: 0;
}

.hero-img {
  width: 100%;
}

.hero-item {
  background-color: var(--primary-color);
}

.btn {
  background-color: var(--accent-blue);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  margin-top: 0;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: var(--accent-hover);
}

section {
  padding: 3rem 0;
  text-align: center;
}

.dealer {
  background-color: var(--gray-light);
  width: 100%;
  height: 50vh;
}

.container-models {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.scroll-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  scroll-snap-type: x mandatory;
}

.model-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  padding: 1rem 1rem 1rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.model-container::-webkit-scrollbar {
  display: none;
}

#modelContainer.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

#modelContainer {
  cursor: grab;
}

.model-display {
  flex: 0 0 auto;
  width: 190px;
  text-align: center;
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  scroll-snap-align: center;
  transition: transform 0.3s ease;
}

.model-display:hover {
  transform: scale(1.05);
}

.model-img {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.contact {
  background-color: var(--dark-gray);
  padding: 2rem 0;
  color: #f5c518;
}

.contact-img1 {
  color: var(--white);
  background-color: var(--dark-gray);
}

.contact-img {
  display: inline-block;
  width: 200px;
  height: 265px;
  text-align: right;
}

.contact-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.contact-wrapper .contact-img {
  max-width: 300px;
  height: auto;
  border: 2px solid black;
  border-radius: 10px;
}

.contact-icons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center
}

.contact-icons img {
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: transform 0.3s ease;
  border: 2px solid black;
  border-radius: 10px;
  padding: 4px;
  background-color: white;
}

.contact-icons img:hover {
  transform: scale(1.1);
}

.contact-text {
  color: #f5c518;
  background-color: var(--dark-gray);
  padding: 2rem 0;
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
}
.card {
  width: 100%;
  background-color: #111827;
  color: white;
  text-align: center;
}

.card-header {
  padding: 0;
}

.card-header h2 {
  color: #f5c518;
  margin-bottom: 8px;
}

.card-header p {
  font-size: 14px;
  color: #d0d0d0;
}

.card-image {
  background-color: #111827;
  background-size: cover;
  background-position: center;
  height: 100px;
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.card-text {
  font-size: 14px;
  line-height: 1.4;
}

.card-image-a {
  list-style: none;
  text-decoration: none;
  color: white;
  font-weight: bold;
  transition: color 0.3s ease;
}

.promo-container {
  background-color: white;
}

.promo-img {
  width: 80%;
  height: auto;
  padding: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
:root {
  --black: #111;
  --white: #fff;
}

.header-text {
  color: var(--black);
  font-size: 1rem;
  padding: 0 1rem;
  text-align: left;
  font-family: sans-serif;
}

.body-text {
  color: var(--black);
  font-size: 0.8rem;
  padding: 0 1rem;
  text-align: left;
  font-family: sans-serif;
}

.header-section-testimoni {
  text-align: center;
  padding: 60px 20px;
  background-color: #111827;
  color: #fff;
}

.header-section-testimoni h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.header-section-testimoni p {
  font-size: 16px;
  font-style: italic;
  color: #d1d5db;
}

.rating-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(to bottom, #333 50%, transparent 50%);
  overflow: hidden;
}

.scroll-wrapper {
  overflow: hidden;
  position: relative;
}

.rating-scroll-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  padding: 1rem;
  animation: scrollLeft 30s linear infinite;
  width: max-content;
}

.rating-display {
  flex: 0 0 auto;
  width: 230px;
  text-align: center;
  background-color: var(--white);
  overflow: hidden;
}

.rating-img {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

/* Hilangkan scrollbar tapi tetap scrollable (jika dibutuhkan) */
.rating-scroll-wrapper,
.model-container {
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE & Edge */
  overflow-x: scroll;
}

.rating-scroll-wrapper::-webkit-scrollbar,
.model-container::-webkit-scrollbar {
  display: none; /* Chrome & Safari */
}

/* Animasi bergerak ke kiri */
@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.footer {
  background-color: var(--dark-gray);
  color: var(--white);
  text-align: center;
  padding: 1rem;
}