body {
  font-family: 'Orbitron', sans-serif;
  background-color: #0d0d0d;
  color: white;
  margin: 0;
  padding: 0 20px; /* tambahkan padding kiri-kanan */
  transition: all 0.3s ease;
  overflow-x: hidden;
}

body.light-mode {
  background-color: #f4f4f4;
  color: black;
}

body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6,
body.light-mode p,
body.light-mode span,
body.light-mode label,
body.light-mode a,
body.light-mode li,
body.light-mode .card,
body.light-mode .layanan .card,
body.light-mode .kontak-info,
body.light-mode .footer,
body.light-mode .galeri,
body.light-mode form {
  color: inherit !important;
}

body.light-mode .card,
body.light-mode .card.expanded,
body.light-mode .kontak input,
body.light-mode .kontak textarea {
  background-color: #fff;
  color: #000;
  border-color: #000;
}

/* Scrollbar vertikal NEON */
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-thumb {
  background-color: #00ff00;
  border-radius: 10px;
}
body::-webkit-scrollbar-track {
  background-color: transparent;
}

h1, h2, h3 {
  margin: 0 0 20px;
  font-weight: 700;
  text-align: left;
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #000;
  position: sticky;
  top: 0;
  z-index: 999;
  margin: 0 -20px; /* biar full-width */
  padding-left: 20px;
  padding-right: 20px;
}

.logo img {
  height: 50px;
}

nav {
  margin-left: 2rem;
}

nav a {
  margin: 0 15px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s ease;
}

nav a:hover {
  color: #00ff00;
  transform: scale(1.1);
}

#modeToggle {
  background: none;
  border: 2px solid #00ff00;
  padding: 5px 10px;
  border-radius: 5px;
  color: #00ff00;
  cursor: pointer;
  transition: background 0.3s ease;
}

#modeToggle:hover {
  background-color: #00ff00;
  color: #000;
}

.hero {
  text-align: center;
  padding: 100px 20px;
  background-color: #111;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hubungi-btn {
  background-color: #00ff00;
  color: #000;
  padding: 10px 25px;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  transition: transform 0.2s ease;
}

.hubungi-btn:hover {
  transform: scale(1.1);
}

section {
  padding: 80px 0;
}

/* === REVISI KHUSUS LAYANAN KAMI === */
.layanan-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background-color: #1a1a1a;
  border: 1px solid #00ff00;
  border-radius: 10px;
  padding: 20px;
  width: 250px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-weight: 500;
}

.card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 10px #00ff00;
}

.card .hint {
  color: #aaa;
  font-size: 13px;
  margin-top: 10px;
  font-style: italic;
  transition: opacity 0.3s ease;
}

.card .detail {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  margin-top: 10px;
}

.card.expanded .detail {
  max-height: 300px;
  opacity: 1;
}



.card:not(.expanded) .detail::before {
  content: \"\";
  display: none;
}

@media (max-width: 768px) {
  .layanan-container {
    flex-direction: column;
    align-items: center;
  }
}


body.light-mode .card {
  background-color: #fff;
  color: #000;
  border: 1px solid #111;
}
body.light-mode .card.expanded {
  background-color: #eee;
}

.galeri-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 20px;
  padding-bottom: 10px;
}

.galeri-container::-webkit-scrollbar {
  height: 8px;
}

.galeri-container::-webkit-scrollbar-thumb {
  background-color: #00ff00;
  border-radius: 5px;
}

.galeri-container::-webkit-scrollbar-track {
  background-color: transparent;
}

.galeri img {
  height: 150px;
  width: auto;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.galeri img:hover {
  transform: scale(1.05);
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.kontak form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-inline: auto;
}

.kontak input, .kontak textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #00ff00;
  background-color: #1a1a1a;
  color: #fff;
}

.kontak button {
  background-color: #00ff00;
  color: #000;
  padding: 10px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.kontak-wrapper {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  align-items: stretch;
  flex-wrap: wrap;
}

.kontak-wrapper form,
.kontak-info-maps {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Untuk iframe agar fleksibel dan tinggi sama */
.kontak-info-maps iframe {
  width: 100%;
  height: 100%;
  min-height: 250px;
  border: none;
}

/* Biarkan map dan info bisa berbagi tinggi */
.kontak-info-maps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kontak-info {
  flex: 1;
}
.maps {
  flex: 1;
  min-height: 250px;
}


.kontak-info {
  margin-bottom: 20px;
}

.kontak-info-maps iframe {
  width: 100%;
  height: 250px;
  border: none;
}


footer {
  background-color: #000;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  border-top: 1px solid #00ff00;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  padding: 10px 15px;
  border-radius: 50px;
  box-shadow: 0 0 10px #00ff00;
  z-index: 1000;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}

.whatsapp-float span {
  font-weight: bold;
  color: white;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Tambahan teks */
.whatsapp-float::after {
  content: "Hubungi Kami Untuk Survey Gratis";
  margin-left: 10px;
  font-size: 0.9rem;
  font-weight: bold;
  color: white;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* LIGHT MODE Tambahan */
body.light-mode .hero {
  background-color: #ffffff;
  color: #000000;
}
body.light-mode .hero * {
  color: #000 !important;
}
body.light-mode header {
  background-color: #ffffff;
  border-bottom: 1px solid #ccc;
}

@media (max-width: 768px) {
  nav {
    margin-left: 2rem;
  }

  nav a {
    display: inline-block;
    margin: 10px 5px;
  }

  .kontak-maps {
    flex-direction: column;
  }

  .whatsapp-float::after {
    display: none; /* Sembunyikan teks panjang di mobile */
  }
}
/* === LIGHTBOX ZOOM ANIMATION === */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
  cursor: zoom-out;
  flex-direction: column;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
  animation: zoomIn 0.4s ease;
  box-shadow: 0 0 20px #00ff00;
  transition: transform 0.3s ease;
}

.lightbox .caption {
  color: #fff;
  margin-top: 10px;
  font-size: 1rem;
  text-align: center;
  font-weight: bold;
}

@keyframes zoomIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    background: rgba(0, 0, 0, 0);
  }
  to {
    background: rgba(0, 0, 0, 0.85);
  }
}

.layanan-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  border: 1px solid limegreen;
  padding: 20px;
  width: 220px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #111;
  position: relative;
  overflow: hidden;
  color: white;
}

.card .detail {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.card .hint {
  display: block;
  font-size: 0.8em;
  color: #aaa;
  margin-top: 5px;
  font-style: italic;
}

.card.expanded .detail {
  max-height: 200px;
  opacity: 1;
  margin-top: 10px;
}

.kontak-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  align-items: stretch;
}

.kontak-wrapper form {
  width: 100%;
}

.kontak-info-maps {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kontak-info {
  margin-bottom: 20px;
}

.maps iframe {
  width: 100%;
  height: 100%;
  min-height: 250px;
  border: none;
}

/* Responsif mobile */
@media (max-width: 768px) {
  .kontak-wrapper {
    grid-template-columns: 1fr;
  }
}

