/* 
 * UMA INTERIOR - Style Sheet (Edisi Bright Interior & Logo Resmi)
 * Tipografi: Arial (Clean, Modern, Sharp)
 * Tema: Latar Putih Bersih dengan Aksen Interior Manis (Terracotta #A0432E, Warm Sand & Timber)
 * Standar: ZettBOT by Zettbos (v4.1)
 */

:root {
  /* Tipografi Utama: Arial Murni */
  --font-family-base: Arial, "Helvetica Neue", Helvetica, sans-serif;
  
  /* Palet Warna: Latar Putih Bersih & Aksen Interior Terracotta Manis */
  --color-bg: #ffffff;
  --color-bg-card: #ffffff;
  --color-bg-card-hover: #fdfbf9;
  --color-section-alt: #FAF6F0; /* Warm Sand / Ivory Interior yang manis */
  
  --color-border: #E8E2D8;
  --color-border-hover: rgba(160, 67, 46, 0.4);
  
  --color-text-main: #1A202C; /* Deep Charcoal tajam & mudah dibaca */
  --color-text-muted: #4A5568;
  --color-text-subtle: #718096;
  
  /* Aksen Resmi Sesuai Logo UMA Interior */
  --color-accent: #A0432E; /* Terracotta / Warm Rust khas Logo */
  --color-accent-hover: #823422;
  --color-accent-light: rgba(160, 67, 46, 0.08);
  --color-accent-border: rgba(160, 67, 46, 0.25);
  
  --color-wood: #C28859; /* Aksen Kayu Hangat / Warm Oak */
  --color-wood-light: rgba(194, 136, 89, 0.12);
  
  --color-success: #059669;
  --color-danger: #DC2626;
  --color-danger-light: rgba(220, 38, 38, 0.1);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(160, 67, 46, 0.08), 0 2px 8px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 16px 36px -6px rgba(160, 67, 46, 0.14), 0 4px 12px -2px rgba(0, 0, 0, 0.06);
  
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family-base);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  font-family: var(--font-family-base);
}

/* Typography Helpers - Menggunakan Arial Murni */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-base);
  color: var(--color-text-main);
  letter-spacing: -0.2px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Custom Scrollbar Cantik */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1ede6;
}
::-webkit-scrollbar-thumb {
  background: #c5bbb0;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* ============================================================== */
/* HEADER & NAVBAR                                                */
/* ============================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition-smooth);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: var(--color-text-main);
}

.brand-img-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 3px 10px rgba(160, 67, 46, 0.25);
  border: 2px solid #ffffff;
  transition: transform 0.3s ease;
}

.brand-logo:hover .brand-img-logo {
  transform: scale(1.05);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-family-base);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-accent);
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--color-accent);
  transition: var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ============================================================== */
/* LANGUAGE SWITCHER (BILINGUAL ID / EN)                          */
/* ============================================================== */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--color-section-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  gap: 0.2rem;
  user-select: none;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

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

.lang-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(160, 67, 46, 0.25);
}

.lang-divider {
  color: var(--color-border);
  font-size: 0.7rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: var(--color-section-alt);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* ============================================================== */
/* BUTTONS                                                        */
/* ============================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-family-base);
  font-size: 0.925rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  box-shadow: 0 4px 14px rgba(160, 67, 46, 0.28);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(160, 67, 46, 0.35);
}

.btn-outline {
  background: #ffffff;
  color: var(--color-text-main);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.btn-whatsapp {
  background: #059669;
  color: #ffffff;
  border-color: #059669;
  box-shadow: 0 3px 12px rgba(5, 150, 105, 0.25);
}

.btn-whatsapp:hover {
  background: #047857;
  border-color: #047857;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-danger {
  background: var(--color-danger);
  color: #fff;
  border-color: var(--color-danger);
}

.btn-danger:hover {
  background: #b91c1c;
}

/* ============================================================== */
/* HERO SECTION (CERAH, ELEGAN & HANGAT)                           */
/* ============================================================== */
.hero-section {
  position: relative;
  min-height: calc(88vh - 84px);
  display: flex;
  align-items: center;
  padding: 5rem 0;
  overflow: hidden;
  background-color: var(--color-section-alt);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.92) contrast(1.02);
  z-index: 1;
  transform: scale(1.02);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg, 
    rgba(255, 255, 255, 0.96) 0%, 
    rgba(255, 255, 255, 0.90) 50%, 
    rgba(255, 255, 255, 0.45) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  background: var(--color-accent-light);
  border: 1px solid var(--color-accent-border);
  color: var(--color-accent);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 1.5rem;
  color: var(--color-text-main);
  letter-spacing: -0.5px;
}

.hero-title span.accent {
  color: var(--color-accent);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 660px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.stat-item h3 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
  line-height: 1;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================== */
/* SECTIONS UMUM (BERSIH & SEGAR)                                 */
/* ============================================================== */
.section {
  padding: 6rem 0;
  position: relative;
  background-color: var(--color-bg);
}

.section-alt {
  background-color: var(--color-section-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  color: var(--color-accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.6rem;
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  color: var(--color-text-main);
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Filter Buttons */
.filter-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-full);
  font-family: var(--font-family-base);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  box-shadow: 0 4px 12px rgba(160, 67, 46, 0.25);
}

/* Grid Layouts */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

/* ============================================================== */
/* GRID PORTOFOLIO 4 KOLOM X 2 BARIS (8 KATALOG PER HALAMAN)      */
/* ============================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1100px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

@media (max-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
  .box-card-body {
    padding: 0.5rem 0.5rem 0.65rem !important;
  }
  .box-card-location {
    font-size: 0.55rem !important;
    margin-bottom: 0.15rem !important;
  }
  .box-card-title {
    font-size: 0.78rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.25rem !important;
    min-height: 1.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .box-card-readmore {
    font-size: 0.65rem !important;
  }
  .box-photo-badge {
    bottom: 0.35rem !important;
    right: 0.35rem !important;
    top: auto !important;
    font-size: 0.55rem !important;
    padding: 0.15rem 0.4rem !important;
  }
  .box-category-badge {
    top: 0.35rem !important;
    left: 0.35rem !important;
    font-size: 0.55rem !important;
    padding: 0.15rem 0.4rem !important;
  }
}

/* ============================================================== */
/* KARTU PORTOFOLIO KOTAK MINIMALIS (CLEAN STUDIO BOX)            */
/* ============================================================== */
.box-project-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.box-project-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
}

/* 1. Media Foto Kotak Persegi (1:1) */
.box-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #181412;
  overflow: hidden;
  cursor: pointer;
}

.box-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.box-project-card:hover .box-media-img {
  transform: scale(1.04);
}

.box-photo-badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  background: rgba(20, 16, 14, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
}

.box-category-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: var(--color-primary);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-border);
  z-index: 2;
}

/* 2. Isi Kartu: Lokasi, Judul, Baca Selengkapnya */
.box-card-body {
  padding: 1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #ffffff;
}

.box-card-location {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-wood);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.35rem;
}

.box-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.35;
  margin: 0 0 0.65rem 0;
  cursor: pointer;
  transition: color 0.15s ease;
}

.box-card-title:hover {
  color: var(--color-primary);
}

.box-card-readmore {
  background: transparent;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary);
  cursor: pointer;
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  transition: all 0.15s ease;
}

.box-card-readmore:hover {
  color: var(--color-primary-dark);
  transform: translateX(3px);
  text-decoration: underline;
}

/* ============================================================== */
/* PAGINASI HALAMAN PORTOFOLIO                                    */
/* ============================================================== */
.pagination-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
  gap: 0.85rem;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.95rem;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-section-alt);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.page-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(160, 67, 46, 0.25);
  cursor: default;
  transform: none;
}

.page-btn-next-prominent {
  background: var(--color-primary) !important;
  color: #ffffff !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 3px 10px rgba(160, 67, 46, 0.25);
}

.page-btn-next-prominent:hover:not(:disabled) {
  background: var(--color-primary-dark) !important;
  border-color: var(--color-primary-dark) !important;
  transform: translateY(-2px);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.pagination-info {
  font-size: 0.85rem;
  color: var(--color-text-subtle);
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ============================================================== */
/* KARTU PORTOFOLIO                                               */
/* ============================================================== */
.portfolio-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-lg);
}

.portfolio-img-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
  background: #e5ded4;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.06);
}

.portfolio-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.portfolio-info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--color-wood);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.portfolio-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-text-main);
  line-height: 1.35;
}

.portfolio-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ============================================================== */
/* ALUR PROSES KERJA (4 LANGKAH MANIS)                            */
/* ============================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.process-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.process-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.process-step-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(160, 67, 46, 0.2);
  margin-bottom: 1rem;
  line-height: 1;
  letter-spacing: -1px;
}

.process-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-text-main);
}

.process-card-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ============================================================== */
/* KARTU SHOP & STOK                                              */
/* ============================================================== */
.shop-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.shop-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.shop-img-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #ede6dd;
}

.shop-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.shop-card:hover .shop-img {
  transform: scale(1.05);
}

.shop-stock-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.stock-in {
  background: #059669;
  color: #fff;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.stock-out {
  background: #dc2626;
  color: #fff;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.shop-info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.shop-category {
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 0.35rem;
}

.shop-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.shop-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.shop-specs {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  background: var(--color-section-alt);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  border: 1px solid var(--color-border);
}

.shop-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.shop-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.3px;
}

/* ============================================================== */
/* KONTAK SECTION                                                 */
/* ============================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-icon-box {
  width: 50px;
  height: 50px;
  background: var(--color-accent-light);
  border: 1px solid var(--color-accent-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--color-text-main);
}

.contact-detail p,
.contact-detail a {
  color: var(--color-text-muted);
  font-size: 0.925rem;
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact-detail a:hover {
  color: var(--color-accent);
}

/* ============================================================== */
/* FOOTER DENGAN AKSEN MANIS                                      */
/* ============================================================== */
.site-footer {
  background: #201815; /* Nuansa Dark Chocolate / Espresso Terracotta Elegan */
  color: #f8fafc;
  border-top: 3px solid var(--color-accent);
  padding: 4.5rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: #d1c7bc;
  font-size: 0.925rem;
  max-width: 380px;
  margin-top: 1rem;
  line-height: 1.7;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  align-items: center;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d1c7bc;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #c5bbb0;
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #f59e0b;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #9c9184;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================== */
/* TOAST NOTIFIKASI KUSTOM                                        */
/* ============================================================== */
#toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 300px;
  max-width: 420px;
  background: #ffffff;
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.35rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  animation: slideInRight 0.3s ease forwards;
}

.toast.toast-success {
  border-left: 5px solid var(--color-success);
}

.toast.toast-error {
  border-left: 5px solid var(--color-danger);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ============================================================== */
/* MODAL POPUP                                                    */
/* ============================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 24, 21, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-box {
  transform: scale(1);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--color-text-subtle);
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--color-text-main);
  background: var(--color-section-alt);
}

.modal-body {
  padding: 2rem;
}

/* Formulir */
.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.4rem;
  letter-spacing: 0.3px;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  background: #FAF7F2;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-main);
  font-family: var(--font-family-base);
  font-size: 0.925rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(160, 67, 46, 0.15);
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

/* ============================================================== */
/* ADMIN CMS LAYOUT                                               */
/* ============================================================== */
.admin-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fdfbf9;
}

.admin-nav {
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
  padding: 0.85rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--color-border);
  padding: 0.5rem 0;
  margin-bottom: 2rem;
  overflow-x: auto;
}

.admin-tab-btn {
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 0.7rem 1.3rem;
  font-family: var(--font-family-base);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.admin-tab-btn:hover {
  color: var(--color-accent);
  background: var(--color-section-alt);
}

.admin-tab-btn.active {
  color: #fff;
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 3px 10px rgba(160, 67, 46, 0.25);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9rem;
  background: #ffffff;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.admin-table th {
  background: #FAF6F0;
  text-align: left;
  padding: 1rem;
  color: var(--color-text-main);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.8px;
  border-bottom: 1px solid var(--color-border);
}

.admin-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
  color: var(--color-text-main);
}

.admin-table tr:hover td {
  background: #fdfbf9;
}

/* ============================================================== */
/* RESPONSIVE MEDIA QUERIES                                       */
/* ============================================================== */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 13.5px; /* Skala harmonis seluruh unit rem di HP */
  }
}

@media (max-width: 768px) {
  /* 1. Header & Nav Minimalis */
  .site-header {
    padding: 0.2rem 0;
  }
  .navbar {
    height: 52px;
  }
  .brand-img-logo {
    width: 32px;
    height: 32px;
  }
  .brand-title {
    font-size: 0.95rem;
  }
  .brand-subtitle {
    font-size: 0.58rem;
  }
  .nav-actions {
    gap: 0.35rem;
  }
  .lang-switcher {
    padding: 0.2rem 0.4rem;
    gap: 0.25rem;
  }
  .lang-btn {
    font-size: 0.68rem;
    padding: 0.15rem 0.4rem;
  }
  #header-wa-btn span {
    display: none; /* Sembunyikan teks WA di HP agar muat dengan sakelar bahasa */
  }
  #header-wa-btn {
    padding: 0.35rem;
    min-width: 32px;
    height: 32px;
    border-radius: 50%;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    min-width: 32px;
    height: 32px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1.25rem;
    border-bottom: 2px solid var(--color-accent);
    gap: 0.85rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  }
  .nav-links.show {
    display: flex;
  }

  /* 2. Hero Section Ultra-Minimalis & Hemat Ruang */
  .hero-section {
    min-height: auto;
    padding: 1.75rem 0 1.25rem;
  }
  .hero-content {
    max-width: 100%;
  }
  .badge-pill {
    font-size: 0.68rem;
    padding: 0.2rem 0.55rem;
    margin-bottom: 0.5rem;
  }
  .hero-title {
    font-size: 1.35rem;
    line-height: 1.22;
    margin-bottom: 0.45rem;
    letter-spacing: -0.2px;
  }
  .hero-desc {
    font-size: 0.78rem;
    line-height: 1.45;
    margin-bottom: 1rem;
  }
  .hero-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.45rem;
    margin-bottom: 1.15rem;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
    height: 38px;
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.35rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }
  .stat-item h3 {
    font-size: 1.18rem;
    margin-bottom: 0.1rem;
  }
  .stat-item p {
    font-size: 0.62rem;
    line-height: 1.2;
  }

  /* 3. Section Spacings & Headings Ramping */
  .section {
    padding: 1.85rem 0;
  }
  .section-header {
    margin-bottom: 1.1rem;
  }
  .section-subtitle {
    font-size: 0.65rem;
    margin-bottom: 0.25rem;
    letter-spacing: 0.8px;
  }
  .section-title {
    font-size: 1.25rem;
    line-height: 1.25;
    margin-bottom: 0.35rem;
  }
  .section-desc {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  /* 4. Filter Kategori Menyamping Rapi */
  .filter-wrapper {
    display: flex;
    gap: 0.35rem;
    padding-bottom: 0.4rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 0.9rem;
  }
  .filter-wrapper::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    padding: 0.3rem 0.65rem;
    font-size: 0.72rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* 5. Kartu Komponen Minimalis di HP */
  .grid-cards {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  /* UMA Shop: Grid 2 Kolom Ramping & Hemat Ruang di HP */
  #shop-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.55rem !important;
  }
  #shop-container .shop-card {
    border-radius: var(--radius-sm);
  }
  #shop-container .shop-img-wrap {
    height: 125px !important;
  }
  #shop-container .shop-stock-badge {
    top: 0.35rem !important;
    right: 0.35rem !important;
    font-size: 0.55rem !important;
    padding: 0.15rem 0.45rem !important;
  }
  #shop-container .shop-info {
    padding: 0.55rem 0.5rem 0.65rem !important;
  }
  #shop-container .shop-category {
    font-size: 0.55rem !important;
    letter-spacing: 0.4px !important;
    margin-bottom: 0.15rem !important;
  }
  #shop-container .shop-title {
    font-size: 0.76rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.25rem !important;
    min-height: 1.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  #shop-container .shop-desc {
    display: none !important;
  }
  #shop-container .shop-specs {
    padding: 0.3rem 0.4rem !important;
    font-size: 0.6rem !important;
    margin-bottom: 0.45rem !important;
    line-height: 1.35 !important;
  }
  #shop-container .shop-footer {
    padding-top: 0.45rem !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.35rem !important;
  }
  #shop-container .shop-price {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
  }
  #shop-container .shop-footer .btn {
    width: 100% !important;
    padding: 0.35rem 0.45rem !important;
    font-size: 0.66rem !important;
    justify-content: center !important;
    height: 30px !important;
  }
  #shop-container .shop-footer .btn svg {
    width: 13px !important;
    height: 13px !important;
  }

  /* Kartu Proses & Kontak Minimalis */
  .process-card {
    padding: 0.85rem 0.75rem !important;
  }
  .process-step-num {
    font-size: 1.35rem !important;
    margin-bottom: 0.35rem !important;
  }
  .process-card-title {
    font-size: 0.88rem !important;
    margin-bottom: 0.3rem !important;
  }
  .process-card-desc {
    font-size: 0.75rem !important;
    line-height: 1.45 !important;
  }
  .contact-card {
    padding: 1rem 0.85rem !important;
  }
  .contact-item {
    margin-bottom: 0.85rem !important;
  }
  .contact-icon-box {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
  }
  .contact-icon-box svg {
    width: 17px !important;
    height: 17px !important;
  }
  .contact-detail h4 {
    font-size: 0.8rem !important;
    margin-bottom: 0.15rem !important;
  }
  .contact-detail p {
    font-size: 0.74rem !important;
  }
  .form-group {
    margin-bottom: 0.75rem !important;
  }
  .form-label {
    font-size: 0.72rem !important;
    margin-bottom: 0.25rem !important;
  }
  .form-control {
    padding: 0.5rem 0.65rem !important;
    font-size: 0.78rem !important;
  }
  .site-footer {
    padding: 2rem 0 1rem !important;
  }
  .footer-links li {
    margin-bottom: 0.4rem !important;
  }
  .footer-links a {
    font-size: 0.76rem !important;
  }

  /* 6. Paginasi di HP */
  .pagination-wrapper {
    gap: 0.35rem;
    margin-top: 1.25rem;
  }
  .page-btn {
    min-width: 32px;
    height: 32px;
    font-size: 0.76rem;
    padding: 0 0.45rem;
  }
  .pagination-info {
    font-size: 0.72rem;
    margin-top: 0.35rem;
  }

  /* 7. Modal di HP */
  .modal-box {
    padding: 1.15rem 0.9rem;
    max-height: 85vh;
  }
  .admin-table {
    display: block;
    overflow-x: auto;
  }
}

/* ============================================================== */
/* UPLOAD PHOTO COMPONENTS                                        */
/* ============================================================== */
.upload-zone {
  border: 2px dashed rgba(160, 67, 46, 0.4);
  background: #FAF7F2;
  border-radius: var(--radius-sm);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.upload-zone:hover {
  border-color: var(--color-accent);
  background: rgba(160, 67, 46, 0.06);
}

.upload-icon {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  margin-bottom: 0.25rem;
}

.upload-text-main {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.upload-text-sub {
  font-size: 0.78rem;
  color: var(--color-text-subtle);
}

.upload-zone {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  text-align: center;
  background: var(--color-bg-card);
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--color-primary);
  background: var(--color-section-alt);
}

.file-input-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
}

.upload-preview-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-top: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.upload-preview-img {
  width: 75px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  flex-shrink: 0;
}

.upload-preview-info {
  flex-grow: 1;
  min-width: 0;
}

.upload-preview-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.upload-preview-status {
  font-size: 0.75rem;
  color: var(--color-success);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.2rem;
}

/* ============================================================== */
/* PORTOFOLIO MULTI-IMAGE, READ MORE & SLIDESHOW CAROUSEL        */
/* ============================================================== */
.port-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-primary);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.port-read-more:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
  transform: translateX(3px);
}

.portfolio-photos-count {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(30, 24, 21, 0.85);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.modal-box.modal-lg {
  max-width: 820px;
}

.slideshow-wrap {
  margin-bottom: 1.5rem;
}

.slideshow-stage {
  position: relative;
  width: 100%;
  height: 440px;
  background: #1e1815;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .slideshow-stage {
    height: 280px;
  }
}

.slideshow-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #181412;
  transition: opacity 0.2s ease;
}

.slide-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(30, 24, 21, 0.75);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  z-index: 10;
}

.slide-nav-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.08);
}

.slide-prev {
  left: 1rem;
}

.slide-next {
  right: 1rem;
}

.slide-counter-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(30, 24, 21, 0.85);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  z-index: 10;
}

.slideshow-thumbs-strip {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.75rem 0.25rem 0.25rem 0.25rem;
  scrollbar-width: thin;
}

.slideshow-thumbs-strip::-webkit-scrollbar {
  height: 5px;
}

.slideshow-thumbs-strip::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

.slide-thumb {
  flex: 0 0 72px;
  height: 52px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.55;
  transition: all 0.2s ease;
}

.slide-thumb:hover {
  opacity: 0.9;
}

.slide-thumb.active {
  border-color: var(--color-primary);
  opacity: 1;
  box-shadow: 0 0 0 1px var(--color-primary);
}

.slide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-modal-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.portfolio-modal-meta .meta-tag strong {
  color: var(--color-text-main);
}

.portfolio-modal-caption {
  background: var(--color-section-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}

/* ============================================================== */
/* POPUP FULLSCREEN LIGHTBOX KHUSUS GAMBAR PROYEK (CINEMA DARK)   */
/* ============================================================== */
.lightbox-modal {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: fixed;
  inset: 0;
  z-index: 99999;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active {
  display: flex !important;
  visibility: visible !important;
  pointer-events: auto !important;
  opacity: 1;
}

.lightbox-backdrop-layer {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: zoom-out;
}

.lightbox-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 1rem 1.5rem;
  justify-content: space-between;
  box-sizing: border-box;
  pointer-events: none;
}

.lightbox-modal.active .lightbox-container > * {
  pointer-events: auto;
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.lightbox-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.lightbox-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.lightbox-meta {
  font-size: 0.85rem;
  color: #c8beba;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lightbox-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lightbox-counter-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  white-space: nowrap;
}

.lightbox-close-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.lightbox-close-btn:hover {
  background: #A0432E;
  border-color: #A0432E;
  transform: scale(1.08);
}

.lightbox-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 0;
  padding: 0.5rem;
}

.lightbox-active-img {
  max-width: 95vw;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.75);
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-active-img.fade-out {
  opacity: 0;
  transform: scale(0.97);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
}

.lightbox-nav-btn:hover {
  background: #A0432E;
  border-color: #A0432E;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-caption-bar {
  padding: 0.75rem 1rem 0.5rem;
  color: #e8e2dd;
  text-align: center;
  font-size: 0.92rem;
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-height: 70px;
  overflow-y: auto;
}

.lightbox-caption-bar p {
  margin: 0;
  line-height: 1.5;
  color: #d6cdc7;
}

@media (max-width: 768px) {
  .lightbox-container {
    padding: 0.75rem 0.75rem;
  }
  .lightbox-header {
    padding-bottom: 0.5rem;
  }
  .lightbox-title {
    font-size: 0.95rem;
  }
  .lightbox-meta {
    font-size: 0.78rem;
  }
  .lightbox-counter-badge {
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
  }
  .lightbox-close-btn {
    width: 38px;
    height: 38px;
  }
  .lightbox-nav-btn {
    width: 42px;
    height: 42px;
  }
  .lightbox-prev {
    left: 0.5rem;
  }
  .lightbox-next {
    right: 0.5rem;
  }
  .lightbox-active-img {
    max-width: 98vw;
    max-height: 72vh;
  }
}
