/* PT Jagad Jaya Nusantara - Corporate Website */
:root {
  --primary: #0D4F8B;
  --primary-dark: #0A3A66;
  --primary-light: #1A6BB5;
  --gold: #F0C14A;
  --gold-dark: #D4A83A;
  --white: #ffffff;
  --off: #F5F7FA;
  --gray-100: #EEF1F5;
  --gray-200: #E2E8F0;
  --gray-500: #64748B;
  --gray-700: #334155;
  --text: #1E293B;
  --shadow: 0 4px 16px rgba(13,79,139,.1);
  --shadow-lg: 0 12px 36px rgba(13,79,139,.15);
  --radius: 10px;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-head: Georgia, 'Times New Roman', serif;
  --max: 1140px;
  --tr: .25s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--off);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--primary); text-decoration: none; transition: var(--tr); }
a:hover { color: var(--primary-light); }
ul { list-style: none; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 0;
  gap: 1rem;
}
.logo img { height: 46px; width: auto; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: .4rem .65rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
}
.main-nav ul {
  display: flex;
  gap: .2rem;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--gray-700);
  padding: .5rem .9rem;
  border-radius: 6px;
  font-size: .92rem;
  font-weight: 500;
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--primary);
  color: var(--white);
}
.btn-nav {
  background: var(--primary) !important;
  color: var(--white) !important;
  margin-left: .35rem;
}
.btn-nav:hover { background: var(--primary-dark) !important; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  color: var(--white);
  padding: 4.5rem 0 4rem;
  text-align: center;
  position: relative;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  margin-bottom: .85rem;
  line-height: 1.25;
}
.hero h1 span { color: var(--gold); }
.hero p {
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 1.75rem;
  opacity: .95;
}
.hero-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem 1.45rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: .92rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--tr);
}
.btn-primary {
  background: var(--gold);
  color: var(--primary-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--primary-dark);
}
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.6);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-solid {
  background: var(--primary);
  color: var(--white);
}
.btn-solid:hover { background: var(--primary-dark); color: var(--white); }

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--white); }
.section-title {
  font-family: var(--font-head);
  font-size: 1.65rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: .4rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin: .65rem auto 0;
}
.section-sub {
  text-align: center;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto 2.25rem;
  font-size: .95rem;
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--tr);
  border-top: 3px solid var(--primary);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card .icon {
  font-size: 2rem;
  margin-bottom: .75rem;
}
.feature-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: .5rem;
  font-family: var(--font-head);
}
.feature-card p {
  font-size: .9rem;
  color: var(--gray-500);
}

/* About preview */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.about-grid h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.about-grid p { margin-bottom: .85rem; color: var(--gray-700); }
.about-box {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}
.about-box h3 {
  font-family: var(--font-head);
  color: var(--gold);
  margin-bottom: .75rem;
  font-size: 1.2rem;
}
.about-box ul { list-style: disc; padding-left: 1.25rem; }
.about-box li { margin-bottom: .4rem; font-size: .92rem; }

/* Page content */
.page-hero {
  background: var(--primary);
  color: var(--white);
  padding: 2.25rem 0;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-size: 1.75rem;
  color: var(--gold);
}
.breadcrumb {
  background: var(--white);
  padding: .6rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: .85rem;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  align-items: center;
}
.breadcrumb li:not(:last-child)::after {
  content: '›';
  margin-left: .3rem;
  color: var(--gray-500);
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: var(--gray-500); }

.content-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin: 2rem 0;
}
.content-card h2 {
  font-family: var(--font-head);
  color: var(--primary);
  font-size: 1.3rem;
  margin: 1.5rem 0 .75rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--gold);
}
.content-card h2:first-child { margin-top: 0; }
.content-card p, .content-card li {
  margin-bottom: .75rem;
  color: var(--gray-700);
}
.content-card ul, .content-card ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}
.content-card ul { list-style: disc; }
.content-card ol { list-style: decimal; }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.35rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
  transition: var(--tr);
}
.service-card:hover { box-shadow: var(--shadow-lg); }
.service-card h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: .5rem;
  font-family: var(--font-head);
}
.service-card p { font-size: .9rem; color: var(--gray-500); }

/* Form */
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--primary);
  font-size: .9rem;
}
.form-control {
  width: 100%;
  padding: .65rem .9rem;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: .95rem;
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,79,139,.15);
}
textarea.form-control { min-height: 120px; resize: vertical; }
.form-note {
  background: #FFF8E6;
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: .85rem 1rem;
  margin-bottom: 1.15rem;
  font-size: .88rem;
  color: var(--primary-dark);
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.8);
  padding: 2.75rem 0 1.25rem;
  margin-top: auto;
  font-size: .88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}
.footer-grid h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: .85rem;
  font-family: var(--font-head);
}
.footer-grid a { color: rgba(255,255,255,.75); }
.footer-grid a:hover { color: var(--gold); }
.footer-grid li { margin-bottom: .35rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.1rem;
  text-align: center;
  font-size: .82rem;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 1rem;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { display: block; padding: .7rem 1rem; }
  .header-inner { position: relative; }
  .about-grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0; }
}
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
