/* Stylesheet situs personal Suharyadi */
:root {
  --bg: #f5f7fa;
  --bg-alt:#ffffff;
  --text:#1f2329;
  --muted:#5a6573;
  --accent:#0b4f6c;
  --accent-alt:#136d91;
  --border:#d7dde3;
  --radius:16px;
  --shadow:0 6px 24px -8px rgba(0,0,0,.15);
}
.dark {
  --bg:#111418;
  --bg-alt:#1c2329;
  --text:#e9eef3;
  --muted:#94a3b3;
  --accent:#1d7aa6;
  --accent-alt:#2893c4;
  --border:#2e3a44;
  --shadow:0 6px 24px -8px rgba(0,0,0,.6);
}
html {scroll-behavior:smooth}
body {margin:0;font-family:'Inter',system-ui,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.5;-webkit-font-smoothing:antialiased}
* {box-sizing:border-box}
.site-header {position:sticky;top:0;z-index:60;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:linear-gradient(110deg,var(--accent),var(--accent-alt));color:#fff}
@media (min-width:768px){.site-header{padding:14px 38px}}
.site-header .logo {font-size:20px;font-weight:600;letter-spacing:.5px}
.main-nav ul {display:flex;list-style:none;margin:0;padding:0;gap:20px}
.main-nav a {color:#fff;text-decoration:none;font-size:14px;font-weight:500;position:relative}
.main-nav a:after {content:"";position:absolute;left:0;bottom:-4px;height:2px;width:0;background:#fff;transition:.3s}
.main-nav a:hover:after {width:100%}
.nav-toggle {display:none;background:none;border:none;color:#fff;font-size:22px;cursor:pointer}
.actions {display:flex;align-items:center;gap:8px;flex-wrap:wrap}
@media (min-width:600px){.actions{gap:14px}}
.actions .btn {background:#fff;color:var(--accent);padding:8px 16px;border-radius:30px;font-size:13px;font-weight:600;text-decoration:none;transition:.3s;box-shadow:0 2px 8px rgba(0,0,0,.15)}
.actions .btn:hover {background:#e9eef3}
#modeToggle {background:#fff;color:var(--accent);border:none;padding:8px 14px;border-radius:50%;cursor:pointer;font-size:16px;box-shadow:0 2px 8px rgba(0,0,0,.25);transition:.3s}
#modeToggle:hover {transform:rotate(-15deg)}
.hero {padding:60px 16px 50px;background:radial-gradient(circle at 30% 20%,#136d91 0%,#0b4f6c 55%,#083b50 100%);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
@media (min-width:768px){.hero{padding:110px 38px 80px}}
.hero-content {max-width:840px;width:100%}
.hero h1 {margin:0 0 14px;font-size:26px;line-height:1.2;font-weight:700}
@media (min-width:768px){.hero h1{font-size:42px;margin:0 0 18px}}
.tagline {font-size:15px;margin:0 auto 10px;max-width:760px;opacity:.92;line-height:1.45}
@media (min-width:768px){.tagline{font-size:18px;margin:0 auto 12px}}
.hero-buttons {display:flex;justify-content:center;gap:12px;flex-wrap:wrap;width:100%}
@media (min-width:600px){.hero-buttons{gap:18px}}
.btn {cursor:pointer}
.btn.primary {background:#fff;color:var(--accent);border:none;padding:12px 24px;border-radius:40px;font-size:14px;font-weight:600;box-shadow:0 4px 16px -4px rgba(0,0,0,.3);transition:.35s;text-decoration:none}
@media (min-width:600px){.btn.primary{padding:14px 30px;font-size:15px}}
.profile-photo{width:120px;height:auto;border-radius:10px;box-shadow:0 4px 14px rgba(0,0,0,.25);object-fit:cover;display:block}
@media (min-width:768px){.profile-photo{width:140px}}
.hero-photo{display:flex;align-items:center;justify-content:center;margin-bottom:20px}
@media (min-width:768px){.hero-photo{margin-right:40px;margin-bottom:0}}
@media (min-width:768px){.hero{flex-direction:row}}
.skip-link{position:absolute;top:-50px;left:0;background:var(--accent);color:#fff;padding:8px 14px;z-index:100;transition:top .3s;font-weight:600}
.skip-link:focus{top:10px}
.lang-switch{color:#fff;margin-right:14px;text-decoration:none;font-weight:600;border:2px solid rgba(255,255,255,.6);padding:6px 14px;border-radius:30px;font-size:13px;transition:.25s}
.lang-switch:hover,.lang-switch:focus{background:#fff;color:var(--accent)}
@media print{body{background:#fff;font-size:12pt}.site-header,.site-footer,.hero-buttons,.actions,.skip-link,.back-top,.lang-switch,#modeToggle,.download-links{display:none!important}.hero{padding:20px 0;min-height:auto}.hero-content h1{font-size:18pt}.panel{page-break-inside:avoid;margin-bottom:20px}.panel h2{font-size:14pt;margin:14px 0 8px}}
.btn.primary:hover {transform:translateY(-4px)}
.btn.outline {background:transparent;color:#fff;border:2px solid #fff;padding:12px 28px;border-radius:40px;font-size:15px;font-weight:600;transition:.35s}
.btn.outline:hover {background:#fff;color:var(--accent)}
main {max-width:1100px;margin:0 auto;padding:10px 16px 50px}
@media (min-width:768px){main{padding:10px 38px 60px}}
.panel {background:var(--bg-alt);margin:28px 0 0;padding:20px 16px;border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid var(--border);position:relative;overflow:hidden}
@media (min-width:768px){.panel{margin:46px 0 0;padding:34px 38px}}
.panel:before {content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(120deg,rgba(19,109,145,.08),rgba(11,79,108,.08));mix-blend-mode:overlay}
.panel h2 {margin:0 0 18px;font-size:24px;letter-spacing:.5px;background:linear-gradient(90deg,var(--accent),var(--accent-alt));-webkit-background-clip:text;background-clip:text;color:transparent}
.panel p {margin:0 0 16px;font-size:15px}
.chips {display:flex;flex-wrap:wrap;gap:10px}
.chips span {background:var(--accent);color:#fff;padding:8px 14px;border-radius:30px;font-size:12px;font-weight:500;letter-spacing:.4px;box-shadow:0 3px 12px -4px rgba(0,0,0,.35)}
.timeline {display:grid;gap:24px}
.timeline-item {background:var(--bg-alt);border:1px solid var(--border);border-radius:14px;padding:18px 22px;box-shadow:0 4px 14px -6px rgba(0,0,0,.18);position:relative}
.timeline-header {display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
@media (min-width:600px){.timeline-header{flex-wrap:nowrap;align-items:center}}
.timeline-header h3 {margin:0;font-size:17px;font-weight:600;color:var(--accent-alt)}
.period {font-size:12px;color:var(--muted);letter-spacing:.4px}
.timeline-item .toggle {background:var(--accent);color:#fff;border:none;border-radius:8px;padding:6px 10px;font-size:12px;cursor:pointer;transition:.3s}
.timeline-item .toggle:hover {background:var(--accent-alt)}
.timeline-item ul {list-style:disc;margin:14px 0 0 22px;padding:0;font-size:14px;line-height:1.35;display:none}
.timeline-item.open ul {display:block;animation:fade .4s}
@keyframes fade {from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
.cards {display:grid;grid-template-columns:1fr;gap:16px}
@media (min-width:600px){.cards{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:22px}}
.card {background:var(--bg-alt);border:1px solid var(--border);border-radius:18px;padding:20px 22px;position:relative;overflow:hidden;box-shadow:0 6px 18px -8px rgba(0,0,0,.25);transition:.35s}
.card:before {content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(135deg,rgba(11,79,108,.08),rgba(19,109,145,.08));opacity:0;transition:.35s}
.card:hover {transform:translateY(-6px)}
.card:hover:before {opacity:1}
.card h3 {margin:0 0 10px;font-size:15px;letter-spacing:.3px;color:var(--accent)}
.card p {margin:0;font-size:13.5px;line-height:1.35}
.filter-label {display:block;font-size:12px;font-weight:600;color:var(--accent);letter-spacing:.5px;margin-bottom:6px;text-transform:uppercase}
#skillFilter {width:100%;padding:12px 16px;border:1px solid var(--border);border-radius:12px;font-size:14px;background:#fff;color:var(--text);margin:0 0 20px}
.skills {display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:26px}
.skill-cat h3 {margin:0 0 10px;font-size:14px;letter-spacing:.4px;color:var(--accent-alt);text-transform:uppercase}
.skill-cat ul {margin:0;padding:0;list-style:none;display:grid;gap:6px}
.skill-cat li {background:var(--bg);border:1px solid var(--border);padding:8px 12px;font-size:13px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;transition:.3s}
.skill-cat li:hover {background:var(--accent);color:#fff;border-color:var(--accent)}
.two-col {display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:40px}
.note {font-size:12px;color:var(--muted)}
.site-footer {margin:60px 0 0;padding:40px 38px;text-align:center;font-size:13px;color:var(--muted)}
.back-top {position:fixed;bottom:26px;right:26px;background:var(--accent);color:#fff;text-decoration:none;padding:12px 14px;border-radius:50%;font-size:14px;box-shadow:0 4px 16px -6px rgba(0,0,0,.4);transition:.3s}
.back-top:hover {background:var(--accent-alt);transform:translateY(-4px)}
@media (max-width:860px){
  .main-nav ul{position:absolute;top:58px;right:16px;flex-direction:column;background:var(--accent);padding:16px 20px;border-radius:12px;box-shadow:0 6px 18px -6px rgba(0,0,0,.5);display:none;min-width:150px}
  .main-nav.open ul{display:flex}
  .main-nav ul li{width:100%}
  .nav-toggle{display:block}
}
@media (prefers-reduced-motion: reduce){
  *{animation:none!important;transition:none!important}
}
