:root {
  --mainColor : #000000;
  --secondaryColor : #2563eb;
  --acsentColor : #0000ff;
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #2563eb;
  --main2Color : #0f172a;
}

body {
  background-color: var(--mainColor);
  min-height: 900px;
  font-family: 'Ubuntu', sans-serif;
  margin: 0;
  padding: 0;
}

/* ================= NAVBAR ================= */
.site-header {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 23, 42, 0.7);
  animation: fadeDown .8s ease;
}

.nav {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  transition: color .3s;
}
.brand:hover { color: var(--accent); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.nav-links a {
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--muted);
  transition: background .3s, color .3s;
}
.nav-links a.active,
.nav-links a:hover {
  background: rgba(37, 99, 235, 0.15);
  color: var(--accent);
}

/* ================= HERO SECTION ================= */
.color-acsent {
  color: var(--acsentColor);
}

#hero {
  color: #fff;
  min-height: 100vh;
  margin-top: 100px;
}

#hero h1 {
  font-size: 3rem;
}

#hero h2 {
  font-weight: 300;
}

#hero p {
  font-size: 1.1rem;
  font-weight: 300;
}

.btn-custom1 {
  background-color: var(--acsentColor);
  text-align: center;
  color: #fff;
  min-width: 150px;
  height: 45px;
  font-weight: 700;
  font-size: 1.2rem;
}

.btn-custom1:hover {
  box-shadow: 0 0 5px rgba(0, 0, 255, 1);
}

.social-icon {
  margin-right: .2em;
  margin-bottom: 10px;
}

ion-icon {
  font-size: 23px;
}

/* ================= SOCIAL ICONS ================= */
.social-wrapper {
  margin-top: 18px;             /* jarak ideal di semua layar */
  display: flex;
  justify-content: center;      /* selalu di tengah */
  align-items: center;
  gap: 14px;                    /* jarak antar ikon */
  flex-wrap: wrap;
}

.social-icon {
  font-size: 28px;
  color: var(--text);
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: var(--acsentColor);
  transform: translateY(-3px);
}

/* ================= ABOUT SECTION ================= */
.text-about {
  color: var(--accent);
}

.text-about2 {
  color: var(--text);
}

#about {
  min-height: 300px;
  width: 90%;
  margin: 50px auto 10px auto;
  border-radius: 30px;
  background-color: var(--main2Color);
  color: #fff;
  padding-top: 50px;
  padding-bottom: 5px;
}

#about p {
  text-align: center;
}

/* ================= SKILL SECTION ================= */
#skill {
  min-height: 100px;
  width: 90%;
  margin: 30px auto;
  border-radius: 30px;
  background-color: var(--main2Color);
  text-align: center;
}

#skill img {
  width: 12%;
  margin: 10px;
}

#skill h2 {
  color: #fff;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }