/* ===== Base / Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box }
html, body { height: 100% }
body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.6;
}
img { max-width: 100%; display: block }
a { color: inherit; text-decoration: none }

/* ===== Container ===== */
.container { width: min(1120px, 92%); margin: 0 auto }

/* ===== Buttons ===== */
.btn { display: inline-block; font-weight: 600; cursor: pointer; transition: .25s }
.btn-primary { background: #ffcc00; color: #111; padding: .9rem 1.6rem; border-radius: 10px; }
.btn-primary:hover { background: #e6b800 }
.btn-outline { border: 2px solid #111; color: #111; padding: .8rem 1.4rem; border-radius: 10px; background: #fff }
.btn-outline:hover { background: #111; color: #fff }
.btn-outline--light { border-color: #fff; color: #fff; background: transparent }
.btn-outline--light:hover { background: #fff; color: #111 }
.btn-pill { border-radius: 999px }

/* ===== Header Curve ===== */
.site-header { position: sticky; top: 0; z-index: 50 }
.site-header--curve { background: transparent }
.header-rail {
  background: #fff;
  border: 2px solid #111;
  border-bottom: none;
  border-radius: 22px 22px 0 0;
  width: min(1100px, 94%);
  margin: 10px auto 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 0 #111;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.2rem;
}
.logo { display: flex; align-items: center; gap: .6rem; color: #111; font-weight: 800; }
.logo img { width: 170px; height: 170px; object-fit: contain }
.nav { display: flex; gap: 1.2rem; align-items: center }
.nav a { color: #111; opacity: .85; font-weight: 600 }
.nav a.active { color: #111; opacity: 1; }
.nav a:hover { opacity: 1 }
.nav-toggle { display: none; flex-direction: column; gap: 4px; margin-left: .6rem; background: none; border: 0; cursor: pointer }
.nav-toggle span { width: 26px; height: 3px; background: #111; display: block }

.header-corner {
  position: absolute; top: 0; width: 48px; height: 48px; background: #111; z-index: 1;
  border-radius: 0 0 24px 24px;
}
.header-corner--left { left: 0 }
.header-corner--right { right: 0 }

/* ===== Hero ===== */
.hero { padding: 3.5rem 0 2rem; background: #f5f5f5 }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center }
.hero-text h1 { font-size: clamp(2rem, 3.5vw, 3.2rem); line-height: 1.15; color: #0e0e0e; }
.hero-text .thin { font-weight: 600 }
.hero-text strong { font-weight: 800 }
.hero-text p { color: #555; margin: 1rem 0 1.4rem }
.hero-cta { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap }
.hero-media .hero-image {
  border-radius: 18px;
  border: 2px solid #111;
  box-shadow: 0 10px 0 #111;
}

/* ===== Sections ===== */
.section { padding: 4rem 0 }
.section-head { text-align: left; margin-bottom: 1.6rem }
.section-head h2 { font-size: clamp(1.6rem, 2.2vw, 2.2rem); margin-bottom: .4rem }
.section-head p { color: #555; max-width: 760px }
.section-head .section-action { float: right; margin-top: -2.4rem } /* tombol kanan atas seperti contoh */

.section--dark { background: #0f0f0f; color: #fff }
.section--dark .section-head p { color: #c9c9c9 }
.section--rounded { padding-top: 3.2rem; padding-bottom: 3.2rem; position: relative }
.section--rounded::before,
.section--rounded::after {
  content: ""; position: absolute; left: 0; right: 0; height: 28px; background: #fff; z-index: 0;
}
.section--rounded::before { top: -28px; border-radius: 0 0 24px 24px }
.section--rounded::after { bottom: -28px; border-radius: 24px 24px 0 0 }

/* ===== Features (Dark) ===== */
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 1.4rem;
}
.feature-card {
  background: #fff; color: #0f0f0f; border-radius: 28px;
  padding: 1.4rem; border: 2px solid #111;
  box-shadow: 0 10px 0 #111;
}
.icon-bubble {
  width: 56px; height: 56px; border-radius: 999px; background: #ffcc00;
  display: grid; place-items: center; font-size: 1.3rem; margin-bottom: .8rem;
}

/* ===== Services (Thick border cards) ===== */
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1rem;
}
.service-card {
  background: #000; color: #fff; border-radius: 28px; overflow: hidden;
  border: 6px solid #000; /* tebal hitam */
}
.service-media img { width: 100%; height: 260px; object-fit: cover; display: block }
.service-body { padding: 1rem 1.2rem 1.4rem }
.service-body h3 { font-size: 1.4rem; margin-bottom: .3rem }
.service-body p { color: #e6e6e6 }

/* ===== Articles (Dark section style) ===== */
.article-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1rem;
}
.article-card {
  position: relative; border-radius: 22px; overflow: hidden; display: block;
  border: 2px solid #222; box-shadow: 0 8px 0 #222;
}
.article-card img { width: 100%; height: 260px; object-fit: cover; filter: saturate(1.05) }
.article-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem; background: linear-gradient(180deg, rgba(0,0,0,0) 20%, rgba(0,0,0,.75));
}
.article-overlay h3 { color: #fff; font-size: 1.2rem }
.chip {
  display: inline-block; font-size: .8rem; background: #111; color: #fff; padding: .25rem .6rem; border-radius: 999px; margin-bottom: .5rem;
}

/* ===== Footer ===== */
.site-footer { background: #0f0f0f; color: #fff; padding: 3rem 0 2rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1.2fr 1fr; gap: 1.6rem; }
.logo.small { color: #fff; font-weight: 800 }
.brand-col p { color: #cfcfcf; margin-top: .6rem; max-width: 520px }
.info-col ul, .link-col ul { list-style: none; color: #eaeaea }
.info-col li + li, .link-col li + li { margin-top: .35rem }
.link-col a { color: #ffcc00 }
.footer-bottom { margin-top: 1.6rem; color: #ababab }

/* ===== Gallery & Contact (existing pages support) ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .75rem .9rem; border-radius: 10px; border: 1px solid #bbb; background: #fafafa;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr) }
  .service-grid, .article-grid { grid-template-columns: repeat(2, 1fr) }
  .section-head .section-action { float: none; margin: .8rem 0 0 }
}
@media (max-width: 768px) {
  .nav { display: none; position: absolute; right: 4%; top: 70px; background: #fff; border: 2px solid #111; border-radius: 14px; padding: .8rem; flex-direction: column; gap: .6rem; box-shadow: 0 10px 0 #111 }
  .nav.show { display: flex }
  .nav-toggle { display: flex }
  .header-rail { width: 94% }
  .hero-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

.footer-bottom {
  width: 100%;
  text-align: center !important;
  display: flex;
  justify-content: center;
}

.center {
  display: flex;
  justify-content: center;
  text-align: center !important;
  width: 100%;
}
