
/*==================== 🅰️ FONT GOOGLE (POPINS) ====================*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

/*==================== 🎨 VARIABEL CSS GLOBAL ====================*/
:root {
  /* 🔝 Ukuran Tinggi Header Navigasi */
  --header-height: 3rem;

  /* 🌈 Warna Dasar (Mode Terang) */
  --hue-color: 225;
  --first-color: hsl(var(--hue-color), 69%, 61%);
  --first-color-second: hsl(var(--hue-color), 69%, 61%);
  --first-color-alt: hsl(var(--hue-color), 57%, 53%);
  --first-color-lighter: hsl(var(--hue-color), 92%, 85%);

  /* 📝 Warna Teks & Latar */
  --title-color: hsl(var(--hue-color), 8%, 15%);
  --text-color: hsl(var(--hue-color), 8%, 45%);
  --text-color-light: hsl(var(--hue-color), 8%, 65%);
  --input-color: hsl(var(--hue-color), 70%, 96%);
  --body-color: hsl(var(--hue-color), 60%, 99%);
  --container-color: #fff;

  /* 🖱️ Warna Scrollbar */
  --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 80%);

  /* 🔠 Tipografi (Font & Ukuran) */
  --body-font: 'Poppins', sans-serif;
  --big-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  /* 🔡 Ketebalan Font */
  --font-medium: 500;
  --font-semi-bold: 600;

  /* 📏 Ukuran Margin Bawah (Spacing) */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  /* 🧭 Layering (Tata Letak Tingkatan) */
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/*==================== 💻 VARIABEL UNTUK LAYAR LEBAR (DESKTOP) ====================*/
@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 3rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

/*==================== 🌑 VARIABEL MODE GELAP (DARK THEME) ====================*/
:root.dark-theme {
  --first-color-second: hsl(var(--hue-color), 30%, 8%);
  --title-color: hsl(var(--hue-color), 8%, 95%);
  --text-color: hsl(var(--hue-color), 8%, 75%);
  --input-color: hsl(var(--hue-color), 29%, 16%);
  --body-color: hsl(var(--hue-color), 28%, 12%);
  --container-color: hsl(var(--hue-color), 29%, 16%);
  --scroll-bar-color: hsl(var(--hue-color), 12%, 48%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 36%);
}




/*==================== 🔄 BASE RESET ====================*/
/* ✨ Reset default elemen bawaan browser: margin, padding, font, dll */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

/* 🌐 Smooth scroll untuk semua halaman */
html {
  scroll-behavior: smooth;
}

/* 🧍‍♂️ Body: font utama, ukuran dasar, warna latar dan teks */
body {
  margin: 0 0 var(--header-height) 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  transition: background-color 0.6s ease, color 0.6s ease;
  animation: fadeInBody 1.2s ease-out;
}

/* 📝 Judul: warna dan berat font */
h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  transition: color 0.6s ease;
  -webkit-transition: color 0.6s ease;
  -moz-transition: color 0.6s ease;
  -ms-transition: color 0.6s ease;
  -o-transition: color 0.6s ease;
}

/* 📋 Daftar tanpa bullet */
ul {
  list-style: none;
}

/* 🔗 Link tanpa garis bawah */
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* 🖼️ Gambar responsif dan animasi hover */
img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

img:hover {
  transform: scale(1.02);
}




/*==================== 📦 SECTION STYLE ====================*/
/* 📁 Struktur umum section halaman (jarak & animasi masuk) */
.section {
  padding: 2rem 0 4rem; /* Atas 2rem, bawah 4rem */
  animation: fadeUp 0.8s ease both; /* Animasi masuk dari bawah */
}

/* 🏷️ Judul besar section (misal: "Tentang Saya") */
.section__title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  text-align: center;
  margin-bottom: var(--mb-0-75);
}

/* 📝 Subtitle/deskripsi kecil di bawah judul */
.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-3);
  text-align: center;
  color: var(--text-color-light);
}



/*==================== 📐 LAYOUT STRUCTURE ====================*/
/* 🎯 Tujuan: Mengatur struktur layout dasar seperti container dan grid */

/* 📦 .container = Wadah utama agar konten tetap berada dalam lebar ideal */
.container {
  max-width: 768px; /* Maksimal lebar agar nyaman di desktop */
  margin-left: var(--mb-1-5); /* Spasi sisi kiri */
  margin-right: var(--mb-1-5); /* Spasi sisi kanan */
  transition: background-color 0.6s ease, color 0.6s ease; /* Efek transisi (mode gelap/terang) */
}

/* 🔲 .grid = Sistem grid dasar */
.grid {
  display: grid; /* Mengaktifkan grid */
  gap: 1.5rem;    /* Jarak antar kolom/baris */
}



/*==================== 🧰 UTILITY CLASSES ====================*/
/* 🎯 Tujuan: Kelas serbaguna (utility) untuk pemakaian cepat */

/* 🔤 Text alignment */
.text-center { text-align: center; }

/* 📏 Margin & Padding */
.mt-1 { margin-top: var(--mb-1); }
.mb-2 { margin-bottom: var(--mb-2); }
.p-1  { padding: var(--mb-1); }

/* 🟦 Border radius */
.rounded { border-radius: 0.5rem; }



/*==================== 📐 GRID RESPONSIVE ====================*/
/* 🔲 .col-2 = Membagi kolom menjadi 2 bagian sama rata */
.col-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* 🔳 .col-3 = Membagi kolom menjadi 3 bagian sama rata */
.col-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* 🖥️ Responsive Grid untuk layar ≥768px */
@media screen and (min-width: 768px) {
  .grid-md {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dua kolom */
    gap: 2rem; /* Jarak antar kolom/baris */
  }
}



/*==================== 🖱️ SCROLLBAR CUSTOM ====================*/
/* Mengatur tampilan scrollbar di browser berbasis WebKit (Chrome, Edge, Safari) */

/* 🧵 Lebar scrollbar */
body::-webkit-scrollbar {
  width: 0.5rem;
}

/* 🪟 Track (jalur di belakang scroll thumb) */
body::-webkit-scrollbar-track {
  background: var(--scroll-bar-color); /* Warna jalur scrollbar */
}

/* 🔘 Thumb (bagian yang bisa digeser) */
body::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color); /* Warna thumb */
  border-radius: 1rem; /* Membuat ujung thumb membulat */
}



/*==================== 🎞️ ANIMASI PREMIUM MASUK ====================*/
/* ✨ Efek animasi halus saat elemen muncul di layar */

@keyframes fadeInBody {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Untuk elemen-elemen section yang muncul dari bawah */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Kelas bantu reveal ketika menggunakan JavaScript (observer) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/*==================== CURSOR PUTIH ====================*/
body {
  cursor: none !important;
}


/*==================== WAVING HAND ====================*/
/* Digunakan misalnya pada emoji 👋 di bagian perkenalan */
.wave {
  animation-name: wave-animation;
  animation-duration: 2.5s;
  animation-iteration-count: infinite;
  transform-origin: 70% 70%;
  display: inline-block;
}

@keyframes wave-animation {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(14deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% {
    transform: rotate(10deg);
  }
  60% {
    transform: rotate(0deg);
  }
  100% { transform: rotate(0deg); }
}



/*==================== 🌗 TOGGLE DARK/LIGHT MODE PREMIUM PRO ====================*/
/* 💡 Toggle bergaya iOS Pro dengan efek glow, refleksi, dan transisi mewah */

.nav__btns {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* 🌙 Container toggle */
.theme-switch {
  position: relative;
  display: inline-block;
  width: 64px;
  height: 34px;
  margin-right: var(--mb-1);
  -webkit-tap-highlight-color: transparent;
}

/* 🔒 Sembunyikan checkbox asli */
.theme-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* 🟫 Track toggle (jalur latar) */
.slider {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1; /* slate-200 */
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.1),
    0 2px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* ⚪️ Thumb (bulatan) */
.slider::before {
  content: "";
  position: absolute;
  height: 26px;
  width: 26px;
  left: 4px;
  top: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.2),
    0 0 6px rgba(255, 255, 255, 0.4);
  transition: transform 0.4s ease, box-shadow 0.3s ease;
  z-index: 2;
}

/* 🌌 Aktif (dark mode ON) */
input:checked + .slider {
  background: linear-gradient(145deg, #2563eb, #1e3a8a); /* Biru iPhone */
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
}

input:checked + .slider::before {
  transform: translateX(30px);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.4),
    0 0 12px rgba(59, 130, 246, 0.6);
}

/* ==================== 🌙🌞 IKON DALAM TOGGLE ==================== */
.slider .icon {
  position: absolute;
  width: 18px;
  height: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.88;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
  transition: transform 0.3s ease;
}

.slider .icon.left {
  left: 6px;
  color: #facc15; /* Kuning terang */
}

.slider .icon.right {
  right: 6px;
  color: #a5b4fc; /* Ungu lembut */
}

/* ==================== ✨ TRANSISI BODY ==================== */
html.theme-transition, body {
  transition: background-color 0.6s ease, color 0.6s ease;
}

/* 🧠 Responsif */
@media (max-width: 480px) {
  .theme-switch {
    width: 52px;
    height: 28px;
  }

  .slider::before {
    height: 22px;
    width: 22px;
    top: 3px;
    left: 3px;
  }

  input:checked + .slider::before {
    transform: translateX(24px);
  }
}

/* 🧘 Motion-friendly (aksesibilitas) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
  }
}

.theme-switch:hover .slider::before {
  box-shadow: 0 4px 8px rgba(0,0,0,0.25), 0 0 8px rgba(255,255,255,0.6);
}

/*==================== 🔝 NAVIGASI UTAMA (HEADER) ====================*/

/* 📦 .nav = kontainer utama menu navigasi (dalam header) */
.nav {
  max-width: 968px; /* Lebar maksimal untuk posisi tengah */
  height: var(--header-height); /* Tinggi sesuai variabel */
  margin: 0 auto; /* Tengah horizontal */
  display: flex; /* Flex agar menu kiri-kanan */
  justify-content: space-between; /* Jarak antar elemen kiri & kanan */
  align-items: center; /* Tengah secara vertikal */
  padding: 0 1rem; /* Spasi kiri-kanan */
}



/*==================== 🔗 LINK MENU NAVIGASI ====================*/

/* 🌐 Menu navbar (Home, About, dll) */
.nav__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: var(--small-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
  transition: color 0.3s ease, transform 0.3s ease;
  padding: 0.5rem 0.75rem;
  letter-spacing: 0.3px;
}

/* 🌈 Underline animasi gradasi premium */
.nav__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #f9d423, #ff4e50);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
  opacity: 0.9;
}

/* 🎯 Hover efek naik lembut + warna terang */
.nav__link:hover {
  color: var(--first-color); /* warna utama agar tidak hilang di light mode */
  transform: translateY(-2px);
}

/* 🌙 Dark mode hover tetap putih */
.dark-theme .nav__link:hover {
  color: #ffffff;
}

/* ✨ Aktifkan garis bawah saat hover atau aktif */
.nav__link:hover::after,
.nav__link.active-link::after {
  transform: scaleX(1);
}

/* 🌟 Warna teks saat aktif */
.nav__link.active-link {
  color: var(--first-color);
}
.dark-theme .nav__link.active-link {
  color: #ffffff;
}


/*==================== ✅ LOGO & VERIFIED BADGE ====================*/

/* 🏷️ Logo utama dan tombol toggle */
.nav__logo,
.nav__toggle {
  color: var(--title-color);           /* Warna sesuai tema */
  font-weight: var(--font-medium);    /* Tebal sedang */
  font-size: 1.1rem;                  /* Ukuran sedikit lebih besar */
}

/* 🌈 Hover gradasi premium untuk ikon toggle menu */
.nav__toggle:hover .nav__icon-img {
  background: linear-gradient(90deg, #f9d423, #ff4e50);
  padding: 0.35rem;
  border-radius: 50%;
  animation: pulseGlowMenu 1.4s infinite ease-in-out;
  transition: all 0.3s ease-in-out;
  filter: brightness(1.1);
}


/* 🌙 Dark mode: warna tetap terang dan jelas */
.dark-theme .nav__toggle:hover .nav__icon-img {
  filter: brightness(1.2) invert(1);
  animation: pulseGlowMenu 1.4s infinite ease-in-out;
}



/* ✔️ Lencana verifikasi premium */
.verified-badge {
  display: inline-block;              /* Sejajar dengan teks */
  margin-left: 6px;                   /* Jarak dengan teks */
  width: 16px;
  height: 16px;
  border-radius: 50%;                 /* Bulat penuh */
  background: linear-gradient(135deg, #1DA1F2, #0d8ddf); /* Biru gradasi */
  position: relative;
  box-shadow: 0 0 8px rgba(29, 161, 242, 0.6); /* Efek glow */
  animation: pulseGlow 1.6s infinite ease-in-out; /* Animasi denyut */
  vertical-align: middle;
  transform: translateY(-1px);        /* Sedikit naik sejajar huruf */
}

/* ✔️ Ikon centang di dalam badge (menggunakan Font Awesome) */
.verified-badge::before {
  content: '\f00c';                   /* Unicode ikon centang FA */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: white;
  font-size: 0.75rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);  /* Pusatkan */
}

/* ✨ Animasi glow berdenyut untuk badge */
@keyframes pulseGlowMenu {
  0% {
    box-shadow: 0 0 0 rgba(255, 78, 80, 0.0);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 10px rgba(255, 78, 80, 0.6),
                0 0 20px rgba(255, 78, 80, 0.3);
    transform: scale(1.1);
  }
  100% {
    box-shadow: 0 0 0 rgba(255, 78, 80, 0.0);
    transform: scale(1);
  }
}


/*==================== 📱 MOBILE MENU (Versi Geser dari Kanan) ====================*/
/* 💡 Navigasi samping khas iOS Pro, hanya aktif di layar kecil */
@media screen and (max-width: 767px) {
  /* 📦 Container menu navigasi mobile */
.nav__menu {
  position: fixed;
  top: 5rem; /* ✅ Sedikit di bawah navbar (sekitar 64px) */
  right: -85%; /* ✅ Sembunyikan dulu di kanan */
  width: 100%; /* ✅ Lebih ramping dari sebelumnya */
  max-width: 100px;
  height: auto; /* ✅ Sesuai isi saja */
  background: rgba(255, 255, 255, 0.95);
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.05);
  padding: 1.2rem 1rem;
  z-index: 1000;
  border-radius: 1.5rem 0 1rem 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: right 0.35s ease-in-out, opacity 0.3s ease;
  opacity: 0;
  overflow-y: auto;
}

/* ✅ Saat dibuka */
.nav__menu.show-menu {
  right: 0;
  opacity: 1;
  animation: slideInMenu 0.35s ease-out;
}

  /* 🔁 Animasi geser dari kanan */
    @keyframes slideInRight {
    0% { transform: translateX(100%); }
    100% { transform: translateX(0); }
  }

  /* 📋 Daftar menu disusun vertikal */
.nav__list {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    animation: fadeInMenu 0.5s ease-out both;
  }

  /* ✨ Fade-in animasi menu item */
/* ✅ Animasi masuk */
@keyframes slideInMenu {
  0% {
    transform: translateX(60%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

  /* 🔗 Gaya link menu */
  .nav__link {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    transition: color 0.3s ease, transform 0.3s ease;
  }

  .nav__link:hover {
    color: var(--first-color);
    transform: translateX(4px);
  }

  .nav__link:active {
    transform: scale(0.97);
    opacity: 0.85;
  }

  .nav__link:focus-visible {
    outline: 2px solid var(--first-color);
    outline-offset: 4px;
  }

  /* 📷 Ikon menu */
  .nav__icon-img {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.8rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
  }

  .nav__link:hover .nav__icon-img {
    transform: scale(1.15);
  }

  /* 🌙 Dark mode */
  .dark-theme .nav__menu {
    background: rgba(24, 24, 24, 0.9);
    backdrop-filter: blur(10px);
  }

  .dark-theme .nav__icon-img {
    filter: brightness(0) invert(1);
  }
}





/* ==================== 🧢 HEADER ==================== */
/* Pengaturan untuk elemen header agar tetap di atas layar (sticky) dan responsif */

.header {
  width: 100%;
  position: fixed;                       /* Tetap di atas layar */
  top: 0;
  left: 0;
  z-index: var(--z-fixed);              /* Di atas semua konten */
  background-color: var(--body-color);  /* Warna latar mengikuti tema */
  padding: 0.75rem 1rem;                /* Padding default mobile */
  transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
  box-shadow: none;                     /* Awal tanpa bayangan */
  backdrop-filter: none;
  animation: headerFadeIn 0.8s ease-out; /* Animasi muncul pertama kali */
}

/* 🎯 Efek saat pengguna scroll halaman (blur + bayangan) */
.scroll-header {
  background-color: var(--body-color);
  backdrop-filter: blur(10px);              /* Efek kaca buram */
  -webkit-backdrop-filter: blur(10px);      /* Safari */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);/* Bayangan halus */
}

/* 🌙 Dark mode saat scroll */
.dark-theme .scroll-header {
  background-color: rgba(18, 18, 18, 0.85);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4); /* Bayangan lebih kuat */
}

/* ✨ Animasi muncul saat load awal */
@keyframes headerFadeIn {
  from {
    opacity: 0;
    transform: translateY(-16px);  /* Muncul dari atas */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 📱 Padding responsif untuk mobile */
@media screen and (max-width: 767px) {
  .header {
    padding: 0.75rem 1rem;
  }
}

/* 💻 Tablet dan desktop biasa */
@media screen and (min-width: 768px) {
  .header {
    padding: 1rem 2.5rem; /* semula 2rem → jadi 2.5rem */
  }
}

/* 🖥️ Layar besar seperti iMac, 4K, dsb */
@media screen and (min-width: 1200px) {
  .header {
    padding: 1.5rem 4rem; /* semula 3rem → jadi 4rem */
  }
}




/* ==================== 🔝 SCROLL-UP ==================== */
/* Tombol melayang di kanan bawah untuk kembali ke atas halaman */

.scroll-up {
  position: fixed;
  right: 1.25rem;                 /* Jarak dari kanan */
  bottom: -20%;                   /* Sembunyi di luar layar */
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;            /* Bentuk bulat */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;            /* Ukuran ikon */
  color: var(--first-color);     /* Warna ikon */
  background-color: transparent;
  backdrop-filter: blur(8px);    /* Efek kaca */
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.08),
    inset 0 2px 4px rgba(255, 255, 255, 0.4),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1);
  opacity: 0;                    /* Tidak terlihat dulu */
  pointer-events: none;          /* Tidak bisa diklik dulu */
  transition: all 0.4s ease;
  z-index: var(--z-tooltip);     /* Di atas elemen lain */
  cursor: none;
}

/* 🖱️ Hover efek */
.scroll-up:hover {
  transform: translateY(-4px) scale(1.05); /* Efek naik sedikit */
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

/* 🚀 Saat tombol muncul */
.show-scroll {
  bottom: 2rem;          /* Muncul dari bawah */
  opacity: 1;
  pointer-events: auto;
  animation: scrollUpBounce 0.5s ease; /* Efek muncul */
}

/* ==================== ANIMASI TOMBOL SCROLL ==================== */
@keyframes scrollUpBounce {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}



/* ==================== 🏠 HOME ==================== */

/* 🎯 Kontainer utama home */
.home__container {
  gap: 1rem;
}

/* 📐 Layout grid isi konten home */
.home__content {
  grid-template-columns: 0.5fr 3fr;
  padding-top: 3.5rem;
  align-items: center;
}

/* 🌐 Sosial media (ikon vertikal kiri) */
.home__social {
  display: grid;
  grid-template-columns: max-content;
  row-gap: 1rem;
}

/* 🎯 Ikon sosial individual */
.home__social-icon {
  font-size: 1.25rem;
  color: var(--first-color);
  transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.home__social-icon:hover {
  transform: scale(1.15);
  color: var(--first-color-alt);
}


/* ===================== 🎯 BLOB PROFIL MODERN 2025 ===================== */

/* 🖼️ SVG blob dengan efek pro */
.home__blob {
  width: 220px;
  fill: var(--first-color);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
              filter 0.8s ease-in-out, 
              box-shadow 0.8s ease;
  will-change: transform, filter;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.25)) 
          drop-shadow(0 0 8px rgba(255, 215, 0, 0.2));
}

/* 🌟 Efek glow saat hover */
.home__blob:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 12px 30px rgba(0, 136, 255, 0.25)) 
          drop-shadow(0 0 15px rgba(255, 255, 255, 0.08));
}

/* 👤 Gambar profil di dalam blob */
.home__blob-img {
  width: 180px;
  opacity: 0;
  transform: translateY(30px) scale(0.85);
  animation: fadeInUpScale 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.6s;
  transition: transform 0.6s ease-in-out, filter 0.6s ease;
  will-change: transform, filter;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
  animation-timing-function: ease-in-out;
}

/* 🧬 Animasi masuk & efek tumbuh */
@keyframes fadeInUpScale {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.85);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 🌊 Efek melayang seperti iOS */
.home__img:hover .home__blob-img {
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.05));
}


/* ✨ Animasi fade masuk dari bawah dengan scaling */
@keyframes fadeInUpScale {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.85);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* 📄 Data teks (judul, subtitle, deskripsi) */
.home__data {
  grid-column: 1 / 3;
}

/* 🏷️ Judul utama */
.home__title {
  font-size: var(--big-font-size);
}

/* 🔖 Subjudul */
.home__subtitle {
  font-size: var(--h3-font-size);
  color: var(--text-color);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-0-75);
}

/* 📝 Deskripsi singkat */
.home__description {
  margin-bottom: var(--mb-2);
}

/* 🔽 Tombol scroll bawah */
.home__scroll-button {
  color: var(--first-color);
  transition: 0.3s;
}

.home__scroll-button:hover {
  transform: translateY(0.25rem);
}

/* 🖱️ Ikon mouse scroll animasi */
.home__scroll-mouse,
.home__scroll-arrow {
  width: 1.4rem;
  height: 1.4rem;
  object-fit: contain;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

/* Tambahkan animasi bounce ke ikon mouse */
.home__scroll-mouse {
  animation: scrollBounce 1.6s infinite ease-in-out;
}


/* 🧷 Nama scroll */
.home__scroll-name {
  font-size: var(--small-font-size);
  color: var(--title-color);
  font-weight: var(--font-medium);
  margin-left: 0.5rem;
  margin-right: var(--mb-0-25);
}

/* 🔻 Ikon panah scroll saat hover */
.home__scroll-button:hover .home__scroll-arrow {
  transform: translateY(4px);
}

.dark-theme .home__scroll-mouse,
.dark-theme .home__scroll-arrow,
.dark-theme .scrollup__icon {
  filter: brightness(0) invert(1);
}


/* 🔁 Animasi bouncing scroll mouse */
@keyframes scrollBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}




/*==================== 🎨 TOMBOL UTAMA (BUTTON STYLE) ====================*/
/* 💡 Gaya tombol utama ultra-premium dengan efek iOS & neon glossy */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.2rem;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 600;
  color: #fff;
  background: linear-gradient(145deg, #f9d423, #ff4e50);
  border-radius: 1.25rem;
  box-shadow:
    0 0 0 0 rgba(255, 255, 255, 0),
    0 8px 22px rgba(255, 78, 80, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transition: all 0.45s ease;
  overflow: hidden;
  z-index: 0;
}

/* ✨ Inner glossy shine saat hover */
.button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.25), rgba(255,255,255,0) 70%);
  transform: rotate(0deg);
  transition: opacity 0.4s ease, transform 1.5s ease;
  opacity: 0;
  z-index: 1;
}

.button:hover::before {
  opacity: 1;
  transform: rotate(15deg) scale(1.1);
}

/* 🔁 Hover efek transform & shadow neon */
.button:hover {
  transform: translateY(-2px) scale(1.035);
  box-shadow:
    0 0 0 3px rgba(255, 78, 80, 0.15),
    0 12px 32px rgba(249, 212, 35, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

/* 🎯 Ikon dalam tombol */
.button__icon-img {
  width: 1.6rem;
  height: 1.6rem;
  margin-left: 0.5rem;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.2));
}


/* 🌪️ Ikon bergerak dinamis saat hover */
.button:hover .button__icon {
  transform: translateX(6px) scale(1.25);
}

/* 📦 Flex isi tombol */
.button--flex {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
}

/* 🌙 Dark mode versi tombol */
body.dark-theme .button {
  background: linear-gradient(145deg, #f9d423, #ff4e50);
  box-shadow:
    0 0 0 0 rgba(255, 255, 255, 0),
    0 8px 20px rgba(255, 78, 80, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

body.dark-theme .button:hover {
  box-shadow:
    0 0 0 3px rgba(255, 78, 80, 0.15),
    0 12px 28px rgba(249, 212, 35, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
}



/*==================== 🧑 ABOUT  ====================*/
/* 👤 Tentang Saya (Bagian Profil) */

.about__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); /* Responsif */
  gap: 2.5rem;
  padding-top: 2rem;
}

/*==================== 🔆 PROFIL GAMBAR ====================*/
/* Gambar profil dengan efek glow dan hover */
.about__img-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  transition: transform 0.6s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Shadow lembut */
}

.about__img-wrapper:hover {
  transform: scale(1.03); /* Zoom saat hover */
}

.about__img {
  width: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(1.05); /* Sedikit lebih terang */
}


/*✨ Efek glow animasi lembut */
.about__img-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.06), transparent 70%);
  animation: glowPulse 2.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}


/*==================== 📜 DESKRIPSI SINGKAT ====================*/
.about__description {
  text-align: justify;
  margin-bottom: var(--mb-2-5);
  line-height: 1.85;
  font-size: 1rem;
  color: var(--text-color);
  animation: fadeInDesc 1.2s ease both;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Efek animasi masuk */
@keyframes fadeInDesc {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 🌙 Warna teks lembut di dark mode */
html[data-theme="dark"] .about__description {
  color: #e0e0e0;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.05);
}

/* ✨ Hover: deskripsi menyala lembut */
.about__description:hover {
  color: var(--gold);
  text-shadow: 0 0 6px rgba(255, 215, 0, 0.3);
}

/* 💎 Strong text: teks penting menyala */
.about__description strong {
  color: #ffc107;
  font-weight: 700;
  transition: all 0.3s ease;
  text-shadow: 0 0 3px rgba(255, 193, 7, 0.3);
}

/* 🔥 Hover pada strong */
.about__description strong:hover {
  color: #ffd700;
  text-shadow: 0 0 8px rgba(255, 223, 0, 0.5);
  cursor: default;
}


/*==================== 📊 STATISTIK PENGALAMAN ====================*/
.about_info {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  margin-bottom: var(--mb-2);
  animation: fadeInStats 1s ease-in-out both;
}

/* Efek masuk lembut */
@keyframes fadeInStats {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Judul angka */
.about__info-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--first-color);
  text-shadow: 0 0 4px rgba(255, 193, 7, 0.4);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Sinkron dark mode */
html[data-theme="dark"] .about__info-title {
  color: #ffc107;
  text-shadow: 0 0 6px rgba(255, 193, 7, 0.5);
}

/* Hover efek glow */
.about__info-title:hover {
  color: var(--first-color);
  text-shadow: 0 0 8px var(--first-color), 0 0 12px var(--first-color);
}

/* Label bawah angka */
.about__info-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-color-light);
  line-height: 1.3;
  transition: color 0.3s ease;
}

/* Sinkron dark mode (lebih cerah di gelap) */
html[data-theme="dark"] .about__info-name {
  color: #ccc;
}

/* Efek hover kecil */
.about__info-name:hover {
  color: var(--first-color);
}

/*==================== 🔘 TOMBOL CTA ====================*/
.about__buttons {
  margin-top: var(--mb-2);
  display: flex;
  justify-content: center;
  animation: fadeUp 1s ease-in-out both;
}

/* Tombol utama */
.about__buttons .button {
  background: linear-gradient(135deg, var(--first-color), #ff8c00);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* Hover menyala */
.about__buttons .button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.6);
  background: linear-gradient(135deg, #ff8c00, var(--first-color));
}

/* Ikon dalam tombol */
.button__icon-img {
  width: 20px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 4px white);
}

.button:hover .button__icon-img {
  transform: rotate(-15deg) scale(1.05);
}

/* ==================== Animasi masuk ==================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dark mode penyesuaian */
html[data-theme="dark"] .about__buttons .button {
  background: linear-gradient(135deg, #ffa500, #ff5722);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 87, 34, 0.35);
}



/*==================== 🎯 SKILLS ====================*/
/* 🛠️ Bagian utama skills - menampilkan kategori dan daftar skill */
.skills {
  text-align: center;
  padding: 4rem 1rem;
}

/* Kategori skill (Frontend, Backend, dll.) */
.skill-category {
  margin-bottom: 3rem;
}

/* Judul kategori dengan animasi masuk dari atas */
.skill-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  animation: fadeSlideDown 1s ease both;
}


/*==================== 🔲 GRID ITEM ====================*/
/* Grid responsif untuk menampilkan daftar skill */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

/* Item skill (satu ikon + nama) */
.skill-item {
  width: 100px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  transition: transform 0.4s ease;
  animation: floatIn 1.5s ease;
  background: none;
  border: none;
  box-shadow: none;
  cursor: none;
}

/* Ikon skill */
.skill-item img {
  width: var(--skill-img-size);
  height: var(--skill-img-size);
  margin-bottom: 0.5rem;
  animation: floatingIcon 3s ease-in-out infinite;
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Nama skill */
.skill-item p {
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--title-color);
}


/*==================== 🌟 ANIMASI ====================*/
/* Fade + slide down */
@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Masuk dari bawah sambil sedikit berputar */
@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(50px) rotate(3deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

/* Ikon melayang naik turun */
@keyframes floatingIcon {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

/* Hover: ikon melompat dan menyala */
@keyframes jumpLoop {
  0%, 100% { transform: translateY(0) scale(1.2) rotate(2deg); }
  50%      { transform: translateY(-12px) scale(1.2) rotate(2deg); }
}

@keyframes glowPulse {
  0%   { filter: drop-shadow(0 0 5px rgba(0, 200, 255, 0.2)); }
  50%  { filter: drop-shadow(0 0 15px rgba(0, 200, 255, 0.6)); }
  100% { filter: drop-shadow(0 0 5px rgba(0, 200, 255, 0.2)); }
}


/*==================== 💻 RESPONSIVE ====================*/
@media screen and (max-width: 768px) {
  .skill-item {
    width: 90px;
    height: 100px;
  }

  .skill-item img {
    width: 35px;
    height: 35px;
    animation: floatingIcon 3s ease-in-out infinite;
    transition: transform 0.4s ease, filter 0.3s ease, box-shadow 0.4s ease;
  }
}


/*==================== 🌐 VARIABEL DAN HOVER ====================*/
/* Ukuran default ikon skill */
:root {
  --skill-img-size: 48px; /* Mudah disesuaikan */
}

/* Hover efek: lompatan & glow */
.skill-item:hover img {
  animation: jumpLoop 0.6s ease-in-out infinite, glowPulse 1.5s ease-in-out infinite;
  transform-origin: center;
}



/*======================================== 🎓 QUALIFICATION & SERVICES ========================================*/

/*==================== 💼 SERVICES (Layanan) ====================*/

/* 🧱 Kontainer grid untuk layanan */
.services__container {
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

/* 📦 Kartu layanan */
.services__content {
  position: relative;
  background-color: var(--container-color);
  padding: 3.5rem 0.5rem 1.25rem 1.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease;
}

.services__content:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Ikon besar di atas judul */
.services__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--first-color);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 6px rgba(0, 255, 255, 0.2));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.services__content:hover .services__icon {
  transform: scale(1.2);
  filter: drop-shadow(0 0 10px var(--first-color));
}

/* 📝 Judul layanan */
.services__title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1);
}

/* 🔍 Tombol “View More” */
.services__button {
  cursor: none;
  font-size: var(--small-font-size);
}

/* 🔜 Efek panah di tombol saat hover */
.services__button:hover .button__icon {
  transform: translateX(0.25rem);
}


/*==================== 🪟 MODAL SERVICES ====================*/

/* 🪟 Overlay latar belakang */
.services__modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* 📦 Konten modal */
.services__modal-content {
  position: relative;
  background: var(--container-color);
  padding: 2rem 1.8rem;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 480px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.4s ease;
}

/* Aktifkan modal dengan animasi */
.active-modal {
  opacity: 1;
  visibility: visible;
}
.active-modal .services__modal-content {
  transform: translateY(0);
  opacity: 1;
}

/* 📝 Judul modal */
.services__modal-title {
  font-size: var(--h3-font-size);
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* ❌ Tombol close modal */
.services__modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 1.4rem;
  color: var(--first-color);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.services__modal-close:hover {
  transform: rotate(90deg);
}

/* 📋 Daftar isi modal */
.services__modal-services {
  display: grid;
  row-gap: 1rem;
  padding: 0.5rem 0;
}

/* 🔘 Ikon checklist */
.services__modal-icon {
  color: var(--first-color);
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

/* 🧾 Baris layanan */
.service__modal-service {
  display: flex;
  align-items: flex-start;
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* 🌙 Mode gelap */
html[data-theme="dark"] .services__modal-content {
  background: rgba(20, 20, 20, 0.8);
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.05);
}


/*======================================== 🖼️ PORTFOLIO ========================================*/

/*==================== PORTFOLIO SLIDER ====================*/

/* Kontainer utama */
.portfolio__container {
  overflow: initial;
}

/* Konten tiap slide */
.portfolio__content {
  padding: 0 1.5rem;
}

/* Gambar dalam slide */
.portfolio__img {
  width: 265px;
  border-radius: 0.5rem;
  justify-self: center;
}

/* Judul project */
.portfolio__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-5);
}

/* Deskripsi project */
.portfolio__description {
  margin-bottom: var(--mb-0-75);
}

/* Efek panah saat hover */
.portfolio__button:hover .button__icon {
  transform: translateX(0.25rem);
}


/*==================== SWIPER NAVIGATION ====================*/

/* Hilangkan konten default navigasi swiper */
.swiper-button-prev::after,
.swiper-button-next::after {
  content: '';
}

/* Ikon panah kustom */
.swiper-portfolio-icon {
  font-size: 2rem;
  color: var(--first-color);
}

/* Posisi panah kiri dan kanan */
.swiper-button-prev {
  left: -0.5rem;
}
.swiper-button-next {
  right: -0.5rem;
}

/* Posisi bullet pagination */
.swiper-container-horizontal > .swiper-pagination-bullets {
  bottom: -2.5rem;
}

/* Warna bullet aktif */
.swiper-pagination-bullet-active {
  background-color: var(--first-color);
}

/* Gaya umum navigasi */
.swiper-button-prev,
.swiper-button-next,
.swiper-pagination-bullet {
  outline: none;
}


/*======================================== 💡 PROJECT IN MIND ========================================*/
.project {
  text-align: center;
  padding: 2rem 1rem;
}

/* 🎨 Latar belakang mewah + efek kaca */
.project__bg {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.12));
  backdrop-filter: blur(20px);
  border-radius: 2rem;
  padding: 3rem 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: background-color 0.4s ease-in-out;
  position: relative;
  overflow: hidden;
}

/* 🌙 Versi gelap */
html[data-theme="dark"] .project__bg {
  background: linear-gradient(135deg, rgba(28, 28, 28, 0.6), rgba(0, 0, 0, 0.35));
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.05);
}

/* 📝 Judul proyek */
.project__title {
  font-size: var(--h2-font-size);
  color: #ffd700;
  margin-bottom: 1rem;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

/* 📋 Deskripsi proyek */
.project__description {
  color: #eee;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 auto 2rem auto;
  max-width: 480px;
  padding: 0 1rem;
}

/* 🖼️ Gambar ilustrasi melayang */
.project__img {
  width: 240px;
  justify-self: center;
  animation: floatImage 6s ease-in-out infinite;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.2));
}

/* 🌊 Efek melayang gambar */
@keyframes floatImage {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ✨ Tombol aksi */
.project__cta {
  background-color: transparent;
  border: 2px solid #ffd700;
  color: #ffd700;
  padding: 0.75rem 1.6rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease-in-out;
}

.project__cta:hover {
  background-color: #ffd700;
  color: #000;
  box-shadow: 0 0 15px #ffd700, 0 0 30px #ffd70080;
  transform: translateY(-2px);
}



/*==================== 💬 TESTIMONIAL ====================*/

/* Wrapper untuk seluruh konten testimonial */
.testimonial__data,
.testimonial__header {
  display: flex;
}

/* 🧍‍♂️ Data klien dan nama (atas) */
.testimonial__data {
  justify-content: space-between;          /* Jarak antara info dan elemen lainnya */
  margin-bottom: var(--mb-1);              /* Spasi bawah */
}

/* 🖼️ Foto klien */
.testimonial__img {
  width: 60px;
  height: 60px;
  border-radius: 50%;                      /* Foto bulat */
  margin-right: var(--mb-0-75);            /* Jarak dengan teks */
}

/* 🧑 Nama klien */
.testimonial__name {
  font-size: var(--h3-font-size);          /* Ukuran heading */
  font-weight: var(--font-medium);         /* Ketebalan medium */
}

/* 🏷️ Status/pekerjaan klien */
.testimonial__client {
  font-size: var(--small-font-size);       /* Font kecil */
  color: var(--text-color-light);          /* Warna teks ringan */
}

/* 📝 Isi testimoni */
.testimonial__description {
  margin-bottom: var(--mb-2-5);            /* Spasi bawah untuk jarak antar elemen */
}


.testimonial__card {
  background: var(--container-color);
  padding: 1.5rem;
  border-radius: 1.25rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.testimonial__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 3px var(--first-color);
}

.testimonial__name {
  font-weight: 600;
  font-size: 1rem;
}

.testimonial__client {
  font-size: 0.8rem;
  color: var(--text-color-light);
}

.testimonial__stars {
  font-size: 0.9rem;
  color: gold;
}

.testimonial__desc {
  font-size: 0.95rem;
  line-height: 1.5rem;
  color: var(--text-color);
}


/*==================== SWIPER PAGINATION ====================*/

/* ⚫ Posisi bullet pagination testimonial */
.swiper-container .swiper-pagination-testimonial {
  bottom: 0;                                /* Letakkan di bawah */
}



/*==================== 📬 CONTACT  ====================*/
/* Bagian untuk menampilkan informasi dan form kontak */

.contact__container {
  row-gap: 3rem; /* Jarak antar elemen vertikal dalam container */
}


/*==================== ℹ️ INFORMASI KONTAK ====================*/
/* Menampilkan ikon dan teks info (alamat, email, dsb) */

.contact__information {
  display: flex; /* Susun horizontal antara ikon dan teks */
  margin-bottom: var(--mb-2); /* Spasi antar informasi */
}

.contact__icon {
  font-size: 2rem; /* Ukuran ikon */
  color: var(--first-color); /* Warna sesuai tema utama */
  margin-right: var(--mb-0-75); /* Spasi antara ikon dan teks */
}

.contact__title {
  font-size: var(--h3-font-size); /* Ukuran judul info */
  font-weight: var(--font-medium); /* Tebal sedang */
}

.contact__subtitle {
  font-size: var(--small-font-size); /* Ukuran lebih kecil */
  color: var(--text-color-light); /* Warna teks terang */
}


/*==================== 📝 FORM INPUT ====================*/
/* Bagian untuk menulis pesan: nama, email, pesan */

.contact__content {
  background-color: var(--input-color); /* Warna latar input */
  border-radius: 0.5rem; /* Rounded corner */
  padding: 0.75rem 1rem 0.25rem; /* Ruang dalam */
}

.contact__label {
  font-size: var(--smaller-font-size); /* Ukuran label kecil */
  color: var(--title-color); /* Warna teks label */
}

.contact__input {
  width: 100%; /* Lebar penuh */
  background-color: var(--input-color); /* Sama dengan wrapper */
  color: var(--text-color); /* Warna teks */
  font-family: var(--body-font); /* Font utama */
  font-size: var(--normal-font-size); /* Ukuran teks */
  border: none; /* Hilangkan garis border */
  outline: none; /* Hilangkan outline saat fokus */
  padding: 0.25rem 0.5rem 0.5rem 0; /* Ruang dalam */
}

/*==================================== 💬 CONTACT MODERN ====================================*/

.contact__info-glass,
.contact__form-glass {
  background: rgba(255, 255, 255, 0.08);           /* Transparansi lembut */
  backdrop-filter: blur(14px) saturate(1.3);       /* Blur & saturasi */
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.12);      /* Border putih lembut */
  transition: all 0.4s ease-in-out;
  will-change: background, box-shadow;
}

/* 🌙 Dark Mode – Kaca gelap lembut */
html[data-theme="dark"] .contact__info-glass,
html[data-theme="dark"] .contact__form-glass {
  background: rgba(20, 20, 20, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.05);
}

/* ✨ Hover Ringan */
.contact__info-glass:hover,
.contact__form-glass:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
html[data-theme="dark"] .contact__info-glass:hover,
html[data-theme="dark"] .contact__form-glass:hover {
  box-shadow: 0 10px 32px rgba(255, 255, 255, 0.06);
}

/* ===================== 🔗 LINK HOVER ===================== */

.link-hover {
  color: var(--first-color);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  font-weight: 500;
}

.link-hover:hover {
  color: #ffd700;
  text-shadow: 0 0 6px #ffd70080, 0 0 10px #ffd70040;
  letter-spacing: 0.3px;
}

/* ===================== 🎨 IKON SOSIAL MEDIA ===================== */

/* 💫 Animasi transisi dasar semua ikon */
.contact__icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease, filter 0.3s ease, color 0.3s ease;
  will-change: transform, filter, color;
}

/* 📧 Email - Warna khas Gmail (Google style) */
.contact__information i.fa-envelope {
  color: #888; /* Fallback abu */
  background: linear-gradient(135deg,
    #4285F4 0%,    /* Biru */
    #34A853 25%,   /* Hijau */
    #FBBC05 50%,   /* Kuning */
    #EA4335 75%    /* Merah */
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-weight: bold;
  transition: transform 0.35s ease, filter 0.35s ease, color 0.35s ease;
  will-change: transform, filter, color;
}

/* 🌙 Mode Gelap: Tambah kontras ringan */
html[data-theme="dark"] .contact__information i.fa-envelope {
  filter: brightness(1.2);
}

/* ✨ Hover: Cahaya warna lembut */
.contact__information i.fa-envelope:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 0 6px rgba(66, 133, 244, 0.2))   /* Biru */
          drop-shadow(0 0 6px rgba(234, 67, 53, 0.2))    /* Merah */
          drop-shadow(0 0 6px rgba(251, 188, 5, 0.15));  /* Kuning */
}

/* 🐙 GitHub - Abu Mewah dengan Transisi Halus */
.contact__information i.fa-github {
  color: #cfcfcf;
  font-size: 1.6rem;
  transition: transform 0.35s ease, filter 0.35s ease, color 0.35s ease;
  will-change: transform, filter, color;
}

/* 🌙 Mode Gelap - Putih Soft */
html[data-theme="dark"] .contact__information i.fa-github {
  color: #f0f0f0;
}

/* ✨ Hover: Glow Elegan & Efek Depth */
.contact__information i.fa-github:hover {
  transform: scale(1.18);
  filter:
    drop-shadow(0 0 6px rgba(255, 255, 255, 0.12))
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.08))
    saturate(1.1);
}

/* ❌ X (Twitter) - Hitam modern dengan efek halus */
.contact__information i.fa-x-twitter {
  color: #1a1a1a; /* Sedikit lebih soft dari #121212 */
  font-weight: 600;
  transition: 
    transform 0.4s ease, 
    filter 0.4s ease, 
    color 0.4s ease;
  will-change: transform, filter, color;
}

/* 🌙 Mode Gelap: X menjadi abu terang */
html[data-theme="dark"] .contact__information i.fa-x-twitter {
  color: #f0f0f0;
}

/* ✨ Hover - Glow elegan & dinamis */
.contact__information i.fa-x-twitter:hover {
  transform: scale(1.15);
  filter: 
    drop-shadow(0 0 4px rgba(0, 0, 0, 0.2)) 
    drop-shadow(0 0 8px rgba(0, 0, 0, 0.35));
}

/* 🎵 TikTok - Warna Resmi 2025 */
.contact__information i.fa-tiktok {
  color: #00f2ea; /* Cyan neon */
  text-shadow:
    1px 1px 0 #000,                        /* Outline hitam ringan */
    0 0 4px rgba(255, 0, 80, 0.25),        /* Glow pink */
    0 0 6px rgba(0, 242, 234, 0.2);        /* Glow cyan */
  transition: transform 0.35s ease, filter 0.35s ease, color 0.35s ease;
  will-change: transform, filter;
}

/* 🌙 Dark Mode: Lebih terang sedikit */
html[data-theme="dark"] .contact__information i.fa-tiktok {
  color: #00f2ea;
  filter: brightness(1.25);
}

/* ✨ Hover: Efek gradasi neon hidup */
.contact__information i.fa-tiktok:hover {
  transform: scale(1.15);
  filter:
    drop-shadow(0 0 6px rgba(255, 0, 80, 0.35))   /* pink */
    drop-shadow(0 0 8px rgba(0, 242, 234, 0.35)); /* cyan */
}

/* 📸 Instagram Gradasi Resmi Premium */
.contact__information i.fa-instagram {
  /* Fallback warna */
  color: #e1306c;

  /* Gradasi resmi Instagram */
  background: radial-gradient(circle at 30% 107%, 
    #fdf497 0%, 
    #fd5949 45%, 
    #d6249f 60%, 
    #285AEB 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;

  font-size: 1.6rem;
  font-weight: 700;
  transition: transform 0.35s ease, filter 0.35s ease;
  will-change: transform, filter;
}

/* 🌙 Mode Gelap: Cerahkan dengan soft glow */
html[data-theme="dark"] .contact__information i.fa-instagram {
  filter: brightness(1.2) contrast(1.05);
}

/* ✨ Hover: Efek gradasi bercahaya elegan */
.contact__information i.fa-instagram:hover {
  transform: scale(1.18);
  filter: 
    drop-shadow(0 0 4px rgba(253, 245, 151, 0.15))  /* Kuning lembut */
    drop-shadow(0 0 6px rgba(253, 89, 73, 0.2))     /* Merah IG */
    drop-shadow(0 0 8px rgba(40, 90, 235, 0.2));    /* Biru IG */
}

/* 🔗 LinkedIn - Biru Profesional */
.contact__information i.fa-linkedin-in {
  color: #0077b5; /* Biru khas LinkedIn */
  font-size: 1.6rem;
  transition: transform 0.35s ease, filter 0.35s ease, color 0.35s ease;
  will-change: transform, filter, color;
}

/* 🌙 Mode Gelap: Biru neon agar tetap kontras */
html[data-theme="dark"] .contact__information i.fa-linkedin-in {
  color: #33aaff;
}

/* ✨ Hover: Efek glow halus LinkedIn */
.contact__information i.fa-linkedin-in:hover {
  transform: scale(1.15);
  filter: 
    drop-shadow(0 0 4px rgba(0, 119, 181, 0.2)) 
    drop-shadow(0 0 6px rgba(0, 119, 181, 0.3));
}

/* ===================== 🔁 ANIMASI IKON SOSIAL YANG HIDUP ===================== */

/* 📧 Gmail shimmer hidup */
.contact__information i.fa-envelope {
  animation: gmailShimmer 4s ease-in-out infinite alternate;
}

/* 🐙 GitHub pulse halus */
.contact__information i.fa-github {
  animation: githubPulse 4.5s ease-in-out infinite alternate;
}

/* ❌ X (Twitter) berdenyut lembut */
.contact__information i.fa-x-twitter {
  animation: twitterPulse 3.8s ease-in-out infinite alternate;
}

/* 🎵 TikTok dengan neon menyala lembut */
.contact__information i.fa-tiktok {
  animation: tiktokGlow 3.6s ease-in-out infinite alternate;
}

/* 📸 Instagram dengan denyutan berwarna */
.contact__information i.fa-instagram {
  animation: instaPulse 3.2s ease-in-out infinite alternate;
}

/* 🔗 LinkedIn berkilau profesional */
.contact__information i.fa-linkedin-in {
  animation: linkedinGlow 3.6s ease-in-out infinite alternate;
}

/* ===================== 🎞️ KEYFRAMES ANIMASI ===================== */

@keyframes gmailShimmer {
  0%, 100% { transform: translateY(0); filter: brightness(1); }
  50%      { transform: translateY(-1px); filter: brightness(1.2); }
}

@keyframes githubPulse {
  0%   { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255,255,255,0.1)); }
  50%  { transform: scale(1.05); filter: drop-shadow(0 0 8px rgba(255,255,255,0.2)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(255,255,255,0.12)); }
}

@keyframes twitterPulse {
  0%   { transform: rotate(0deg); filter: drop-shadow(0 0 2px rgba(0,0,0,0.1)); }
  50%  { transform: rotate(-2deg); filter: drop-shadow(0 0 6px rgba(0,0,0,0.3)); }
  100% { transform: rotate(0deg); filter: drop-shadow(0 0 3px rgba(0,0,0,0.15)); }
}

@keyframes tiktokGlow {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(255, 0, 80, 0.15))
            drop-shadow(0 0 6px rgba(0, 242, 234, 0.2));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 9px rgba(255, 0, 80, 0.3))
            drop-shadow(0 0 12px rgba(0, 242, 234, 0.3));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 6px rgba(255, 0, 80, 0.25))
            drop-shadow(0 0 10px rgba(0, 242, 234, 0.25));
  }
}

@keyframes instaPulse {
  0%, 100% { transform: scale(1); filter: brightness(1.1); }
  50%      { transform: scale(1.08); filter: brightness(1.3); }
}

@keyframes linkedinGlow {
  0%   { transform: translateY(0); filter: drop-shadow(0 0 2px rgba(0,119,181,0.15)); }
  50%  { transform: translateY(-1px); filter: drop-shadow(0 0 6px rgba(0,119,181,0.35)); }
  100% { transform: translateY(0); filter: drop-shadow(0 0 3px rgba(0,119,181,0.2)); }
}

/*==================== 🪄 FLOATING LABEL INPUT ====================*/
/* Digunakan untuk membuat label input melayang (floating) saat input diisi atau difokuskan */

/* 📦 Kontainer input + label */
.contact__content {
  position: relative;         /* Agar label bisa diposisikan di dalam input */
  margin-bottom: 2rem;       /* Jarak antar input */
}

/* 🖊️ Input form dengan animasi fokus */
.contact__input {
  width: 100%;
  border-radius: 0.75rem;
  padding: 1.2rem 1rem 0.6rem;
  font-size: 0.95rem;
  color: var(--title-color);
  background-color: var(--container-color);
  border: 1.5px solid var(--scroll-bar-color);
  outline: none;
  transition: 0.4s border, 0.4s box-shadow;
}

/* ✨ Efek saat input difokuskan */
.contact__input:focus {
  border-color: var(--first-color); /* Warna border saat aktif */
  box-shadow: 0 0 5px rgba(249, 249, 252, 0.3); /* Glow halus */
}

/* 🏷️ Label mengambang (posisi awal) */
.floating-label {
  position: absolute;
  left: 0.75rem;
  top: 1.1rem;
  font-size: var(--normal-font-size);
  color: var(--text-color-light);
  pointer-events: none;                 /* Supaya tidak bisa diklik */
  background-color: var(--container-color);
  padding: 0 0.25rem;
  transition: 0.3s ease all;
}

/* 📌 Label saat input diisi atau difokuskan */
.contact__input:focus + .floating-label,
.contact__input:not(:placeholder-shown) + .floating-label {
  top: -0.6rem;
  left: 0.6rem;
  font-size: var(--smaller-font-size);
  color: var(--first-color);
  z-index: 1;
}


/* ======================= FOOTER ======================= */
/* 🌟 Gradasi Emas + Batik */
.footer__bg {
  background: linear-gradient(135deg, #1a1a1a, #3b2d00, #3b2d00);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 2.5rem 1rem;
  text-align: center;
}

/* ✅ Kontainer isi footer */
.footer__container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* 🎯 Judul dan subjudul */
.footer__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffd700;
}

.footer__subtitle {
  font-size: 0.9rem;
  color: #ddd;
  margin-top: 0.2rem;
}

/* 🔗 Link dan ikon (Responsif & Premium) */
.footer__links,
.footer__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

/* === LINK (Services, Portfolio, Contactme) === */
.footer__link {
  position: relative;
  font-size: 0.9rem;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}

.footer__link:hover {
  color: #ffd700;
  text-shadow: 0 0 4px #ffcc00, 0 0 8px #ff9900, 0 0 12px #ff6600;
}

.footer__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #ffcc00, #ff9900, #ff6600);
  transition: width 0.3s ease;
}

.footer__link:hover::after {
  width: 100%;
}

/* === IKON SOSIAL MEDIA === */
.footer__social {
  font-size: 1.2rem;
  color: #ccc;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer__social:hover {
  transform: scale(1.2);
}

/* 🎨 Warna hover berdasarkan brand resmi */
.footer__social:hover i.fa-instagram {
  color: #e1306c;
  text-shadow: 0 0 4px #e1306c, 0 0 6px #ff99aa;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer__social:hover i.fa-github {
  color: #eaeaea; /* Putih lembut */
  text-shadow: 0 0 2px #ccc, 0 0 4px #777; /* Efek glow lembut */
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* 🎵 Hover TikTok: efek lebih kuat */
.footer__social:hover i.fa-tiktok {
  color: #25f4ee;
  text-shadow: 0 0 6px #25f4ee, 0 0 10px #f00095;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer__social:hover i.fa-x-twitter {
  color: #121212; /* Hitam elegan khas X */
  text-shadow: 0 0 4px #ffffff, 0 0 10px #121212; /* Efek cahaya elegan */
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer__social:hover i.fa-whatsapp {
  color: #25D366;
  text-shadow: 0 0 4px #25D366, 0 0 8px #128C7E;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* 📜 Copyright & Made With */
.footer__copy,
.footer__love {
  font-size: 0.75rem;
  margin-top: 0.5rem;
  color: #f0f0f0;
  z-index: 2;
  position: relative;
}

.footer__love span {
  color: #ff5c5c;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ================== Warna default ikon sosial media ================== */
.footer__social i.fa-instagram {
  color: #e1306c; /* Instagram pink */
}

.footer__social i.fa-github {
  color: #ffffff; /* GitHub putih */
}

/* 🎵 Warna default ikon TikTok */
.footer__social i.fa-tiktok {
  color: #25f4ee; /* Cyan utama TikTok */
  text-shadow: 0 0 3px #f00095; /* Efek fuchsia neon */
}

.footer__social i.fa-x-twitter {
  color: #121212; /* Hitam gelap khas X (bukan full #000) */
}

.footer__social i.fa-whatsapp {
  color: #25d366; /* WhatsApp hijau */
}

/* ==================== ⬆️ SCROLL-UP BUTTON (TRANSPARAN) ==================== */
.scroll-up {
  position: fixed;
  right: 1rem;
  bottom: -10%;
  padding: 0.4rem;
  z-index: var(--z-tooltip);
  opacity: 0;
  transition: bottom 0.4s ease, opacity 0.3s ease, transform 0.3s ease;
  max-width: 48px;
  max-height: 48px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: transparent;
  backdrop-filter: blur(1px);
  /*efekkaca*/cursor: none;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

/* ⬆️ Ikon panah */
.scrollup__icon {
  font-size: 1.5rem;
  color: #fff;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* 🔁 Muncul saat scroll */
.show-scroll {
  bottom: 4.5rem;
  opacity: 1;
}

/* 🌞 Mode terang → ikon hitam */
body.light-theme .scrollup__icon {
  color: #000;
}

/* 🖱️ Hover → glow ringan */
.scroll-up:hover .scrollup__icon {
  transform: translateY(-3px) scale(1.1);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}



/*==================== 🖱️ CUSTOM SCROLLBAR ====================*/
/* 🎨 Kustomisasi scrollbar agar sesuai dengan warna tema website */

/* Track (jalur scroll) */
::-webkit-scrollbar {
  width: 0.6rem; /* Lebar scrollbar */
  background-color: var(--scroll-bar-color); /* Warna latar belakang track */
  border-radius: 0.5rem;
}

/* Thumb (bagian yang digeser) */
::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color); /* Warna utama thumb */
  border-radius: 0.5rem;
}

/* Saat hover thumb */
::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color-light); /* Warna saat hover */
}



/* ==================== 🔄 PRELOADER ==================== */
/* Menampilkan layar loading fullscreen saat halaman pertama kali dibuka */

#preloader {
  position: fixed;
  inset: 0; /* Mengisi seluruh viewport (top, right, bottom, left) */
  background-color: #000; /* Latar hitam */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Di atas semua elemen */
  transition: opacity 1s ease, background 1.5s ease;
  overflow: hidden;
}

/* ✨ Efek flash putih saat preloader menghilang */
#preloader.fade-out {
  background-color: #fff !important;
  opacity: 0;
}

/* ==================== 🖼️ LOGO PRELOADER ==================== */
/* Logo di tengah layar saat loading */
.preloader-logo {
  width: 160px;
  height: 160px;
  opacity: 0;
  transform: scale(0.9);
  animation: fadeInApple 1.5s ease forwards;
  animation-delay: 0.5s;
}

/* ==================== 💬 TEKS PRELOADER ==================== */
/* Teks di bawah logo saat loading */
.preloader-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 500;
  color: #fff;
  margin-top: 1.8rem;
  opacity: 0;
  animation: fadeInApple 1.5s ease forwards;
  animation-delay: 1.2s;
}

/* ==================== RESPONSIVE: PRELOADER MOBILE ==================== */
/* 📱 Menyesuaikan ukuran logo & teks preloader untuk layar kecil (maks 600px) */

@media (max-width: 600px) {

  /* Ukuran logo preloader dikecilkan */
  .preloader-logo {
    width: 80px;
    height: 80px;
  }

  /* Ukuran dan tata letak teks subtitle disesuaikan agar tetap terbaca di mobile */
  .preloader-subtitle {
    font-size: 1.2rem;
    text-align: center;
    padding: 0 1rem;
  }
}

/* ==================== 🎞️ ANIMASI MASUK ==================== */
/* Animasi fade-in untuk logo dan teks */
@keyframes fadeInApple {
  0% {
    opacity: 0;
    transform: scale(0.92) translateY(10px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}



/* ==================== SCROLL LOCK SAAT LOADING ==================== */
html.loading,
body.loading {
  overflow: hidden;
  height: 100vh;
}



/*========== ✅ Tambahan untuk Mobile Umum (0–767px) ==========*/
@media screen and (max-width: 767px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    overscroll-behavior: contain;
  }

  /* Kurangi padding berlebih yang menyebabkan overflow bawah */
  .section,
  .contact__container,
  .footer__bg {
    padding-bottom: 2rem !important;
    margin-bottom: 0 !important;
  }

  /* Pastikan tidak ada elemen setelah footer yang memanjang */
  body > *:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Scroll-up button tidak boleh bikin tinggi ekstra */
  .scroll-up {
    bottom: 2rem !important;
    position: fixed;
    z-index: 999;
  }
}


/* ==================== NOSCRIPT FALLBACK ==================== */
/* 💡 Digunakan untuk mengatur tampilan jika JavaScript dinonaktifkan */

/* Tampilkan elemen <noscript> sebagai blok agar kontennya terlihat */
noscript {
  display: block;
}

/* Sembunyikan style di dalam <noscript> agar tidak mengganggu tampilan */
noscript style {
  display: none !important;
}


/* cursor */
.circle {
    height: 24px;
    width: 24px;
    border-radius: 24px;
    background-color: black;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999999;
    /* so that it stays on top of all other elements */
}


/*==================== BLOGGER ====================*/
.blog__container {
  position: relative;
  padding-top: 2rem;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

/* Kartu Blog */
.blog__card-ios {
  background: linear-gradient(to bottom right, #121212, #1f1f1f);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  max-width: 100%;
  text-align: left;
}

.blog__card-ios:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(255, 94, 0, 0.4);
  background: linear-gradient(to bottom right, #1a1a1a, #282828);
}

/* Judul */
.blog__card-ios h3 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

/* Deskripsi */
.blog__card-ios p {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Tombol */
.blog__btn-ios {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(to right, #ff8c00, #ff5e00);
  color: #fff;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(255, 94, 0, 0.3);
  transition: background 0.3s ease, transform 0.2s ease;
}

.blog__btn-ios:hover {
  background: linear-gradient(to right, #ff5e00, #ff8c00);
  transform: scale(1.03);
}

/* Tombol Navigasi */
.swiper-button-next,
.swiper-button-prev {
  color: #ff5e00;
  top: 50%;
  transform: translateY(-50%);
}

/* Dark mode */
html[data-bs-theme="dark"] .blog__card-ios {
  background: linear-gradient(to bottom right, #1a1a1a, #2b2b2b);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .blog__card-ios {
    width: 90%;
    margin: auto;
  }
}

/*==================== DATA DIRI ====================*/
.highlight-name {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  transition: all 0.4s ease-in-out;
  cursor: default;
}

.highlight-name:hover {
  background: linear-gradient(135deg, #ee1313, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/*🖋️ Subtitle bergaya */
.stylish-text {
  color: var(--first-color);
  font-weight: 600;
  text-shadow: 0 0 4px var(--first-color-light);
}

/*🔥 Tombol glowing */
.button--glow {
  background: linear-gradient(135deg, var(--first-color), #ff8c00);
  color: #fff;
  padding: 0.8rem 1.7rem;
  border-radius: 2rem;
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.4);
  transition: all 0.3s ease-in-out;
}

.button--glow:hover {
  box-shadow: 0 0 18px rgba(255, 140, 0, 0.7), 0 0 36px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

html,
body {
  transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
}
