/* Import Font (opsional, bisa diganti dengan font lain) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

/* ======================= GLOBAL & FONT ======================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
section {
    overflow: hidden;
}

body {
    /* Background putih sesuai kontainer luar di Figma */
    background-color: #FFFFFF; 
    color: #FFFFFF;
    font-family: 'Inter', 'SF Pro Display', sans-serif; /* Menggunakan Inter sebagai alternatif SF Pro */
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ======================= HEADER / NAVIGATION ======================= */
header {
    padding: 20px;
    display: flex;
    justify-content: center;

    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-container {
    width: 100%;
    max-width: 594px; /* Lebar nav dari Figma */
    height: 60px;
    background: #020202;
    border-radius: 16px;
    outline: 2px solid #606060;
    padding: 0 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    width: 35px;
    height: 35px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 18px;
}

.nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a.active {
    opacity: 1;
    font-weight: 500;
}

.contact-btn {
    background: #FFFFFF;
    color: #020202;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
}
.contact-btn:hover {
    background: #cccccc;
}

/* ======================= HERO SECTION ======================= */
#hero {
    padding: 0 20px; /* Jarak dari tepi layar */
    margin-top: 0px; /* Jarak dari navigasi */
    display: flex;
    justify-content: center;
}

.hero-container {
    width: 100%;
    max-width: 1400px; /* Lebar container utama */
    background: #020202;
    border-radius: 32px;
    padding: 140px 80px 100px 80px; /* Padding dari Figma */
    
    display: flex;
    justify-content: space-between; /* Mendorong kolom kiri dan kanan */
    align-items: flex-end; /* Align item ke bawah, sesuai desain */
    gap: 144px; /* Jarak antar kolom dari Figma */

    position: relative;
    overflow: hidden;
    
    /* Latar cahaya dan pattern */
    background-image: url('assets/pattern.png'), url('assets/cahaya.png');
    background-position: top right, top left; /* Posisi cahaya lebih presisi */
    background-repeat: no-repeat, no-repeat;
    background-size: 800px, 1000px;
}

/* --- Kolom Kiri --- */
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 450px;
    flex-shrink: 0;
    width: 735px; /* TAMBAHKAN INI */
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background-color: rgba(255, 255, 255, 0.12);
    padding: 6px 14px 6px 6px;
    border-radius: 100px;
    border: 1px solid #4A4A4A;
    align-self: flex-start; /* Tambahkan baris ini */
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    position: relative; /* Untuk titik hijau */

    /* Menggunakan gambar sebagai background */
    background-image: url('assets/profile.png');
    background-size: cover;
    background-position: center;
}

.online-indicator {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #23B000;
    border-radius: 50%;
    border: 2px solid #020202; /* Memberi efek outline */
    top: 0;
    right: -2px; /* Posisi titik hijau sesuai desain */
}

.hero-title {
    font-size: 140px;
    font-weight: 300;
    line-height: 1; /* Rapatkan line-height */
    min-height: 300px; /* Ruang agar layout tidak 'loncat' */
    color: #ffffff;
}

.cursor {
    display: inline-block;
    background-color: #ccc;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { background-color: transparent; }
    50% { background-color: #ccc; }
}

.gradient-text {
    background: linear-gradient(90deg, #FFFFFF, #9B9B9B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.social-links {
    display: flex;
    gap: 24px;
}

.social-links a {
    color: var(--text-primary);
    font-size: 20px;
    transition: transform 0.3s ease; /* Tambahkan baris ini */
}

.social-links a:hover {
    transform: translateY(-5px); /* Menggeser ikon ke atas 5px */
}

.social-icons {
    display: flex;
    gap: 24px;
}

.social-icons img {
    width: 24px;
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-icons img:hover {
    opacity: 1;
}

/* --- Kolom Kanan --- */
.hero-right {
    max-width: 450px; /* Lebar kolom kanan dari Figma */
    padding-bottom: 20px; /* Penyesuaian agar align dengan baseline social icons */
}

.hero-right p {
    font-size: 18px;
    line-height: 1.6;
    color: #9B9B9B;
}

.hero-right strong {
    color: #FFFFFF;
    font-weight: 400; /* Font-weight dari Figma */
}

/* ======================= ABOUT SECTION ======================= */
#about {
    background-color: #FFFFFF; /* Latar belakang putih */
    padding: 160px 80px; /* Padding atas/bawah dan kiri/kanan */
    color: #020202; /* Warna teks utama hitam */
}

.about-container {
    max-width: 1400px;
    margin: 0 auto; /* Menengahkan container */
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Konten align ke atas */
    gap: 100px; /* Jarak antar kolom */
}

/* --- Kolom Kiri --- */
.about-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch; /* Membuat kolom ini setinggi container */
    flex-shrink: 0;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.title-square {
    width: 10px;
    height: 10px;
    background-color: #020202;
}

.section-title p {
    color: #9B9B9B;
    font-size: 20px;
    font-weight: 500;
}

.cv-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #020202;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    position: relative; /* Penting untuk posisi garis animasi */
    padding-bottom: 4px; /* Kita tetap beri padding agar ada jarak */
    transition: color 0.3s;
}



/* Garis bawah baru yang bisa dianimasikan */
.cv-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #020202;
    left: 0;
    bottom: 0;

    /* Awalnya, garisnya 'menghilang' dengan skala 0 */
    transform: scaleX(0); 
    transform-origin: right; /* Animasi dimulai dari kanan ke kiri */
    transition: transform 0.4s ease-in-out;
}

/* Saat di-hover, garisnya muncul dari kiri ke kanan */
.cv-link:hover::after {
    transform: scaleX(1);
    transform-origin: left; /* Animasi kembali dari kiri ke kanan */
}

/* --- Kolom Kanan --- */
.about-right {
    max-width: 800px;
}

.about-right p {
    font-size: 30px;
    font-weight: 500;
    line-height: 1.5; /* 45px / 30px */
}

/* --- Animasi Fade Up --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px); /* NAIKKAN JARAK: elemen akan mulai dari 50px lebih rendah */
    transition: opacity 1s ease-out, transform 1s ease-out; /* PERLAMBAT DURASI: animasi berjalan selama 1 detik */
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ======================= PROJECTS SECTION (VERSI BARU) ======================= */
#projects {
    background-color: #FAFAFA;
    /* padding: 120px 80px; */
    color: #020202;
    position: relative;
    
}

/* Background gradasi (opsional, sesuai desain figma) */
#projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 500px;
    background: linear-gradient(180deg, #FAFAFA 0%, #FAFAFA 100%);
    z-index: 0;
    background-image: url('assets/pattern-project.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 60%; /* TAMBAHKAN INI */
}

.projects-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    padding: 120px 80px; /* <-- TAMBAHKAN PADDING DI SINI */
    position: relative;
    z-index: 1;
}

.projects-header {
    max-width: 730px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border-radius: 10px;
    border: 1px solid #E4E4E4;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05);
    font-size: 20px;
    font-weight: 500;
}

.projects-header h1 {
    font-size: 60px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap; /* Tambahkan baris ini */

}

.projects-header p {
    font-size: 20px;
    color: #9B9B9B;
    line-height: 1.6;
}

.project-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.project-card {
    display: flex;
    gap: 60px;
    align-items: center;
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #E4E4E4;
    transition: transform 0.1s ease, box-shadow 0.6s ease;
}

/* Animasi Shadow saat hover */
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 20px 50px rgba(0, 0, 0, 0.1);
}

/* Layout terbalik untuk kartu genap */
.project-card-reverse {
    flex-direction: row-reverse;
}

.project-image {
    flex: 1;
    min-width: 0;
}

.project-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.project-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.project-logo {
    height: 40px;
    width: auto;
}

.project-info h2 {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
}

.project-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.project-tags span {
    background: #FAFAFA;
    border: 1px solid #E4E4E4;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 16px;
    color: #9B9B9B;
}

.project-links {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

/* Tombol See Case Study */
.btn-case-study {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #020202;
    color: white;
    padding: 8px 12px 8px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
}

.arrow-icon-wrapper {
    background: white;
    padding: 8px;
    border-radius: 6px;
    display: inline-flex;
    color: #020202;
    transition: transform 0.3s ease;
}

/* Animasi panah saat hover */
.btn-case-study:hover .arrow-icon-wrapper {
    transform: translateX(4px);
}

/* Tombol See Prototype (animasi garis bawah) */
.btn-prototype {
    color: #020202;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
}

.btn-prototype::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #C8C8C8;
    left: 0;
    bottom: 0;
}

.btn-prototype::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #020202;
    left: 0;
    bottom: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease-in-out;
}

.btn-prototype:hover::after {
    transform: scaleX(1);
}

/* ======================= EXPLORATION SECTION ======================= */
#exploration {
    background-color: #020202;
    color: white;
    padding: 120px 0 0; /* Padding atas-bawah saja */
    position: relative;
    overflow: hidden;

        /* ▼▼▼ TAMBAHKAN/UBAH PROPERTI BACKGROUND INI ▼▼▼ */
        background-image:
        url('assets/lamp.png'),    /* Gambar lapisan atas */
        url('assets/cahaya.png');  /* Gambar lapisan bawah */

    background-repeat: no-repeat; /* Memastikan kedua gambar tidak diulang */

    background-position:
        top center, /* Posisi untuk lamp.png */
        top left;   /* Posisi untuk cahaya.png */
    
    background-size:
        800px,       /* Ukuran natural untuk lamp.png */
        1000px;       /* Ukuran natural untuk cahaya.png */

        
}



#exploration::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px; /* Atur tinggi area gradasi sesuai selera */
    background: linear-gradient(to top, #020202 10%, transparent 100%);
    z-index: 2; /* Memastikan gradasi berada di atas gambar marquee */
    pointer-events: none; /* Agar tidak menghalangi interaksi mouse */
}

.exploration-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.exploration-header {
    max-width: 730px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0 20px; /* Padding kiri-kanan */
}

.exploration-header .badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.exploration-header h1 {
    font-size: 60px;
    font-weight: 500;
    white-space: nowrap; /* Tambahkan baris ini */
}

.exploration-header p {
    font-size: 20px;
    color: #9B9B9B;
    line-height: 1.6;
}

.exploration-buttons {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.exploration-buttons a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-dribbble {
    background-color: #EA4C89;
    color: white;
}
.btn-dribbble:hover {
    transform: translateY(-3px);
    box-shadow: 0px 15px 40px rgba(234, 76, 137, 0.4);
}

.btn-behance {
    background-color: #0057FF;
    color: white;
}
.btn-behance:hover {
    transform: translateY(-3px);
    box-shadow: 0px 15px 40px rgba(0, 87, 255, 0.4);
}

/* --- Scrolling Marquee Styling --- */
.marquee-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.marquee-row {
    overflow: hidden;
    
}

.marquee-track {
    display: flex;
    /* Lebar total = (lebar gambar + jarak) * jumlah gambar (termasuk duplikat) */
    width: calc(420px * 12); 
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.marquee-track img {
    width: 405px; /* Lebar setiap gambar */
    height: 304px;
    object-fit: cover;
    margin: 0 10px; /* Jarak antar gambar */
    border-radius: 12px;
}

/* Animasi untuk setiap baris */
.scroll-right {
    animation: marquee 60s linear infinite;
    animation-direction: reverse; /* INI KUNCINYA: animasi berjalan terbalik */
}
.scroll-left {
    animation: marquee 60s linear infinite;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } /* Bergerak sejauh setengah dari total lebar */
}


/* ======================= ACHIEVEMENTS SECTION ======================= */
#achievements {
    background-color: #FFFFFF;
    padding: 160px 0; /* Padding atas-bawah, kiri-kanan diatur oleh container */
    color: #020202;
}

.achievements-container {
    max-width: 1440px; /* Lebar maksimum konten */
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    
}

.achievements-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.achievements-header h2 {
    font-size: 44px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 16px;
}

.slider-nav {
    display: flex;
    gap: 20px;
}

.slider-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid #9B9B9B;
    background-color: white;
    cursor: pointer;
    font-size: 24px;
    color: #9B9B9B;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: #020202;
    color: white;
    border-color: #020202;
}
/* Menonaktifkan tombol jika di awal/akhir slider */
.slider-btn.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}



/* --- Slider & Card Styling --- */
.swiper.achievement-slider {
    width: 100%;
    overflow: visible; /* Agar shadow tidak terpotong */
    padding: 20px 0;
}

.achievement-card {
    background: white;
    border: 1px solid #E4E4E4;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    cursor: pointer;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.08);
}

.card-thumbnail {
    width: 100%;
    height: 255px;
    object-fit: cover;
    border-radius: 6px;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-date {
    font-size: 16px;
    color: #9B9B9B;
}

.card-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    flex-grow: 1; /* Membuat judul mengisi ruang agar tag di bawah */
}

.card-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.card-tags span {
    background: #FAFAFA;
    border: 1px solid #E4E4E4;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 16px;
    color: #9B9B9B;
}

/* --- Lightbox (Popup) Styling --- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.lightbox-overlay.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: 90%;
    max-height: 85%;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.lightbox-overlay.show .lightbox-image {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50%;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }



/* ======================= SKILLS SECTION ======================= */

/* Mendaftarkan custom property agar bisa dianimasikan */
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
  }
  
  #skills {
      background-color: #F7F7F7;
      color: #020202;
      padding: 140px 80px;
      position: relative;
      overflow: hidden;
      /* Pola titik-titik samar di background */
      background-image: radial-gradient(#E4E4E4 1px, transparent 1px);
      background-size: 20px 20px;
  }
  
  .skills-container {
      max-width: 1280px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 60px;
  }
  
  .skills-container h1 {
      font-size: 44px;
      font-weight: 500;
      text-align: center;
  }
  
  .skills-grid {
      display: flex;
      justify-content: center;
      gap: 30px;
      flex-wrap: wrap; /* Agar responsif di layar kecil */
      width: 100%;
  }
  
  .skill-card {
    background: white;
    /* Atur border awal dengan ketebalan yang sama */
    border: 2px solid #E4E4E4; 
    border-radius: 20px;
    padding: 30px;
    width: 405px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    /* Tambahkan 'border-color' ke dalam transisi */
    transition: transform 0.15s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.08);
    /* Saat di-hover, ganti warna border menggunakan variabel dari HTML */
    border-color: var(--border-color); 
}

.skill-icon {
    width: 60px;
    height: 60px;
}

.skill-card h3 {
    font-size: 22px;
    font-weight: 500;
}

.skill-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #9B9B9B;
}
  
  /* Keyframes untuk memutar gradasi */
  @keyframes laser-spin {
    to {
        --angle: 360deg;
    }
}

/* ======================= FOOTER SECTION ======================= */
footer {
    background-color: #020202;
    color: white;
    overflow: hidden; /* Mencegah marquee meluber */
}

/* --- Running Text Marquee --- */
.footer-marquee {
    position: relative;
    padding: 60px 0;
    border-bottom: 1px solid #4A4A4A;
    cursor: none; /* Sembunyikan kursor asli saat di area ini */
    cursor: pointer;
}

.footer-marquee .marquee-track {
    display: flex;
    align-items: center;
    /* Lebar = (lebar teks + jarak) * jumlah elemen (termasuk duplikat) */
    /* Sesuaikan angka jika ukuran font berubah */
    width: calc(3000px * 2); 
    animation: marquee 40s linear infinite;
}

.footer-marquee h1 {
    font-size: 200px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0.12;
    margin: 0 40px;
}

.footer-marquee .dot {
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    opacity: 0.12;
    flex-shrink: 0;
}

/* --- Tombol Melayang (Floating Button) --- */
.lets-discuss-btn {
    /* Posisi diatur oleh JavaScript */
    position: fixed; 
    
    /* Tampilan awal (tersembunyi) */
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(0.8);
    pointer-events: none; /* Agar tidak mengganggu event lain */
    transition: opacity 0.3s, transform 0.3s;
    z-index: 100;
    
    /* Gaya tombol */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #020202;
    padding: 8px 12px 8px 16px;
    border-radius: 10px;
    font-weight: 500;
    white-space: nowrap;
}

.lets-discuss-btn .arrow-icon-wrapper {
    background: #020202;
    color: white;
}

/* State saat tombol terlihat */
.lets-discuss-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}


/* --- Footer Bawah --- */
.footer-bottom {
    padding: 40px 80px;
}

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

.footer-socials {
    display: flex;
    gap: 24px;
}

.footer-socials a {
    color: white;
    font-size: 20px;
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0.7;
}

.footer-socials a:hover {
    transform: translateY(-3px);
    opacity: 1;
}

.footer-copyright {
    color: #9B9B9B;
    font-size: 14px;
}






/* ======================= HAMBURGER MENU STYLING ======================= */
.hamburger-menu {
    display: none; /* Sembunyikan di tampilan desktop */
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Pastikan ikon di atas segalanya */
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Animasi ikon hamburger menjadi 'X' saat aktif */
.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =================================================================== */
/* MEDIA QUERIES (RESPONSIVE) - FINAL VERSION                        */
/* =================================================================== */

/* Untuk Layar Tablet Besar (<= 1200px) */
@media (max-width: 1200px) {
    .hero-container {
        gap: 60px;
        align-items: center;
    }
    .hero-left {
        height: auto;
        justify-content: center;
        gap: 60px;
        width: auto;
    }
}



/* Untuk Layar Tablet Vertikal (<= 992px) */
@media (max-width: 992px) {
    /* Navigasi */
    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: #0c0c0c;
        width: 100%;
        height: 100%;
        text-align: center;
        transition: 0.3s;
        justify-content: center;
        z-index: 1000;
    }
    .nav-links a { margin: 16px 0; font-size: 20px; opacity: 1; }
    .nav-links.active { left: 0; }
    .contact-btn { display: none; }
    .hamburger-menu { display: block; }
    
    /* Hero Section */
    .hero-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 60px;
        background-size: 500px, 700px; 
    }
    .hero-right { max-width: 100%; }

    /* About Section */
    .about-container {
        flex-direction: column;
        gap: 40px;
    }
    .about-left {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        align-self: stretch;
    }
    .about-right p {
        font-size: 26px;
    }
}

/* Untuk Layar Mobile Besar (<= 768px) */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-title { font-size: 80px; min-height: 0; }

    /* Projects & Exploration */
    .projects-container { padding: 100px 25px; }
    #exploration { padding: 100px 0; }
    .projects-header h1, .exploration-header h1 { font-size: 40px; white-space: normal; }
    .projects-header p, .exploration-header p { font-size: 18px; }
    .project-links {
        flex-direction: column;   /* Mengubah tatanan jadi ke bawah */
        align-items: flex-start;  /* Membuat tombol rata kiri */
        gap: 20px;                /* Mengatur jarak antar tombol */
        margin-top: 20px;         /* Mengurangi jarak dari konten di atasnya */
    }
    #projects::before {
        background-size: 120%;

    /* Marquee */
    .marquee-track { width: calc(320px * 12); }
    .marquee-track img { width: 300px; }

    /* Achievements Section */
    #achievements {
        padding: 100px 0;
    }
    .achievements-container {
        padding: 0 25px;
    }
    .achievements-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
    .achievements-header h2 {
        font-size: 36px;
    }
    /* Menyembunyikan panah navigasi slider */
    .slider-nav {
        display: none;
    }

    /* Skills */
    #skills { padding: 100px 25px; }
    .skills-container h1 { font-size: 36px; }
    }
}

/* Untuk Layar Mobile Kecil (<= 576px) */
@media (max-width: 576px) {
    /* Navigasi */
    .nav-container { padding: 0 15px; }

    /* Hero Section */
    .hero-container { padding: 60px 25px; }
    .hero-title { font-size: 54px; }
    .hero-right p { font-size: 16px; }

    /* About Section */
    #about { padding: 80px 25px; }
    .about-right p { font-size: 22px; }
    .about-left { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 30px;
    }
     /* Perkecil font di section About */
    .section-title p,
    .cv-link {
        font-size: 18px; /* Atur ukuran font menjadi 18px */
    }

    /* Menambahkan garis bawah hanya di mobile */
    .cv-link {
        border-bottom: 2px solid #020202;
        padding-bottom: 4px;
    }
    
    /* Footer */
    .footer-bottom { padding: 40px 25px; }
    .footer-content { flex-direction: column; gap: 30px; }
}

/* Untuk Layar Mobile Sangat Kecil (<= 480px) */
@media (max-width: 480px) {
    /* Padding global untuk section di mobile kecil */
    #about, .projects-container, #skills, .achievements-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    #hero .hero-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Perkecil judul-judul utama */
    .hero-title {
        font-size: 44px; /* Lebih kecil lagi dari sebelumnya */
    }
    .projects-header h1, .exploration-header h1, .skills-container h1, .achievements-header h2 {
        font-size: 32px;
        line-height: 1.3;
    }

    /* Perkecil font deskripsi */
    .about-right p {
        font-size: 18px;
    }
    .projects-header p, .exploration-header p {
        font-size: 16px;
    }

    /* Perkecil tombol */
    .btn-primary, .btn-dribbble, .btn-behance {
        padding: 12px 24px;
        font-size: 16px;
    }

    /* Perkecil kartu project */
    .project-card {
        padding: 25px;
    }
    .project-info h2 {
        font-size: 20px;
    }
}

/* Untuk Layar Tablet & Laptop Kecil (<= 1024px) */
@media (max-width: 1024px) {
    /* Projects Section */
    .project-card, .project-card-reverse {
        flex-direction: column;
        gap: 40px;
    }
}