@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --navy: #0a1628;
  --navy-mid: #112240;
  --navy-light: #1a3256;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-pale: #f5e9c8;
  --white: #ffffff;
  --off-white: #f8f6f0;
  --text-muted: #8a9ab5;
  --border: rgba(201,168,76,0.2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--off-white);
  color: var(--navy);
  overflow-x: hidden;
}

/* ─── HERO ─────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.82) 0%, rgba(10,22,40,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  animation: heroFade 1.2s ease both;
}

@keyframes heroFade {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 6px 18px;
  border-radius: 2px;
  margin-bottom: 1.6rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-line {
  display: inline-block;
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 1.4rem;
}

.hero p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 2.4rem;
  line-height: 1.75;
  font-weight: 300;
}

.hero-cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 34px;
  border-radius: 2px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--white);
  padding: 14px 34px;
  border-radius: 2px;
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s;
}

.btn-outline-white:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
  color: var(--gold);
}

.hero-nav {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  border: none;
}

.hero-dot.active {
  background: var(--gold);
  transform: scale(1.25);
}

/* ─── STATS BAR ─────────────────────────────────────── */
.stats-bar {
  background: var(--navy);
  padding: 2.2rem 0;
}

.stats-bar .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  border-right: 1px solid rgba(201,168,76,0.15);
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── SECTION COMMON ────────────────────────────────── */
section { padding: 6rem 0; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
  display: block;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1.2rem;
}

.section-title.light { color: var(--white); }

.divider {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

/* ─── ABOUT ─────────────────────────────────────────── */
.about-section { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.85;
  color: #4a5568;
  margin-bottom: 1.6rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: color 0.2s, gap 0.2s;
}

.link-arrow:hover { color: var(--gold); gap: 14px; }
.link-arrow::after { content: '→'; }

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-frame {
  background: var(--navy);
  border-radius: 4px;
  padding: 3rem;
  position: relative;
  box-shadow: 0 32px 80px rgba(10,22,40,0.15);
}

.logo-frame::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  opacity: 0.4;
}

.logo-frame img {
  max-width: 260px;
  display: block;
  filter: brightness(0) invert(1);
}

/* ─── SERVICES ──────────────────────────────────────── */
.services-section { background: var(--navy); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 4px;
  padding: 2.4rem 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
  background: rgba(255,255,255,0.03);
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover {
  border-color: rgba(201,168,76,0.5);
  transform: translateY(-4px);
}

.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 1.4rem;
  display: block;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─── PORTFOLIO ─────────────────────────────────────── */
.portfolio-section { background: var(--off-white); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4/3;
  background: var(--navy-mid);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.portfolio-item:hover img { transform: scale(1.06); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-overlay span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.04em;
}

.portfolio-overlay a {
  margin-left: auto;
  color: var(--gold);
  font-size: 1.1rem;
  text-decoration: none;
}

/* ─── CLIENTS ───────────────────────────────────────── */
.clients-section { background: var(--white); }

.clients-header { text-align: center; margin-bottom: 3.5rem; }

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: #e8e4d8;
  border: 1px solid #e8e4d8;
  border-radius: 4px;
  overflow: hidden;
}

.client-item {
  background: var(--white);
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: background 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-item:hover { background: var(--gold-pale); }

.client-item span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.5;
}

/* ── PARTNER ELEGANT ── */
.partner-elegant {
  padding: 4rem 0 5rem;
  background: #fff;
}

.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold, #c9a84c), transparent);
  margin: 0 auto 3.5rem;
  max-width: 600px;
  border-radius: 2px;
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.partner-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.partner-text p {
  color: #4b5563;
  font-size: 0.97rem;
  line-height: 1.8;
}

.partner-text strong {
  color: var(--gold, #c9a84c);
  font-weight: 600;
}

.partner-box {
  background: #f9f9f9;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.partner-box:hover {
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.15);
  transform: translateY(-3px);
}

.partner-box img {
  max-width: 180px;
  width: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.partner-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.partner-contact a {
  color: var(--gold, #c9a84c);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.partner-contact a:hover {
  color: #a07830;
  text-decoration: underline;
}

.partner-contact span {
  color: #9ca3af;
}


/* ════════════════════════════════════════════════════
   RESPONSIVE — TABLET (max 768px)
   ════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Section padding lebih kecil */
  section { padding: 4rem 0; }

  /* Stats: 2 kolom */
  .stats-bar .inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(201,168,76,0.1);
    padding-bottom: 1rem;
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(201,168,76,0.1);
  }

  .stat-item:last-child,
  .stat-item:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }

  /* About: 1 kolom, visual di bawah */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .logo-frame {
    padding: 2rem;
  }

  .logo-frame img {
    max-width: 180px;
  }

  /* Services: 1 kolom */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Portfolio: 2 kolom */
  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }

  /* Portfolio span 2 tetap full */
  .portfolio-item[style*="grid-column"] {
    grid-column: span 2 !important;
  }

  /* Clients: 2 kolom */
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Partner */
  .partner-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .partner-text { text-align: center; }

  .partner-text h2 { font-size: 1.6rem; }

  .partner-box { padding: 1.5rem; }
}


/* ════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (max 480px)
   ════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  /* Container padding */
  .container { padding: 0 1.2rem; }

  /* Section padding */
  section { padding: 3rem 0; }

  /* Hero */
  .hero { min-height: 560px; }

  .hero-eyebrow {
    font-size: 9px;
    letter-spacing: 0.2em;
    padding: 5px 12px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 1rem;
  }

  .btn-gold,
  .btn-outline-white {
    width: 100%;
    text-align: center;
    padding: 13px 20px;
  }

  /* Stats: 2 kolom rapat */
  .stats-bar { padding: 1.6rem 0; }

  .stats-bar .inner {
    padding: 0 1.2rem;
    gap: 0.8rem;
  }

  .stat-num { font-size: 1.6rem; }

  /* Services heading layout */
  .services-section > .container > div[style] {
    flex-direction: column;
    align-items: flex-start !important;
  }

  /* Portfolio: 1 kolom di hp kecil */
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item[style*="grid-column"] {
    grid-column: span 1 !important;
  }

  /* Clients: 1 kolom */
  .clients-grid {
    grid-template-columns: 1fr;
  }

  /* Partner */
  .partner-text h2 { font-size: 1.4rem; }

  .partner-box { padding: 1.2rem 1rem; }

  .partner-contact {
    flex-direction: column;
    gap: 0.4rem;
  }

  .partner-contact span { display: none; }

  /* Section title ukuran mobile */
  .section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
}
