/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --accent-dark: #0891b2;
  --dark: #0f172a;
  --darker: #020617;
  --light: #f8fafc;
  --gray: #64748b;
  --gray-light: #94a3b8;
}

/* ===== ICON ===== */
/* ===== UBAH WARNA ICON KALENDER JADI PUTIH ===== */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;

  /* UBAH BAGIAN INI: Angka hex warna ini sedikit lebih terang dari hitam murni */
  background: linear-gradient(135deg, #0b1121 50%, #111827 70%, #0f172a 100%);

  min-height: 100vh;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}
/* ===== UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  /* Sebelumnya 20px, ditambah 50px menjadi 70px agar konten lebih ke dalam */
  padding: 0 70px;
}

.gradient-text {
  background: linear-gradient(90deg, #6366f1, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-bg {
  background: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glow {
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.4);
}

.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(10px);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: bold;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-links a:hover {
  color: #6366f1;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}

.hero-bg-1 {
  top: 10%;
  left: 10%;
  background: #6366f1;
}

.hero-bg-2 {
  bottom: 10%;
  right: 10%;
  background: #06b6d4;
  animation-delay: 2s;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 60px;
}

.stat-card {
  padding: 25px;
  border-radius: 20px;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.stat-label {
  color: #94a3b8;
  font-size: 0.9rem;
}

/* ===== PROMO SECTION ===== */
.promo {
  padding: 80px 20px;
}

.promo-card {
  border-radius: 30px;
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promo-badge {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 700;
  margin-bottom: 20px;
}

.promo h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 15px;
}

.promo p {
  font-size: 1.3rem;
  color: #94a3b8;
  margin-bottom: 30px;
}

.promo-features {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.promo-feature {
  padding: 10px 20px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== TIMER ANIMATION ===== */
.pulse-text {
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% {
    color: #ffffff;
  }
  50% {
    color: #ef4444;
  } /* Berubah jadi merah sebentar */
  100% {
    color: #ffffff;
  }
}

/* ===== PRICING TABLE ===== */
.pricing-table-container {
  border-radius: 20px;
  overflow: hidden; /* Menjaga agar sudut tabel tetap membulat */
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 20px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pricing-table th,
.pricing-table td {
  padding: 25px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Garis pemisah tipis */
}

.pricing-table th {
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.pricing-table tr:last-child td {
  border-bottom: none; /* Menghilangkan garis bawah di baris terakhir */
}

.pricing-table td {
  color: #94a3b8;
  font-size: 1.05rem;
  vertical-align: middle;
}

.pricing-table td strong {
  color: #ffffff;
  font-size: 1.15rem;
}

/* ===== RESPONSIVITAS TABEL DI HP ===== */
@media (max-width: 768px) {
  .pricing-table-container {
    overflow: visible;
  }

  /* Sembunyikan header tabel di mobile */
  .pricing-table thead {
    display: none;
  }

  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table td {
    display: block;
    width: 100%;
  }

  /* Setiap baris jadi card tersendiri */
  .pricing-table tbody tr {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .pricing-table tbody tr:last-child {
    border-bottom: none;
  }

  /* Setiap cell tampil inline dengan label pseudo-element */
  .pricing-table td {
    padding: 4px 0;
    font-size: 0.95rem;
    border-bottom: none;
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }

  /* Nama paket (kolom pertama) */
  .pricing-table td:first-child {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  /* Isi paket (kolom kedua) */
  .pricing-table td:nth-child(2)::before {
    content: "📌 ";
    flex-shrink: 0;
  }

  /* Harga (kolom ketiga) - tampil full width, tidak terpotong */
  .pricing-table td:nth-child(3) {
    margin-top: 8px;
    flex-wrap: wrap;
    gap: 6px;
  }

  .pricing-table td:nth-child(3) strong {
    font-size: 1.1rem !important;
    display: inline !important;
  }

  .pricing-table td strong {
    font-size: 1rem;
    display: inline;
  }
}

/* Khusus untuk layar HP yang lebih kecil lagi (seperti iPhone berlayar sempit) */
@media (max-width: 480px) {
  .pricing-table tbody tr {
    padding: 16px;
  }

  .pricing-table td:first-child {
    font-size: 1rem;
  }

  .pricing-table td:nth-child(3) strong {
    font-size: 1rem !important;
  }
}

/* ===== BOOKING SECTION ===== */
.booking {
  padding: 80px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 15px;
}

.section-header p {
  color: #94a3b8;
  font-size: 1.1rem;
}

.booking-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.form-group select option {
  background: #0f172a;
  color: white;
}

.form-note {
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ===== PORTFOLIO REDESIGN ===== */
.portfolio-header-top {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.portfolio-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 10px 25px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.tab-btn.active {
  background: rgba(126, 178, 255, 0.15); /* #7eb2ff dengan transparansi */
  border-color: #7eb2ff;
  color: #7eb2ff; /* Membuat teksnya juga menjadi biru */
}

.portfolio-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.portfolio-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Wrapper agar foto tidak terlalu besar di monitor lebar */
.masonry-wrapper {
  max-width: 1000px;
  margin: 0 auto; /* Posisi di tengah */
}

/* Masonry Grid untuk Foto - Di-set wajib 3 kolom */
.masonry-grid {
  column-count: 3;
  column-gap: 20px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  position: relative; /* Ini sangat penting agar badge tidak lari */
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.masonry-item img {
  width: 100%;
  display: block;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.masonry-item:hover img {
  transform: scale(1.03);
}

.media-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 8px;
  backdrop-filter: blur(4px);
  z-index: 10; /* Memastikan dia selalu ada di lapisan terdepan */
  letter-spacing: 1px;
}

/* Grid untuk Video - Di-set wajib 2 kolom */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 800px; /* Membatasi agar video tidak raksasa */
  margin: 0 auto; /* Posisi di tengah */
}

.video-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  background: #1e293b;
  cursor: pointer;
}

.video-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mengatur icon play */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  pointer-events: none; /* Agar tidak mengganggu klik/hover video */
}

/* Tombol play akan menghilang mengecil saat video di-hover */
.video-item:hover .play-button {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
}

/* Responsivitas untuk layar HP */
@media (max-width: 768px) {
  .masonry-grid {
    column-count: 2;
  }
  .video-grid {
    grid-template-columns: 1fr;
  } /* Jadi 1 kolom di HP agar tidak kekecilan */
}

@media (max-width: 480px) {
  .masonry-grid {
    column-count: 1;
  }
}

/* ===== INSTAGRAM BUTTON ===== */
.btn-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 900px; /* Membatasi lebar maksimal di PC agar tidak terlalu memanjang */
  padding: 16px 30px;
  border-radius: 12px;
  background: linear-gradient(90deg, #a855f7 0%, #ef4444 50%, #f59e0b 100%);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

.btn-instagram:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.4);
  color: #ffffff;
}

/* Responsivitas untuk layar HP */
@media (max-width: 576px) {
  .btn-instagram {
    font-size: 0.95rem;
    padding: 14px 20px;
  }
}

/* ===== BRANDS SECTION ===== */
.brands {
  padding: 80px 20px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  align-items: center;
}

.brand-card {
  padding: 15px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  aspect-ratio: 1 / 1; /* KUNCI KONSISTENSI: Memaksa semua kotak menjadi persegi sempurna */
  background: rgba(255, 255, 255, 0.03);
}

.brand-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Gambar akan presisi di tengah tanpa gepeng */
  opacity: 0.85;
  transition: all 0.3s ease;
  border-radius: 8px; /* Sedikit melengkungkan sudut foto JPEG */
}

.brand-card:hover .brand-img {
  opacity: 1;
  transform: scale(1.08);
}

.brand-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Styling Khusus untuk Kotak "Many More" */
.many-more {
  color: #94a3b8;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
}

.many-more:hover {
  color: #7eb2ff; /* Berubah jadi biru saat disentuh */
  background: rgba(126, 178, 255, 0.05);
}

/* ===== FOOTER ===== */
footer {
  padding: 50px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.copyright {
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-contact {
  flex: 1;
  min-width: 250px;
  align-items: center; /* Membawa teks ke tengah */
}

.footer-contact-link {
  color: #94a3b8;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-contact-link:hover {
  color: #7eb2ff; /* Warna biru sesuai tema tombol Anda sebelumnya */
  transform: translateX(5px);
}

.footer-notice {
  flex: 1;
  min-width: 250px;
  text-align: right; /* Membawa teks ke kanan */
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== RESPONSIVITAS FOOTER (Untuk HP) ===== */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }

  .footer-brand,
  .footer-contact,
  .footer-notice {
    text-align: center;
    align-items: center;
  }

  .footer-notice {
    text-align: center; /* Mengubah rata kanan jadi ke tengah di HP */
  }

  .footer-contact-link:hover {
    transform: translateY(-3px); /* Ubah arah hover agar lebih natural di HP */
  }
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 30px;
  padding: 40px;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.modal-header h3 {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.prompt-box {
  padding: 25px;
  border-radius: 20px;
  margin-bottom: 25px;
  line-height: 1.8;
}

.prompt-category {
  display: inline-block;
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.modal-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.modal-buttons .btn {
  flex: 1;
  min-width: 200px;
}

.modal-info {
  padding: 25px;
  border-radius: 20px;
  margin-bottom: 25px;
}

.modal-info h4 {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-info ul {
  list-style: none;
}

.modal-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #cbd5e1;
}

.check-icon {
  color: #06b6d4;
  flex-shrink: 0;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 15px 25px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 3000;
}

.toast.active {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 1.3rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(2, 6, 23, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .modal-buttons .btn {
    min-width: 100%;
  }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #3730a3;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #312e81;
}
