:root {
  --primary: #a09e9b;
  --whitee: #fff;
  --warnanya: #0a0909;
  --bg: #1b1b1b;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg);
  color: #fff;
  overflow-x: hidden;
}

/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 7%;
  background-color: rgba(160, 158, 155, 0.1);
  border-bottom: 1px solid #dbd8d2;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 90px;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(160, 158, 155, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar-logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
  margin-left: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

.navbar .navbar-nav {
  display: flex;
  align-items: center;
}

.navbar .navbar-nav a {
  color: #fff;
  display: inline-block;
  font-size: 1.1rem;
  margin: 0 1rem;
  position: relative;
  line-height: 1;
  padding: 0.5rem 0;
}

.navbar .navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.navbar .navbar-nav a:hover::after {
  transform: scaleX(1);

}
/* ======= LINK AKTIF DI NAVBAR ======= */
.navbar-nav a.active {
  color: var(--primary);
}

.navbar-nav a.active::after {
  transform: scaleX(1);
}

/* ========== DROPDOWN MENU (untuk navbar utama) ========== */
.navbar .dropdown {
  position: relative;
}

.navbar .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 999;
}

.navbar .dropdown-menu li {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.navbar .dropdown-menu li:last-child {
  border-bottom: none;
}

.navbar .dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: #000 !important; /* hitam default */
  background-color: transparent; /* Tidak ada latar belakang */
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.2s ease; /* biar perpindahan warnanya halus */
}

.navbar .dropdown-menu a:hover {
  background-color: rgba(92, 92, 91, 0.15);
  color: #666 !important; /* warna teks saat hover: abu-abu */
}

/* muncul saat hover */
.navbar .dropdown:hover .dropdown-menu {
  display: block;
}

.navbar .navbar-extra {
  display: flex;
  align-items: center;
}

.navbar .navbar-extra a {
  color: #fff;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: var(--primary);
}

#hamburger-menu {
  display: none;
}

/* ================= HERO SECTION ================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: url('../img/header-bg.jpeg') center/cover no-repeat;
  overflow: hidden;
  padding: 0 10%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(27, 27, 27, 0.3) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero .content {
  position: relative;
  z-index: 2;
  max-width: 500px;
}

.hero .content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #f2f2f2;
  margin-bottom: 1.5rem;
}

.hero-logo {
  width: 400px;
  height: auto;
  margin-bottom: 0.1rem;
}

/* CTA BUTTONS */
.hero .cta,
.linktree-btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero .cta {
  background-color: var(--primary);
  color: #fff;
}

.hero .cta:hover {
  background-color: #8f8d8a;
  transform: translateY(-3px);
}

.linktree-btn {
  background-color: #888;
  color: #fff;
}

.linktree-btn:hover {
  background-color: #555;
}

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

/* ================= SECTION SMOOTH TRANSITION ================= */
.section {
  position: relative;
  min-height: 100vh !important;
  padding: 8rem 10% !important;
  color: #fff;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  filter: blur(10px);
  transition: opacity 1s ease-out, transform 1s ease-out, filter 1s ease-out;
}

.section.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: -2;
}

#about::before {
  background-image: url('../img/about-bg.jpeg');
}

#services::before {
  background-image: url('../img/service-bg.jpeg');
}

#products::before {
  background-image: url('../img/products-bg.jpeg');
}

#technology::before {
  background-image: url('../img/technology-bg.jpeg');
}

#location::before {
  background-image: url('../img/location-bg.jpeg');
}

#contact::before {
  background-image: url('../img/contact-bg.jpeg');
}

.section.active::before {
  opacity: 1;
}

.section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(27, 27, 27, 0) 0%,
    rgba(27, 27, 27, 0.6) 60%,
    rgba(27, 27, 27, 0.95) 100%
  );
  z-index: -1;
  pointer-events: none;
}

.section + section {
  margin-top: -5px;
}

/* ====== TEXT STRUCTURE ====== */
.section-overlay {
  position: relative;
  width: 100%;
  height: 100%;
}

.section-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
}

.section h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #fff;
}

.section p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #eaeaea;
}

.section .content h2 {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.section .content p {
  display: block;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #eaeaea;
  max-width: 90%;
  margin-top: 0;
}

.section .content h2,
.section .content p {
  vertical-align: top;
}

/* WA BUTTON */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;       /* Vertikal sejajar */
  justify-content: center;   /* Horizontal di tengah */
  gap: 0.5rem;               /* Jarak antara logo dan teks */
  background-color: #555;    /* Warna abu-abu seperti di contoh gambar */
  color: #fff;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  line-height: 1;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #444;
}

.wa-icon {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}

/* MEDIA QUERIES */

/* Laptop */
@media (max-width: 1366px) {
  html {
    font-size: 85%;
}

.product-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet */
@media (max-width: 992px) {
  html {
    font-size: 85%;
  }

  #hamburger-menu {
    display: inline-block;
  }

  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: #222;
    width: 20rem;                 /* Lebar lebih kecil (dulu 30rem) */
    height: auto;                 /* Tidak full screen */
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 1.5rem 0;
    border-radius: 0 0 8px 8px;   /* Sudut bawah agak melengkung */
  }

  .navbar .navbar-nav.active {
    right: 0;
  }

  .navbar .navbar-nav a {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    color: #fff;
    transition: background-color 0.3s ease;
  }

  .navbar .navbar-nav a:hover {
    background-color: rgba(255, 255, 255, 0.05);
  }

  /* === Dropdown agar muncul di samping saat mobile === */
  .navbar .dropdown-menu {
    position: relative;
    top: 0;
    left: 0;
    margin-left: 0rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  .navbar .dropdown:hover .dropdown-menu {
    display: block;
  }
} 

/* Phone */
@media (max-width: 480px) {
  html {
    font-size: 85%;
  }

  .hero {
    padding: 1.5rem 2.5rem;
  }

  .hero-logo {
    width: 75%;
    max-width: 260px;
  }

  .hero .content p {
    font-size: 0.85rem;
  }

  .whatsapp-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .section-content h2 {
    font-size: 1.5rem;
  }
  .section-content p {
    font-size: 0.85rem;
  }

  #products .section-content h2 {
    font-size: 1.5rem;
  }

  #location .content h2 {
    font-size: 1.5rem;
  }

  #location .content p {
    font-size: 1rem;
  }
}

/* LOCATION SECTION */
#location {
  background: linear-gradient(to bottom, #1b1b1b, #111);
  padding: 6rem 10%;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center; /* ini yang buat center horizontal */
  justify-content: center;
  text-align: center;
}

#location .content {
  max-width: 800px;
  width: 100%;
  text-align: center;
}

#location h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

#location p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

#location .map-container {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  margin-top: 1.8rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#location .map-container:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#location h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

#location p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #eaeaea;
  margin: 0.4rem 0;
}

#location .maps-link {
  color: #25D366;                    /* hijau WhatsApp biar nyatu dengan tema */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  display: inline-block;
  margin: 1rem 0;
}

#location .maps-link:hover {
  color: #1ebe5d;
}

.map-container {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  margin-top: 1.8rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.map-container:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

section {
  transition: background 0.8s ease, color 0.8s ease;
}

/* === FIX AGAR KOTAK MAPS TEPAT DI TENGAH === */
#location {
  display: flex;
  flex-direction: column;
  align-items: center;  /* center horizontal */
  justify-content: center;  /* center vertical */
  text-align: center;
}

#location .content {
  width: 100%;
  max-width: 800px;
  margin: 0 auto; /* biar teks juga center */
}

#location .map-container {
  margin: 1.8rem auto 0 auto; /* otomatis center */
  display: block; /* pastikan tidak ikut float */
}

/* ================= PRODUCTS SECTION DETAIL ================= */

/* Spasi antar section di dalam produk */
#products section {
  margin-bottom: 4rem; /* jarak antar section */
  padding-bottom: 2rem; /* jarak dalam section */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* opsional, garis pemisah tipis */
}

/* Judul tiap sub-produk biar lebih menonjol */
#products section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #fff; /* atau warna gelap kalau background terang */
}

/* Paragrafnya biar lebih lega */
#products section p {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #ddd; /* sesuaikan dengan tema */
}

/* ================= PRODUCTS SECTION ================= */
#products {
  text-align: center;
  padding: 80px 5%;
}

#products h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: white;
}

/* GRID PRODUK */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

/* ITEM PRODUK */
.product-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* LINK DALAM PRODUK */
.product-item a {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}

/* GAMBAR PRODUK */
.product-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.product-item:hover img {
  transform: scale(1.05);
}

/* TEKS DI ATAS GAMBAR */
.product-item span {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 1.1rem;
  transition: background 0.3s ease;
}

.product-item:hover span {
  background: rgba(255, 255, 255, 0.25);
}

/* ======== FIX PRODUK LAYOUT DI FULLSCREEN ======== */
#products .section-content {
  max-width: 1200px;
  margin: 0 auto;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: start;
  max-width: 1300px; /* sedikit lebih lebar */
  width: 100%;
  margin: 0 auto;
}

#products {
  padding: 80px 5%;
  text-align: center;
}

.product-item {
  width: 100%;
  max-width: 500px;
}

/* --- Navbar Icons (Search & Cart) --- */
.navbar-icons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.navbar-icons i {
  color: white;
  width: 22px;
  height: 22px;
  cursor: pointer;
  transition: color 0.3s;
}

.navbar-icons i:hover {
  color: #f4c542;
}

/* --- Hamburger Menu --- */
.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-toggle i {
  color: white;
  width: 28px;
  height: 28px;
}

/* --- Responsive (Mobile) --- */
@media (max-width: 768px) {
  .navbar-nav {
    display: none;
    flex-direction: column;
    background-color: #1a1a1a;
    position: absolute;
    top: 80px;
    right: 0;
    width: 200px;
    padding: 1rem;
    border-top: 1px solid #333;
  }

  .navbar-nav.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .navbar-icons {
    gap: 1rem;
  }
}

/* --------------------------------------===== PER gerbang dll SECTION =====--------------------------------------*/
/* Background untuk seluruh halaman */
.produk-layout {
  display: grid;
  grid-template-columns: 2fr 0.8fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem; /* tambah padding kanan kiri biar geser dikit */
  align-items: center;
  position: relative;
  overflow: visible;
  border-bottom: 5px solid rgba(255, 255, 255, 0.15); /* garis halus warna putih transparan */
  padding-bottom: 3rem; /* jarak antara isi dan garis */
  margin-bottom: 3rem;  /* jarak antar section berikutnya */
  border-radius: 20px; /* bisa disesuaikan, misal 15px, 30px, dll */
  overflow: hidden; /* penting biar background-nya ikut melengkung */
}

/* ✅ Tambahkan ini khusus untuk layout pertama */
.produk-layout:first-of-type {
  padding-top: 100px; /* biar gak ketutup navbar */
}

/* KIRI: Gambar + Info + Foto Jadi */
.produk-left {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  color: #fff;
  margin-left: 40px; /* geser ke kanan */
}

/* Biar video di kanan agak turun */
.produk-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: #fff;
  position: relative;
  z-index: 1;
  transform: translateY(-50px); /* atur tinggi rendahnya vid IG compare sama kirinya */
}

/* Judul */
.produk-text {
  width: 100%;              /* biar lebar penuh */
  display: flex;            /* aktifkan flexbox */
  justify-content: center;  /* pusatkan horizontal */
  align-items: center;      /* pusatkan vertical (kalau dibutuhkan) */
}
.produk-text h2 {
  font-size: 2.6rem;
  margin-bottom: 0rem;
  margin-top: 1rem;
  text-align: left; /* judul di tengah */
  width: 100%;
}

/* Gambar utama */
.produk-image img {
  width: 80%;
  height: auto;
  border-radius: 12px;
  aspect-ratio: 16 / 9; /* bentuk konsisten untuk semua gambar */
  object-fit: cover;
  display: block;
}

/* Info harga & spesifikasi */
.produk-info span {
  font-size: 0.9rem;
  opacity: 0.8;
}
.produk-info h3 {
  margin: 0.3rem 0 0.3rem;
  font-size: 1.5rem;
  color: #fff;
}
.produk-info small {
  font-size: 0.85rem;
  color: #fff;
}
.produk-info p {
  margin: 0.2rem 0;
  font-size: 1.1rem;
}
.produk-info p:first-of-type {
  margin-top: 1.8rem;
}

/* === Background Khusus per Halaman Produk === */
/* === Background Khusus per Halaman Produk === */
.halaman-gerbang .produk-layout:nth-of-type(1) {
  background: url('../img/') center/cover no-repeat;
}
.halaman-gerbang .produk-layout:nth-of-type(2) {
  background: url('../img/gerbang/bg2.png') center/cover no-repeat;
}
.halaman-gerbang .produk-layout:nth-of-type(3) {
  background: url('../img/gerbang/bg3.png') center/cover no-repeat;
}
.halaman-gerbang .produk-layout:nth-of-type(4) {
  background: url('../img/gerbang/bg4.png') center/cover no-repeat;
}

.halaman-pagar .produk-layout:nth-of-type(1) {
  background: url('../img/pagar/bg1.png') center/cover no-repeat;
}
.halaman-pagar .produk-layout:nth-of-type(2) {
  background: url('') center/cover no-repeat;
}
.halaman-pagar .produk-layout:nth-of-type(3) {
  background: url('') center/cover no-repeat;
}

.halaman-railing-tangga .produk-layout:nth-of-type(1) {
  background: url('../img/RT/bg1.png') center/cover no-repeat;
}
.halaman-railing-tangga .produk-layout:nth-of-type(2) {
  background: url('../img/RT/bg2.png') center/cover no-repeat;
}
.halaman-railing-tangga .produk-layout:nth-of-type(3) {
  background: url('../img/RT/bg3.png') center/cover no-repeat;
}
.halaman-railing-tangga .produk-layout:nth-of-type(4) {
  background: url('../img/RT/bg4.png') center/cover no-repeat;
}

.halaman-railing-balkon .produk-layout:nth-of-type(1) {
  background: url('../img/RB/bg1.png') center/cover no-repeat;
}
.halaman-railing-balkon .produk-layout:nth-of-type(2) {
  background: url('../img/RB/bg2.png') center/cover no-repeat;
}
.halaman-railing-balkon .produk-layout:nth-of-type(3) {
  background: url('../img/RB/bg3.png') center/cover no-repeat;
}
.halaman-railing-balkon .produk-layout:nth-of-type(4) {
  background: url('../img/RB/bg4.png') center/cover no-repeat;
}

.halaman-partisi .produk-layout:nth-of-type(1) {
  background: url('../img/partisi/bg1.png') center/cover no-repeat;
}
.halaman-partisi .produk-layout:nth-of-type(2) {
  background: url('../img/partisi/bg2.png') center/cover no-repeat;
}

.halaman-fasad .produk-layout:nth-of-type(1) {
  background: url('../img/fasad/bg1.png') center/cover no-repeat;
}
.halaman-fasad .produk-layout:nth-of-type(2) {
  background: url('../img/fasad/bg2.png') center/cover no-repeat;
}
.halaman-fasad .produk-layout:nth-of-type(3) {
  background: url('../img/fasad/bg3.png') center/cover no-repeat;
}

/* ============================
   RESPONSIVE FIXED & CLEAN
   ============================ */
/* Tablet (≤ 992px) */
@media (max-width: 992px) {
  .produk-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .produk-left {
    margin-left: 0;
    align-items: center;
    text-align: center;
  }

  .produk-text h2,
  .produk-info h3,
  .produk-info p,
  .produk-info span {
    text-align: center;
  }

  .produk-image img {
    display: block;
    margin: 0 auto;
    width: 90%;
  }

  .produk-right {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 30px;
  }

  .video-item img {
    width: 150px;
  }

  .foto-jadi-slider {
    justify-content: center;
  }
}

/* HP (≤ 575px) */
@media (max-width: 575px) {
  .produk-layout {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .produk-left {
    margin-left: 0;
    align-items: center;
    text-align: center;
  }

  .produk-text h2,
  .produk-info h3,
  .produk-info p,
  .produk-info span {
    text-align: center;
    padding-right: 1rem;
  }

  .section-content p {
    font-size: 0.85rem;
  }
  .produk-text h2 {
    font-size: 1.5rem;
  }
  .produk-info h3 {
    font-size: 1.2rem;
  }
  .produk-info p {
    font-size: 0.9rem;
  }
  .produk-info span {
    font-size: 0.75rem;
  }
  .foto-jadi h4 {
    font-size: 1rem !important;
  }

  .produk-image img {
    display: block;
    margin: 0 auto;
    width: 90%;
  }

  .produk-right {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 30px;
  }

  .video-item img {
    width: 150px;
  }

  .foto-jadi-slider {
    justify-content: center;
  }
}

/* ======== FIX: FOTO JADI TIDAK BISA DIKLIK DI DESKTOP ======== */
/* Pastikan semua modal (video atau lainnya) tidak menutupi layar saat tidak aktif */
.modal:not(.active) {
  display: none !important;
  pointer-events: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Pastikan .produk-left dan .foto-jadi berada di atas layer modal/video */
.produk-left, .foto-jadi-slider img {
  position: relative; /* tetap relative supaya layout fleksibel */
  z-index: 1; /* cukup rendah */
}

/* FOTO JADI */
.foto-jadi h4 {
  position: relative;
  z-index: 10; /* pastikan di atas elemen lain */
  color: #fff;
  margin-bottom: 0.6rem;
  font-size: 1.5rem;
}

.foto-jadi-slider {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
}

.foto-jadi-slider img {
  width: 90px;
  height: 90px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
}
 
/* Efek hover untuk FOTO JADI */
.foto-jadi-slider img {
  width: 90px;
  height: 90px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease; /* animasi halus */
}

.foto-jadi-slider img:hover {
  transform: scale(1.08);
  filter: brightness(0.85);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* ===== VIDEO ITEM ===== */
.video-item {
  position: relative;
  display: inline-block;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.video-item img {
  width: 180px;
  border-radius: 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
  display: block;
}

.video-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.6);
}

/* ===== LABEL DI TENGAH ===== */
.video-title,
.hover-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.3s ease;
}

/* Awalnya: hanya video-title yang tampil */
.video-title {
  opacity: 1;
}
.hover-label {
  opacity: 0;
}

/* Saat hover: video-title hilang, hover-label muncul */
.video-item:hover .video-title {
  opacity: 0;
}
.video-item:hover .hover-label {
  opacity: 1;
}

/* ===== VIDEO MODAL KHUSUS INSTAGRAM ===== */
/* Wrapper Instagram */
.video-wrapper.instagram {
  width: 80%;
  max-width: 400px;         /* maksimal lebar */
  aspect-ratio: 9 / 16;     /* portrait */
  margin: 0 auto;           /* pastikan horizontal center */
  display: flex;
  justify-content: center;   /* center konten di dalam wrapper */
  align-items: center;
  padding-bottom: 130px;
}

/* Video Instagram */
#modalVideo.instagram {
  width: 80%;              /* sesuaikan dengan wrapper */
  height: 80%;             /* penuh wrapper */
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Pastikan foto-jadi bisa diklik di desktop */
.foto-jadi-slider img {
  position: relative;
  z-index: 10;
  cursor: pointer;
}

/* Untuk jaga-jaga: buat modal video tetap di bawah lightbox */
#videoModal {
  z-index: 1500;
}

/* ================================
   LIGHTBOX FOTO JADI (FINAL FIX)
   ================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  overflow: hidden; /* biar scroll tidak muncul */
  cursor: zoom-out;
  transition: opacity 0.25s ease-out;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 80vw;
  max-height: 80vh;
  border-radius: 12px;
  object-fit: contain;
   margin-top: 90px; /* jarak dari atas biar tidak nabrak navbar */
}

/* Tombol X di pojok kanan atas */
.lightbox::after {
  content: "×";
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 48px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.3s ease;
}

.lightbox::after:hover {
  color: #bbb;
}

/* ================= RESPONSIVE LIGHTBOX ================= */
.lightbox img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  width: auto;
  height: auto;
}

@media (max-width: 768px) {
  .lightbox img {
    max-width: 80vw;
    max-height: 80vh;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .lightbox img {
    max-width: 75vw;
    max-height: 75vh;
    border-radius: 6px;
  }
}

/* ================================
   MODAL FOTO (untuk popup gambar)
   ================================ */
.modal-foto {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.modal-foto.active {
  display: flex;
  opacity: 1;
}

.modal-foto img {
  max-width: 95vw;
  max-height: 95vh;
  border-radius: 12px;
  object-fit: contain;
}

.modal-foto .close-foto {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.3s ease;
}

.modal-foto .close-foto:hover {
  color: #bbb;
}

/* ================================
   MODAL VIDEO (untuk popup video)
   ================================ */
.modal-video {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: flex-start;
  padding-top: 120px;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.modal-video.active {
  display: flex;
  opacity: 1;
}

.video-wrapper {
  position: relative;
  max-width: 80%;
  width: 600px;
}

.modal-video video {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.close-video {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 32px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-video:hover {
  color: #ccc;
}

/* Mode Instagram (portrait) */
.video-wrapper.instagram {
  width: 80%;
  max-width: 400px;
  aspect-ratio: 9/16;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* -----------------------------------------------PER PRODUK SELSE-------------------------------------------- */