*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  scroll-behavior:smooth;
}

:root{
  --primary:#182642;
  --secondary:#24344f;
  --gold:#d4af37;
  --gold-soft:#f4e4a6;
  --dark:#0f172a;
  --text:#64748b;
  --white:#ffffff;
  --light:#f8fafc;
  --border:#e2e8f0;
  --shadow:0 18px 45px rgba(15,23,42,.12);
}

body{
  font-family:'Inter',sans-serif;
  color:var(--dark);
  background:#fff;
  overflow-x:hidden;
  line-height:1.75;
}

.container{
  width:min(92%,1200px);
  margin:auto;
}

.section{
  padding:90px 0;
}

.section-title{
  text-align:center;
  max-width:760px;
  margin:0 auto 52px;
}

.section-title span,
.section-label{
  display:inline-block;
  color:var(--gold);
  font-size:13px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:2px;
  margin-bottom:12px;
}

.section-title h2,
.about-grid h2,
.trade-box h2,
.contact-grid h2{
  color:var(--primary);
  font-size:clamp(2rem,4vw,2.8rem);
  line-height:1.2;
  font-weight:900;
}

p{
  color:var(--text);
}

.btn-primary,
.btn-secondary{
  min-height:54px;
  padding:15px 28px;
  border-radius:14px;
  text-decoration:none;
  font-weight:800;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:.3s ease;
}

.btn-primary{
  background:var(--gold);
  color:#111827;
  border:none;
  cursor:pointer;
}

.btn-secondary{
  border:1px solid rgba(255,255,255,.45);
  color:#fff;
}

.btn-primary:hover,
.btn-secondary:hover{
  transform:translateY(-3px);
}

.header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  padding:20px 0;
  background:transparent;
  transition:.35s ease;
}

.header.scrolled{
  background:rgba(255,255,255,.96);
  box-shadow:var(--shadow);
  padding:12px 0;
  backdrop-filter:blur(14px);
}

.nav-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:#fff;
  font-weight:800;
}

.logo img{
  height:52px;
  width:auto;
}

.logo-dark{
  display:none;
}

.header.scrolled .logo-light{
  display:none;
}

.header.scrolled .logo-dark{
  display:block;
}

.header.scrolled .logo{
  color:var(--primary);
}

.nav-menu{
  display:flex;
  align-items:center;
  gap:28px;
}

.nav-menu a,
.dropdown-toggle{
  color:#fff;
  text-decoration:none;
  font-weight:700;
  font-size:15px;
  background:none;
  border:none;
  cursor:pointer;
  font-family:inherit;
  position:relative;
}

.nav-menu a::after,
.dropdown-toggle::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-8px;
  width:0;
  height:2px;
  background:var(--gold);
  border-radius:999px;
  transition:.3s ease;
}

.header.scrolled .nav-menu a,
.header.scrolled .dropdown-toggle{
  color:var(--primary);
}

.nav-menu > a:hover,
.dropdown-toggle:hover,
.nav-menu > a.active,
.nav-dropdown.active-page .dropdown-toggle,
.header.scrolled .nav-menu > a:hover,
.header.scrolled .dropdown-toggle:hover,
.header.scrolled .nav-menu > a.active,
.header.scrolled .nav-dropdown.active-page .dropdown-toggle{
  color:var(--gold);
}

.nav-menu > a:hover::after,
.dropdown-toggle:hover::after,
.nav-menu > a.active::after,
.nav-dropdown.active-page .dropdown-toggle::after{
  width:100%;
}

/* saat sudah discroll tetap hover dan active nyala */
.header.scrolled .nav-menu > a:hover,
.header.scrolled .dropdown-toggle:hover,
.header.scrolled .nav-menu > a.active,
.header.scrolled .nav-dropdown.active-page .dropdown-toggle{
  color:var(--gold);
}

/* dropdown item active */
.dropdown-menu a.active{
  background:rgba(212,175,55,.14);
  color:var(--gold) !important;
  font-weight:900;
}

/* dropdown hover sebelum dan sesudah scroll */
.dropdown-menu a:hover,
.header.scrolled .dropdown-menu a:hover{
  background:rgba(212,175,55,.14);
  color:var(--gold) !important;
  transform:translateX(4px);
}

/* dropdown active tetap kelihatan saat hover/scroll */
.header.scrolled .dropdown-menu a.active{
  background:rgba(212,175,55,.16);
  color:var(--gold) !important;
}

.nav-dropdown{
  position:relative;
}

.dropdown-toggle{
  display:flex;
  align-items:center;
  gap:8px;
}

.dropdown-toggle i{
  font-size:12px;
  transition:.3s ease;
}

.nav-dropdown.active .dropdown-toggle i{
  transform:rotate(180deg);
}

.dropdown-menu{
  position:absolute;
  top:140%;
  left:0;
  min-width:190px;
  background:#fff;
  border-radius:16px;
  box-shadow:var(--shadow);
  padding:10px;
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:.28s ease;
}

.nav-dropdown.active .dropdown-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.dropdown-menu a{
  display:block;
  color:var(--primary) !important;
  padding:12px 14px;
  border-radius:12px;
  transition:.28s ease;
}

.menu-toggle{
  display:none;
  width:44px;
  height:44px;
  border:none;
  border-radius:12px;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:22px;
  cursor:pointer;
  position:relative;
  z-index:1300;
}

.header.scrolled .menu-toggle{
  background:#f1f5f9;
  color:var(--primary);
}

@media(max-width:992px){
  .section{
    padding:76px 0;
  }

  .menu-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
  }

  .nav-menu{
    position:fixed;
    top:0;
    right:-100%;
    width:min(82%,340px);
    height:100vh;
    background:rgba(15,23,42,.98);
    flex-direction:column;
    align-items:stretch;
    justify-content:center;
    padding:34px;
    gap:14px;
    box-shadow:-20px 0 50px rgba(0,0,0,.25);
    transition:right .36s cubic-bezier(.4,0,.2,1);
    z-index:1200;
  }

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

  .header.scrolled .nav-menu{
    background:#fff;
  }

  .nav-menu a,
  .dropdown-toggle{
    width:100%;
    justify-content:space-between;
    font-size:17px;
    padding:13px 0;
  }

  .dropdown-menu{
    position:static;
    min-width:100%;
    box-shadow:none;
    margin-top:4px;
    max-height:0;
    overflow:hidden;
    padding:0;
    opacity:1;
    visibility:visible;
    transform:none;
    background:rgba(255,255,255,.08);
    transition:max-height .3s ease, padding .3s ease;
  }

  .header.scrolled .dropdown-menu{
    background:#f8fafc;
  }

  .nav-dropdown.active .dropdown-menu{
    max-height:160px;
    padding:8px;
  }

  .dropdown-menu a{
    color:#fff !important;
    padding:10px 12px;
  }

  .header.scrolled .dropdown-menu a{
    color:var(--primary) !important;
  }
}

body.menu-open .menu-toggle{
  position:fixed;
  top:18px;
  right:18px;
  background:rgba(255,255,255,.10);
  color:#fff;
  z-index:1400;
}

@media(max-width:768px){
  .container{
    width:92%;
  }

  .section{
    padding:64px 0;
  }

  .logo span{
    font-size:14px;
    max-width:190px;
    line-height:1.3;
  }

  .logo img{
    height:46px;
  }

  .btn-primary,
  .btn-secondary{
    width:100%;
  }
}

.footer{
  background:var(--primary);
  color:#fff;
  padding:30px 0;
  text-align:center;
}

.footer p{
  color:#cbd5e1;
}

.floating-wa{
  position:fixed;
  right:24px;
  bottom:24px;
  width:62px;
  height:62px;
  border-radius:50%;
  background:#25D366;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  text-decoration:none;
  z-index:999;
  box-shadow:0 14px 30px rgba(0,0,0,.2);
}

@media(max-width:768px){
  .floating-wa{
    width:56px;
    height:56px;
    font-size:26px;
    right:18px;
    bottom:18px;
  }
}

@media(max-width:480px){
  .section{
    padding:56px 0;
  }

  .section-title{
    margin-bottom:36px;
  }
}