body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
  color: #111;
}
header {
  background-color: #000000;
  color: #000000;
  text-align: center;
  padding: 5px 10px;
  
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 32px;
  background-color: #ffffff;
  color: #000000;
}

.logo {
  width: 90px;
  height: auto;
  margin-right: 20px;
}

.header-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.heading-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.heading-group h1 {
  margin: 0;
  font-size: 1.3em;
  font-weight: bold;
  line-height: 1.2;
}

.subheading {
  margin: 6px 0 0;
  font-size: 0.7em;
  color: #504f4f;
}

.navbar {
  background-color: #111;
  padding: 10px 0;
}
.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.nav-links li {
  margin: 0 15px;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
.hero {
  padding: 60px 20px;
  background: #f7f7f7;
  text-align: center;
}
footer {
  background: #4f4f4f;
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9em;
}
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff; /* harus ada bg agar sticky tak transparan */
}

.navbar {
  background-color: transparent; /* Biar seamless */
  padding: 10px 0;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  background-color: #fff;       /* Putih */
  color: #000;                  /* Hitam */
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 25px;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
  background-color: #f0f0f0;   /* Abu muda saat hover */
  color: #000;
}


body {
  font-family: 'Merriweather', serif;
  font-size: 16px; /* atau 17px jika ingin sedikit besar */
  line-height: 1.4;
}


.hero-fade {
  position: relative;
  height: 90vh;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease-in-out;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-fade.fade-out {
  opacity: 0.5;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  color: white;
  padding: 0 20px;
}

.hero-fade::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); /* gelapkan gambar */
  z-index: 1;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-cta {
  padding: 10px 25px;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  position: relative;
  z-index: 2;
}

.btn-cta:hover {
  background-color: #cecece;
}
.fade-out .hero-content {
  opacity: 0;
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-fade.init-hidden {
  opacity: 0;
  transform: translateY(20px);
}

.hero-fade.init-visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 1.2s ease;
}

.stats-section {
  padding: 60px 20px;
  background-color: #fff;
}

.stats-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* penting: semua card sama tinggi */
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.stat-card {
  flex: 1 1 calc(33.33% - 20px);
  background-color: transparent;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 200px;
  box-sizing: border-box;
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.stat-card h3 {
  font-size: 2em;
  margin: 10px 0 5px;
}

.stat-card p {
  font-size: 1em;
  margin: 0;
  color: #444;
}
.about-section {
  padding: 80px 20px;
  background-color: #fff;
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: nowrap;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #111;
}

.about-text p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #444;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}
.services-section {
  padding: 40px 20px;
  background-color: #f5f5f5;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 1.7em;
  color: #111;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-content: center;
}

.service-card {
  background-color: transparent;
  padding: 20px;
  border-radius: 12px;
  box-shadow: none;
  transition: transform 0.3s;
}

.service-card h3 {
  font-size: 1.2em;
  margin-bottom: 12px;
  color: #222;
}

.service-card p {
  font-size: 0.8em;
  line-height: 1.6;
  color: #555;
}

/* Tombol CTA */
.cta-wrapper {
  margin-top: 50px;
}

.cta-button {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.cta-button:hover {
  background-color: #333;
}
.artikel-section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.artikel-card {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.artikel-image {
  width: 200px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.artikel-content {
  flex: 1;
}

.artikel-content h3 {
  margin-top: 0;
  font-size: 1.3em;
  color: #222;
}

.artikel-content p {
  font-size: 1em;
  color: #555;
  line-height: 1.6;
}

.artikel-button {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 0.9em;
  transition: background-color 0.3s;
}

.artikel-button:hover {
  background-color: #333;
}
.kontak-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

/* Samakan tinggi form dan map */
.kontak-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.client-form {
  width: 500px;
  height: 300px; /* <- tinggi yang disamakan */
  box-sizing: border-box;
}
.maps-embed {
  width: 500px;
  height: 300px; /* <- tinggi yang disamakan */
  box-sizing: border-box;
}

/* FORM CONTENT FIT HEIGHT */
.client-form {
  width: 500px;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
  font-family: inherit;
  margin-top: -100px;
}

.client-form .form-group {
  display: flex;
  flex-direction: column;
}

.client-form label {
  font-weight: 600;
  margin-bottom: 4px;
  color: #333;
  font-size: 0.95em;
}

/* === Input & Textarea Seamless === */
.client-form input,
.client-form textarea {
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid #ccc;
  background-color: transparent;
  font-size: 1em;
  font-family: inherit;
  transition: border-color 0.3s;
}

.client-form input:focus,
.client-form textarea:focus {
  outline: none;
  border-bottom: 1px solid #000;
}

/* === Tombol Kirim Minimalis === */
.submit-button {
  background-color: transparent;
  color: #000;
  border: 1px solid #000;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.submit-button:hover {
  background-color: #000;
  color: #fff;
}


/* SCROLL JIKA PERLU */
.client-form textarea {
  resize: vertical;
}

.maps-embed iframe {
  width: 100%;
  height: 100%; /* pastikan penuh container */
  border: 0;
  border-radius: 8px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .kontak-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .client-form,
  .maps-embed {
    width: 100%;
    height: auto;
  }

  .maps-embed iframe {
    height: 250px;
  }
}
.footer-kontak-blok {
  flex: 1;
  min-width: 250px;
  text-align: left;
}

.footer-kontak-judul {
  font-size: 1.1em;
  color: #fff;
  margin-bottom: 12px;
}

.footer-kontak-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-kontak-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: #ccc;
  font-size: 0.95em;
  line-height: 1.6;
}

.footer-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-kontak-blok {
  flex: 1;
  min-width: 250px;
  text-align: left;
  padding-left: 20px; /* ⬅️ Tambahkan jarak dari tepi kiri */
}
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.wa-float:hover {
  transform: scale(1.1);
}

.wa-float img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}


@media (max-width: 600px) {
  .logo {
    max-width: 80px;
  }
}
.tentang-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.tentang-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
  align-items: center;
}

.tentang-slider {
  flex: 1;
  min-width: 300px;
  height: 300px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.tentang-text {
  flex: 1;
  min-width: 300px;
  text-align: justify;
}

.tentang-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.tentang-text p {
  font-size: 16px;
  line-height: 1.6;
}
/* Awal kondisi sebelum muncul */
.tentang-section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

/* Saat aktif muncul */
.tentang-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.visi-misi-section {
  background-color: #ffffff;
  padding: 60px 20px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
  text-align: center;
}

.visi-misi-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.visi-misi-container {
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.visi, .misi {
  flex: 1 1 45%;
}

.visi h3, .misi h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #333;
}

.visi p, .misi p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  text-align: center;
}
/* Preloader style */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff; /* Atau warna background loading */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.preloader-logo {
  width: 60px;
  height: 60px;
  animation: spin 1.2s linear infinite;
}

/* Animasi logo berputar */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Sembunyikan preloader saat selesai */
#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* hapus saat sudah ada isinya*/
.maintenance-section {
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
}

.maintenance-wrapper {
  max-width: 600px;
}

.maintenance-logo {
  width: 80px;
  margin-bottom: 20px;
}
/* hapus saat sudah ada isinya*/

/* css khusus mobile */

/* Hamburger Icon */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: absolute;
  top: 40px;
  right: 20px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #000;
  border-radius: 3px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  height: 100vh;
  background-color: #fff;
  box-shadow: -2px 0 5px rgba(0,0,0,0.1);
  padding-top: 100px;
  transition: right 0.3s ease;
  z-index: 1000;
}

.mobile-menu ul {
  list-style: none;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu ul li a {
  text-decoration: none;
  color: #000;
  font-size: 1rem;
}

/* Toggle Open */
.mobile-menu.open {
  right: 0;
}

@media (max-width: 768px) {
  .navbar {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

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

  .about-text {
    width: 100%;
    text-align: justify;
  }

  .about-image {
    width: 100%;
  }

  /* SERVICES SECTION */
  .services-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .service-card {
    padding: 15px;
    text-align: left;
  }

  /* ARTIKEL SECTION */
  .artikel-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .artikel-image {
    width: 100%;
    height: auto;
  }

  .artikel-content {
    padding: 0 10px;
  }

  /* CTA BUTTON */
  .cta-wrapper {
    text-align: center;
  }

  /* HERO */
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-text {
    font-size: 1rem;
  }
  
.hero-fade {
    height: 70vh;
    padding: 30px 10px;
  }
  
  .btn-cta {
    padding: 10px 20px;
  }

  /* Stat section */
  .stats-container {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .stat-card {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .header-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 20px;
    gap: 8px; /* 🔧 Inilah pengatur jarak antar elemen */
  }

  .logo {
    width: 70px;
    height: auto;
    flex-shrink: 0;
    margin: 0; /* 🔧 Pastikan tidak ada jarak ekstra */
  }

  .header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
  }

  .header-text h1,
  .header-text .subheading {
    margin: 0;
    text-align: left;
  }

  .header-text h1 {
    font-size: 1.3rem;
  }

  .header-text .subheading {
    font-size: 0.6rem;
    margin-top: 4px;
  }
}
