/*
Theme Name: Slamet Tech
Theme URI: https://example.com/
Author: Slamet Tech
Author URI: https://example.com/
Description: Tema ringan untuk Slamet Tech (Hosting, VPS, VPN, Internet, Managed Service). Dibuat untuk kompatibel dengan Elementor Pro.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: slamet-tech
Tags: custom-logo, custom-menu, featured-images, full-width-template, elementor
*/

/* Basic reset & variables */
:root {
  --st-primary: #1070b0;
  --st-primary-dark: #0c5484;
  --st-primary-light: #63a2cb;
  --st-accent: #00ad5f;
  --st-text: #0f172a;
  --st-muted: #64748b;
  --st-border: #e5e7eb;
  --st-bg: #ffffff;
  --st-bg-soft: #f6f8fb;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--st-text);
  background: var(--st-bg);
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--st-primary-dark); }

.st-container {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.st-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229,231,235,.9);
}

.st-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.st-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .2px;
}
.st-brand img {
  height: 38px;
  width: auto;
  display: block;
}

.st-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.st-nav a {
  font-weight: 600;
  color: #0b2340;
  opacity: .9;
}
.st-nav a:hover { color: var(--st-primary-dark); }

/* Menu */
.st-menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:18px;
}
.st-menu > li{ position:relative; }
.st-menu a{ text-decoration:none; display:inline-flex; align-items:center; padding:6px 4px; }
.st-menu .sub-menu{
  list-style:none;
  margin:0;
  padding:10px;
  min-width:220px;
  position:absolute;
  left:0;
  top:calc(100% + 10px);
  background:#fff;
  border:1px solid var(--st-border);
  border-radius:12px;
  box-shadow:0 18px 40px rgba(2,6,23,.12);
  display:none;
  z-index:50;
}
.st-menu .sub-menu li a{ padding:8px 10px; width:100%; }
.st-menu li:hover > .sub-menu{ display:block; }

@media (max-width: 900px){
  .st-nav{ flex-wrap:wrap; justify-content:center; }
  .st-menu{ flex-wrap:wrap; justify-content:center; gap:12px; }
  .st-menu .sub-menu{ position:static; box-shadow:none; border-radius:10px; }
  .st-menu li:hover > .sub-menu{ display:block; }
}


.st-header-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}
.st-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--st-border);
  background: #fff;
  font-weight: 700;
  cursor: pointer;
}
.st-btn--primary {
  background: linear-gradient(135deg, var(--st-primary), var(--st-primary-dark));
  border-color: transparent;
  color: #fff;
}
.st-btn--primary:hover { filter: brightness(.98); }

.st-hero {
  background:
    radial-gradient(1200px 420px at 25% 20%, rgba(99,162,203,.35), rgba(99,162,203,0) 55%),
    linear-gradient(180deg, rgba(16,112,176,.08), rgba(16,112,176,0) 55%),
    var(--st-bg);
  padding: 46px 0 28px;
}
.st-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
  align-items: start;
}
.st-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.12;
}
.st-hero p {
  margin: 0;
  color: var(--st-muted);
  font-size: 16px;
  line-height: 1.6;
}

.st-status-card {
  background: #fff;
  border: 1px solid var(--st-border);
  border-radius: 16px;
  box-shadow: 0 16px 35px rgba(2, 6, 23, .08);
  overflow: hidden;
}
.st-status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--st-border);
}
.st-status-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.st-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--st-accent);
  box-shadow: 0 0 0 4px rgba(0,173,95,.15);
}
.st-status-meta {
  font-size: 12px;
  color: var(--st-muted);
}
.st-status-list {
  max-height: 260px; /* jika > 5 item, akan scroll */
  overflow: auto;
}
.st-row {
  display: grid;
  grid-template-columns: 1.4fr .9fr .8fr;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(229,231,235,.7);
}
.st-row:last-child { border-bottom: 0; }
.st-srv-name { font-weight: 750; }
.st-srv-ip { font-size: 12px; color: var(--st-muted); margin-top: 2px; }
.st-pill {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(229,231,235,.9);
  font-weight: 800;
  font-size: 12px;
}
.st-pill .lamp {
  width: 9px; height: 9px; border-radius: 999px;
  background: #94a3b8;
}
.st-pill--up .lamp { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.15); }
.st-pill--down .lamp { background: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,.15); }
.st-pill--warn .lamp { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245,158,11,.15); }

.st-latency {
  font-weight: 800;
  text-align: right;
}
.st-latency small {
  display: block;
  color: var(--st-muted);
  font-weight: 600;
  margin-top: 2px;
}

.st-section {
  padding: 38px 0;
}
.st-section h2 {
  margin: 0 0 14px;
  font-size: 26px;
}
.st-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.st-card {
  background: #fff;
  border: 1px solid var(--st-border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(2,6,23,.06);
}
.st-card strong { display: block; margin-bottom: 6px; }
.st-card p { margin: 0; color: var(--st-muted); font-size: 13px; line-height: 1.5; }

.st-site-footer {
  background: #071a2c;
  color: rgba(255,255,255,.9);
  padding: 26px 0;
  margin-top: 30px;
}
.st-site-footer a { color: rgba(255,255,255,.9); }
.st-foot-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 18px;
  align-items: start;
}
.st-foot-muted { color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.6; }

@media (max-width: 980px) {
  .st-hero-grid { grid-template-columns: 1fr; }
  .st-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .st-grid-5 { grid-template-columns: 1fr; }
  .st-nav { display: none; }
}
