/* ═══════════════════════════════════════════
   SLIDER — Aneka Material Bangunan
   Paste ini ke file CSS utama Anda,
   ganti bagian .shell, .card, .img-panel, dst
═══════════════════════════════════════════ */

/* Shell pembungkus — tidak mengunci scroll */
.shell {
  width: 100%;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Card utama */
.card {
  position: relative;
  width: 90%;
  max-width: 1100px;
  background: var(--panel, #131418);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr 300px; /* gambar dominan kiri, teks kanan */
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.04);
}

/* ══════════════════════════════
   PANEL GAMBAR — kiri, dominan
══════════════════════════════ */
.img-panel {
  position: relative;
  min-height: 420px;       /* tinggi minimum panel gambar */
  overflow: hidden;
  background: #0d0e12;
}

/* Dot pattern dekoratif */
.dot-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
  z-index: 1;
}

/* Sudut dekoratif */
.img-panel::before {
  content: '';
  position: absolute; top: 14px; left: 14px;
  width: 28px; height: 28px;
  border-top: 1px solid rgba(232,98,42,.4);
  border-left: 1px solid rgba(232,98,42,.4);
  border-radius: 6px 0 0 0;
  pointer-events: none;
  z-index: 5;
}
.img-panel::after {
  content: '';
  position: absolute; bottom: 14px; right: 14px;
  width: 28px; height: 28px;
  border-bottom: 1px solid rgba(232,98,42,.4);
  border-right: 1px solid rgba(232,98,42,.4);
  border-radius: 0 0 6px 0;
  pointer-events: none;
  z-index: 5;
}

/* Frame gambar — memenuhi seluruh panel */
.img-frame {
  position: absolute; inset: 0;
  z-index: 2;
  overflow: hidden;
}

/* Gambar — contain agar tidak terpotong */
.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;       /* seluruh gambar terlihat, tidak terpotong */
  object-position: center;
  display: block;
  background: #0d0e12;       /* background gelap di area kosong */
  opacity: 1;
  transition: opacity .35s ease;
}
.img-frame img.fading { opacity: 0; }
.img-frame img.loaded { opacity: 1; }

/* Overlay bawah & kanan (non-aktif agar gambar contain terlihat penuh) */
.img-frame .ov-bottom,
.img-frame .ov-right { display: none; }

/* Badge label */
.img-badge {
  position: absolute;
  bottom: 14px; left: 20px;
  z-index: 10;
  background: rgba(8,8,10,.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50px;
  padding: 5px 14px;
  white-space: nowrap;
  font-size: 9px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: #f0884e;
  pointer-events: none;
}

/* Strip thumbnail — overlay bawah tengah */
.thumb-strip {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 10;
}
.thumb {
  width: 48px; height: 58px;
  border-radius: 9px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  border: 1.5px solid transparent;
  opacity: .35;
  transition: opacity .28s, border-color .28s, transform .28s, box-shadow .28s;
  box-shadow: 0 4px 14px rgba(0,0,0,.5);
}
.thumb:hover { opacity: .65; transform: translateY(-2px); }
.thumb.active {
  opacity: 1;
  border-color: #e8622a;
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(232,98,42,.35);
}
.thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #0e0f13;
}

/* ══════════════════════════════
   PANEL TEKS — kanan, sempit
══════════════════════════════ */
.text-panel {
  padding: 36px 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  border-left: 1px solid rgba(255,255,255,0.07);
  background: var(--panel, #131418);
  overflow: hidden;
}

.tp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Syne', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: #e8622a;
}
.logo-chip span {
  display: inline-block;
  width: 6px; height: 6px;
  background: #e8622a;
  border-radius: 50%;
  box-shadow: 0 0 8px #e8622a;
}
.slide-num {
  font-size: 10px; font-weight: 600;
  color: rgba(237,234,228,.42);
  letter-spacing: .1em;
}
.slide-num b { color: #edeae4; font-weight: 700; }

.tp-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* Animasi teks per slide */
.tag-line {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: #f0884e;
  opacity: 0; transform: translateY(14px);
  transition: opacity .4s .06s, transform .4s .06s;
}
.tag-line::before {
  content: '';
  width: 16px; height: 1.5px;
  background: #e8622a;
  border-radius: 2px; flex-shrink: 0;
}
.headline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-weight: 800; line-height: 1.22;
  color: #edeae4;
  opacity: 0; transform: translateY(18px);
  transition: opacity .4s .16s, transform .4s .16s;
}
.headline em { font-style: italic; font-weight: 600; color: #f0884e; }

.desc {
  font-size: 11.5px; font-weight: 300;
  color: rgba(237,234,228,.42);
  line-height: 1.8;
  opacity: 0; transform: translateY(13px);
  transition: opacity .4s .26s, transform .4s .26s;
}
.actions {
  display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap;
  opacity: 0; transform: translateY(11px);
  transition: opacity .4s .36s, transform .4s .36s;
}

/* Aktifkan animasi saat slide aktif */
.slide-data.active .tag-line,
.slide-data.active .headline,
.slide-data.active .desc,
.slide-data.active .actions {
  opacity: 1;
  transform: translateY(0);
}

/* Tombol */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 15px; border-radius: 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer; border: none; text-decoration: none;
  transition: all .2s;
}
.btn-solid { background: #e8622a; color: #fff; }
.btn-solid:hover {
  background: #f0884e;
  box-shadow: 0 4px 18px rgba(232,98,42,.4);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: #edeae4;
  border: 1px solid rgba(255,255,255,0.07);
}
.btn-outline:hover {
  background: rgba(237,234,228,.1);
  transform: translateY(-1px);
}

/* Progress bar & navigasi */
.progress-wrap { display: flex; align-items: center; gap: 10px; }
.prog-bar {
  flex: 1; height: 2px;
  background: rgba(255,255,255,.07);
  border-radius: 2px; overflow: hidden;
}
.prog-fill {
  height: 100%; width: 0%;
  background: #e8622a;
  border-radius: 2px;
  transition: width linear;
}
.nav-arrows { display: flex; gap: 6px; }
.arr {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #1a1b21;
  border: 1px solid rgba(255,255,255,0.07);
  color: #edeae4;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s; flex-shrink: 0;
}
.arr:hover {
  background: #e8622a;
  border-color: #e8622a;
  box-shadow: 0 0 14px rgba(232,98,42,.35);
}
.arr svg {
  width: 13px; height: 13px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* Visibility slide data */
.slide-data { display: none; }
.slide-data.active { display: contents; }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .shell { padding: 16px; }
  .card {
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: 260px auto;
  }
  .img-panel { min-height: 260px; }
  .text-panel {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 24px 20px 18px;
  }
}