/* ================================
   Hero Section
   ================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
}

/* Slider */
.hero .slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero .slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero .slider img.active {
  opacity: 1;
}

/* Overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Content */
.hero .container {
  position: relative;
  z-index: 2;
  max-width: 850px; /* lebih ramping supaya teks fokus */
  width: 90%;
  color: #fff;
  text-align: center;
  padding: 40px 28px;
  background: rgba(0, 0, 0, 0.6); /* agar teks tetap terbaca */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); /* efek elegan */
}

.hero h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

.hero p {
  font-size: 1.05rem;
  line-height: 1.8; /* lebih lega */
  margin-bottom: 32px;
  max-width: 700px; /* batasi lebar teks */
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.3px; /* sedikit spasi biar lebih rapi */
}

/* Buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.hero-buttons .btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* WhatsApp */
.hero-buttons .btn-contact {
  background-color: #25d366;
  color: #fff;
}

.hero-buttons .btn-contact:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 1.6rem;
  }

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

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .hero-buttons .btn {
    width: 80%;
    margin: 0 auto;
    text-align: center;
  }
}

/* Company Profile */
.about-company {
  padding: 60px 20px;
  background-color: #fff;
  font-family: sans-serif;
}

.about-company .container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.about-content .text {
  flex: 1 1 55%;
}

.about-content .text h2 {
  font-size: 2.5rem;
  color: #0f172a;
  margin-bottom: 10px;
}

.about-content .divider {
  width: 80px;
  height: 6px;
  background-color: #f97316;
  margin: 16px 0;
}

.about-content .text p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 20px;
}

.contact-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  color: #fff;
}

.whatsapp-btn {
  background-color: #25d366;
}

.whatsapp-btn:hover {
  background-color: #1ebe57;
}

.email-btn {
  background-color: #1d4ed8;
}

.email-btn:hover {
  background-color: #1e40af;
}

.about-content .image {
  flex: 1 1 40%;
  text-align: right; /* Tambahan: untuk geser isi ke kanan */
  display: flex;
  justify-content: flex-end; /* Tambahan: dorong gambar ke kanan */
}

.about-content .image img {
  max-width: 70%;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.image-gallery {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0; /* hilangkan jarak antar gambar */
}

.image-gallery img {
  width: 100%;
  max-width: 300px;
  border-radius: 0; /* hilangkan lengkungan jika perlu */
  box-shadow: none; /* hilangkan bayangan jika ingin benar-benar rapat */
  margin: 0;
  padding: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-content .text,
  .about-content .image {
    flex: 1 1 100%;
  }

  .contact-buttons {
    justify-content: center;
  }

  .about-content .divider {
    margin-left: auto;
    margin-right: auto;
  }

  .about-content .image img {
    max-width: 100%; /* Tambahan: lebih kecil khusus untuk mobile */
  }
}
