body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  color: #333;
  background: #f2f9fb;
  text-align: center;
  line-height: 1.6;
}

.hero {
  position: relative;
  background-image: url('https://hakapolar.co.id/wp-content/uploads/2025/10/HAKA-POLAR-INDONESIA-1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  padding: 100px 20px;
  color: white;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65); /* lapisan transparan hitam */
  z-index: 0;
}

.hero * {
  position: relative;
  z-index: 1;
}
.logo {
  max-width: 350px;
  margin-bottom: 102px;
}
.hero h1 {
  font-size: 32px;
  margin-bottom: 15px;
}
.hero p {
  font-size: 22px;
  max-width: 600px;
  margin: 0 auto 25px;
}
.btn {
  display: inline-block;
  background: #33e448;
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
.btn:hover {
  background: #ffffff;
  color: #33e448;
}

.produk {
  padding: 70px 20px;
  background: #fff;
}
.produk h2 {
  font-size: 32px;
  color: #0085c8;
  margin-bottom: 30px;
}
.brand-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.brand {
  background: #e9f7f3;
  border: 2px solid #00b894;
  color: #007b55;
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 18px;
}

.tentang {
  background: #cefcf7;
  padding: 70px 20px;
}
.tentang h2 {
  font-size: 32px;
  color: #0085c8;
  margin-bottom: 20px;
}
.tentang ul {
  list-style: none;
  padding: 0;
}
.tentang li {
  margin: 10px 0;
  font-size: 18px;
}

.kontak {
  background: linear-gradient(135deg, #00b894, #0085c8);
  color: #fff;
  padding: 80px 20px;
}
.kontak h2 {
  font-size: 38px;
  margin-bottom: 10px;
}
.kontak p {
  max-width: 600px;
  margin: 0 auto 25px;
  font-size: 24px;
}

footer {
  background: #004d61;
  color: #fff;
  font-size: 14px;
  padding: 20px;
}


.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 40px auto;
}

.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 20px;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 calc(20% - 16px); /* 5 kolom di desktop */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.carousel-item:hover {
  transform: translateY(-5px);
}

.carousel-item img {
  width: 100%;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.carousel-item h4 {
  font-size: 1rem;
  margin: 10px 0 4px;
  color: #333;
}

.carousel-item p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}

.carousel-item .btn {
  display: inline-block;
  background-color: #0078D7;
  color: white;
  padding: 8px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.carousel-item .btn:hover {
  background-color: #009846;
}

/* Tombol navigasi */
.carousel-btn {
  position: absolute;
  top: 40%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.3s, transform 0.2s;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* 🔹 RESPONSIVE MODE */
@media (max-width: 1024px) {
  .carousel-item {
    flex: 0 0 calc(25% - 16px); /* 4 kolom di tablet */
  }
}

@media (max-width: 768px) {
  .carousel-item {
    flex: 0 0 calc(50% - 12px); /* 2 kolom di mobile */
  }
}


/* ===== Lokasi Section ===== */
.location {
  padding: 60px 20px;
  text-align: center;
  background-color: #f9fafb;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #222;
}

.map-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.5rem;
  }
  .map-container iframe {
    height: 300px;
  }
}

