/* sh-page-idc.css — gaya tambahan untuk halaman selain home (idc theme) */

/* Generic page hero (lebih ringkas dari hero home) */
.idc-page-hero {
  position: relative;
  padding: 110px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(99,102,241,.15), transparent 60%),
    radial-gradient(700px 380px at -10% 30%, rgba(56,189,248,.13), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  text-align: center;
  border-bottom: 1px solid #eef2f7;
}
.idc-page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 70%);
  pointer-events: none;
}
.idc-page-hero .container { position: relative; z-index: 2; }
.idc-page-hero h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #0b1020;
  margin: 16px 0 14px;
}
.idc-page-hero p.lead {
  font-size: 18px; line-height: 1.6; color: #475569;
  max-width: 720px; margin: 0 auto;
}
.idc-page-hero .breadcrumb-pill {
  display: inline-flex; gap: 6px; align-items: center;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.7); backdrop-filter: blur(8px);
  border: 1px solid #e2e8f0;
  color: #475569; font-size: 13px; font-weight: 500;
}
.idc-page-hero .breadcrumb-pill a { color: #475569; text-decoration: none; }
.idc-page-hero .breadcrumb-pill a:hover { color: #2563eb; }
.idc-page-hero .breadcrumb-pill .sep { color: #cbd5e1; }
.idc-page-hero .breadcrumb-pill .cur { color: #0f172a; font-weight: 600; }

/* Generic content section padding */
body.idc-theme #content { background: #fff; }
body.idc-theme section { padding: 60px 0; }
body.idc-theme h2, body.idc-theme h3, body.idc-theme h4 {
  color: #0b1020; letter-spacing: -.015em;
}
body.idc-theme p { color: #475569; line-height: 1.65; }
body.idc-theme a { color: #2563eb; }
body.idc-theme a:hover { color: #1d4ed8; }

/* Article / blog cards */
.idc-article {
  background: #fff; border-radius: 18px; overflow: hidden;
  border: 1px solid #eef2f7;
  box-shadow: 0 20px 50px -40px rgba(15,23,42,.18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.idc-article:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -40px rgba(15,23,42,.25); }
.idc-article .body { padding: 22px; }
.idc-article h3 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.idc-article h3 a { color: #0b1020 !important; text-decoration: none; }
.idc-article h3 a:hover { color: #2563eb !important; }
.idc-article .meta { color: #64748b; font-size: 13px; margin-bottom: 10px; }
.idc-article p { color: #475569; font-size: 14.5px; margin: 0; }

/* FAQ accordion polish */
body.idc-theme .accordion {
  border-radius: 16px; overflow: hidden;
  border: 1px solid #eef2f7; background: #fff;
}
body.idc-theme .accordion-item, body.idc-theme .accordion .acc-item, body.idc-theme .accordion-section {
  border-bottom: 1px solid #eef2f7;
}
body.idc-theme .accordion .accordion-section-title,
body.idc-theme .accordion h4 {
  color: #0b1020; padding: 18px 22px; cursor: pointer;
}

/* Forms (kontak, dll) */
body.idc-theme input[type=text],
body.idc-theme input[type=email],
body.idc-theme input[type=tel],
body.idc-theme input[type=password],
body.idc-theme textarea,
body.idc-theme select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 15px;
  outline: none;
  transition: border-color .15s, background .15s, box-shadow .15s;
  margin-bottom: 14px;
}
body.idc-theme input:focus, body.idc-theme textarea:focus, body.idc-theme select:focus {
  border-color: #2563eb; background: #fff;
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}
body.idc-theme button[type=submit],
body.idc-theme input[type=submit] {
  padding: 13px 26px;
  background: linear-gradient(135deg,#2563eb,#1d4ed8) !important;
  color: #fff !important;
  border: 0 !important; border-radius: 12px !important;
  font-weight: 600; cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(37,99,235,.5);
  transition: transform .15s, box-shadow .2s;
}
body.idc-theme button[type=submit]:hover { transform: translateY(-2px); }

/* Tables */
body.idc-theme table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #eef2f7; }
body.idc-theme table th { background: #f8fafc; color: #0b1020; font-weight: 700; padding: 12px 16px; text-align: left; border-bottom: 1px solid #eef2f7; font-size: 14px; }
body.idc-theme table td { padding: 12px 16px; border-bottom: 1px solid #f1f5f9; color: #334155; font-size: 14.5px; }
body.idc-theme table tr:last-child td { border-bottom: 0; }

/* Legal pages (syarat, privasi) — clean reading */
.idc-legal { max-width: 840px; margin: 0 auto; padding: 50px 24px; }
.idc-legal h2 { margin-top: 38px; font-size: 24px; }
.idc-legal h3 { margin-top: 28px; font-size: 19px; }
.idc-legal p, .idc-legal li { font-size: 16px; line-height: 1.75; color: #334155; }
.idc-legal ol, .idc-legal ul { padding-left: 22px; }
.idc-legal li { margin-bottom: 8px; }

/* Hide some legacy sections that conflict */
body.idc-theme #section-banner[data-bgcolor="#15182d"] { display: none; }

/* ============================================================
   IDC THEME — HEADER / FOOTER / GLOBAL OVERRIDES
   Make the dark-scheme template work on the white idc body
   ============================================================ */

/* Solid white header with dark text + soft shadow */
body.idc-theme header.transparent,
body.idc-theme header {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 2px 14px -8px rgba(15,23,42,.15);
  z-index: 1000;
}

/* Topbar light + dark text */
body.idc-theme header #topbar,
body.idc-theme header #topbar.text-light {
  background: #f8fafc !important;
  color: #475569 !important;
  border-bottom: 1px solid #eef2f7;
  font-size: 13px;
}
body.idc-theme header #topbar a,
body.idc-theme header #topbar .topbar-widget,
body.idc-theme header #topbar .topbar-widget a,
body.idc-theme header #topbar i { color: #475569 !important; }
body.idc-theme header #topbar a:hover { color: #2563eb !important; }
/* Style email link in topbar (template already renders the address) */
body.idc-theme #topbar .topbar-widget i.fa-envelope { margin-right: 6px; }
body.idc-theme #topbar .__cf_email__ { color: #475569 !important; }

/* Main nav links dark */
body.idc-theme #mainmenu > li > a,
body.idc-theme #mainmenu .menu-item {
  color: #0f172a !important;
  font-weight: 600;
  letter-spacing: -.005em;
}
body.idc-theme #mainmenu > li > a:hover,
body.idc-theme #mainmenu .menu-item:hover { color: #2563eb !important; }
/* nav-idc.css owns the submenu caret; nuke legacy fontawesome glyph */
body.idc-theme #mainmenu li a.menu-item::after,
body.idc-theme #mainmenu li a.menu-item:after,
body.idc-theme #mainmenu > li > .menu-item::after { content: none !important; background: transparent !important; display: none !important; }

/* Mega menu polish */
body.idc-theme #mainmenu .mega {
  background: #fff !important;
  border-radius: 16px !important;
  border: 1px solid #eef2f7 !important;
  box-shadow: 0 30px 80px -30px rgba(15,23,42,.25) !important;
  margin-top: 0 !important;
  overflow: hidden;
}
body.idc-theme #mainmenu .mega h4 { color: #0b1020; font-weight: 700; font-size: 16px; }
body.idc-theme #mainmenu .mega p,
body.idc-theme #mainmenu .mega .d-inner { color: #475569; }
body.idc-theme #mainmenu .mega .box-icon { border-radius: 12px; padding: 12px; transition: background .15s; }
body.idc-theme #mainmenu .mega .box-icon:hover { background: #f1f5f9; }
body.idc-theme #mainmenu .mega .box-icon h4 { font-size: 15px; margin-bottom: 4px; color: #0b1020; }
body.idc-theme #mainmenu .mega .box-url { background: #f8fafc; border-radius: 10px; padding: 12px 6px; }
body.idc-theme #mainmenu .mega .tld-domain { color: #0b1020; font-weight: 700; }
body.idc-theme #mainmenu .mega .tld-price { color: #2563eb !important; font-weight: 600; font-size: 13px; }
body.idc-theme #mainmenu .mega .tld-subtitle { color: #94a3b8; font-size: 11px; }

/* Header CTA login button */
body.idc-theme .menu_side_area .btn-main {
  background: linear-gradient(135deg,#2563eb,#1d4ed8) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 12px !important;
  padding: 10px 22px !important;
  font-weight: 600;
  box-shadow: 0 14px 28px -12px rgba(37,99,235,.5);
  transition: transform .15s;
}
body.idc-theme .menu_side_area .btn-main:hover { transform: translateY(-2px); }

/* Logo: crop the baked-in ghost "SaungHosting" text from /new.png
   The image asset has a faint wordmark next to the icon — clip to icon only,
   then render a clean wordmark via ::after on the anchor. */
body.idc-theme #logo a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
body.idc-theme #logo .logo-main {
  height: 38px !important; width: auto !important;
  object-fit: cover; object-position: left center;
  max-width: 42px;
  filter: drop-shadow(0 2px 6px rgba(37,99,235,.25));
}
body.idc-theme #logo a::after {
  content: "SaungHosting";
  font-weight: 800; font-size: 20px; letter-spacing: -.02em;
  color: #0f172a;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
body.idc-theme #logo .logo-mobile { display: none !important; }

/* Push content down from fixed header (topbar ~36 + nav ~80) */
body.idc-theme #content { padding-top: 120px !important; }

/* Hero needs less own padding-top now since we already pushed */
body.idc-theme .idc-page-hero { padding-top: 70px; }

/* Footer light theme */
body.idc-theme footer {
  background: #0b1020 !important;
  color: #cbd5e1 !important;
  padding-top: 60px; padding-bottom: 30px;
}
body.idc-theme footer h5 { color: #fff !important; font-weight: 700; margin-bottom: 14px; }
body.idc-theme footer p,
body.idc-theme footer li,
body.idc-theme footer a { color: #cbd5e1 !important; }
body.idc-theme footer a:hover { color: #60a5fa !important; }
body.idc-theme footer ul { list-style: none; padding-left: 0; }
body.idc-theme footer ul li { margin-bottom: 6px; }
body.idc-theme footer .subfooter {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
}
body.idc-theme footer .subfooter a { color: #94a3b8 !important; }
body.idc-theme footer .menu-simple li { display: inline-block; margin-left: 16px; }
body.idc-theme footer .social-icons a {
  display: inline-flex; width: 36px; height: 36px;
  border-radius: 50%; background: rgba(255,255,255,.06);
  align-items: center; justify-content: center;
  margin-right: 6px; color: #cbd5e1 !important;
  transition: background .15s, color .15s;
}
body.idc-theme footer .social-icons a:hover { background: #2563eb; color: #fff !important; }
body.idc-theme footer .img-card-sm {
  background: #fff; border-radius: 6px; padding: 4px 6px; margin: 0 4px 8px 0;
  height: 28px; width: auto;
}
body.idc-theme footer #form_subscribe input.form-control {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  color: #fff; border-radius: 10px;
}
body.idc-theme footer #form_subscribe input.form-control::placeholder { color: #94a3b8; }

/* Mobile menu button visible */
body.idc-theme #menu-btn { background-color: #0f172a !important; }
body.idc-theme #menu-btn::before,
body.idc-theme #menu-btn::after,
body.idc-theme #menu-btn span { background: #fff !important; }

/* Section spacing nicer */
body.idc-theme #content > section + section { border-top: 0; }

/* Hide possibly-broken legacy tld pricing inside hero (they shouldn't be there) */
body.idc-theme .idc-page-hero .tld-price { color: #2563eb !important; }

/* Buttons inside legacy template within idc */
body.idc-theme .btn-main:not(.idc-btn) {
  background: linear-gradient(135deg,#2563eb,#1d4ed8) !important;
  color: #fff !important; border-radius: 12px !important;
}
