/* =====================================================
   LONTARA — MAIN / HOMEPAGE SPECIFIC
===================================================== */

/* =========================
   HERO SECTION
========================= */

.hero {
  padding: 140px 0 100px;
  background: var(--bg-light);
  position: relative;
}

/* Pola Grid Halus di Background Hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 184, 169, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 184, 169, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 28px;
  color: var(--primary);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
}

/* =========================
   WEBGIS INTERACTIVE SECTION
========================= */

.webgis-section {
  padding: 80px 0;
  background-color: var(--bg-main);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.webgis-container {
  width: 100%;
  height: 600px; /* Tinggi optimal untuk Desktop */
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  background: #1e1e2f; /* Sesuai dengan sidebar WebGIS Anda */
  position: relative;
}

.webgis-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Overlay Petunjuk Mobile */
.webgis-hint {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 768px) {
  .webgis-container {
    height: 480px; /* Tinggi lebih pendek untuk layar kecil */
  }
  .webgis-section {
    padding: 60px 0;
  }
}

/* =========================
   HOMEPAGE CTA BLOCK
========================= */

.cta {
  padding: 100px 0;
  background: var(--primary);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Dekorasi visual di CTA */
.cta::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  pointer-events: none;
}

.cta h2 {
  font-size: 2.4rem;
  margin-bottom: 24px;
  color: white;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .cta h2 {
    font-size: 1.8rem;
  }
}
