/* ================= ROOT & VARIABLES (TEMA HITAM & MERAH KIBEDO) ================= */
:root {
  --bg-main: #0c0d0e;
  --bg-surface: #17191b;
  --bg-card: #1f2226;
  --accent-red: #e30613; /* Aksen Merah Utama */
  --accent-red-hover: #b5040e; /* Aksen Merah Hover */
  --text-main: #ffffff;
  --text-muted: #9aa0a6;
  --border-color: #2b3036;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", sans-serif;
  scroll-behavior: smooth;
  scroll-margin-top: 100px; /* ⬅️ TAMBAHKAN BARIS INI DI SINI */
}

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

.container,
.nav-container,
.hero-container,
.marquee-wrapper {
  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(12, 13, 14, 0.85);
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  width: 100% !important;
}

.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: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent-red);
}

.btn-nav-primary {
  background-color: var(--accent-red) !important;
  color: #ffffff !important;
  padding: 9px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}

.btn-nav-primary:hover {
  background-color: var(--accent-red-hover) !important;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
}

/* ================= BUTTONS & BADGES ================= */
.btn-primary,
.btn-secondary,
.btn-card {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-size: 0.95rem;
}

.btn-primary,
.btn-card.primary {
  background-color: var(--accent-red) !important;
  color: #ffffff !important;
  font-weight: 700;
}

.btn-primary:hover,
.btn-card.primary:hover {
  background-color: var(--accent-red-hover) !important;
}

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

.btn-secondary:hover {
  border-color: var(--text-main);
}

.badge,
.badge-center {
  display: inline-block;
  padding: 6px 14px;
  background-color: rgba(227, 6, 19, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(227, 6, 19, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.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;
  background-color: var(--bg-main);
  overflow: hidden;
}

/* ================= HERO SECTION BACKGROUND BARU ================= */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://res.cloudinary.com/i10mhioq/image/upload/v1787132345/Untitledss-3.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0; /* Sesuaikan tingkat kesofnan gambar background di sini */
  transform: scale(1.03);
  z-index: 1;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(12, 13, 14, 0.88);
  z-index: 2;
}

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

.hero-visual {
  flex: 1.2; /* ⬅️ Memberikan porsi ruang yang lebih luas untuk gambar */
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 650px; /* ⬅️ Lebar maksimal diperbesar menjadi 650px (Anda bisa naikkan ke 700px jika masih kurang besar) */
}

@keyframes floatAnimation {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.hero-talent-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.8));
  animation: floatAnimation 5s ease-in-out infinite;
}

.hero-content {
  flex: 1.2;
  text-align: left;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.05rem;
  color: #d1d5db;
  line-height: 1.7;
  margin-bottom: 35px;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  gap: 15px;
}

@media (max-width: 992px) {
  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta {
    justify-content: center;
  }
}

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

.section-title {
  text-align: center;
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 50px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

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

.card-feature {
  background: linear-gradient(145deg, #181b1f, #141619);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
}

.card-feature:hover {
  transform: translateY(-8px);
  border-color: rgba(227, 6, 19, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.card-thumbnail {
  width: 100%;
  height: 280px;
  overflow: hidden;
}
.card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card-feature:hover .card-thumbnail img {
  transform: scale(1.08);
}

.card-body-content {
  padding: 30px;
}
.card-feature h3 {
  color: var(--accent-red);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.card-feature p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ================= WHY US ================= */
.why-section {
  padding: 90px 0;
  background-color: var(--bg-main);
  border-top: 1px solid var(--border-color);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 576px) {
  .why-grid {
    grid-template-columns: 1fr !important;
  }
}

.why-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 30px 24px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-red);
}
.why-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-red);
  margin-bottom: 15px;
}
.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;
}

/* ================= PORTFOLIO MARQUEE ================= */
.portfolio-section {
  padding: 90px 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  overflow: hidden;
}

.portfolio-category-header {
  margin-bottom: 30px;
}

.marquee-wrapper {
  overflow: hidden;
  display: flex;
  position: relative;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 1) 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 1) 90%,
    transparent 100%
  );
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
}
.marquee-left {
  animation: scrollLeft 120s linear infinite;
  will-change: transform;
}
.marquee-right {
  animation: scrollRight 120s linear infinite;
  will-change: transform;
}
.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

.portfolio-item {
  width: 260px;
  height: 260px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  cursor: pointer;
  position: relative;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.portfolio-item img:hover {
  transform: scale(1.03);
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* ================= PRICING ================= */
.pricing-section {
  padding: 90px 0;
  background-color: var(--bg-main);
  border-top: 1px solid var(--border-color);
}

.tab-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 45px;
}

.tab-btn {
  padding: 12px 24px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
}

.tab-btn.active {
  background-color: var(--accent-red) !important;
  color: #ffffff !important;
  border-color: var(--accent-red) !important;
  font-weight: 700;
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 35px 25px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--accent-red) !important;
  background: linear-gradient(145deg, #24272c, #1a1c20) !important;
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(227, 6, 19, 0.15);
}

.ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--accent-red);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  min-height: 45px;
}
.price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-red);
  margin: 15px 0 5px;
}
.strikethrough {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 15px;
  display: block;
}

.feature-list {
  list-style: none;
  margin: 20px 0 30px;
  flex-grow: 1;
}
.feature-list li {
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: #d1d5db;
}
.feature-list li.disabled {
  color: #555c65;
}

.btn-card {
  text-align: center;
  background-color: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-card.primary {
  background-color: var(--accent-red) !important;
  color: #ffffff !important;
  border: none;
}

/* ALA CARTE */
.alacarte-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
  align-items: stretch;
}

.alacarte-column {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 30px 25px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.alacarte-column h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-red);
  border-bottom: 2px solid rgba(227, 6, 19, 0.2);
  padding-bottom: 12px;
}

.alacarte-item-box {
  background-color: rgba(12, 13, 14, 0.4);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}
.item-header span {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
}
.item-header strong {
  color: var(--accent-red);
  font-size: 0.95rem;
  white-space: nowrap;
}
.item-features {
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding-top: 6px;
}

.alacarte-callout {
  background-color: rgba(227, 6, 19, 0.08);
  border: 1px dashed var(--accent-red);
  padding: 22px 30px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.alacarte-callout p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ================= FOOTER ================= */
.footer {
  padding: 80px 0 30px;
  background-color: var(--bg-surface);
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.footer p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 200px;
}

.social-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-red);
  background-color: rgba(227, 6, 19, 0.04);
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(227, 6, 19, 0.1);
  color: var(--accent-red);
  border-radius: 10px;
}
.social-card:hover .social-icon {
  background-color: var(--accent-red);
  color: #ffffff;
}
.social-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.social-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}
.social-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-copy {
  margin-top: 40px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ================= LIGHTBOX ================= */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
}

.lightbox-content-box {
  width: 80%;
  max-width: 850px;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.lightbox-content-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}
.lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 300;
  cursor: pointer;
}
.lightbox-close:hover {
  color: var(--accent-red);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: var(--accent-red);
}
.lightbox-prev {
  left: 30px;
}
.lightbox-next {
  right: 30px;
}
/* ==========================================================
   TAMBAHAN KHUSUS MOBILE MENU (TERISOLASI & AMAN)
========================================================== */
.menu-toggle {
  display: none;
  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;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-main);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  z-index: 1001;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu .mobile-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
  transition: color 0.2s;
}

.mobile-menu .mobile-link:hover {
  color: var(--accent-red);
}

.mobile-close-btn {
  position: absolute;
  top: 25px;
  right: 35px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 2.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex !important;
  }
}
/* ==========================================================
   TOMBOL "HUBUNGI KAMI" DI HEADER KIBEDO
========================================================== */

/* Styling Kotak Merah untuk Desktop & Tablet (Kibedo) */
.navbar .connect-btn {
  background-color: var(
    --accent-red
  ) !important; /* ⬅️ Berubah jadi merah khas Kibedo */
  color: #ffffff !important; /* ⬅️ Teks berubah jadi putih agar kontras */
  padding: 9px 20px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  font-weight: 700 !important; /* ⬅️ Sedikit lebih tebal */
  font-size: 0.9rem !important;
  display: inline-block !important;
  transition: background-color 0.2s ease !important;
}

.navbar .connect-btn:hover {
  background-color: var(
    --accent-red-hover
  ) !important; /* ⬅️ Merah lebih gelap saat kursor diarahkan */
}

/* Sembunyikan total khusus untuk Tampilan Mobile / HP (di bawah 768px) */
@media (max-width: 768px) {
  .navbar .connect-btn.hide-on-mobile {
    display: none !important;
  }
}
/* ================= PENGATURAN KHUSUS TABEL CETAK DI HP ================= */
@media (max-width: 768px) {
  .cetak-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  .table-container {
    width: 100% !important;
    margin-bottom: 15px !important;
  }
  .table-cetak {
    font-size: 0.8rem !important; /* Ukuran teks sedikit menyesuaikan layar HP */
  }
  .table-cetak th,
  .table-cetak td {
    padding: 10px 6px !important; /* Mengurangi ruang padding agar muat */
  }
}
/* ================= PENYEMPURNAAN BATAS KANAN-KIRI MOBILE ================= */
@media (max-width: 768px) {
  .container,
  .nav-container,
  .hero-container,
  .marquee-wrapper {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}
/* ================= PERECIL LOGO KHUSUS MOBILE ================= */
@media (max-width: 768px) {
  .brand-logo {
    height: 48px !important; /* Ukuran tinggi logo dikecilkan khusus untuk HP */
  }
}
