/* ========================================
   ROOT VARIABLES
======================================== */

:root{
  --bg:#17191a;
  --bg-soft:#1d2022;
  --bg-deep:#121416;
  --panel:#1c1f21;
  --panel-2:#181b1d;

  --line:rgba(185,150,88,.24);
  --line-soft:rgba(185,150,88,.14);

  --text:#e2dbd0;
  --text-soft:#cfc6b7;
  --text-dim:#a99e8c;
  --title:#f1eadf;

  --gold:#b8945b;
  --gold-soft:#d7b57b;

  --green:#4f7c67;
  --red:#d27f76;

  --shadow:0 14px 40px rgba(0,0,0,.18);
}

html[data-theme="light"]{
  --bg:#f6efe4;
  --bg-soft:#efe4d1;
  --bg-deep:#e8dcc4;
  --panel:#e6d7bb;
  --panel-2:#f8efe2;

  --line:rgba(128,92,32,.22);
  --line-soft:rgba(128,92,32,.12);

  --text:#332113;
  --text-soft:#5a4025;
  --text-dim:#7a6043;
  --title:#1f1206;

  --gold:#9f721d;
  --gold-soft:#c7922f;

  --green:#35624d;
  --red:#8a3d33;

  --shadow:0 12px 36px rgba(51,33,19,.08);
}

/* ========================================
   GLOBAL
======================================== */

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:"Crimson Pro", Georgia, serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.8;
  font-size:18px;
  transition:background .25s, color .25s;
}

a{
  color:inherit;
  text-decoration:none;
}

.site-shell{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

/* ========================================
   NAVBAR
======================================== */

.site-nav{
  position:sticky;
  top:0;
  z-index:100;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 28px;
  background:var(--bg-deep);
  border-bottom:1px solid var(--gold);
}

.nav-links{
  margin-left:auto;   /* ini kunci */
  display:flex;
  gap:16px;
  align-items:center;
}


.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand-mark{
  display:flex;
  align-items:center;
  justify-content:center;
}

.brand-logo{
  height:36px;      /* kontrol ukuran */
  width:auto;
  object-fit:contain;
}

.brand-text{
  font-family:"Cormorant Garamond", serif;
  color:var(--gold-soft);
  font-size:16px;
  font-weight:700;
}

.nav-links{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  justify-content:center;
}

.nav-links a{
  font-family:"DM Mono", monospace;
  font-size:11px;
  letter-spacing:1.8px;
  text-transform:uppercase;
  color:var(--text-soft);
  padding:8px 0;
  border-bottom:2px solid transparent;
}

.nav-links a:hover,
.nav-links a.is-active{
  color:var(--gold-soft);
  border-color:var(--gold-soft);
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.btn,
.theme-btn{
  border:none;
  cursor:pointer;
  font-family:"DM Mono", monospace;
  text-transform:uppercase;
  letter-spacing:1.6px;
}

.btn{
  padding:10px 15px;
  background:var(--red);
  color:#f8efe4;
  font-size:10px;
}

.theme-btn{
  width:34px;
  height:34px;
  border-radius:6px;
  background:rgba(255,255,255,.05);
  border:1px solid var(--line);
  color:var(--gold-soft);
  font-size:14px;
}

/* ========================================
   HAMBURGER
======================================== */

.hamburger{
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}

.hamburger span{
  width:24px;
  height:2px;
  background:currentColor;
  transition:.3s;
}

/* ========================================
   HERO
======================================== */


.hero-inner img{
  display:block;
  margin:0 auto 24px;
  max-width:auto;
  width:100%;
  height:auto;
  padding:6px;
  border:1px solid rgba(196,144,16,.3);
  background:rgba(196,144,16,.05);
  filter:contrast(1.05) brightness(0.95);
}



.hero,
.page-hero{

  position:relative;
  overflow:hidden;

 
  min-height:70vh; /* biar ada ruang */
  display:flex;
  align-items:center;      /* vertical center */
  justify-content:center;  /* horizontal center */
  text-align:center;       /* teks rata tengah */
  padding:60px 20px;
}



.hero-inner{
  max-width:720px;
  margin:0 auto;
}


  
.hero::before,
.page-hero::before{
  content:"";
  position:absolute;
  inset:24px;
  border:1px solid var(--line);
  pointer-events:none;
}

.hero-inner,
.page-hero-inner,
.section,
.footer-inner{
  width:min(1120px, calc(100% - 24px));
  margin:0 auto;
}

.eyebrow{
  
  align-items:center;
  gap:10px;
  font-family:"DM Mono", monospace;
  font-size:10px;
  letter-spacing:3px;
  text-transform:uppercase;
  color:var(--gold);
  margin-bottom:18px;
}

.eyebrow::after{
  content:"";
  width:42px;
  height:1px;
  background:var(--gold);
  opacity:.6;
}

/* ========================================
   TYPOGRAPHY
======================================== */

h1,
h2{
  margin:0;
  font-family:"Cormorant Garamond", serif;
  line-height:1.08;
  color:var(--title);
}

h3{
  margin:0;
  font-family:"Cormorant Garamond", serif;
  line-height:1.08;
  color:var(--gold);
}

h1{
  font-size:clamp(42px, 7vw, 84px);
}

h2{
  font-size:clamp(32px, 5vw, 56px);
  margin-bottom:18px;
}

h2 em,
h1 em{
  font-style:italic;
  color:var(--gold-soft);
}

.lead{
  max-width:760px;
  font-size:20px;
  line-height:1.8;
  color:var(--text-soft);
}

.page-hero-inner .lead{
  text-align:center;
  max-width:620px;
  margin:24px auto 0;
  line-height:1.8;
}

/* ========================================
   BUTTONS
======================================== */

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
    justify-content:center;   /* INI WAJIB */
}

.btn-secondary{
  display:inline-block;
  padding:11px 15px;
  border:1px solid var(--line);
  color:var(--text);
  font-family:"DM Mono", monospace;
  font-size:10px;
  letter-spacing:1.8px;
  text-transform:uppercase;
}

/* ========================================
   LAYOUT
======================================== */

.section-wrap{
  padding:76px 28px;
}

.section-wrap.soft{
  background:var(--bg-soft);
}

.section-wrap.deep{
  background:var(--bg-deep);
}

.grid-2{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:24px;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

/* ========================================
   CARD
======================================== */

.card{
  background:var(--panel);
  border:1px solid var(--line-soft);
  padding:24px;
  box-shadow:var(--shadow);
}

.card h3{
  font-size:30px;
  margin-bottom:10px;
}

.card p{
  margin:0;
  color:var(--text-soft);
}

.card-action{
  display:inline-block;
  margin-top:14px;
  font-family:"DM Mono", monospace;
  font-size:10px;
  letter-spacing:1.8px;
  text-transform:uppercase;
  color:var(--gold-soft);
  border-bottom:1px solid rgba(215,181,123,.45);
  padding-bottom:2px;
}

.card-action:hover{
  color:var(--title);
  border-bottom-color:var(--gold-soft);
}

.small-label{
  display:block;
  margin-bottom:10px;
  font-family:"DM Mono", monospace;
  font-size:9px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--gold);
}

.card-image{
  width:100%;
  display:block;
  object-fit:cover;
  border-radius:14px;
  margin-bottom:16px;
}

/* ========================================
   TIMELINE
======================================== */

.timeline{
  position:relative;
  padding-left:36px;
  display:grid;
  gap:28px;
}

.timeline::before{
  content:"";
  position:absolute;
  left:8px;
  top:6px;
  bottom:6px;
  width:1px;
  background:repeating-linear-gradient(
    to bottom,
    var(--line) 0,
    var(--line) 7px,
    transparent 7px,
    transparent 14px
  );
}

.timeline-item{
  position:relative;
}

.timeline-item::before{
  content:"";
  position:absolute;
  left:-36px;
  top:8px;
  width:12px;
  height:12px;
  border:2px solid var(--gold);
  transform:rotate(45deg);
  background:var(--bg);
}

.timeline-item h3{
  font-size:28px;
  margin-bottom:6px;
}

.timeline-item p{
  margin:0;
  color:var(--text-soft);
}

.timeline-year{
  font-family:"DM Mono", monospace;
  font-size:9px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--red);
}

/* ========================================
   IMAGES
======================================== */

.section-media{
  width:100%;
  height:260px;
  margin:24px 0 32px;
  overflow:hidden;
  border:1px solid var(--line-soft);
  background:var(--bg-soft);
}

.section-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  opacity:.9;
  transition:.5s;
 
}

.section-media:hover img{
  transform:scale(1.03);
}



/* ========================================
   FOOTER
======================================== */

.footer{
  margin-top:auto;
  padding:40px 28px 24px;
  background:#0f1112;
  border-top:1px solid var(--line);
}

.footer-inner{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:24px;
}

.footer p,
.footer li,
.footer a{
  color:#cfc6b7;
}

.footer-copy{
  width:min(1120px, calc(100% - 24px));
  margin:26px auto 0;
  font-family:"DM Mono", monospace;
  font-size:10px;
  letter-spacing:1.8px;
  text-transform:uppercase;
  color:#a99e8c;
}

/* ========================================
   INSTAGRAM LINK
======================================== */

.ig-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--text-soft);
  transition:.3s;
}

.ig-link:hover{
  color:var(--gold-soft);
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width:900px){

  .site-nav{
    padding:14px 18px;
    flex-wrap:wrap;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .footer-inner,
  .branch-grid,
  .portal-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:768px){

  .hamburger{
    display:flex;
  }

  .nav-actions{
    display:flex;
    gap:10px;
  }

  .nav-links{
    position:absolute;
    top:72px;
    left:0;
    width:100%;
    background:var(--bg);
    border-top:1px solid var(--line-soft);
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:16px;
    padding:24px 0;
    display:none;
    z-index:999;
  }

  .nav-links.active{
    display:flex;
  }

 

@media (max-width:640px){

  body{
    font-size:17px;
  }

  .hero,
  .page-hero,
  .section-wrap{
    padding-left:18px;
    padding-right:18px;
  }

  .hero::before,
  .page-hero::before{
    inset:12px;
  }

  .brand-text{
    font-size:14px;
  }

  .nav-links a{
    font-size:10px;
  }
}


/* =========================
   MUSEUM TIMELINE STYLE
========================= */

.timeline.museum .timeline-card{
  display:flex;
  gap:14px;
  align-items:flex-start;
  background:var(--panel);
  border:1px solid var(--line-soft);
  padding:12px;
  transition:.3s;
}

.timeline.museum .timeline-card:hover{
  transform:translateX(6px);
  border-color:var(--gold);
}

/* IMAGE */
.timeline.museum img{
  width:clamp(44px, 5vw, 64px);
  height:clamp(56px, 6.5vw, 84px);
  object-fit:cover;
  object-position:center;
  border:1px solid var(--line-soft);
  background:var(--bg-soft);
  flex-shrink:0;
}

/* CONTENT */
.timeline.museum .timeline-content h3{
  font-size:20px;
  margin-bottom:4px;
}

.timeline.museum .timeline-content p{
  font-size:14px;
  color:var(--text-soft);
  margin:0;
}

/* NOTE */
.note{
  font-size:14px;
  color:var(--text-dim);
}

