*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
  zoom: 0.75;
}

body{
  background:#0d0d0d;
  color:white;
  overflow-x:hidden;
}

a{
  text-decoration:none;
}

/* NAVBAR */
.navbar{
  width:100%;
  padding:20px 8%;
  position:fixed;
  top:0;
  left:0;
  z-index:999;
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:rgba(0,0,0,0.7);
  backdrop-filter:blur(10px);
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo-circle{
  width:50px;
  height:50px;
  border-radius:50%;
  background:#ffd400;
  display:flex;
  justify-content:center;
  align-items:center;
  color:#000;
  font-weight:800;
  font-size:22px;
}

.logo-text h2{
  color:#ffd400;
  font-size:24px;
  font-weight:800;
  line-height:1;
}

.logo-text span{
  font-size:12px;
  color:#fff;
  letter-spacing:2px;
}

.nav-menu{
  display:flex;
  gap:30px;
}

.nav-menu a{
  color:white;
  font-weight:500;
  transition:0.3s;
}

.nav-menu a:hover{
  color:#ffd400;
}

.btn{
  background:#ff0000;
  color:white;
  padding:14px 28px;
  border-radius:50px;
  font-weight:700;
  transition:0.3s;
  display:inline-block;
}

.btn:hover{
  background:#ffd400;
  color:#000;
  transform:translateY(-3px);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: 0.3s;
}

/* HERO */
.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:180px 8% 100px; /* Lebih banyak padding vertikal */
  position: relative;
  text-align: center;
}

.btn-outline{
  border:2px solid #ffd400;
  color:#ffd400;
  padding:14px 28px;
  border-radius:50px;
  font-weight:700;
  transition:0.3s;
}

.btn-outline:hover{
  background:#ffd400;
  color:#000;
}

.hero-card{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow:hidden;
  z-index: 0;
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #ffd400;
}

.slide img{
  width:100%;
  height: 100%;
  object-fit: cover;
  display:block;
  pointer-events: none; /* Mencegah gambar ikut tertarik (drag) saat layar diswipe */
}

.slide-caption {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  min-width: 300px;
  max-width: 80%;
  background: rgba(0,0,0,0.7);
  padding: 20px 30px;
  border-radius: 15px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  backdrop-filter: blur(5px);
}

/* SECTION */
section{
  padding:100px 8%; /* Padding vertikal lebih konsisten */
}

.section-title{
  text-align:center;
  margin-bottom:80px; /* Jarak bawah lebih besar */
}

.section-title h2{
  font-size:48px;
  font-weight:800;
  color:#ffd400;
}

.section-title p{
  color:#bbb;
  margin-top:15px;
}

/* PROGRAM */
.program-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:25px;
}

.program-card{
  background:linear-gradient(135deg,#1a1a1a,#2b2b2b);
  border:2px solid rgba(255,212,0,0.2);
  border-radius:25px;
  padding:35px;
  transition:0.3s;
  position:relative;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,0.3); /* Tambah shadow */
}

.program-card:hover{
  transform:translateY(-10px);
  border-color:#ffd400;
}

.program-card::before{
  content:'';
  width:120px;
  height:120px;
  background:#ffd400;
  opacity:0.08;
  border-radius:50%;
  position:absolute;
  top:-40px;
  right:-40px;
}

.program-card h3{
  font-size:28px;
  color:#ffd400;
  margin-bottom:15px;
}

.program-card p{
  color:#ccc;
  line-height:1.7;
}

/* PROMO */
.promo{
  background:linear-gradient(135deg,#ff0000,#ffb300);
  border-radius:40px;
  padding:60px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:40px;
}

.promo-left h2{
  font-size:72px; /* Ukuran font lebih besar */
  font-weight:800;
  line-height:1.1;
  margin-bottom:20px;
}

.promo-left p{
  font-size:18px;
  max-width:600px;
}

.price-box{
  background:#000;
  padding:40px;
  border-radius:30px;
  text-align:center;
  min-width:300px;
}

.old-price{
  text-decoration:line-through;
  color:#aaa;
  font-size:32px;
}

.new-price{
  font-size:80px; /* Ukuran font lebih besar */
  color:#ffd400;
  font-weight:800;
  margin:10px 0;
}

/* TESTIMONI */
.testimonial-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:25px;
}

.testimonial{
  background:#1a1a1a;
  padding:30px;
  border-radius:25px;
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:0 10px 30px rgba(0,0,0,0.3); /* Tambah shadow */
}

.testimonial h4{
  color:#ffd400;
  margin-bottom:15px;
}

.testimonial p{
  color:#ccc;
  line-height:1.7;
}

/* CTA */
.cta{
  text-align:center;
  background:#111;
  border-top:3px solid #ffd400;
  padding:100px 8%; /* Padding vertikal lebih konsisten */
}

.cta h2{
  font-size:64px; /* Ukuran font lebih besar */
  margin-bottom:20px;
  color:#ffd400;
}

.cta p{
  color:#bbb;
  margin-bottom:35px;
  font-size:18px;
}

/* FOOTER */
footer{
  background:#000;
  padding:40px 8%;
  text-align:center;
  color:#aaa;
  border-top:1px solid rgba(255,255,255,0.08);
}

/* RESPONSIVE */
@media(max-width:1366px){
  .hero{
    padding:150px 8% 80px; /* Sesuaikan padding */
  }
  .hero-card{
    /* hero-card sekarang full width, jadi properti width ini tidak relevan */
  }
  section{
    padding:80px 8%; /* Sesuaikan padding */
  }
  .section-title h2{
    font-size:52px; /* Sesuaikan font */
  }
  .promo-left h2{
    font-size:60px; /* Sesuaikan font */
  }
  .new-price{
    font-size:72px; /* Sesuaikan font */
  }
  .cta h2{
    font-size:56px; /* Sesuaikan font */
  }
}

@media(max-width:992px){

  .hero{
    flex-direction:column;
    text-align:center;
    gap:50px;
  }

  .nav-menu{
    position: absolute;
    top: 100%;
    left: -100%;
    flex-direction: column;
    background: rgba(0,0,0,0.95);
    width: 100%;
    text-align: center;
    padding: 20px 0;
    transition: 0.3s;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .navbar > .btn {
    display: none;
  }

  .promo{
    text-align:center;
    justify-content:center;
  }

  .promo-left h2{
    font-size:50px; /* Sesuaikan font */
  }
}

@media(max-width:600px){

  .hero{
    min-height: auto; /* Menghilangkan tinggi minimal 100vh */
    aspect-ratio: 1 / 1; /* Mengatur rasio tinggi dan lebar menjadi persegi */
    padding: 0; /* Menghilangkan padding agar rasio presisi */
  }

  .section-title h2{
    font-size:40px; /* Sesuaikan font */
  }

  .promo-left h2{
    font-size:42px; /* Sesuaikan font */
  }

  .new-price{
    font-size:52px; /* Sesuaikan font */
  }

  .cta h2{
    font-size:40px; /* Sesuaikan font */
  }

  .hero-card{
    width:100%;
  }
}

/* =========================================
   ADMIN PANEL & DASHBOARD STYLES
   ========================================= */
.admin-body {
  background: #0d0d0d;
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  background: #111;
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 100;
  overflow-y: auto;
}

.admin-sidebar .logo {
  padding: 30px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.admin-nav {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.admin-nav a {
  padding: 16px 30px;
  color: #aaa;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: 0.3s;
  border-left: 4px solid transparent;
  font-size: 15px;
}

.admin-nav a:hover, .admin-nav a.active {
  background: rgba(255, 212, 0, 0.05);
  color: #ffd400;
  border-left-color: #ffd400;
}

.admin-nav .logout-btn {
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 20px;
  color: #ff4444;
}

.admin-nav .logout-btn:hover {
  background: rgba(255, 68, 68, 0.05);
  color: #ff4444;
  border-left-color: #ff4444;
}

.admin-main {
  flex: 1;
  margin-left: 260px;
  padding: 50px;
}

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

.admin-header h1 {
  font-size: 32px;
  color: #fff;
  font-weight: 700;
}

.admin-card {
  background: #151515;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  overflow-x: auto;
}

.admin-select {
  padding: 10px 15px; 
  border-radius: 10px; 
  background: #000; 
  color: #fff; 
  border: 1px solid rgba(255,255,255,0.1); 
  outline: none; 
  cursor: pointer;
  font-family: inherit;
}
.admin-select:focus { border-color: #ffd400; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.admin-table th, .admin-table td {
  padding: 18px 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.admin-table th {
  color: #ffd400;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(0,0,0,0.3);
}

.admin-table tr:first-child th:first-child { border-top-left-radius: 10px; }
.admin-table tr:first-child th:last-child { border-top-right-radius: 10px; }
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }

.admin-table td a {
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: 0.3s;
  display: inline-block;
  font-size: 13px;
}

.admin-table td a.edit-btn { background: rgba(255, 212, 0, 0.1); color: #ffd400; margin-right: 10px; }
.admin-table td a.edit-btn:hover { background: #ffd400; color: #000; }
.admin-table td a.delete-btn { background: rgba(255, 68, 68, 0.1); color: #ff4444; }
.admin-table td a.delete-btn:hover { background: #ff4444; color: #fff; }

.badge {
  background: rgba(255, 212, 0, 0.1);
  color: #ffd400;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
}

@media(max-width: 992px) {
  .admin-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .admin-sidebar .logo { padding: 15px 20px; border: none; }
  .admin-nav { flex-direction: row; padding: 0; overflow-x: auto; }
  .admin-nav a { padding: 15px; border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; }
  .admin-nav a:hover, .admin-nav a.active { border-left: none; border-bottom-color: #ffd400; }
  .admin-nav .logout-btn { border: none; padding-top: 15px; margin: 0; }
  .admin-main { margin-left: 0; padding: 20px; }
  .admin-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}