/* ============================================================
   SERVICE DETAILS PAGE — Luxury Logistics Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500&display=swap');

/* ── CSS Variables ── */
:root {
  --navy-dark:    #0a1628;
  --navy-medium:  #112240;
  --gold:         #c9a84c;
  --gold-bright:  #e8c97a;
  --gold-pale:    #f5e9c8;
  --off-white:    #f8f6f0;
  --white:        #ffffff;
  --muted-blue:   #8a9ab5;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --container-max: 1100px;
  --section-py:    6rem;
}

/* ══════════════════════════════════════════
   PAGE HERO
══════════════════════════════════════════ */
.page-hero {
  position: relative;
  height: 420px;
  padding-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: inherit;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.page-hero.loaded::before {
  transform: scale(1);
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,22,40,0.65) 0%, rgba(10,22,40,0.45) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem;
}

.page-hero-content .eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.5);
  padding: 5px 16px;
  border-radius: 2px;
  margin-bottom: 1.2rem;
}

.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}

.breadcrumbs a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover  { color: var(--gold); }
.breadcrumbs .sep     { color: var(--gold); }
.breadcrumbs .current { color: var(--gold); }

/* ══════════════════════════════════════════
   SERVICE DETAILS SECTION
══════════════════════════════════════════ */
.service-details-section {
  background-color: var(--off-white);
  padding: var(--section-py) 0;
}

.sd-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.sd-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 1199px) {
  .sd-layout {
    grid-template-columns: 260px 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .sd-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ══════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════ */
.sd-sidebar {
  position: sticky;
  top: 100px;
}

/* Nav list */
.sd-nav {
  background: var(--navy-dark);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.sd-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted-blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.25s ease, background 0.25s ease, padding-left 0.25s ease;
  letter-spacing: 0.02em;
}

.sd-nav a:last-child {
  border-bottom: none;
}

.sd-nav a::after {
  content: '→';
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateX(-4px);
  color: var(--gold);
}

.sd-nav a:hover {
  color: var(--white);
  background: rgba(201,168,76,0.06);
  padding-left: 1.8rem;
}

.sd-nav a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.sd-nav a.active {
  color: var(--gold);
  background: rgba(201,168,76,0.08);
  border-left: 2px solid var(--gold);
  padding-left: calc(1.4rem - 2px);
  font-weight: 500;
}

.sd-nav a.active::after {
  opacity: 1;
  transform: translateX(0);
}

/* Sidebar info box */
.sd-info {
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 2px;
  padding: 1.6rem;
}

.sd-info::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.1rem;
}

.sd-info h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.sd-info p {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.85;
  color: #5a6a80;
  margin: 0;
}

/* ══════════════════════════════════════════
   MAIN CONTENT
══════════════════════════════════════════ */
.sd-content {
  min-width: 0; /* prevent grid blowout */
}

/* Hero image */
.sd-content__image {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  aspect-ratio: 16 / 7;
}

.sd-content__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Decorative gold corner */
.sd-content__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 70%);
}

/* Content typography */
.sd-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 1.1rem;
  line-height: 1.25;
}

.sd-content p {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.85;
  color: #5a6a80;
  margin-bottom: 1.25rem;
}

/* Checklist */
.sd-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 1.5rem;
}

@media (max-width: 600px) {
  .sd-checklist {
    grid-template-columns: 1fr;
  }
}

.sd-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--navy-dark);
  line-height: 1.5;
  padding: 0.65rem 0.9rem;
  background: var(--white);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 2px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.sd-checklist li:hover {
  border-color: rgba(201,168,76,0.35);
  background: var(--gold-pale);
}

.sd-checklist li svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Contact CTA */
.sd-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: gap 0.25s ease, color 0.25s ease;
}

.sd-cta::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.sd-cta:hover {
  color: var(--gold-bright);
  gap: 0.9rem;
}

.sd-cta:hover::after {
  width: 36px;
  background: var(--gold-bright);
}

/* ══════════════════════════════════════════
   MOBILE RESPONSIVE (max-width: 768px)
══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Hero */
  .page-hero {
    height: 320px;
    padding-top: 50px;
  }

  .page-hero-content .eyebrow {
    font-size: 9px;
    padding: 4px 12px;
    letter-spacing: 0.2em;
  }

  .page-hero-content h1 {
    font-size: 2rem;
  }

  .breadcrumbs {
    font-size: 0.7rem;
    gap: 6px;
  }

  /* Container */
  .sd-container {
    padding: 0 1.25rem;
  }

  .service-details-section {
    padding: 4rem 0;
  }

  /* Layout: tumpuk, sidebar di bawah */
  .sd-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sd-sidebar {
    position: static;
    order: 2; /* muncul setelah konten */
  }

  .sd-content {
    order: 1;
    min-width: 0;
  }

  /* Hero image sedikit lebih tinggi */
  .sd-content__image {
    aspect-ratio: 16 / 9;
    margin-bottom: 1.5rem;
  }

  /* Typography */
  .sd-content h3 {
    font-size: clamp(1.3rem, 4vw, 1.6rem);
  }

  .sd-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
  }

  /* Checklist */
  .sd-checklist {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .sd-checklist li {
    font-size: 0.85rem;
    padding: 0.6rem 0.8rem;
  }

  /* Sidebar items */
  .sd-nav {
    margin-bottom: 1.5rem;
  }

  .sd-nav a {
    padding: 0.9rem 1.2rem;
    font-size: 0.8rem;
  }

  .sd-nav a:hover {
    padding-left: 1.6rem;
  }

  .sd-info {
    padding: 1.2rem;
  }

  .sd-info h4 {
    font-size: 0.95rem;
  }

  .sd-info p {
    font-size: 0.8rem;
  }

  /* CTA */
  .sd-cta {
    font-size: 10px;
    gap: 0.5rem;
  }

  .sd-cta::after {
    width: 20px;
  }
}

/* ══════════════════════════════════════════
   EXTRA SMALL SCREENS (max-width: 480px)
══════════════════════════════════════════ */
@media (max-width: 480px) {
  .page-hero {
    height: 260px;
    padding-top: 40px;
  }

  .page-hero-content h1 {
    font-size: 1.7rem;
  }

  .breadcrumbs {
    flex-wrap: wrap;
    justify-content: center;
  }

  .sd-content__image {
    aspect-ratio: 4 / 3;
  }

  .sd-content h3 {
    font-size: 1.4rem;
  }

  .sd-content p {
    font-size: 0.9rem;
  }

  .sd-cta {
    font-size: 9px;
    letter-spacing: 0.15em;
  }
}