/* =============================================
   SERVICE DETAIL - LUXURY MARITIME DARK THEME
   PT. MODERN AULIA MANDIRI
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --navy-deep:  #081828;
  --navy:       #0d2233;
  --navy-mid:   #163347;
  --teal:       #3a9e8f;
  --teal-light: #5fc4b4;
  --teal-pale:  #a8ddd6;
  --gold:       #c9a84c;
  --gold-light: #e2c97e;
  --text-main:  #f0ede8;
  --text-muted: #c2d4e0;
}

/* =============================================
   PAGE TITLE / HERO BANNER
   ============================================= */

.page-title {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-title::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,24,40,0.72) 0%,
    rgba(8,24,40,0.50) 50%,
    rgba(8,24,40,0.85) 100%
  );
  z-index: 1;
}

.page-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--teal), transparent);
  z-index: 2;
}

.page-title .container {
  position: relative;
  z-index: 3;
  padding: 80px 20px 60px;
}

.page-title h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-main);
  margin: 0 0 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.45);
}

.page-title .breadcrumbs ol {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0; margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
}

.page-title .breadcrumbs ol li a {
  color: var(--teal-pale);
  text-decoration: none;
  transition: color 0.2s;
}

.page-title .breadcrumbs ol li a:hover { color: var(--teal-light); }

.page-title .breadcrumbs ol li.current {
  color: var(--text-muted);
  opacity: 0.8;
}

.page-title .breadcrumbs ol li + li::before {
  content: '/';
  color: rgba(160,210,200,0.4);
  margin-right: 10px;
}

/* =============================================
   SERVICE DETAILS SECTION
   ============================================= */

.service-details.section {
  background-color: var(--navy-deep);
  padding: 80px 0 100px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-muted);
  position: relative;
}

.service-details.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58,158,143,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58,158,143,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.service-details .container {
  position: relative;
  z-index: 1;
  max-width: 1120px;
}

/* =============================================
   LAYOUT ROW
   ============================================= */

.detail-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

/* =============================================
   SIDEBAR
   ============================================= */

.sidebar {
  position: sticky;
  top: 100px;
}

/* Nav list */
.services-list {
  background: var(--navy);
  border: 1px solid rgba(58,158,143,0.14);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 28px;
}

.services-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(58,158,143,0.08);
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
  position: relative;
}

.services-list a:last-child {
  border-bottom: none;
}

.services-list a::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--teal);
  opacity: 0.5;
  flex-shrink: 0;
  transition: width 0.25s, opacity 0.25s;
}

.services-list a:hover {
  color: var(--teal-pale);
  background: rgba(58,158,143,0.06);
  padding-left: 24px;
}

.services-list a:hover::before {
  width: 20px;
  opacity: 1;
}

.services-list a.active {
  color: var(--teal-light);
  background: rgba(58,158,143,0.10);
  font-weight: 500;
  border-left: 3px solid var(--teal);
  padding-left: 17px;
}

.services-list a.active::before { display: none; }

/* Sidebar description card */
.sidebar-desc {
  background: var(--navy-mid);
  border: 1px solid rgba(58,158,143,0.12);
  border-radius: 12px;
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
}

.sidebar-desc::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 52px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  border-radius: 0 2px 2px 0;
}

.sidebar-desc h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--teal-pale);
  margin: 0 0 12px;
  line-height: 1.3;
}

.sidebar-desc p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0;
  opacity: 0.85;
}

/* Sidebar CTA */
.sidebar-cta {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-cta-gold {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--navy-deep);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  border-radius: 7px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-cta-gold:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  color: var(--navy-deep);
}

.btn-cta-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--teal-light);
  background: transparent;
  border: 1px solid rgba(58,158,143,0.4);
  border-radius: 7px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-cta-ghost:hover {
  background: rgba(58,158,143,0.10);
  border-color: var(--teal);
  color: var(--teal-pale);
}

/* =============================================
   MAIN CONTENT
   ============================================= */

.detail-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Hero image */
.detail-img-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(58,158,143,0.14);
}

.detail-img-wrap img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.detail-img-wrap:hover img {
  transform: scale(1.03);
}

/* Gradient overlay bawah foto */
.detail-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--navy-deep), transparent);
  pointer-events: none;
}

/* Content card */
.detail-card {
  background: var(--navy);
  border: 1px solid rgba(58,158,143,0.12);
  border-radius: 14px;
  padding: 40px 44px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.detail-card:hover {
  border-color: rgba(58,158,143,0.25);
}

.detail-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--teal), transparent);
  opacity: 0.5;
}

.detail-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 600;
  font-style: italic;
  background: linear-gradient(135deg, var(--teal-light), var(--teal-pale));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 18px;
  line-height: 1.25;
}

.detail-card p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-muted);
  margin: 0 0 16px;
  opacity: 0.9;
}

.detail-card p:last-child { margin-bottom: 0; }

.detail-card p a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(201,168,76,0.35);
  transition: color 0.2s, border-color 0.2s;
}

.detail-card p a:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}

/* Feature list */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.feature-list li i {
  color: var(--teal);
  font-size: 16px;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Divider inside card */
.card-divider {
  height: 1px;
  background: linear-gradient(to right, rgba(58,158,143,0.25), transparent);
  margin: 20px 0;
}

/* =============================================
   RESPONSIVE — TABLET (≤ 900px)
   ============================================= */

@media (max-width: 900px) {
  .detail-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sidebar {
    position: static;
  }

  .services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .services-list a {
    border-bottom: none;
    border-right: 1px solid rgba(58,158,143,0.08);
    border-bottom: 1px solid rgba(58,158,143,0.08);
  }

  .detail-card {
    padding: 30px 28px;
  }
}

/* =============================================
   RESPONSIVE — MOBILE (≤ 600px)
   ============================================= */

@media (max-width: 600px) {
  .page-title {
    min-height: 240px;
  }

  .page-title .container {
    padding: 64px 16px 48px;
  }

  .service-details.section {
    padding: 40px 0 64px;
  }

  .services-list {
    grid-template-columns: 1fr;
  }

  .services-list a {
    border-right: none;
  }

  .detail-img-wrap img {
    height: 220px;
  }

  .detail-card {
    padding: 24px 20px;
    border-radius: 12px;
  }

  .detail-card h3 {
    font-size: 1.3rem;
  }

  .detail-card p {
    font-size: 13.5px;
  }

  .feature-list li {
    font-size: 13px;
  }

  .sidebar-cta {
    flex-direction: row;
  }

  .btn-cta-gold,
  .btn-cta-ghost {
    flex: 1;
    font-size: 12px;
    padding: 10px 12px;
  }
}