/* ========= GLOBAL ========= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, #f9f9f9, #f1f5f9);
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========= NAVBAR ========= */
nav {
  background: rgba(15, 28, 46, 0.9);
  backdrop-filter: blur(12px);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 15px 6%; /* atur jarak kiri & kanan */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: background 0.4s ease-in-out;
}

nav:hover {
  background: rgba(15, 28, 46, 1);
}

/* ========= LOGO + BRAND TEXT ========= */
nav .brand {
  display: flex;
  align-items: center;
  font-size: 1.1rem; /* kecilkan sedikit */
  font-weight: 700;
  color: #ffb703;
  letter-spacing: 0.8px;
  text-shadow: 0 0 5px rgba(255, 183, 3, 0.6);
  transition: transform 0.3s ease;
  gap: 8px;
}

nav .brand:hover {
  transform: scale(1.05) rotate(-2deg);
}

nav .brand img.logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.25));
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
  cursor: pointer;
}

nav .brand img.logo:hover {
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 4px 7px rgba(255, 183, 3, 0.6));
}

/* ========= HAMBURGER BUTTON ========= */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.hamburger {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* Active hamburger (X shape) */
.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .hamburger::after {
  transform: translateY(-8px) rotate(-45deg);
}

/* ========= MENU ========= */
nav .nav-menu {
  display: flex;
  list-style: none;
  gap: 25px;
  margin-left: auto;
  padding: 0;
}

nav .nav-menu li {
  position: relative;
}

nav .nav-menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: 0.4s;
}

nav .nav-menu li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #ffb703;
  left: 0;
  bottom: -4px;
  transition: 0.4s;
}

nav .nav-menu li a:hover {
  color: #ffb703;
}

nav .nav-menu li a:hover::after {
  width: 100%;
}

/* ========= RESPONSIVE NAVBAR ========= */
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    padding: 15px 5%;
  }

  .nav-toggle {
    display: block;
  }

  nav .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    margin-top: 15px;
    background: rgba(15, 28, 46, 0.95);
    border-radius: 10px;
    overflow: hidden;
  }

  nav .nav-menu.open {
    display: flex;
  }

  nav .nav-menu li {
    width: 100%;
  }

  nav .nav-menu li a {
    display: block;
    padding: 14px 20px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  nav .nav-menu li a::after {
    display: none;
  }

  nav .nav-menu li:last-child a {
    border-bottom: none;
  }

  nav .brand img.logo {
    height: 30px;
  }

  .who-stats {
    grid-template-columns: 1fr;
  }
  .about-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .about-text {
    padding: 25px;
  }
  .management-wrapper {
    gap: 20px;
  }
  .management-card {
    width: 100%;
    max-width: 300px;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  nav {
    padding: 12px 4%;
  }

  nav .nav-menu {
    gap: 18px;
  }

  nav .nav-menu li a {
    font-size: 0.85rem;
  }

  nav .brand {
    font-size: 1rem;
  }
}

/* ================== GLOBAL UTILS ================== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header .subheading {
  display: block;
  color: #ffb703;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
}

/* ================== KAVLING HERO ================== */
.kavling-hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.kavling-hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.kavling-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}
.hero-header-text {
  position: relative;
  z-index: 3;
  padding: 0 20px;
  max-width: 800px;
  animation: fadeInUp 1s ease;
}
.hero-header-text h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 15px;
  color: #fff;
  line-height: 1.2;
}
.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #ddd;
}
.breadcrumb {
  font-size: 0.9rem;
  color: #ffb703;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
}
.btn-hero {
  display: inline-block;
  padding: 12px 30px;
  background: #ffb703;
  color: #0b1f33;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: 0.3s;
}
.btn-hero:hover {
  background: #fff;
  transform: translateY(-3px);
}

/* ================== FEATURES SECTION ================== */
.features-section {
  width: 100%;
  background-color: #0f2b44;
  padding: 80px 0;
  color: #fff;
}
.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: 0.3s;
}
.feature-card:hover {
  transform: translateY(-10px);
  border-color: #ffb703;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}
.icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 25px;
  background: rgba(255, 183, 3, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.icon-wrapper i {
  font-size: 2rem;
  color: #ffb703;
}
.feature-card:hover .icon-wrapper {
  background: #ffb703;
  transform: scale(1.1);
}
.feature-card:hover .icon-wrapper i {
  color: #0b1f33;
}
.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: #fff;
}
.feature-card p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
}

/* ================== HEADER SECTION ================== */
header {
  text-align: center;
  padding: 40px 20px;
  background: #0b1f33;
}
header h1 {
  font-size: 2.5rem;
  color: #ffb703;
}
header p {
  font-size: 1.1rem;
  color: #d1d1d1;
}

/* ================== LISTING SECTION ================== */
.listing-section {
  width: 100%;
  background-color: #0b1f33; /* Dark Navy Background */
  padding: 80px 0;
  color: #fff;
}

.listing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* ================== CARD KAVLING (GREEN THEME) ================== */
.card.kavling {
  background: linear-gradient(145deg, #1b2c1f, #2a4d2a); /* Hijau Alami */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(160, 255, 122, 0.1);
}

.card.kavling:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
  border-color: #a0ff7a;
}

/* Image Box */
.card-img-box {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card.kavling img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card.kavling:hover img {
  transform: scale(1.1);
}

/* Badge & Price */
.badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(40, 167, 69, 0.9);
  color: #fff;
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.price-tag {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: #a0ff7a;
  color: #1b2c1f;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.95rem;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Content */
.card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

/* === SPECS GRID (Layout 4 Data Rapi) === */
.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 Kolom */
  gap: 12px; /* Jarak antar item */
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-item {
  font-size: 0.9rem;
  color: #d1ffc4; /* Hijau muda pudar */
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Button */
.btn {
  margin-top: auto;
  text-align: center;
  padding: 12px;
  background: linear-gradient(90deg, #28a745, #5dd879);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.btn:hover {
  background: linear-gradient(90deg, #5dd879, #28a745);
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

/* ======================
   FOOTER SECTION
====================== */
/* ======================
   FOOTER SECTION
====================== */

.footer {
  background: linear-gradient(180deg, #0b1623, #08101a);
  color: #b0b0b0;
  padding: 60px 0 0;
  font-size: 0.95rem;
}

/* ===== CONTAINER ===== */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5% 70px;

  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ===== COLUMN ===== */
.footer-col {
  display: flex;
  flex-direction: column;
}

/* ===== BRAND ===== */
.footer-brand {
  color: #fff;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.company-desc {
  line-height: 1.7;
  margin-bottom: 30px;
  color: #d0d0d0;
}

/* ===== CONTACT ===== */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  line-height: 1.7;
  color: #ddd;
}

.contact-item i {
  color: #ffb703;
  font-size: 1.1rem;
  min-width: 22px;
  margin-top: 4px;
}

.contact-item a {
  color: #ddd;
  text-decoration: none;
  transition: 0.3s;
}

.contact-item a:hover {
  color: #ffb703;
}

/* ===== HEADING ===== */
.footer h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
}

.footer h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 40px;
  height: 2px;
  background: #ffb703;
}

/* ===== QUICK LINKS ===== */
.footer-middle ul {
  list-style: none;
  padding: 0;
}

.footer-middle li {
  margin-bottom: 14px;
}

.footer-middle a {
  color: #b0b0b0;
  text-decoration: none;
  transition: 0.3s;
}

.footer-middle a:hover {
  color: #ffb703;
  padding-left: 6px;
}

/* ===== SOCIAL ===== */
.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 35px;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: 0.3s ease;
}

.social-links a:hover {
  background: #ffb703;
  color: #0b1623;
  transform: translateY(-4px);
}

/* ===== LEGAL ===== */
.legal-links h3 {
  margin-bottom: 18px;
}

.legal-links p {
  margin-bottom: 10px;
}

.legal-links a {
  color: #888;
  text-decoration: none;
  font-size: 0.9rem;
}

.legal-links a:hover {
  color: #ffb703;
}

/* ===== BOTTOM ===== */
.footer-bottom {
  background: #050d15;
  text-align: center;
  padding: 25px 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: #777;
}

.footer-bottom strong {
  color: #fff;
}

/* ======================
   RESPONSIVE
====================== */

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .footer-left {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 50px 0 0;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 0 25px 50px;
    text-align: center;
  }

  .footer-brand {
    font-size: 1.6rem;
  }

  .company-desc {
    font-size: 0.95rem;
  }

  .footer h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-item i {
    margin-bottom: 6px;
  }

  .social-links {
    justify-content: center;
  }

  .footer-middle a:hover {
    padding-left: 0;
  }
}

