/* ============================================================
   NUSA INTERACTIVE STUDIO — GLOBAL CSS
   ============================================================ */

/* Load hanya regular (ital@0), tidak include italic variant */
@import url('https://fonts.googleapis.com/css2?family=Caesar+Dressing&family=IM+Fell+Double+Pica+SC:ital@0&display=swap');

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #111111;
  color: #fff;
  font-family: 'IM Fell Double Pica SC', serif;
  font-size: 16px;
  font-style: normal;
  line-height: 1.7;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Pastikan semua elemen tidak italic secara default */
p, span, td, th, li, div, h1, h2, h3, h4, h5, h6, a, button {
  font-style: normal;
}

/* ---- Font roles ---- */
h1, h2, h3,
.nav-link, .logo-text,
.btn-cta, .btn-apply, .btn-steam, .btn-detail, .btn-project,
.section-title, .page-hero-title,
.footer-heading, .tab-btn {
  font-family: 'Caesar Dressing', cursive;
  font-style: normal;
}

/* ---- Type scale ---- */
h1, .page-hero-title { font-size: 48px; letter-spacing: .04em; }
h2, .section-title   { font-size: 24px; letter-spacing: .06em; }
h3                   { font-size: 20px; }
.nav-link            { font-size: 16px; }

/* ---- Layout ---- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 10px; text-transform: uppercase; }
.section-underline { width: 80px; height: 2px; background: #fff; margin: 0 auto 52px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nis-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 0px;
  transition: background .3s;
}
.nis-navbar.scrolled { background: rgba(0,0,0,.96); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 32px;
}

.nav-logo { display: flex; align-items: center; gap: 10px; }
.logo-img  { width: 44px; height: 44px; object-fit: contain; }
.logo-text {
  font-family: 'Caesar Dressing', cursive;
  font-size: 10px;
  font-style: normal;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: #fff;
}

.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 16px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #fff;
  transition: color .2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px; background: #8B0000;
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.nav-link:hover             { color: #8B0000; }
.nav-link:hover::after      { transform: scaleX(1); }
.nav-link.active            { color: #8B0000; }
.nav-link.active::after     { transform: scaleX(1); }

.lang-toggle { display: flex; align-items: center; gap: 4px; }
.lang-btn {
  font-family: 'Caesar Dressing', cursive;
  font-size: 14px;
  font-style: normal;
  color: rgba(255,255,255,.45);
  cursor: pointer;
  border: none; background: none; padding: 0;
  transition: color .2s;
}
.lang-btn:hover, .lang-btn.active { color: #8B0000; }
.lang-sep { color: rgba(255,255,255,.2); font-size: 13px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 26px; height: 2px;
  background: #fff;
  transition: transform .3s, opacity .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Page hero (non-home pages) ---- */
.page-hero {
  position: relative;
  height: 280px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 40px;
  margin-top: 63px;
  overflow: hidden;
  background: #000;
}
.page-hero .hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: .4;
}
.page-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.page-hero-text    { position: relative; z-index: 1; text-align: center; }
.page-hero-title   { font-size: 48px; color: #fff; text-transform: uppercase; font-style: normal; }
.page-hero-sub     { margin-top: 6px; font-size: 18px; color: rgba(255,255,255,.65); font-style: normal; }

/* ---- Buttons ---- */
.btn-cta, .btn-apply, .btn-steam, .btn-detail, .btn-project {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  font-family: 'Caesar Dressing', cursive;
  font-size: 14px;
  font-style: normal;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  border-radius: 0;
  transition: background .2s, border-color .2s;
  padding: 12px 28px;
}
.btn-cta:hover, .btn-detail:hover, .btn-project:hover {
  background: #8B0000; border-color: #8B0000; color: #fff;
}
.btn-apply       { padding: 8px 20px; font-size: 12px; }
.btn-apply:hover { background: #8B0000; border-color: #8B0000; }
.btn-steam       { background: #8B0000; border-color: #8B0000; color: #fff; }
.btn-steam:hover { background: #6b0000; border-color: #6b0000; }

/* ============================================================
   FOOTER
   ============================================================ */
.nis-footer {
  background: #000;
  padding: 60px 0 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 52px;
}
.footer-heading {
  font-family: 'Caesar Dressing', cursive;
  font-size: 13px;
  font-style: normal;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-divider { width: 100%; height: 1px; background: rgba(255,255,255,.22); margin-bottom: 20px; }

.social-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13px; font-style: normal; }
.social-icon-img { width: 20px; height: 20px; object-fit: contain; opacity: .8; flex-shrink: 0; }
.social-list a   { color: rgba(255,255,255,.7); transition: color .2s; }
.social-list a:hover { color: #8B0000; }

.footer-links li    { margin-bottom: 10px; }
.footer-links a {
  font-family: 'Caesar Dressing', cursive;
  font-size: 13px;
  font-style: normal;
  letter-spacing: .08em;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-links a:hover { color: #8B0000; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px;
  text-align: center;
  font-size: 13px;
  font-style: normal;
  color: rgba(255,255,255,.3);
}

/* ---- Careers table (shared) ---- */
.careers-table-wrap { overflow-x: auto; }
.careers-table { width: 100%; border-collapse: collapse; }
.careers-table thead tr { border-bottom: 2px solid rgba(255,255,255,.18); }
.careers-table th {
  font-family: 'Caesar Dressing', cursive;
  font-size: 14px; font-style: normal;
  letter-spacing: .06em;
  text-align: left; padding: 14px 16px;
  color: rgba(255,255,255,.55);
}
.careers-table td {
  padding: 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: 15px;
  font-style: normal;
}
.careers-table tbody tr:hover { background: rgba(255,255,255,.02); }

.division-tabs { display: flex; gap: 28px; flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.13); }
.tab-btn {
  background: none; border: none;
  color: rgba(255,255,255,.5);
  font-family: 'Caesar Dressing', cursive;
  font-size: 14px; font-style: normal;
  letter-spacing: .06em;
  padding: 14px 0; cursor: pointer;
  position: relative; transition: color .2s;
}
.tab-btn::after {
  content: ''; position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px; background: #8B0000;
  transform: scaleX(0); transition: transform .2s;
}
.tab-btn:hover, .tab-btn.active      { color: #8B0000; }
.tab-btn.active::after               { transform: scaleX(1); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 63px; left: 0; right: 0;
    background: rgba(0,0,0,.97);
    flex-direction: column; align-items: flex-start;
    padding: 20px 24px; gap: 20px;
  }
  .nav-menu.open  { display: flex; }
  .nav-hamburger  { display: flex; }
  h1, .page-hero-title { font-size: 36px; }
  h2, .section-title   { font-size: 20px; }
  .section    { padding: 52px 0; }
  .container  { padding: 0 20px; }
  .footer-inner { padding: 0 20px 40px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
}