/* 1. VARIABEL & RESET */
:root {
  --primary: #121820;
  --accent: #c4a47c; /* Gold Bronze */
  --white: #ffffff;
  --bg-soft: #faf9f6;
  --text-muted: #6b7280;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-soft);
  color: var(--primary);
  line-height: 1.6;
}

/* 2. NAVIGATION */
.navbar {
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
}

.logo {
  font-family: 'Italiana', serif;
  font-size: 24px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
}

.logo span {
  color: var(--accent);
}

/* Menu Desktop (Muncul di Laptop) */
.nav-menu-desktop {
  display: flex;
  list-style: none;
  gap: 30px;
  margin-left: auto; /* <--- Tambahkan ini untuk mendorong ke kanan */
  margin-right: 40px; /* <--- Tambahkan ini untuk memberi jarak sedikit dari pinggir kanan */
}

.nav-menu-desktop li a {
  text-decoration: none;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}

.nav-menu-desktop li a:hover {
  color: var(--accent);
}

/* Burger Icon (Default Sembunyi di Laptop) */
.btn-menu-dots {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 5px;
}

.btn-menu-dots span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--primary);
}

/* Dropdown Content */
/* --- ANIMASI TIKAR GULING --- */
.dropdown-content {
  display: block; /* Kita buat block tapi kita kontrol dengan Clip-Path */
  position: absolute;
  right: 0;
  top: 79px;
  background: var(--white);
  min-width: 220px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
  overflow: hidden;
  z-index: 2000;

  /* Kondisi Awal (Tergulung) */
  clip-path: inset(0 0 100% 0); /* Terpotong dari bawah ke atas */
  transform: scaleY(0);
  transform-origin: top; /* Gulungan mulai dari atas */
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Efek membal/mantul */
  opacity: 0;
}

/* Kondisi Saat Terbuka (Menggelinding ke Bawah) */
.dropdown-content.show {
  clip-path: inset(0 0 0 0);
  transform: scaleY(1);
  opacity: 1;
}

/* Animasi tambahan untuk link di dalamnya agar muncul berurutan */
.dropdown-content a {
  color: var(--primary);
  padding: 15px 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  opacity: 0;
  transform: translateX(20px);
  transition: 0.4s ease;
}

.dropdown-content.show a {
  opacity: 1;
  transform: translateX(0);
}

/* Delay agar link muncul satu per satu (efek estetik) */
.dropdown-content.show a:nth-child(1) {
  transition-delay: 0.2s;
}
.dropdown-content.show a:nth-child(2) {
  transition-delay: 0.3s;
}
.dropdown-content.show a:nth-child(3) {
  transition-delay: 0.4s;
}
.dropdown-content.show a:nth-child(5) {
  transition-delay: 0.5s;
} /* No 4 adalah HR */

/* 3. HERO SECTION (RATA KIRI) */
.hero-premium {
  padding: 120px 20px;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-content {
  max-width: 700px;
  text-align: left; /* Rata Kiri */
}

.tagline {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 700;
  display: block;
  margin-bottom: 20px;
}

.hero-premium h1 {
  font-family: 'Italiana', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-premium h1 .italic {
  font-style: italic;
  color: var(--accent);
}

.hero-premium p {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 550px;
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  gap: 15px;
}

.btn-primary {
  padding: 15px 30px;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-outline {
  padding: 15px 30px;
  border: 1px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--accent);
}

/* 4. RESPONSIVE LOGIC */

/* Saat di HP/Tablet */
@media (max-width: 991px) {
  .nav-menu-desktop {
    display: none; /* Sembunyikan menu teks */
  }

  .btn-menu-dots {
    display: flex; /* Munculkan burger menu */
  }
}

/* Saat di HP Kecil */
@media (max-width: 768px) {
  .hero-premium {
    padding-top: 50px;
  }

  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }

  /* Tombol lebih kecil di HP */
  .btn-primary,
  .btn-outline {
    padding: 12px 20px;
    font-size: 14px;
    width: fit-content;
    min-width: 160px;
    text-align: center;
  }
}

/* 4. FEATURES BAR */
.features-bar {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 0 20px;
  margin-top: -35px;
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.feature-box {
  background: var(--white);
  padding: 20px 10px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  flex: 1;
  max-width: 130px;
}
.feature-box i {
  font-size: 22px;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.feature-box span {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
}

/* 5. CATALOG GRID */
.catalog-grid-container {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.card-item {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}
.card-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
  border-color: var(--accent);
}

.card-image {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.card-item:hover .card-image img {
  transform: scale(1.1);
}

.badge-card {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  font-size: 8px;
  padding: 4px 10px;
  border-radius: 5px;
  text-transform: uppercase;
  z-index: 5;
}
.badge-card.hot {
  background: var(--accent);
}

.card-content {
  padding: 15px;
  text-align: center;
}
.card-content h3 {
  font-size: 14px;
  margin-bottom: 5px;
}
.card-price {
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 15px;
}

.btn-group-action {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.btn-demo-outline,
.btn-wa-compact {
  padding: 10px 5px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.3s;
  text-align: center;
}
.btn-demo-outline {
  border: 1px solid #eee;
  color: var(--text-muted);
}
.btn-demo-outline:hover {
  background: var(--gray);
}
.btn-wa-compact {
  background: #25d366;
  color: var(--white);
}

/* 6. FLOATING ACTION */
.fab-wa {
  position: fixed;
  bottom: 30px;
  right: 20px;
  background: #25d366;
  color: var(--white);
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 3000;
}
.fab-wa i {
  font-size: 18px;
}
.fab-wa span {
  font-size: 13px;
  font-weight: 700;
}

.footer-simple {
  text-align: center;
  padding: 50px 20px;
  font-size: 12px;
  color: var(--text-muted);
}

/* 7. MEDIA QUERIES */
@media (min-width: 768px) {
  .grid-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .hero-minimal h1 {
    font-size: 4rem;
  }
  .feature-box {
    max-width: 160px;
    padding: 30px 10px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* --- ADMIN FEATURE SHOWCASE REDESIGN --- */
.admin-feature-showcase {
  padding: 100px 20px;
  background: #fcfcfc;
  overflow: hidden;
}

.showcase-header {
  text-align: center;
  margin-bottom: 60px;
}

.showcase-header .tagline {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 12px;
  display: block;
  margin-bottom: 10px;
}

.showcase-header h2 {
  font-family: 'Italiana', serif;
  font-size: 38px;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.showcase-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.showcase-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.item-showcase {
  display: flex;
  gap: 15px;
  padding: 15px;
  border-radius: 15px;
  transition: all 0.3s ease;
  background: transparent;
}

.item-showcase:hover {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.icon-wrap {
  width: 45px;
  height: 45px;
  background: var(--gray);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 18px;
  border: 1px solid #eee;
  transition: 0.3s;
}

.item-showcase:hover .icon-wrap {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.text-wrap h4 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 5px;
}

.text-wrap p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Visual Stage */
.showcase-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-width: 300px;
}

.visual-stage {
  position: relative;
  padding: 20px;
}

/* Background Glow Efek */
.visual-stage::before {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: var(--accent);
  filter: blur(80px);
  opacity: 0.1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.admin-img {
  width: 220px; /* Ukuran tetap sesuai permintaan */
  height: auto;
  position: relative;
  z-index: 2;
  /* border-radius: 20px; */
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
}

.floating-badge {
  position: absolute;
  bottom: 30px;
  right: 0;
  background: var(--primary);
  color: var(--accent);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  z-index: 3;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--accent);
}

/* --- RESPONSIVE OPTIMIZATION --- */
@media (max-width: 1024px) {
  .showcase-content {
    flex-wrap: wrap;
    gap: 20px;
  }
  .showcase-visual {
    order: -1; /* Gambar jadi di atas pada tablet */
    width: 100%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .admin-feature-showcase {
    padding: 60px 15px;
  }
  .showcase-header h2 {
    font-size: 28px;
  }
  .showcase-column {
    min-width: 100%;
  }
  .item-showcase {
    text-align: left; /* Teks rata kiri di HP sesuai permintaan */
    padding: 10px 0;
  }
  .item-showcase:hover {
    background: transparent;
    box-shadow: none;
    transform: none;
  }
  .admin-img {
    width: 180px; /* Sedikit lebih kecil di HP agar tidak penuh */
  }
}

/* --- MODERN SHOWCASE (NO FRAME) --- */
.modern-showcase {
  padding: 100px 20px;
  background: #ffffff;
  overflow: hidden;
}

.showcase-flex {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.showcase-text {
  flex: 1;
  text-align: left; /* Rata samping kiri */
}

.showcase-text h2 {
  font-family: 'Italiana', serif;
  font-size: 45px;
  line-height: 1.1;
  margin-bottom: 25px;
}

.showcase-text p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 35px;
  max-width: 400px;
}

.btn-explore {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: 0.3s;
}

/* Sisi Visual Flat */
.showcase-visual-flat {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
}

.slider-wrapper {
  width: 280px;
  height: 550px;
  position: relative;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.flat-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fadeAnim 12s infinite;
}

.flat-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flat-slide:nth-child(1) {
  animation-delay: 0s;
}
.flat-slide:nth-child(2) {
  animation-delay: 4s;
}
.flat-slide:nth-child(3) {
  animation-delay: 8s;
}

@keyframes fadeAnim {
  0%,
  5% {
    opacity: 0;
  }
  10%,
  30% {
    opacity: 1;
  }
  35%,
  100% {
    opacity: 0;
  }
}

/* Dekorasi di Belakang Foto */
.visual-deco {
  position: absolute;
  width: 320px;
  height: 480px;
  border: 2px solid var(--accent);
  top: 50%;
  left: 50%;
  transform: translate(-40%, -40%);
  z-index: 1;
  border-radius: 20px;
}

/* --- FOOTER PREMIUM --- */
.footer-premium {
  background: var(--primary);
  color: white;
  padding: 80px 20px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto 50px;
}

.footer-brand h4,
.footer-brand .logo {
  color: white;
  margin-bottom: 20px;
}
.footer-brand p {
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 20px;
}
.social-links a {
  color: white;
  font-size: 20px;
  margin-right: 15px;
  transition: 0.3s;
}
.social-links a:hover {
  color: var(--accent);
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Italiana', serif;
  margin-bottom: 25px;
  color: var(--accent);
}
.footer-links ul {
  list-style: none;
}
.footer-links ul li {
  margin-bottom: 12px;
}
.footer-links ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: 0.3s;
}
.footer-links ul li a:hover {
  color: white;
  padding-left: 5px;
}

/* .footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #1e293b;
  color: #64748b;
  font-size: 13px;
} */

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
  .showcase-flex {
    flex-direction: column;
    text-align: left;
  }
  .showcase-text {
    width: 100%;
    padding-left: 0;
  } /* Tetap rata kiri */
  .showcase-text h2 {
    font-size: 36px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
