@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy: #0a1628;
  --navy-mid: #122040;
  --navy-light: #1c3058;
  --gold: #c9a84c;
  --gold-light: #e2c97e;
  --gold-dark: #a0792e;
  --white: #f8f9fa;
  --off-white: #eef0f4;
  --text-light: #cbd5e1;
  --text-muted: #94a3b8;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(10,22,40,0.18);
  --shadow-gold: 0 4px 24px rgba(201,168,76,0.18);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
  --navy: #070e1a;
  --navy-mid: #0d1a2e;
  --navy-light: #152540;
  --white: #e8edf4;
  --off-white: #1a2a40;
  --text-light: #94a3b8;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold-light);
}

img {
  max-width: 100%;
  display: block;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--navy);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

/* Navigasi */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  letter-spacing: 0.03em;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dark-toggle {
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}

.dark-toggle:hover {
  background: rgba(201, 168, 76, 0.2);
  transform: rotate(20deg);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  padding: 1rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--text-light);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: var(--transition);
}

.mobile-nav a:hover {
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

/* Tata Letak Konten Umum */
section {
  padding: 6rem 2rem;
  position: relative;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.section-title span {
  color: var(--gold);
}

.section-divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-bottom: 3rem;
}

/* Utama / Beranda */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0d1f3c 100%);
  padding-top: 64px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.hero-text {
  animation: slideInFromLeft 0.8s ease both;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.hero-name .gold {
  color: var(--gold);
}

.hero-title {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 480px;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.badge {
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: var(--gold-light);
  font-size: 0.78rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.75rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.35);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1.75rem;
  border-radius: 100px;
  border: 1px solid rgba(201, 168, 76, 0.5);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-outline:hover {
  background: rgba(201, 168, 76, 0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Foto Profil Utama */
.hero-photo-wrap {
  display: flex;
  justify-content: center;
  animation: slideInFromRight 0.8s ease 0.2s both;
}

.hero-photo-frame {
  position: relative;
  width: 320px;
  height: 320px;
}

.hero-photo-frame::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(201, 168, 76, 0.3);
  animation: spinCycle 12s linear infinite;
}

.hero-photo-frame::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 168, 76, 0.2);
}

/* Jaga rasio foto profil formal (3:4) di bingkai bundar agar tidak gepeng */
.hero-photo {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top; /* Fokus potongan pada area wajah bagian atas */
  border: 4px solid var(--gold);
  box-shadow: 0 0 60px rgba(201, 168, 76, 0.2);
}

.hero-photo-placeholder {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  border: 4px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 5rem;
  box-shadow: 0 0 60px rgba(201, 168, 76, 0.15);
}

.hero-photo-placeholder p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-family: var(--font-body);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.12;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--gold);
  top: -100px;
  right: -100px;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: #1c5fa0;
  bottom: 0;
  left: -50px;
}

/* Tentang Saya */
#tentang {
  background: var(--navy-mid);
}

.tentang-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.tentang-photo-wrap {
  position: relative;
}

.tentang-photo-card {
  background: var(--navy-light);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tentang-photo-card img,
.tentang-photo-card .photo-placeholder {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center center;
}

.tentang-photo-card .photo-placeholder {
  background: linear-gradient(160deg, var(--navy-light), var(--navy));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--gold);
}

.tentang-photo-card .photo-placeholder p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.photo-caption {
  padding: 1rem 1.25rem;
  text-align: center;
}

.photo-caption strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.photo-caption span {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.tentang-block {
  background: var(--navy-light);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.tentang-block:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateX(4px);
}

.tentang-block h3 {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tentang-block p,
.tentang-block ul {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.8;
}

.tentang-block ul {
  list-style: none;
  padding: 0;
}

.tentang-block ul li::before {
  content: '▸';
  color: var(--gold);
  margin-right: 0.5rem;
}

/* Kartu Informasi Biodata */
#biodata {
  background: var(--navy);
}

.biodata-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.biodata-card {
  background: transparent !important;
  border: none !important;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.biodata-card:hover {
  transform: none;
  box-shadow: none;
}

.biodata-icon {
  display: none !important;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  background: transparent !important;
}

.biodata-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.biodata-value {
  font-size: 0.92rem;
  color: var(--white);
  font-weight: 500;
  margin-top: 0.1rem;
}

/* Riwayat Pendidikan */
#pendidikan {
  background: var(--navy-mid);
}

.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(201, 168, 76, 0.1));
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 8px;
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--navy-mid);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.15);
}

.timeline-card {
  background: var(--navy-light);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}

.timeline-card:hover {
  border-color: rgba(201, 168, 76, 0.35);
  transform: translateX(6px);
}

.timeline-period {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.timeline-school {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.timeline-level {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.timeline-badge {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

/* Tingkat Kemampuan / Skill */
#skill {
  background: var(--navy);
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.skill-item {
  margin-bottom: 1.5rem;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.skill-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.skill-pct {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 700;
}

.skill-bar-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Portofolio Proyek */
#proyek {
  background: var(--navy-mid);
}

.proyek-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.proyek-card {
  background: var(--navy-light);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.proyek-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold), var(--gold-dark));
  opacity: 0;
  transition: var(--transition);
}

.proyek-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: var(--shadow-gold);
}

.proyek-card:hover::before {
  opacity: 1;
}

.proyek-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.proyek-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.proyek-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.proyek-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.proyek-tag {
  font-size: 0.72rem;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 0.2rem 0.55rem;
  border-radius: 100px;
}

/* Galeri Portfolio */
#galeri {
  background: var(--navy);
}

.galeri-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.galeri-tab {
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.2);
  color: var(--text-muted);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.galeri-tab.active,
.galeri-tab:hover {
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
  border-color: var(--gold);
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.galeri-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--navy-light);
}

/* Jaga kualitas visual gambar galeri */
.galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.galeri-item:hover img {
  transform: scale(1.05);
}

.galeri-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 2.5rem;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  border: 1px solid rgba(201, 168, 76, 0.1);
}

.galeri-placeholder span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.galeri-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  padding: 1rem;
  text-align: center;
}

.galeri-item:hover .galeri-overlay {
  opacity: 1;
}

.galeri-overlay-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.galeri-overlay-cat {
  font-size: 0.75rem;
  color: var(--gold);
}

/* Kontak Saya */
#kontak {
  background: var(--navy-mid);
}

.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.kontak-intro h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.kontak-intro p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.kontak-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.kontak-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--navy-light);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  transition: var(--transition);
  text-decoration: none;
}

.kontak-item:hover {
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateX(6px);
  box-shadow: var(--shadow-gold);
}

.kontak-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--white);
  flex-shrink: 0;
}

.kontak-item-icon.email { background: rgba(234, 88, 12, 0.15); color: #ea580c; }
.kontak-item-icon.wa { background: rgba(37, 211, 102, 0.15); color: #25d366; }
.kontak-item-icon.ig { background: rgba(214, 41, 118, 0.15); color: #d62976; }
.kontak-item-icon.gh { background: rgba(255, 255, 255, 0.1); color: var(--white); }

.kontak-item-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.kontak-item-value {
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 500;
}

.kontak-form {
  background: var(--navy-light);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.kontak-form h3 {
  font-family: var(--font-display);
  color: var(--white);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--navy);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Kaki Halaman / Footer */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 2rem;
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.6);
}

.footer-copy span {
  color: var(--gold);
}

/* Tombol Kembali ke Atas */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 500;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.5);
}

/* Efek Animasi Transisi */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger > * {
  transition-delay: calc(var(--i, 0) * 0.1s);
}

@keyframes slideInFromLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInFromRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes spinCycle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsif */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-text { order: 2; }
  .hero-photo-wrap { order: 1; }
  .hero-desc { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-badges { justify-content: center; }
  .tentang-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .kontak-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 600px) {
  section { padding: 4rem 1.25rem; }
  .hero-photo-frame, .hero-photo, .hero-photo-placeholder { width: 240px; height: 240px; }
  .biodata-card-grid { grid-template-columns: 1fr; }
  .proyek-grid { grid-template-columns: 1fr; }
  .galeri-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}