/* =========================================
   1. GENERAL & TYPOGRAPHY
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden; /* MENCEGAH GARIS PUTIH/BOCOR DI SAMPING LAYAR HP */
  width: 100%;
}

:root {
  --white-smooth: #FAFAFA;     
  --black-smooth: #333333;     
  --grey-neutral: #757575;     
  --grey-light: #E0E0E0;       
  --navy-base: #212843;        
  --red-accent: #D32F2F;       
  --beige-warm: #E7D8C4;       
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--white-smooth);
  color: var(--black-smooth);
}

html {
  scroll-behavior: smooth;
}

p { color: var(--grey-neutral); }
h1, h2, h3 { color: var(--navy-base); }

a, .btn, .icon { transition: all 300ms ease; }

a {
  color: var(--black-smooth);
  text-decoration: none;
}

a:hover {
  color: var(--red-accent); 
  text-decoration: underline;
  text-underline-offset: 1rem;
}

.icon {
  cursor: pointer;
  height: 2rem;
  color: var(--black-smooth);
}

.icon:hover { color: var(--red-accent); }

/* =========================================
   2. FLOATING NAVIGATION (NAVY GLASSMORPHISM)
========================================= */
/* Desktop Nav Melayang */
#desktop-nav {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  max-width: 1000px;
  height: 75px;
  background-color: rgba(33, 40, 67, 0.85); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px; 
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
  z-index: 999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  font-size: 1.05rem; 
  font-weight: 500;
}

#desktop-nav a { color: var(--white-smooth); }
#desktop-nav a:hover { color: var(--red-accent); }

.logo {
  font-family: 'Playfair Display', serif; 
  font-size: 1.8rem;
  color: var(--white-smooth); 
  font-weight: 700;
  cursor: pointer;
  letter-spacing: -0.5px;
  margin: 0;
  padding: 0;
}

.logo-accent { color: var(--red-accent); }

/* Mobile Nav Melayang */
#hamburger-nav {
  display: none; 
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 65px;
  background-color: rgba(33, 40, 67, 0.85); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 40px;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  z-index: 999;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.hamburger-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 18px; 
  width: 26px;
  cursor: pointer;
  z-index: 1000;
}

.hamburger-icon span {
  display: block;
  width: 100%;
  height: 2.5px; 
  border-radius: 2px;
  background-color: var(--white-smooth); 
  transition: all 0.3s ease-in-out;
}

/* Menu Dropdown HP */
.menu-links {
  position: absolute;
  top: 3.5rem; 
  right: 0;
  background-color: rgba(33, 40, 67, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 200px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 100;
  border: none;
  opacity: 0;
  visibility: hidden;
}

.menu-links.open { 
  max-height: 300px; 
  border: 1px solid rgba(255, 255, 255, 0.1); 
  opacity: 1;
  visibility: visible;
}

.menu-links a {
  display: block;
  padding: 15px 20px;
  text-align: center;
  font-size: 1.1rem; 
  font-weight: 500;
  color: var(--white-smooth); 
}

.menu-links a:hover { color: var(--red-accent); }
.menu-links li { list-style: none; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.menu-links li:last-child { border-bottom: none; }

.hamburger-icon.open span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.hamburger-icon.open span:nth-child(2) { opacity: 0; }
.hamburger-icon.open span:last-child { transform: rotate(-45deg) translate(6px, -6px); }

/* --- ANIMASI MUNCUL (FADE IN UP) --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   3. HERO SECTION (#profile) - FULL WIDTH BG & CENTERED
========================================= */
#profile {
  display: flex;
  justify-content: center; /* Mengumpulkan teks dan foto di tengah */
  align-items: center;
  gap: 5rem; /* Jarak proporsional antara teks dan foto */
  min-height: 100vh; 
  
  /* KUNCI PERBAIKAN: Memaksa warna background membentang penuh 100% */
  width: 100%; 
  
  padding: 120px 5% 50px 5%; 
  background-color: var(--beige-warm); 
}

/* Animasi Muncul berurutan (biarkan tetap sama) */
.hero-text-left { 
  text-align: left; 
  flex: 0 1 auto; /* Mengubah flex agar lebar teks mengikuti isi paragraf, bukan memaksa lebar */
  animation: fadeInUp 1s ease backwards; 
}

.greeting-text {
  font-family: 'Playfair Display', serif;
  font-style: italic; 
  font-size: 2rem; 
  color: var(--grey-neutral);
  margin-bottom: -15px; 
}

h1.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 5.5rem; 
  font-weight: 700;
  color: var(--navy-base);
  line-height: 1.1;
  letter-spacing: -2px;
}

.hero-divider {
  width: 80px; 
  height: 5px; 
  background-color: var(--red-accent);
  margin: 1.8rem 0;
  border-radius: 3px;
}

.typewriter-left {
  font-size: 2rem; 
  color: var(--navy-base); 
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.cursor {
  display: inline-block;
  width: 4px; 
  background-color: var(--red-accent); 
  color: transparent; 
  margin-left: 5px;
  animation: blink 1s infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Membatasi lebar teks deskripsi agar membentuk paragraf rapi di PC */
.desc-left {
  max-width: 550px; /* Batas lebar agar paragraf tidak kepanjangan */
  margin: 0 0 2.5rem 0; 
  color: var(--grey-neutral);
  font-size: 1.15rem; 
  line-height: 1.8;
}

.btn-container { display: flex; gap: 1.2rem; }
.btn-left { justify-content: flex-start !important; }

.btn {
  font-weight: 600;
  font-size: 1.1rem; 
  padding: 1.2rem 2.5rem; 
  width: auto; 
  border-radius: 30px;
  cursor: pointer;
  border: var(--navy-base) 0.15rem solid; 
}

.btn-color-2 { background: none; color: var(--navy-base); }
.btn-color-2:hover { background: var(--navy-base); color: white; }

.btn-wa { background: var(--navy-base); color: white; }
.btn-wa:hover {
  background: var(--red-accent); 
  border-color: var(--red-accent);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3); 
}

#socials-container { display: flex; margin-top: 1.5rem; gap: 1rem; }
.socials-left { justify-content: flex-start !important; margin-top: 2.5rem; gap: 1.8rem; }
.icon { font-size: 1.8rem; } 

/* ====================================
   FOTO PROFIL ANIMATED (Ukuran Di-Fix)
==================================== */
.section__pic-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0; /* Mencegah foto gepeng saat gap menyempit */
}

.hero-image-wrapper {
  position: relative;
  width: 450px;  
  height: 450px; 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2; 
  animation: fadeInUp 1s ease 0.4s backwards; 
}

.hero-image-wrapper::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 105%; 
  height: 105%;
  transform: translate(-50%, -50%) rotate(0deg); 
  border: 2px solid var(--navy-base); 
  border-radius: 50%;
  z-index: -1; 
  box-shadow: 0 0 20px rgba(33, 40, 67, 0.05);
  transition: all 0.8s ease-in-out; 
}

.hero-image-wrapper:hover::before {
  width: 112%;
  height: 112%;
  transform: translate(-50%, -50%) rotate(180deg); 
  border-color: var(--red-accent); 
}

.profile-img {
  border-radius: 50%;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(33, 40, 67, 0.1); 
  width: 100%;
  height: 100%; 
  object-fit: cover; 
}

.profile-img:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(33, 40, 67, 0.15);
}

/* =========================================
   4. ABOUT & SKILLS SUPER SECTION
========================================= */
.about-modern {
  padding: 120px 0;
  margin: 0 auto;
  max-width: 1100px;
  width: 90%; 
}

.about-modern-container {
  display: flex;
  flex-direction: column;
  gap: 5rem; 
}

.about-intro {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.experience-left {
  flex: 0 0 160px;
  border-right: 3px solid var(--red-accent); 
  padding-right: 2rem;
}

.big-number {
  font-size: 7.5rem;
  font-weight: 700;
  line-height: 0.85;
  color: var(--red-accent); 
  letter-spacing: -3px;
  margin-bottom: 0.5rem;
}

.plus-sign {
  font-size: 4rem;
  vertical-align: top;
  line-height: 1;
}

.years-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-base);
  line-height: 1.4;
  text-transform: uppercase; 
  letter-spacing: 1px;
}

.about-text-right {
  flex: 1;
}

.skills-headline {
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem;
  color: var(--black-smooth);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  text-align: left;
}

.highlight-navy {
  color: var(--navy-base); 
}

.about-description {
  font-size: 1.1rem;
  color: var(--grey-neutral);
  line-height: 1.8; 
}

.about-description strong {
  color: var(--navy-base);
}

.skills-grid-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.skill-card {
  background: #FFFFFF;
  border: 1px solid var(--grey-light);
  border-top: 5px solid var(--navy-base); 
  border-radius: 16px;
  padding: 3rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(33, 40, 67, 0.08); 
  border-color: var(--navy-base);
}

.skill-card-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--white-smooth);
  padding-bottom: 1.5rem;
}

.skill-icon {
  font-size: 2.2rem;
  color: var(--navy-base); 
}

.skill-card h3 {
  font-size: 1.6rem;
  color: var(--navy-base);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-tag {
  background-color: var(--white-smooth); 
  color: var(--black-smooth); 
  border: 1px solid var(--grey-light);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background-color: var(--red-accent); 
  color: #FFFFFF;
  border-color: var(--red-accent);
  transform: scale(1.05);
}

/* =========================================
   5. EXPERIENCE SECTION (NAVY BG & SPLIT CARD)
========================================= */
.exp-modern-section {
  background-color: var(--navy-base); 
  padding: 120px 0;
  width: 100%;
  overflow: hidden; /* Mencegah layar tergeser ke samping */
}

/* KUNCI 1: Container dibuat 100% agar slider menyentuh tepi layar */
.exp-container { 
  max-width: 100%; 
  margin: 0; 
  padding: 0; 
}

/* Judul tetap dikunci rapi di tengah */
.exp-subtitle, .exp-main-title { 
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 5%; 
}

.exp-subtitle { 
  color: var(--red-accent); 
  text-align: center; 
  font-weight: 600; 
  letter-spacing: 2px; 
  text-transform: uppercase; 
  margin-bottom: 0.5rem; 
}

.exp-main-title { 
  font-family: 'Playfair Display', serif; 
  font-size: 4rem; 
  text-align: center; 
  color: var(--white-smooth); 
  margin-bottom: 4rem; 
  letter-spacing: -1px;
}

.exp-slider-wrapper { position: relative; width: 100%; }

/* Area Gulir (Scroll) Horizontal Pengalaman */
.exp-slider-track {
  display: flex; 
  align-items: stretch; 
  gap: 2rem; 
  overflow-x: auto; 
  scroll-snap-type: x mandatory; 
  -ms-overflow-style: none; 
  scrollbar-width: none; 
  padding: 30px 5% 60px 5%; /* Padding 5% agar ada jarak nafas dari tepi layar */
  cursor: grab; 
}

.exp-slider-track::-webkit-scrollbar { display: none; }

.exp-slider-track.active {
  cursor: grabbing;
  scroll-snap-type: none; 
}

.exp-slider-track.active .exp-slide {
  user-select: none; 
  pointer-events: none; 
}

/* KUNCI 2: NETFLIX STYLE DI PC */
.exp-slide {
  flex: 0 0 75%; /* Card hanya mengambil 75% layar, sisanya untuk efek mengintip */
  scroll-snap-align: center; /* Selalu fokus ke tengah saat digeser */
  box-sizing: border-box;
  display: flex; 
}

.exp-grid {
  background-color: #FFFFFF; 
  border-radius: 24px;
  padding: 4rem 5rem;
  display: grid;
  grid-template-columns: 350px 1fr; 
  gap: 4rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  width: 100%; 
}

.exp-col-left {
  border-right: 1px solid var(--grey-light);
  padding-right: 2rem;
}

.exp-col-left h3 { 
  font-size: 1.8rem; 
  color: var(--navy-base); 
  margin-bottom: 0.8rem; 
  font-weight: 700; 
  line-height: 1.3;
}

.company-name { 
  font-size: 1.15rem; 
  color: var(--grey-neutral); 
  font-weight: 500; 
  display: block;
  margin-bottom: 1.5rem;
}

.exp-date-badge { 
  display: inline-block;
  background-color: var(--navy-base); 
  color: white; 
  padding: 8px 20px; 
  border-radius: 30px; 
  font-size: 0.95rem; 
  font-weight: 600; 
}

.exp-col-right p { 
  font-size: 1.1rem; 
  color: var(--black-smooth); 
  line-height: 1.8; 
  margin-bottom: 1.5rem; 
}

.exp-col-right ul { list-style-type: none; padding-left: 0; margin-bottom: 0; }
.exp-col-right li { 
  font-size: 1.05rem; 
  color: var(--black-smooth); 
  line-height: 1.7; 
  margin-bottom: 1rem; 
  position: relative; 
  padding-left: 1.8rem; 
}

.exp-col-right li::before { 
  content: "▹"; 
  position: absolute; left: 0; 
  color: var(--red-accent); 
  font-size: 1.2rem; font-weight: bold; 
}

/* Titik Navigasi Manual (Dots) */
.exp-pagination { 
  display: flex; justify-content: center; gap: 12px; margin-top: 1rem; 
}
.dot { 
  width: 12px; height: 12px; 
  background-color: rgba(255, 255, 255, 0.3); 
  border-radius: 50%; cursor: pointer; transition: all 0.3s ease; 
}
.dot.active, .dot:hover { 
  background-color: var(--red-accent); transform: scale(1.3); 
}

/* KUNCI 3: EDUKASI AGAR TIDAK LUBER */
.edu-modern-block { 
  background: #FFFFFF; 
  border-radius: 16px; 
  padding: 2.5rem 3rem; 
  width: 90%; /* Dibatasi agar tidak melebar ke ujung layar */
  max-width: 1000px;
  margin: 5rem auto 0 auto; /* Posisikan pas di tengah */
  display: flex; align-items: center; gap: 2rem; 
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.edu-icon { 
  font-size: 2.5rem; color: var(--white-smooth); 
  background-color: var(--navy-base); 
  width: 80px; height: 80px; 
  display: flex; align-items: center; justify-content: center; 
  border-radius: 50%; flex-shrink: 0; 
}
.edu-details h3 { font-size: 1.5rem; color: var(--navy-base); margin-bottom: 0.5rem;}
.edu-details p { color: var(--grey-neutral); font-size: 1.1rem; }

/* Tambahan Badge Edukasi (Tahun & IPK) */
.edu-badges {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}
.edu-year-badge, .edu-gpa-badge { 
  display: inline-block; 
  padding: 6px 16px; 
  border-radius: 20px; 
  font-size: 0.95rem; 
  font-weight: 600; 
}
.edu-year-badge {
  background-color: var(--grey-light); 
  color: var(--black-smooth); 
}
.edu-gpa-badge {
  background-color: var(--navy-base);
  color: var(--white-smooth);
}

/* =========================================
   6. PORTFOLIO SECTION (FULL WIDTH NAVY CARDS)
========================================= */
.portfolio-modern-section { 
  background-color: var(--white-smooth); 
  padding: 120px 0; 
  width: 100%; /* Memastikan section full-width */
  overflow: hidden; /* Mencegah layar bisa digeser ke samping secara paksa */
}

/* KUNCI PERBAIKAN: Container dibuat 100% agar track bisa lepas ke ujung layar */
.portfolio-container { 
  max-width: 100%; 
  margin: 0; 
  padding: 0; 
}

/* Judul dikunci di tengah sejajar dengan section lain (max 1200px) */
.portfolio-subtitle, 
.portfolio-main-title { 
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 5%; 
}

.portfolio-subtitle { 
  color: var(--red-accent); 
  text-align: center; 
  font-weight: 600; 
  letter-spacing: 2px; 
  text-transform: uppercase; 
  margin-bottom: 0.5rem; 
}

.portfolio-main-title { 
  font-family: 'Playfair Display', serif; 
  font-size: 4rem; 
  text-align: center; 
  color: var(--navy-base); 
  margin-bottom: 4rem; 
  letter-spacing: -1px;
}

/* Area Gulir (Scroll) Horizontal */
.portfolio-track { 
  display: flex;
  justify-content: center;
  gap: 2rem; /* Jarak dirapatkan sedikit agar muat 3 card */
  overflow-x: auto; 
  scroll-snap-type: x mandatory; 
  padding: 20px 5% 60px 5%; 
  -ms-overflow-style: none; 
  scrollbar-width: none; 
  cursor: grab;
  justify-content: flex-start;
}
.portfolio-track::-webkit-scrollbar { display: none; }

/* KUNCI PERBAIKAN: Gunakan .active (titik) bukan :active (titik dua) */
.portfolio-track.active {
  cursor: grabbing;
  scroll-snap-type: none; /* Mematikan efek magnet sementara agar tarikan ringan */
}

/* ANTI-BLOK BIRU & ANTI-KLIK TAK SENGAJA */
.portfolio-track.active .port-card-navy {
  user-select: none; /* Mencegah teks terblok biru saat diseret */
  pointer-events: none; /* Mencegah tombol/link terklik secara tak sengaja */
}

/* Desain Card Navy */
.port-card-navy { 
  /* KUNCI PC: Kalkulasi lebar agar pas menampilkan 3 Card sekaligus */
  flex: 0 0 calc(33.333% - 1.35rem); 
  
  max-width: none;

  /* KUNCI POSISI: Memaksa card selalu berhenti di TENGAH layar saat digeser */
  scroll-snap-align: center; 
  
  background: var(--navy-base); 
  border-radius: 32px; 
  padding: 2.5rem; 
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease; 
}

.port-card-navy:hover { 
  transform: translateY(-10px); 
  box-shadow: 0 25px 50px rgba(33, 40, 67, 0.25); 
}

.port-card-top {
  display: flex; justify-content: space-between; align-items: flex-end; 
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 1.5rem; margin-bottom: 2rem;
}

.port-num { font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 700; color: var(--white-smooth); line-height: 0.8; }
.port-category { font-size: 0.95rem; font-weight: 500; color: var(--white-smooth); letter-spacing: 1px; }
/* KUNCI: Membuat kategori dan badge berbaris rapi di sebelah kanan */
.port-tags {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

/* Desain Badge Akses */
.status-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Warna Hijau Emerald untuk Publik */
.status-badge.public {
  background-color: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

/* Warna Abu-abu/Orange untuk Privat */
.status-badge.private {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--grey-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.port-card-body { margin-bottom: 2.5rem; }
.port-card-body h3 { font-size: 1.6rem; color: var(--white-smooth); margin-bottom: 0.8rem; font-weight: 700; }
.port-card-body p { color: var(--grey-light); font-size: 1.05rem; line-height: 1.6; }

/* Area Foto & Tombol View Interaktif */
.port-card-image-wrapper {
  position: relative; 
  width: 100%; 
  
  /* KUNCI: Ubah rasio menjadi 1/1 (Kotak) agar pas dengan foto Anda */
  aspect-ratio: 1 / 1; 
  
  border-radius: 16px; 
  overflow: hidden; 
  margin-top: auto; 
  background-color: rgba(255,255,255,0.05); 
}

.port-img-navy {
  width: 100%;
  height: 100%;
  
  /* object-fit: cover; memastikan foto melar proporsional menutupi seluruh wadah */
  object-fit: cover; 
  
  /* Memastikan fokus potongan foto ada di tengah (jika ada sisa) */
  object-position: center; 
  
  transition: transform 0.6s ease;
}
.port-card-navy:hover .port-img-navy { transform: scale(1.08); }

.port-view-btn {
  position: absolute; bottom: 20px; right: 20px; width: 50px; height: 50px; background-color: var(--white-smooth); color: var(--navy-base); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.2rem; opacity: 0; transform: translate(20px, 20px) scale(0.5); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.port-card-navy:hover .port-view-btn { opacity: 1; transform: translate(0, 0) scale(1); }
.port-view-btn:hover { background-color: var(--red-accent); color: var(--white-smooth); }

/* =========================================
   7. CREATIVE GALLERY (MASONRY GRID)
========================================= */
.gallery-modern-section {
  background-color: #FFFFFF; /* Latar putih agar foto menonjol */
  padding: 100px 0;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.gallery-subtitle { color: var(--red-accent); text-align: center; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 0.5rem; }
.gallery-main-title { font-family: 'Playfair Display', serif; font-size: 3.5rem; text-align: center; color: var(--navy-base); margin-bottom: 4rem; letter-spacing: -1px; }

/* Masonry Layout Otomatis ala Pinterest */
.masonry-grid {
  column-count: 3; /* Dibagi 3 kolom di PC */
  column-gap: 1.5rem;
}

.masonry-item {
  break-inside: avoid; /* Mencegah gambar terpotong di tengah kolom */
  margin-bottom: 1.5rem;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background-color: var(--grey-light);
}

.masonry-img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.masonry-item:hover .masonry-img {
  transform: scale(1.05); /* Zoom in tipis saat dihover */
}

/* Efek Kaca Hitam & Judul muncul saat dihover */
.masonry-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(33, 40, 67, 0.9), transparent);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.masonry-item:hover .masonry-overlay {
  opacity: 1;
  transform: translateY(0);
}

.masonry-overlay h4 { font-size: 1.3rem; color: white; margin-bottom: 0.3rem; }
.masonry-overlay p { color: var(--grey-light); font-size: 0.95rem; }

/* Khusus untuk item yang berupa Link/Video */
.video-item {
  display: block;
  text-decoration: none; /* Menghilangkan garis bawah pada link */
}

/* Ikon Play Transparan di Tengah Foto */
.video-center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  opacity: 0.8;
  transition: all 0.3s ease;
  z-index: 2; /* Memastikan ikon ada di atas foto */
  pointer-events: none; /* Agar tidak menghalangi klik ke link */
}

/* Efek saat video disorot mouse */
.video-item:hover .video-center-icon {
  background-color: var(--red-accent);
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}


/* =========================================
   8. VIRAL ACHIEVEMENT (HORIZONTAL SLIDER)
========================================= */
.achievement-section {
  background-color: var(--beige-warm); 
  padding: 100px 0 140px 0;
  width: 100%; 
  overflow: hidden;
}

.achieve-container { max-width: 100%; margin: 0; padding: 0; }

/* Area Gulir (Sama seperti portofolio) */
.achieve-track {
  display: flex;
  gap: 4rem; /* Jarak antar card */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 5% 80px 5%; /* Ruang bayangan & jarak layar */
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
}
.achieve-track::-webkit-scrollbar { display: none; }
.achieve-track.active { cursor: grabbing; scroll-snap-type: none; }
.achieve-track.active .achieve-card-navy { user-select: none; pointer-events: none; }

/* Desain Card Utama */
.achieve-card-navy {
  flex: 0 0 950px; /* Di PC, cardnya dibuat lebar agar memanjang seperti panggung */
  scroll-snap-align: center;
  background-color: var(--navy-base);
  border-radius: 32px;
  padding: 4rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Kolom kanan lebih lebar */
  gap: 5rem;
  align-items: center;
  box-shadow: 0 30px 60px rgba(33, 40, 67, 0.15);
  transition: transform 0.4s ease;
}

.achieve-visual {
  position: relative; border-radius: 20px; overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3); aspect-ratio: 4/5; 
}
.achieve-img { width: 100%; height: 100%; object-fit: cover; }

.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 70px; height: 70px; background-color: rgba(255,255,255,0.2); backdrop-filter: blur(5px);
  border-radius: 50%; display: flex; justify-content: center; align-items: center;
  font-size: 1.5rem; color: white; border: 2px solid white; cursor: pointer; transition: all 0.3s;
}
.play-btn:hover { background-color: var(--red-accent); border-color: var(--red-accent); transform: translate(-50%, -50%) scale(1.1); }

.views-badge {
  position: absolute; bottom: 20px; left: 20px;
  background-color: var(--red-accent); color: white; font-weight: 700; font-size: 1rem;
  padding: 8px 16px; border-radius: 30px; display: flex; align-items: center; gap: 8px;
}

/* Teks dan Angka */
.achieve-label { display: inline-block; color: var(--red-accent); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; font-size: 0.95rem; }
.achieve-text h2 { font-family: 'Playfair Display', serif; font-size: 3.5rem; color: white; line-height: 1.1; margin-bottom: 1.5rem; }
.achieve-desc { color: var(--grey-light); font-size: 1.15rem; line-height: 1.8; margin-bottom: 2.5rem; }

.achieve-stats { display: flex; gap: 2rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; }
.stat-item h3 { font-size: 2.2rem; color: white; margin-bottom: 0.2rem; }
.stat-item p { color: var(--grey-neutral); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; }

/* --- SECTION FOOTER KONTAK --- */
#kontak {
  background-color: #0f172a; /* Warna Navy Gelap */
  color: #ffffff;
  padding: 100px 0 50px 0;
  margin-top: 80px;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  text-align: center;
  width: 100%;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}

.footer-cta-box {
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 50px;
}

.footer-pre-title {
  color: var(--red-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.footer-description {
  color: #94a3b8;
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 750px;
  margin: 0 auto 3rem auto;
}

/* BUTTONS */
.footer-btn-group {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.btn-wa, .btn-email {
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important; /* KUNCI ANTI-GARIS BAWAH */
}

.btn-wa { background-color: #25D366; color: white; border: none; }
.btn-wa:hover { 
  transform: translateY(-5px); 
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3); 
  text-decoration: none !important; 
}

.btn-email { background-color: transparent; border: 2px solid #cbd5e1; color: white; }
.btn-email:hover { 
  background-color: white; 
  color: #0f172a; 
  transform: translateY(-5px); 
  text-decoration: none !important; 
}

/* SOCIALS & BOTTOM */
.footer-social-icons { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1.5rem; }
.f-soc-link { color: #94a3b8; font-size: 1.6rem; transition: all 0.3s ease; }
.f-soc-link:hover { color: white; transform: scale(1.2); }
.footer-copyright { color: #64748b; font-size: 0.95rem; margin-bottom: 1rem; }
.footer-links a { color: #64748b; margin: 0 10px; font-size: 0.9rem; text-decoration: none; }
.footer-links a:hover { color: white; }
