:root{
    --gold:#A46B0B;
    --gold-hover:#A46B0B;
    --brown:#1B120C;
}


/* ===== HERO ===== */


.hero{
    position: relative;
    min-height: 100vh;
    padding-top: 92px;   /* tinggi navbar */
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg{
    position:absolute;
    inset:0;
    width:100%;
    height:110%;
    object-fit:cover;

    transform:translateY(0);
    transition:transform .08s linear;
    will-change:transform;
}

.overlay{
    position:absolute;
    inset:0;
    background:#1C110C;
    opacity:.75;
}

.hero-content{
    position: relative;
    z-index: 2;

    padding-top: 48px; 

    max-width: 900px;
    margin-left: 56px;
}

/* ===== HERO BADGE ===== */

/* css/home.css */

.eyebrow{
    display:inline-flex;
    align-items:center;

    padding:6px 12px;
    border-radius:999px;

    background:rgba(255,255,255,.10);
    color:#D1B583;

    font-family:"DM Sans", sans-serif;
    font-size:11px;
    font-weight:600;
    letter-spacing:.04em;

    margin-bottom:18px;

    transform: translateY(18px);  
}

/* ===== HERO HEADING ===== */

/* css/home.css */

.hero h1{

    font-family:"Fraunces", serif;
    font-size:56px;
    font-weight:700;
    line-height:110%;

    color:#FFF;

    max-width:860;
    margin-bottom:20px;
}

/* css/home.css */

.hero p{
    width:100%;

    font-family:"DM Sans";
    font-size:16px;
    font-weight:400;
    line-height:170%;

    color:rgba(255,255,255,.88);

    margin-bottom:32px;
}


.hero-buttons{
    display:flex;
    gap:16px;

    margin-bottom:0;
}

.btn-outline{
    border:1px solid rgba(255,255,255,.4);
    color:rgb(255, 255, 255);
    padding:12px 20px;
    border-radius:8px;
    text-decoration:none;
    
}


.nav-wrapper{
    height:92px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 56px;
}


/* ===== STATS BAR ===== */

.stats{
    background:#EEE7DD;
    padding:32px 0;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    align-items:center;
}

.stat{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    text-align:center;
}

.stat h3{
    font-family:"Fraunces", serif;
    font-size:40px;
    font-weight:700;
    line-height:1;
    color:#1C110C;
}

.stat span{
    font-family:"DM Sans", sans-serif;
    font-size:11px;
    font-weight:500;
    text-transform:uppercase;
    color:#8B7A6E;
}

/* ==========================
   COUNTER ANIMATION
========================== */

.counter{
    transition:transform .28s ease;
}

.counter.settled{

    animation:pop .35s ease;

}

@keyframes pop{

    0%{
        transform:translateY(8px);
        opacity:.4;
    }

    60%{
        transform:translateY(-3px);
        opacity:1;
    }

    100%{
        transform:translateY(0);
    }

}


/* ==========================
   PRODUCT SECTION
========================== */

.products-home{

    background:#F6F2EC;
    padding:72px 0 88px;

}


.products-home .container{
    max-width:1280px;
}

.section-title{

    text-align:center;
    margin-bottom:40px;

}

.section-title span{

    font-size:11px;
    font-weight:600;
    letter-spacing:.08em;
    color:#C1723E;

}

.section-title h2{

    margin-top:10px;
    font-family:"Fraunces",serif;
    font-size:40px;
    line-height:115%;
    color:#1C110C;

}

.products-grid{
    display:grid;
    grid-template-columns:repeat(6, 1fr);
    gap:18px;
}

/* Desktop layout */
.product-card:nth-child(1),
.product-card:nth-child(2),
.product-card:nth-child(3){
    grid-column:span 2;
}

.product-card:nth-child(4){
    grid-column:1 / span 3;
}

.product-card:nth-child(5){
    grid-column:4 / span 3;
}

.product-card{
    background:#FFF;
    border:1px solid #EADFD3;
    border-radius:12px;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    transition:.35s ease;
}

.product-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
    transition:transform .45s ease;
}

.product-card:hover{
    transform:translateY(-6px);
    box-shadow:0 16px 32px rgba(28,17,12,.10);
}

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

.product-body{
    padding:22px;
    display:flex;
    flex-direction:column;
    gap:12px;
    flex:1;
}

.product-body h3{
    font-family:"Fraunces", serif;
    font-size:24px;
    line-height:120%;
    color:#1C110C;
    margin:0;
}

.product-body p{
    font-family:"DM Sans", sans-serif;
    font-size:15px;
    line-height:165%;
    color:#6B5A52;
    margin:0;
}

.product-tag{
    margin-top:auto;
    background:#F1E9DF;
    border-radius:999px;
    padding:8px 14px;
    width:fit-content;
    font-size:11px;
    color:#6B5A52;
}

/* ==========================
   SCROLL REVEAL
========================== */

.reveal{
    opacity:0;
    transform:translateY(40px);
    transition:opacity .8s ease, transform .8s ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}



/* ==========================
   APPLICATIONS
========================== */

.applications{
  background:#FBF9F5;
  padding:88px 0;
}

.app-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
  align-items:end;
}

/* CARD */
.flip-card{
  height:320px;
  perspective:1200px;
  cursor:pointer;
  transform:none;
}

.flip-card:hover{
  transform:translateY(-4px);
  transition:transform .3s ease;
}

.flip-card.active{
  transform:translateY(-4px);
}

.flip-inner{
  position:relative;
  width:100%;
  height:100%;
  transform-style:preserve-3d;
  transition:transform .7s cubic-bezier(.22,1,.36,1);
}

.flip-card.active .flip-inner{
  transform:rotateY(180deg);
}

/* FRONT + BACK */

.flip-front,
.flip-back{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;

  overflow:hidden;
  border-radius:14px;

  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
}

/* FRONT */

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

.flip-overlay{
  position:absolute;
  inset:0;

  display:flex;
  align-items:flex-end;

  padding:18px;

  background:
    linear-gradient(
      180deg,
      rgba(28, 17, 12, 0) 10%,
      rgba(28, 17, 12, 0.058) 50%
    );
}

.flip-overlay h3{
  margin:0 0 6px;

  color:#FFF;
  font-family:"Fraunces",serif;
  font-size:22px;
  line-height:1.1;
}

.flip-overlay span{
  color:#A46B0B;
  font-family:"DM Sans",sans-serif;
  font-size:10px;
  font-weight:600;
  letter-spacing:.07em;
  text-transform:uppercase;
}

/* BACK */

.flip-back{
  background:#1C110C;
  color:#FFF;

  transform:rotateY(180deg);

  padding:22px 18px;

  display:flex;
  flex-direction:column;
}

.flip-back h3{
  display:block;
  margin:0 0 14px;
  padding-bottom:10px;

  color:#FFFFFF;
  border-bottom:1px solid rgba(193,114,62,.30);

  font-family:"Fraunces", serif;
  font-size:20px;
  font-weight:700;
  line-height:1.15;
}

.flip-back ul{
  list-style:none;
  padding:0;
  margin:0;

  display:flex;
  flex-direction:column;
  gap:8px;
}

.flip-back li{
  background:rgba(255,255,255,.06);

  border-radius:6px;

  padding:9px 10px;

  color:#EADFD3;

  font-family:"DM Sans",sans-serif;
  font-size:12px;
}

.back-link{
  margin-top:auto;

  color:#A46B0B;

  font-family:"DM Sans",sans-serif;
  font-size:9px;
  font-weight:600;
  letter-spacing:.05em;
}

/* ==========================
   APPLICATION REVEAL
========================== */

.flip-card{
  opacity:0;
  transform:translateY(36px);
  transition:
    opacity .7s ease,
    transform .7s ease;
}

.flip-card.visible{
  opacity:1;
  transform:translateY(0);
}

/* ==========================
   FLIP CONTENT STAGGER
========================== */

.flip-back h3,
.flip-back li,
.back-link{
  opacity:0;
  transform:translateY(10px);
  transition:
    opacity .35s ease,
    transform .35s ease;
}

/* Trigger card kebuka */
.flip-card.active .flip-back h3{
  opacity:1;
  transform:translateY(0);
  transition-delay:.15s;
}

.flip-card.active .flip-back li:nth-child(1){
  opacity:1;
  transform:translateY(0);
  transition-delay:.22s;
}

.flip-card.active .flip-back li:nth-child(2){
  opacity:1;
  transform:translateY(0);
  transition-delay:.28s;
}

.flip-card.active .flip-back li:nth-child(3){
  opacity:1;
  transform:translateY(0);
  transition-delay:.34s;
}

.flip-card.active .flip-back li:nth-child(4){
  opacity:1;
  transform:translateY(0);
  transition-delay:.40s;
}

.flip-card.active .flip-back li:nth-child(5){
  opacity:1;
  transform:translateY(0);
  transition-delay:.46s;
}

.flip-card.active .back-link{
  opacity:1;
  transform:translateY(0);
  transition-delay:.55s;
}

.flip-card{
  perspective:1400px;
}

.flip-inner{
  transform-style:preserve-3d;
  transition:transform .75s cubic-bezier(.22,1,.36,1);
}

.flip-card.active .flip-inner{
  transform:rotateY(180deg) scale(1.01);
}

.flip-front,
.flip-back{
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  box-shadow:0 10px 30px rgba(28,17,12,.12);
}

/* ==========================
   GLOBAL REACH
========================== */

.global-reach{
  background:#EEE7DD;
  padding:96px 0;
}

.reach-grid{
  display:grid;
  grid-template-columns:1fr 1.15fr;
  gap:64px;
  align-items:center;
}

.eyebrow-line{
  display:flex;
  align-items:center;
  gap:10px;

  font:600 11px "DM Sans",sans-serif;
  letter-spacing:.08em;
  color:#C1723E;
}

.eyebrow-line::after{
  content:"";
  width:32px;
  height:1px;
  background:#C1723E;
}

.reach-content h2{
  margin:18px 0;
  font:700 56px/1.05 "Fraunces",serif;
  color:#1C110C;
}

.reach-content p{
  color:#6B5A52;
  line-height:1.8;
  max-width:520px;
  margin-bottom:36px;
  font-family:"DM Sans",sans-serif;
}

.reach-stats{
  display:flex;
  gap:28px;
}

.reach-stats > div{
  padding-right:24px;
  border-right:1px solid #D7CABB;
}

.reach-stats > div:last-child{
  border-right:none;
  padding-right:0;
}

.reach-stats h3{
  margin:0;
  font:700 40px "Fraunces",serif;
  color:#A46B0B;
}

.reach-stats span{
  display:block;
  margin-top:6px;

  font:600 10px "DM Sans",sans-serif;
  letter-spacing:.08em;
  color:#7E6E63;
}

.reach-map img{
  width:100%;
  display:block;
}

/* ==========================
   SUPPLY ASSURANCE
========================== */

.assurance{
    background:#1C110C;
    padding:72px 0;
}

.light h2,
.light span{
    color:#FFF;
}

.light span{
    color:#C1723E;
}

.assurance-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
    margin-top:40px;
}

.feature-card{
    background:#3E271E;
    padding:22px;
    border-radius:8px;
    transition:.3s ease;
}

.feature-card:hover{
    transform:translateY(-4px);
    background:#513328;
}

.feature-icon{
    width:28px;
    height:28px;
    border-radius:6px;
    background:#C1723E;
    color:#FFF;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    margin-bottom:18px;
    transition:.3s ease;
}

.feature-card:hover .feature-icon{
    transform:rotate(12deg) scale(1.08);
}

.feature-card h3{
    font-family:"Fraunces", serif;
    font-size:20px;
    color:#FFF;
    margin-bottom:10px;
}

.feature-card p{
    font-family:"DM Sans", sans-serif;
    font-size:14px;
    line-height:160%;
    color:#D8C7B4;
}

/* ===== GLOBAL REACH ===== */

.global-reach{
  background:#F2EEE8;
  padding:96px 0;
}

.reach-grid{
  display:grid;
  grid-template-columns:1fr 1.25fr;
  gap:52px;
  align-items:center;
}

.eyebrow-line{
  display:flex;
  align-items:center;
  gap:12px;
  color:#C1723E;
  font-size:11px;
  font-weight:600;
  letter-spacing:.08em;
  margin-bottom:18px;
}

.eyebrow-line::after{
  content:"";
  width:40px;
  height:1px;
  background:#C1723E;
}

.reach-content h2{
  font-family:"Fraunces",serif;
  font-size:56px;
  line-height:1.05;
  color:#1C110C;
  margin-bottom:22px;
}

.reach-content p{
  color:#6B5A52;
  line-height:1.8;
  margin-bottom:36px;
}

.reach-stats{
  display:flex;
  gap:36px;
}

.reach-stats > div{
  position:relative;
  padding-right:24px;
}

.reach-stats > div:not(:last-child)::after{
  content:"";
  position:absolute;
  right:0;
  top:6px;
  width:1px;
  height:54px;
  background:#D5C7B8;
}

.reach-stats h3{
  color:#B77712;
  font-family:"Fraunces";
  font-size:42px;
  margin-bottom:6px;
}

.reach-stats span{
  color:#8A7B6F;
  font-size:11px;
  line-height:1.4;
}

.reach-map{
  width:100%;
}

.world-map{
  width:100%;
  height:auto;
  display:block;
}

/* LABEL */
.map-labels{
  font-family:"DM Sans";
  font-size:15px;
  fill:#6B5A52;
}

/* INDONESIA */
.origin circle:first-child{
  fill:#A46B0B;
}

.pulse{
  fill:none;
  stroke:#C1723E;
  stroke-width:2;
  transform-origin:center;
  animation:pulse 2.5s infinite;
}

/* ROUTE */
.route{
  fill:none;
  stroke:#C1723E;
  stroke-width:2.5;
  stroke-linecap:round;

  stroke-dasharray:500;
  stroke-dashoffset:500;

  opacity:0;
}

.global-reach.active .route{
  animation:draw 1.2s ease forwards;
}

.global-reach.active .route:nth-child(2){animation-delay:.15s;}
.global-reach.active .route:nth-child(3){animation-delay:.3s;}
.global-reach.active .route:nth-child(4){animation-delay:.45s;}
.global-reach.active .route:nth-child(5){animation-delay:.6s;}
.global-reach.active .route:nth-child(6){animation-delay:.75s;}

@keyframes draw{
  to{
    stroke-dashoffset:0;
    opacity:1;
  }
}

@keyframes pulse{
  0%{
    transform:scale(1);
    opacity:1;
  }
  100%{
    transform:scale(2.6);
    opacity:0;
  }
}



/* ==========================
   CTA
========================== */

.cta{
    background:#A46B0B;
    padding:56px 0;
    text-align:center;
}

.cta-content{
    max-width:760px;
}

.cta h2{
    font-family:"Fraunces", serif;
    font-size:36px;
    line-height:120%;
    color:#FFF;
    margin-bottom:16px;
}

.cta p{
    font-family:"DM Sans", sans-serif;
    color:#FFFF;
    line-height:170%;
    margin-bottom:28px;
}

.btn-dark{
    display:inline-block;
    background:#1C110C;
    color:#FFF;
    padding:14px 26px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    transition:.25s;
}

.btn-dark:hover{
    background:#000;
}


.gallery{
  background:#F6F2EC;
  padding:80px 0;
}

.gallery .section-title{
  text-align:center;
  margin-bottom:40px;
}

.gallery .section-title span{
  color:#C1723E;
}

.gallery .section-title h2{
    color:#1C110C;
}
.gallery .section-title p{
  color:#6B5A52;
}

.gallery-grid{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:16px;
}

.gallery-grid img{
  width:100%;
  height:240px;
  object-fit:cover;
  border-radius:14px;
}

.gallery-grid .large{
  grid-row:span 2;
  height:496px;
}

@media (max-width:768px){
  .gallery-grid{
    grid-template-columns:1fr 1fr;
  }

  .gallery-grid .large{
    grid-column:1 / -1;
    grid-row:auto;
    height:240px;
  }

  .gallery-grid img{
    height:150px;
  }
}