/* ═══════════════════════════════════════
   PORTOFOLIO — GILANG NUR PRASETYO
   style.css
═══════════════════════════════════════ */

/* ── RESET & ROOT ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy:   #0a1628;
  --navy2:  #0f2044;
  --navy3:  #162040;
  --blue:   #1e6fff;
  --blue2:  #4d90ff;
  --cyan:   #00c6ff;
  --white:  #ffffff;
  --light:  #f4f7ff;
  --sky:    #e8f0ff;
  --gray:   #6b7a99;
  --line:   rgba(30,111,255,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--light);
  color: var(--navy);
  overflow-x: hidden;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ══════════════════════════════
   NAV
══════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 0.9rem 5%;
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 20px rgba(30,111,255,0.06);
  transition: padding 0.3s;
}

.nav-logo {
  font-family: 'Syne', sans-serif; font-size: 1.2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; text-decoration: none; letter-spacing: -0.02em;
}

.nav-links { display: flex; gap: 0.2rem; list-style: none; }
.nav-links a {
  padding: 0.4rem 0.9rem; border-radius: 50px;
  font-size: 0.78rem; font-weight: 500; color: var(--gray);
  text-decoration: none; transition: all 0.2s;
}
.nav-links a:hover { background: var(--sky); color: var(--blue); }

.nav-menu-btn {
  display: none; background: none; border: none; cursor: pointer;
  padding: 0.4rem; border-radius: 8px; color: var(--navy);
  align-items: center; justify-content: center;
}
.nav-menu-btn svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; }

/* MOBILE MENU */
.mobile-menu {
  display: none; position: fixed;
  top: 60px; left: 0; right: 0; z-index: 998;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 1rem 5% 1.5rem;
  border-bottom: 1px solid var(--line);
  flex-direction: column; gap: 0.3rem;
  transform: translateY(-10px); opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-menu.open {
  display: flex; transform: translateY(0); opacity: 1;
}
.mobile-menu a {
  padding: 0.85rem 1rem; border-radius: 12px;
  font-size: 0.9rem; font-weight: 600; color: var(--navy);
  text-decoration: none; transition: background 0.2s;
}
.mobile-menu a:hover { background: var(--sky); color: var(--blue); }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  position: relative; overflow: hidden;
  padding: 6rem 5% 4rem;
  display: flex; align-items: center;
}

.hero-blob1 {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,111,255,0.35), transparent 70%);
  top: -150px; right: -100px; pointer-events: none;
  animation: blobMove 9s ease-in-out infinite alternate;
}
.hero-blob2 {
  position: absolute; width: 450px; height: 450px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,198,255,0.2), transparent 70%);
  bottom: -100px; left: -80px; pointer-events: none;
  animation: blobMove 12s ease-in-out infinite alternate-reverse;
}

.hero-inner {
  max-width: 1100px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 420px;
  gap: 3.5rem; align-items: center; position: relative; z-index: 2;
}

/* BADGE */
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(30,111,255,0.15); border: 1px solid rgba(30,111,255,0.3);
  padding: 0.38rem 1rem; border-radius: 50px;
  font-size: 0.7rem; font-weight: 700; color: #7db3ff;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 1.4rem;
  animation: fadeUp 0.55s ease both;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); display: block;
  animation: pulseDot 2s infinite;
}

/* HERO NAME */
.hero-name {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em; color: var(--white);
  margin-bottom: 1.2rem;
  animation: fadeUp 0.55s ease 0.1s both;
}
.hero-name .grad {
  background: linear-gradient(135deg, var(--blue2), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 0.9rem; line-height: 1.85; color: rgba(255,255,255,0.5);
  max-width: 400px; margin-bottom: 2.2rem;
  animation: fadeUp 0.55s ease 0.2s both;
}

.hero-btns {
  display: flex; gap: 0.9rem; flex-wrap: wrap;
  animation: fadeUp 0.55s ease 0.3s both;
}
.btn-primary {
  padding: 0.85rem 1.8rem; border-radius: 50px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white); font-size: 0.82rem; font-weight: 700;
  text-decoration: none; letter-spacing: 0.02em;
  box-shadow: 0 8px 28px rgba(30,111,255,0.38);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(30,111,255,0.52); }

.btn-outline {
  padding: 0.85rem 1.8rem; border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.75); font-size: 0.82rem; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-outline:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.3); }

/* ── CIRCLE PHOTO ── */
.hero-photo-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  animation: fadeUp 0.65s ease 0.18s both;
}

.circle-photo-outer {
  position: relative; width: 340px; height: 340px;
}

/* spinning dashed ring */
.circle-photo-outer::before {
  content: '';
  position: absolute; inset: -14px;
  border-radius: 50%;
  border: 2px dashed rgba(77,144,255,0.35);
  animation: spinRing 18s linear infinite;
}

/* solid glow ring */
.circle-photo-outer::after {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  background: conic-gradient(var(--blue), var(--cyan), var(--blue2), var(--blue));
  opacity: 0.55;
  animation: spinRing 6s linear infinite reverse;
  z-index: 0;
}

.circle-mask {
  position: absolute; inset: 0;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
  border: 3px solid var(--navy2);
  box-shadow: 0 0 0 4px rgba(30,111,255,0.25), 0 20px 60px rgba(0,0,0,0.5);
}

.circle-mask img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}

/* floating tags */
.float-tag {
  position: absolute;
  background: var(--white); border-radius: 12px;
  padding: 0.55rem 1rem;
  display: flex; align-items: center; gap: 0.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  font-size: 0.73rem; font-weight: 700; color: var(--navy);
  white-space: nowrap; z-index: 2;
}
.float-tag svg { width: 15px; height: 15px; flex-shrink: 0; }
.float-tag.t1 { top: 10px; right: -20px; }
.float-tag.t2 { bottom: 10px; left: -20px; }

/* social chips below photo */
.photo-social {
  display: flex; gap: 0.6rem;
}
.photo-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.6);
  text-decoration: none; transition: all 0.2s;
}
.photo-social a:hover { background: rgba(30,111,255,0.25); border-color: var(--blue2); color: var(--white); }
.photo-social a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ══════════════════════════════
   SECTION BASE
══════════════════════════════ */
section { padding: 5.5rem 5%; }
.section-wrap { max-width: 1100px; margin: 0 auto; width: 100%; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.67rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 0.7rem;
}
.eyebrow-line {
  width: 20px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  display: block; flex-shrink: 0;
}
.section-heading {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800; color: var(--navy);
  letter-spacing: -0.02em; margin-bottom: 2.8rem; line-height: 1.15;
}

/* ══════════════════════════════
   BIODATA
══════════════════════════════ */
#biodata { background: var(--white); }

.bio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
.bio-card {
  background: var(--light);
  border: 1px solid rgba(30,111,255,0.1);
  border-radius: 18px; padding: 1.6rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.bio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(30,111,255,0.11);
  border-color: rgba(30,111,255,0.28);
}
.bio-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  box-shadow: 0 5px 16px rgba(30,111,255,0.28);
}
.bio-icon svg {
  width: 22px; height: 22px; stroke: white; stroke-width: 1.8;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.bio-label {
  font-size: 0.63rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gray); margin-bottom: 0.35rem;
}
.bio-value { font-size: 1rem; font-weight: 700; color: var(--navy); }

/* ══════════════════════════════
   HOBI
══════════════════════════════ */
#hobi { background: var(--navy); }
#hobi .section-heading { color: var(--white); }
#hobi .section-eyebrow { color: #7db3ff; }

.hobi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }

.hobi-card {
  border-radius: 22px; padding: 2.3rem;
  position: relative; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s; cursor: default;
}
.hobi-card:hover { transform: translateY(-5px); box-shadow: 0 20px 55px rgba(0,0,0,0.38); }

.hobi-card.card-blue { background: rgba(30,111,255,0.12); border: 1px solid rgba(30,111,255,0.25); }
.hobi-card.card-cyan { background: rgba(0,198,255,0.1); border: 1px solid rgba(0,198,255,0.2); }

.hobi-icon-wrap {
  width: 60px; height: 60px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3rem;
}
.hobi-card.card-blue .hobi-icon-wrap { background: rgba(30,111,255,0.25); }
.hobi-card.card-cyan .hobi-icon-wrap { background: rgba(0,198,255,0.2); }
.hobi-icon-wrap svg { width: 30px; height: 30px; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hobi-card.card-blue .hobi-icon-wrap svg { stroke: #7db3ff; }
.hobi-card.card-cyan .hobi-icon-wrap svg { stroke: #00c6ff; }

.hobi-num { font-size: 0.63rem; font-weight: 800; letter-spacing: 0.2em; color: rgba(255,255,255,0.2); margin-bottom: 0.5rem; }
.hobi-title { font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--white); margin-bottom: 0.7rem; }
.hobi-desc { font-size: 0.79rem; line-height: 1.82; color: rgba(255,255,255,0.48); }

/* ══════════════════════════════
   KONTAK
══════════════════════════════ */
#kontak { background: var(--white); }

.kontak-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.kontak-desc { font-size: 0.87rem; line-height: 2; color: var(--gray); margin-bottom: 2rem; }

.kontak-illustration {
  width: 100%; aspect-ratio: 1; max-width: 300px;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--navy), var(--navy2));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 24px 60px rgba(10,22,40,0.2);
  border: 1px solid rgba(30,111,255,0.15);
}
.kontak-illustration svg { width: 120px; height: 120px; opacity: 0.75; }

.kontak-items { display: flex; flex-direction: column; gap: 0.9rem; }
.kontak-item {
  display: flex; align-items: center; gap: 1.1rem;
  background: var(--light);
  border: 1px solid rgba(30,111,255,0.1);
  border-radius: 16px; padding: 1.3rem 1.5rem;
  text-decoration: none; color: var(--navy);
  transition: all 0.22s;
}
.kontak-item:hover {
  background: var(--sky); border-color: rgba(30,111,255,0.28);
  transform: translateX(5px); box-shadow: 0 8px 22px rgba(30,111,255,0.1);
}
.k-icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.k-icon svg { width: 22px; height: 22px; fill: none; stroke: white; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.k-wa   { background: linear-gradient(135deg, #25d366, #128c7e); }
.k-mail { background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.k-ig   { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.k-meta { flex: 1; }
.k-type { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); margin-bottom: 0.18rem; }
.k-val  { font-size: 0.88rem; font-weight: 700; color: var(--navy); }

.k-arrow { display: flex; align-items: center; color: var(--blue); transition: transform 0.2s; }
.k-arrow svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.kontak-item:hover .k-arrow { transform: translateX(4px); }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  background: var(--navy);
  padding: 2.2rem 5%;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: 0.7rem; color: rgba(255,255,255,0.3); }
.footer-brand {
  font-family: 'Syne', sans-serif; font-weight: 800; font-size: 0.95rem;
  background: linear-gradient(135deg, var(--blue2), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ══════════════════════════════
   ANIMATIONS
══════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes blobMove {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(30px,25px) scale(1.08); }
}
@keyframes spinRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes pulseDot {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,198,255,0.6); }
  50%      { box-shadow: 0 0 0 6px rgba(0,198,255,0); }
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */

/* TABLET */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 360px; gap: 2.5rem; }
  .circle-photo-outer { width: 290px; height: 290px; }
  .bio-grid { grid-template-columns: repeat(2, 1fr); }
  .kontak-layout { gap: 2.5rem; }
  .kontak-illustration { max-width: 220px; }
}

/* MOBILE */
@media (max-width: 768px) {
  nav { padding: 0.85rem 4%; }
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }

  .hero { padding: 5.5rem 4% 4rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-photo-wrap { order: -1; }
  .hero-sub { max-width: 100%; }
  .hero-blob1 { width: 350px; height: 350px; top: -80px; right: -80px; }
  .hero-blob2 { width: 280px; height: 280px; bottom: -60px; left: -60px; }

  .circle-photo-outer { width: 260px; height: 260px; }
  .float-tag.t1 { top: 5px; right: -10px; font-size: 0.67rem; padding: 0.42rem 0.7rem; }
  .float-tag.t2 { bottom: 5px; left: -10px; font-size: 0.67rem; padding: 0.42rem 0.7rem; }

  section { padding: 4rem 4%; }
  .hobi-grid { grid-template-columns: 1fr; }
  .kontak-layout { grid-template-columns: 1fr; gap: 2rem; }
  .kontak-illustration { display: none; }
  footer { flex-direction: column; text-align: center; padding: 2rem 4%; }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
  .hero-name { font-size: 2rem; }
  .hero-badge { font-size: 0.65rem; }
  .btn-primary, .btn-outline { padding: 0.75rem 1.3rem; font-size: 0.78rem; }
  .bio-grid { grid-template-columns: 1fr; }
  .circle-photo-outer { width: 220px; height: 220px; }
  .section-heading { font-size: 1.65rem; }
  .hobi-card { padding: 1.8rem; }
  .hobi-title { font-size: 1.25rem; }
}
