/* ─── CSS MASTER VARIABLES ─── */
:root {
  --black:      #0a0a0a;
  --black2:     #111111;
  --black3:     #161616;
  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --gold-dark:  #a07830;
  --bronze:     #8b5e2e;
  --white:      #f5f0e8;
  --gray:       #8a8272;
  --gray-light: #c2bdb2;
  --border:     rgba(201,168,76,0.25);
  --glow:       rgba(201,168,76,0.15);
  --glow-strong:rgba(201,168,76,0.35);
  --transition: 0.45s cubic-bezier(0.25,0.8,0.25,1);
}
 
/* ─── Reset & Base Layout ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: var(--black);
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
}
 
/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 4px; }
 
/* ─── Typography Helpers ─── */
.label { font-family: 'Lato', sans-serif; font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.15; color: var(--white); }
.gold { color: var(--gold); }
.gray { color: var(--gray); }
a, a:visited, a:hover, a:active { text-decoration: none; }
 
/* ─── Ornament Line ─── */
.ornament { display: flex; align-items: center; gap: 14px; justify-content: center; margin: 12px 0 28px; }
.ornament span { display: block; height: 1px; width: 60px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament i { font-style: normal; color: var(--gold); font-size: 1rem; }
 
/* ─── GLOBAL SYSTEM NAVBAR STYLE ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 70px; background: rgba(10,10,10,0.85);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border); transition: background var(--transition);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-deny { font-family: 'Lato', sans-serif; font-weight: 900; font-size: 1.15rem; letter-spacing: 0.18em; color: var(--gold); text-transform: uppercase; }
.logo-sub { font-family: 'Lato', sans-serif; font-weight: 300; font-size: 0.65rem; letter-spacing: 0.36em; color: var(--gold-light); text-transform: uppercase; }
.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a { font-family: 'Lato', sans-serif; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gray-light); padding-bottom: 4px; transition: color var(--transition); }
.nav-links a:hover { color: var(--gold); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 1.5px; background: var(--gold); transition: var(--transition); }
 
/* ─── HERO SLIDER ─── */
#home { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-slider { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 2s ease-in-out; }
.slide.active { opacity: 1; }
.hero-slider::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.65); }
.hero-cta { display: inline-flex; align-items: center; gap: 12px; padding: 14px 40px; border: 1px solid var(--gold); color: var(--gold); font-family: 'Lato', sans-serif; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; transition: all 0.4s; }
.hero-cta:hover { background: var(--gold); color: var(--black); }
 
/* ─── SECTIONS COMMON ─── */
section { padding: 110px 8%; }
.section-header { text-align: center !important; margin-bottom: 70px; width: 100%; }
 
/* ─── ABOUT SYSTEM LAYOUT ─── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-desc { font-size: 1.05rem; color: var(--gray-light); line-height: 1.9; margin-bottom: 18px; }
.about-quote { border-left: 2px solid var(--gold); padding-left: 22px; font-style: italic; font-size: 1.08rem; color: var(--gold-light); margin: 28px 0; }
.stats { display: flex; gap: 42px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.6rem; font-weight: 700; color: var(--gold); }
.stat-label { font-family: 'Lato', sans-serif; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); }
 
.about-visual { position: relative; aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center; }
.about-bg { position: absolute; inset: 0; background: linear-gradient(145deg, #0e0c06 0%, #241c08 100%); }
.about-frame-outer { position: absolute; inset: 0; border: 1px solid var(--border); }
.about-frame-inner { position: absolute; inset: 18px; border: 1px solid rgba(201,168,76,0.12); }
.corner-deco { position: absolute; width: 28px; height: 28px; border-color: var(--gold-dark); border-style: solid; }
.corner-deco.tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.corner-deco.tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.corner-deco.bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.corner-deco.br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
 
/* ─── SLIDER BUTTON DESIGN ─── */
.slider-nav { display: flex !important; justify-content: center !important; align-items: center !important; gap: 24px !important; margin-top: 40px !important; }
.slider-btn { display: flex !important; align-items: center !important; justify-content: center !important; width: 45px !important; height: 45px !important; background-color: transparent !important; border: 1px solid var(--gold) !important; color: var(--gold) !important; border-radius: 50% !important; font-size: 1.2rem !important; cursor: pointer !important; transition: all 0.3s ease !important; }
.slider-btn:hover { background-color: var(--gold) !important; color: var(--black) !important; }
 
/* ─── PROJECTS MASONRY GRID ─── */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proj-card { position: relative; overflow: hidden; border: 1px solid var(--border); cursor: pointer; }
.proj-card.tall { grid-row: span 2; }
.proj-img { width: 100%; height: 100%; min-height: 220px; position: relative; }
.proj-card.tall .proj-img { min-height: 460px; }
.proj-overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.88); display: flex; flex-direction: column; justify-content: flex-end; padding: 28px 24px; opacity: 0; transition: opacity 0.4s; }
.proj-card:hover .proj-overlay { opacity: 1; }
.proj-cat { font-family: 'Lato', sans-serif; font-size: 0.62rem; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; }
.proj-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--white); margin: 6px 0 10px; }
.proj-link { font-family: 'Lato', sans-serif; font-size: 0.68rem; color: var(--gold); text-decoration: none; }
 
/* ─── BLOG CARDS ─── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card { border: 1px solid var(--border); background: var(--black3); padding: 32px 28px; transition: border-color 0.4s; }
.blog-card:hover { border-color: var(--gold); }
.blog-date { font-family: 'Lato', sans-serif; font-size: 0.65rem; color: var(--gold-dark); margin-bottom: 14px; }
.blog-title { font-family: 'Playfair Display', serif; font-size: 1.12rem; color: var(--white); line-height: 1.4; }
.blog-excerpt { font-size: 0.95rem; color: var(--gray); line-height: 1.8; margin: 14px 0 20px; }
.blog-read { font-family: 'Lato', sans-serif; font-size: 0.68rem; color: var(--gold); text-decoration: none; }
 
/* ─── RESPONSIVE BREAKPOINTS ─── */
@media (max-width: 900px) {
  section { padding: 80px 6%; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .proj-card.tall .proj-img { min-height: 220px; }
  .blog-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 600px) {
  .projects-grid { grid-template-columns: 1fr; }
}

/* TEPAT DI ATAS / DI DALAM TAG <style> DETAIL.PHP ANDA */
    .product-visual-box {
        background: #111111 !important; /* Warna background gelap mewah */
        border: 1px solid var(--border) !important;
        width: 100% !important;
        height: auto !important;
        min-height: 400px !important; /* Batas tinggi minimal biar tegak */
        max-height: 550px !important; /* Batas tinggi maksimal biar tidak kepanjangan */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        padding: 20px !important;
        box-sizing: border-box !important;
        overflow: visible !important; /* Memaksa agar tidak ada bagian foto yang diiris */
    }

    /* Memastikan foto di dalamnya otomatis pas di tengah dan utuh */
    .product-visual-box img {
        max-width: 100% !important;
        max-height: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important; /* Kunci foto utuh tanpa potongan */
        display: block !important;
    }