body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background-color: #111;
  color: #fff;
  padding-top: 50px; /* jarak biar konten gak ketimpa h1 */
}

header {
  text-align: center;
  background-color: #cc0000;
  padding: 20px;
  color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  position: relative;
}

header h1 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #cc0000;
  padding: 10px 0;
  margin: 0;
  font-size: 35px;
  letter-spacing: 1px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
  z-index: 1000;
}

header h1 a {
  color: white;
  text-decoration: none;
}

header h1 a:hover {
  text-decoration: underline;
}
header h2 {
  margin: 0px 0 0px;
  font-size: 20px;
}

header h3, header h4 {
  margin: 0px 0 0;
  font-size: 16px;
  font-weight: normal;
}

header p {
  margin: 5px 0 0;
  font-size: 14px;
}

footer {
  text-align: center;
  padding: 15px;
  background-color: #222;
  color: #aaa;
  font-size: 13px;
}

.motor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
  padding: 20px;
}

.motor-card {
  background-color: #1c1c1c;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: 0.3s;
}

.motor-card:hover {
  transform: translateY(-5px);
  background-color: #4e0000;
}

.motor-card img {
  width: 100%;
  border-radius: 10px;
}

.motor-card h2 {
  font-size: 18px;
  margin: 10px 0 5px;
}

.motor-card p {
  margin: 5px 0;
  color: #ccc;
}

.btn {
  display: inline-block;
  background-color: #cc0000;
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 10px;
  transition: 0.2s;
}

.btn:hover {
  background-color: #ff2222;
}

.motor-card-detail {
  text-align: center;
  padding: 20px;
  stroke-width: 5px;
  stroke: #ff2222;
}

.motor-card-detail img {
  width: 90%;
  max-width: 400px;
  border-radius: 10px;
}

.motor-card-detail h2 {
  margin: 15px 0 5px;
  color: #fff;
}

.motor-card-detail .price {
  color: #ff4444;
  font-weight: bold;
  font-size: 18px;
}

.motor-card-detail .desc {
  color: #ccc;
  margin: 10px auto;
  width: 90%;
  max-width: 600px;
}

.motor-card-detail video {
  width: 90%;
  max-width: 500px;
  margin: 20px 0;
  border-radius: 10px;
  outline: none;
}

.wa-btn {
  display: inline-block;
  background-color: #25D366;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.wa-btn:hover {
  background-color: #1ebe5b;
}

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 15px;
}

.image-gallery img {
  width: calc(50% - 8px);
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.2s;
}

.image-gallery img:hover {
  transform: scale(1.05);
}

.intro-video {
  text-align: center;
  background-color: #1a1a1a;
  padding: 20px;
  margin-bottom: 20px;
  border-bottom: 2px solid #cc0000;
}

.intro-video h2 {
  color: #ff3333;
  margin-bottom: 5px;
}

.intro-video p {
  color: #ccc;
  margin-bottom: 5px;
}

/* === SLIDER VIDEO === */
.video-slider {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  max-width: 600px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  z-index: 5;
}

.video-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.video-wrapper video {
  width: 100%;
  flex-shrink: 0;
  border-radius: 10px;
}

.video-slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
  z-index: 10;
}

.video-slider button:hover {
  background: rgba(255,0,0,1);
}

.video-slider .prev {
  left: 10px;
}

.video-slider .next {
  right: 10px;
}

/* === DOT INDIKATOR === */
.dots {
  text-align: center;
  margin-top: 10px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #555;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #ff3333;
}

/* Disabled button state */
.video-slider button:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

/* === FULLSCREEN IMAGE VIEWER === */
.image-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 999;
  flex-direction: column;
}

.image-overlay img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.close-btn {
  color: white;
  font-size: 35px;
  position: absolute;
  top: 20px;
  right: 30px;
  cursor: pointer;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #ff3333;
}

/* === CONTACT SECTION === */
.contact-section {
  background: #111;
  padding: 25px 15px;
  text-align: center;
  border-top: 2px solid #cc0000;
}

.contact-section h2 {
  color: #ff3333;
  margin: 15px 0 10px;
}

.contact-admins {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.admin {
  background: #1c1c1c;
  border-radius: 8px;
  padding: 10px 15px;
  width: 220px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.admin h3 {
  margin: 0 0 5px;
  color: #fff;
}

.wa-link {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  color: #25D366;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}

.wa-link:hover {
  color: #1ebe5b;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.social {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #cc0000;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
}

.social:hover {
  background: #ff3333;
}

/* === ABOUT PAGE === */
.about-section {
  text-align: center;
  max-width: 700px;
  margin: 30px auto;
  padding: 20px;
  background-color: #1c1c1c;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.about-section h2 {
  color: #ff3333;
  margin-bottom: 10px;
}

.about-section h3 {
  margin-top: 20px;
  color: #ff6666;
}

.about-section p, .about-section ul {
  color: #ccc;
  line-height: 1.6;
  text-align: justify;
}

.about-section ul {
  list-style: disc;
  margin: 10px 0 10px 25px;
  text-align: left;
}

.about-photo {
  width: 90%;
  max-width: 700px;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
