/* Shell situs — header & footer sama di semua halaman */

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body[class^="page-"] {
  padding-top: 0 !important;
  margin: 0;
  overflow-x: hidden;
  background: #fff !important;
  color: var(--gray-900, #1a1a1a);
}

body[class^="page-"]::before {
  display: none !important;
}

.site-main {
  min-height: 50vh;
}

.site-main .first-section {
  margin-top: 5rem;
  padding-top: 2rem;
}

.page-index .ion-hero {
  margin-top: 0;
}

@media (max-width: 768px) {
  .site-main .first-section,
  .page-index .section:first-of-type {
    margin-top: 4.5rem;
    padding-top: 1.5rem;
  }
}

/* ===== HEADER — kunci layout tengah + kaca (semua halaman) ===== */
.site-header.site-header-glass {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  background: rgba(25, 10, 10, 0.45) !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
}

.site-header.site-header-glass > .container {
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
  box-sizing: border-box !important;
}

.site-header.site-header-glass .header-inner {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: relative !important;
  width: 100% !important;
  padding: 0.85rem 0 !important;
}

.site-header.site-header-glass .header-center {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(0.5rem, 2vw, 1.75rem) !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

.site-header.site-header-glass .brand {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

.site-header.site-header-glass .brand-logo {
  height: 44px !important;
  width: auto !important;
}

.site-header.site-header-glass .nav,
.site-header.site-header-glass #nav {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  right: auto !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: clamp(0.25rem, 1vw, 0.75rem) !important;
}

.site-header.site-header-glass .nav a {
  color: rgba(255, 255, 255, 0.92) !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  padding: 0.45rem 0.75rem !important;
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  text-align: center !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  display: inline-block !important;
}

.site-header.site-header-glass .nav a:hover,
.site-header.site-header-glass .nav a.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  transform: none !important;
}

.site-header.site-header-glass .hamburger {
  display: none !important;
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  flex-direction: column !important;
  gap: 5px !important;
  padding: 10px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  cursor: pointer !important;
  z-index: 1002 !important;
}

.site-header.site-header-glass .hamburger span {
  background: #fff !important;
  width: 25px !important;
  height: 3px !important;
  display: block !important;
}

@media (max-width: 768px) {
  .site-header.site-header-glass .header-inner {
    padding-right: 3rem !important;
  }

  .site-header.site-header-glass .hamburger {
    display: flex !important;
  }

  .site-header.site-header-glass .nav:not(.active):not(.show),
  .site-header.site-header-glass #nav:not(.active):not(.show) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  .site-header.site-header-glass .nav.active,
  .site-header.site-header-glass .nav.show,
  .site-header.site-header-glass #nav.active,
  .site-header.site-header-glass #nav.show {
    display: flex !important;
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: min(92vw, 360px) !important;
    flex-direction: column !important;
    padding: 1rem !important;
    gap: 0.35rem !important;
    background: rgba(25, 10, 10, 0.88) !important;
    backdrop-filter: blur(24px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25) !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1001 !important;
  }

  .site-header.site-header-glass .nav.active a,
  .site-header.site-header-glass .nav.show a {
    width: 100% !important;
  }
}

/* Footer — sembunyikan logo jika masih ada di HTML lama */
footer.site-footer .footer-brand,
footer.site-footer .footer-logo,
footer.site-footer .footer-nav,
footer.site-footer img {
  display: none !important;
}

/* Footer — simple & elegant, terang (semua halaman) */
.site-footer,
.site-footer-light {
  background: #f8fafc !important;
  color: #334155 !important;
  border-top: 1px solid #e2e8f0 !important;
  margin-top: 0 !important;
  padding: 0 !important;
}

.site-footer::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e50914 25%, #e50914 75%, transparent);
  opacity: 0.35;
}

.site-footer .footer-wrap {
  padding: 2.25rem 1.5rem 1.75rem !important;
}

.site-footer .footer-top {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding-bottom: 1.25rem !important;
  border-bottom: 1px solid #e2e8f0 !important;
  margin-bottom: 1rem !important;
}

.site-footer .footer-social {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
}

.site-footer .footer-social-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  color: #64748b !important;
  font-size: 1rem !important;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.site-footer .footer-social-btn:hover {
  background: #fff !important;
  border-color: #e50914 !important;
  color: #e50914 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.12);
}

.site-footer .footer-bottom {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
}

.site-footer .footer-copy,
.site-footer .footer-address {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.5 !important;
}

.site-footer .footer-copy {
  font-size: 0.8rem !important;
  color: #64748b !important;
}

.site-footer .footer-address {
  font-size: 0.75rem !important;
  color: #94a3b8 !important;
}

