html {
  scroll-behavior: smooth;
}

#tentang,
#layanan,
#penjual,
#tanah,
#villa,
#blog,
#kontak {
  scroll-margin-top: 80px;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #fff;
  color: #000;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

.logo span {
  color: #235f2a;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:first-child {
  color: #235f2a;
}

.nav-links a:hover {
  color: #235f2a;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #000;
  transition: all 0.3s ease;
}

/* Hamburger animasi */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* Hero Section */
.hero-banner {
  position: relative;
  width: 100%;
  height: 65vh;
  background: url("images/hero1.png") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 40px;
  color: white;
}

.hero-content {
  max-width: 600px;
  padding: 30px;
  border-radius: 10px;
}

.hero-content h1 {
  font-size: 50px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content span {
  color: #ffde59; /* atau #4CAF50 untuk hijau */
}

.hero-content p {
  font-size: 16px;
  margin-bottom: 30px;
  color: #eee;
}

.hero-content .btn {
  padding: 12px 30px;
  border: 2px solid #fff;
  border-radius: 25px;
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: background 0.3s ease;
}

.hero-content .btn:hover {
  background: white;
  color: black;
}

/*Tentang Kami */
.tentang-kami {
  padding: 80px 30px;
  background-color: #f0f4f1;
  font-family: "Poppins", sans-serif;
}

.container-tentang {
  display: flex;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.logo-kiri {
  flex: 1 1 300px;
  text-align: center;
}

.logo-kiri img {
  max-width: 350px;
  height: auto;
}

.deskripsi-kanan {
  flex: 2 1 500px;
}

.deskripsi-kanan h2 {
  font-size: 28px;
  font-weight: bold;
  color: #003b2c;
  margin-bottom: 20px;
}

.deskripsi-kanan .highlight {
  color: #5f472c;
}

.deskripsi-kanan p {
  color: #444;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* Property Section */
.property-section {
  padding: 80px 40px;
  background: #fff;
  font-family: "Poppins", sans-serif;
  max-width: 1200px;
  margin: auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 28px;
  font-weight: 600;
}

.view-all-btn {
  background: #004d40;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.property-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

.property-card:hover {
  transform: translateY(-5px);
}

.property-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.property-info {
  padding: 20px;
}

.property-info h3 {
  color: #00695c;
  font-weight: 600;
  margin-bottom: 8px;
}

.property-info p {
  color: #777;
  font-size: 14px;
}

.property-info strong {
  display: block;
  margin: 10px 0;
}

.features {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  font-size: 14px;
  margin-bottom: 15px;
  color: #444;
}

.btn-green {
  display: inline-block;
  background: #00695c;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
}

.villa-section {
  background: #f9f9f9;
  padding: 5px 40px;
  background: #fff;
  font-family: "Poppins", sans-serif;
  max-width: 1200px;
  margin: auto;
}

.villa-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 20px;
  font-family: "Poppins", sans-serif;
}

.pagination-btn {
  background-color: #e0e0e0;
  border: none;
  padding: 10px 18px;
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pagination-btn:hover {
  background-color: #ccc;
}

.pagination-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #00695c;
  transform: scale(1.2);
}

.footer {
  background-color: #1b1f23;
  color: #fff;
  padding: 60px 30px 30px;
  font-family: "Poppins", sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-brand h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 10px;
}

.footer-brand .dot-id {
  color: #3bd176;
}

.footer-brand p {
  color: #ccc;
  font-size: 14px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 16px;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #bbb;
  text-decoration: none;
  font-size: 14px;
}

.footer-links ul li a:hover {
  color: #fff;
}

.footer-contact p {
  font-size: 14px;
  color: #bbb;
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: #aaa;
  border-top: 1px solid #333;
  padding-top: 20px;
}

/* --- Section Layanan --- */
.layanan-section {
  background: #fff;
  padding: 80px 30px;
  font-family: "Poppins", sans-serif;
}

.layanan-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.layanan-title {
  font-size: 28px;
  margin-bottom: 40px;
  color: #003b2f;
}

.layanan-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.layanan-box {
  background: #f7f7f7;
  border-radius: 12px;
  padding: 30px 20px;
  flex: 1 1 250px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

.layanan-box:hover {
  transform: translateY(-5px);
}

.layanan-box h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #00664f;
}

.layanan-box p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.keunggulan-section {
  background-color: #fff;
  padding: 40px 30px;
  font-family: "Poppins", sans-serif;
}

.keunggulan-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.keunggulan-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 50px;
  color: #003b2f;
}

.keunggulan-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.keunggulan-box {
  background: #f7f7f7;
  border-radius: 12px;
  padding: 30px 20px;
  flex: 1 1 250px;
  max-width: 300px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.04);
  transition: 0.3s ease;
}

.keunggulan-box:hover {
  transform: translateY(-5px);
}

.keunggulan-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 15px;
  color: #00714d;
}

.keunggulan-box h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #004e39;
}

.keunggulan-box p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.penjual-section {
  background-color: #f9fafb;
  padding: 80px 30px;
  font-family: "Poppins", sans-serif;
}

.penjual-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.penjual-title {
  font-size: 28px;
  font-weight: bold;
  color: #003b2f;
  margin-bottom: 50px;
}

.penjual-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.penjual-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  width: 250px;
  transition: 0.3s ease;
}

.penjual-card:hover {
  transform: translateY(-5px);
}

.penjual-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.penjual-card h4 {
  font-size: 16px;
  font-weight: bold;
  color: #003b2f;
  margin-bottom: 5px;
}

.penjual-card .tipe {
  font-size: 14px;
  color: #777;
  margin-bottom: 5px;
}

.penjual-card .lokasi,
.penjual-card .listing {
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
}

.hubungi-btn {
  display: inline-block;
  margin-top: 10px;
  background-color: #00714d;
  color: #fff;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s ease;
}

.hubungi-btn:hover {
  background-color: #005c3f;
}

.blog-section {
  background: #f0f4f1;
  padding: 80px 30px;
  font-family: "Poppins", sans-serif;
}

.blog-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.blog-title {
  font-size: 28px;
  font-weight: bold;
  color: #003b2f;
  margin-bottom: 10px;
}

.blog-subtitle {
  color: #666;
  font-size: 15px;
  margin-bottom: 40px;
}

.blog-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  width: 350px;
  transition: 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
  text-align: left;
}

.blog-content h3 {
  font-size: 17px;
  color: #003b2f;
  margin-bottom: 10px;
}

.blog-meta {
  font-size: 13px;
  color: #777;
  margin-bottom: 15px;
}

.blog-btn {
  display: inline-block;
  color: #00714d;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.blog-btn:hover {
  text-decoration: underline;
}

/* --- Section Form Kontak --- */
.kontak-section {
  background: #f0f4f1;
  padding: 80px 30px;
  font-family: "Poppins", sans-serif;
}

.kontak-container {
  max-width: 600px;
  margin: auto;
  text-align: center;
}

.kontak-title {
  font-size: 26px;
  margin-bottom: 10px;
  color: #003b2f;
}

.kontak-subtitle {
  font-size: 14px;
  margin-bottom: 30px;
  color: #666;
}

.form-kontak input,
.form-kontak textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
}

.form-kontak button {
  background-color: #00664f;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s ease;
}

.form-kontak button:hover {
  background-color: #004d3a;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .nav-links.active {
    padding: 20px 0;
    max-height: 500px;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    margin: 0 auto 20px;
  }

  .hero-image {
    text-align: center;
  }

  .hero-image img {
    max-height: 300px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-links,
  .footer-contact {
    text-align: center;
  }

  .container-tentang {
    flex-direction: column;
    text-align: center;
  }

  .deskripsi-kanan {
    padding-top: 20px;
  }

  .keunggulan-grid {
    flex-direction: column;
    align-items: center;
  }

  .keunggulan-box {
    max-width: 100%;
  }

  .penjual-grid {
    flex-direction: column;
    align-items: center;
  }

  .blog-grid {
    flex-direction: column;
    align-items: center;
  }

  .blog-card {
    width: 100%;
  }
}
