/* ================= ROOT & VARIABLES (TEMA TLATTEN: HITAM, PUTIH, UNGU) ================= */
/* ================= ROOT & VARIABLES (TEMA TLATTEN MAGENTA) ================= */
:root {
  --bg-main: #0a0a0c; /* Hitam pekat elegan */
  --bg-surface: #141418; /* Hitam abu-abu untuk card */
  --bg-card: #1c1c22;
  --accent-purple: #c21a7a; /* ⬅️ Warna Ungu Magenta khas Tlatten */
  --accent-purple-hover: #9e1362; /* ⬅️ Warna Hover sedikit lebih gelap */
  --accent-shopee: #ee4d2d; /* Warna Shopee */
  --text-main: #ffffff;
  --text-muted: #9ca3af;
  --border-color: #27272f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

.container,
.nav-container,
.hero-container {
  max-width: 1440px !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
  margin: 0 auto;
}

/* ================= NAVBAR ================= */
.navbar {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  background-color: rgba(10, 10, 12, 0.9);
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  height: 68px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: 0.2s;
}
.nav-links a:hover {
  color: var(--accent-purple);
}

/* Tombol WA di Navbar */
.navbar .connect-btn {
  background-color: var(--accent-purple) !important;
  color: #ffffff !important;
  padding: 9px 22px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  display: inline-block !important;
  transition: 0.2s !important;
}
.navbar .connect-btn:hover {
  background-color: var(--accent-purple-hover) !important;
}

@media (max-width: 768px) {
  .brand-logo {
    height: 52px;
  }

  /* Menyembunyikan tombol pesanan di navbar saat di HP */
  .navbar .connect-btn.hide-on-mobile {
    display: none !important;
  }

  /* Mengatur gaya dropdown menu mobile */
  .nav-links {
    display: none; /* Disembunyikan secara default */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-main);
    flex-direction: column;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    gap: 20px;
  }

  /* Class .active yang akan dipicu oleh JavaScript agar menu muncul */
  .nav-links.active {
    display: flex;
  }

  /* Rata tengah untuk teks menu di HP */
  .nav-links li {
    text-align: center;
  }
}

/* ================= BUTTONS & BADGES ================= */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s ease;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--accent-purple);
  color: #ffffff;
  border: none;
}
.btn-primary:hover {
  background-color: var(--accent-purple-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  border-color: var(--text-main);
}

/* Tombol Khusus Shopee */
.shopee-btn {
  border-color: var(--accent-shopee);
  color: var(--accent-shopee);
}
.shopee-btn:hover {
  background-color: var(--accent-shopee);
  color: #ffffff;
  border-color: var(--accent-shopee);
}

.badge,
.badge-center {
  display: inline-block;
  padding: 10px 24px; /* ⬅️ Padding diperbesar (atas-bawah 10px, kiri-kanan 24px) */
  background-color: rgba(194, 26, 122, 0.15);
  color: #eb5eb0;
  border: 1px solid rgba(194, 26, 122, 0.3);
  border-radius: 50px;
  font-size: 1.1rem; /* ⬅️ Ukuran teks diperbesar dari 0.85rem menjadi 1.1rem */
  font-weight: 700;
  margin-bottom: 25px; /* Jarak bawah sedikit ditambah agar tidak terlalu menempel dengan judul */
}
.badge-center {
  display: block;
  width: fit-content;
  margin: 0 auto 15px auto;
  text-align: center;
}

/* ================= HERO SECTION ================= */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  position: relative;
  z-index: 3;
}

.hero-visual {
  flex: 1.2; /* Memberikan porsi ruang lebih besar untuk gambar */
  max-width: 1050px; /* Ukuran gambar diperbesar (Anda bisa menaikkannya ke 700px jika masih kurang besar) */
}
.hero-talent-img {
  width: 100%;
  height: auto;
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.15);
}

.hero-content {
  flex: 1.2;
}
.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  gap: 15px;
}

@media (max-width: 992px) {
  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-cta {
    justify-content: center;
  }
}

/* ================= ABOUT / KONSEP (3 KOLOM) ================= */
.about-section {
  padding: 100px 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
  line-height: 1.3;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card-feature {
  background: var(--bg-card);
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: 0.3s ease;
  text-align: center; /* ⬅️ Tambahan untuk membuat teks rata tengah */
}

.card-feature:hover {
  transform: translateY(-8px);
  border-color: var(--accent-purple);
  box-shadow: 0 15px 30px rgba(124, 58, 237, 0.1);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.card-feature h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-main);
}
.card-feature p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ================= PRODUK (KATALOG) ================= */
.portfolio-section {
  padding: 20px 0 100px 0; /* Jarak atas dikecilkan jadi 20px, bawah tetap 100px */
}

/* ================= PRODUK (KATALOG) ================= */
.portfolio-section {
  padding: 20px 0 100px 0;
}

/* Pengaturan Tampilan Desktop (Default 4 Kolom) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 baris/kolom sejajar */
  gap: 30px;
}

/* Pengaturan Tampilan Tablet (Layar di bawah 1024px -> 2 Kolom) */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Pengaturan Tampilan Mobile / HP (Layar di bawah 768px -> 1 Kolom) */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s;
}
.product-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-5px);
}

.product-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: #000;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-purple);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.product-info {
  padding: 25px;
}
.product-info h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 5px;
}
.product-quote {
  font-family: monospace;
  color: var(
    --accent-purple
  ); /* Mengambil warna magenta utama yang sama persis dengan tombol */
  margin-bottom: 15px;
  font-size: 0.9rem;
  font-weight: 700; /* Saya tambahkan ketebalan font agar warnanya makin terlihat jelas dan tegas */
}
.product-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.product-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
}

.product-actions {
  display: flex;
  gap: 10px;
}
.btn-buy-wa {
  flex: 2;
  text-align: center;
  background: var(--text-main);
  color: #000;
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s;
}
.btn-buy-wa:hover {
  background: #e5e7eb;
}
.btn-buy-shopee {
  flex: 1;
  text-align: center;
  border: 1px solid var(--accent-shopee);
  color: var(--accent-shopee);
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s;
}
.btn-buy-shopee:hover {
  background: var(--accent-shopee);
  color: #fff;
}

/* ================= FOOTER ================= */
.footer {
  padding: 80px 0 40px;
  background-color: var(
    --accent-purple
  ); /* Background ungu pekat untuk final CTA */
  text-align: center;
  color: #ffffff;
}

.footer h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
}
.footer p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.footer-cta-box {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}
.footer-cta-box .btn-primary {
  background-color: #ffffff;
  color: var(--accent-purple);
}
.footer-cta-box .btn-primary:hover {
  background-color: #f3f4f6;
}
.footer-cta-box .btn-secondary {
  background-color: #000000;
  color: #ffffff;
  border: none;
}

.footer-copy {
  margin-top: 20px;
  font-size: 0.85rem;
  opacity: 0.7;
}

@media (max-width: 576px) {
  .footer-cta-box {
    flex-direction: column;
    padding: 0 20px;
  }
}
/* ================= KEUNGGULAN (WHY US) ================= */
.why-section {
  padding: 100px 0;
  background-color: var(--bg-main);
  border-top: 1px solid var(--border-color);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
}

.why-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 35px 25px;
  transition: 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-purple);
  box-shadow: 0 10px 25px rgba(194, 26, 122, 0.15); /* Bayangan magenta */
}

.why-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-purple);
  margin-bottom: 15px;
  opacity: 0.9;
}

.why-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.why-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
/* ================= TOMBOL MENU HP (MENGHILANGKAN TITIK DI DESKTOP) ================= */
.menu-toggle {
  display: none; /* Menyembunyikan tombol/titik di layar besar */
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1002;
  margin-left: 15px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: all 0.3s ease;
}

/* Hanya tampilkan menu toggle saat di layar HP */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex !important;
  }
}
