/* === Variabel Warna dan Konfigurasi Dasar === */
      :root {
        --bg-color: #f4f1eb;
        --text-color: #5d5554;
        --primary-color: #b08968;
        --surface-color: #eaddcf;
        --nav-bg: rgba(244, 241, 235, 0.85);
        --border-color: rgba(93, 85, 84, 0.15);
      }
      * { margin: 0; padding: 0; box-sizing: border-box; }
      body {
        font-family: "Poppins", sans-serif;
        background-color: var(--bg-color);
        color: var(--text-color);
        display: flex;
        flex-direction: column;
        min-height: 100vh;
      }
      main { flex-grow: 1; }
      h1, h2, h3, .font-bebas { font-family: "Bebas Neue", sans-serif; }
      a { text-decoration: none; color: inherit; }

           /* === Navbar === */
            /* --- Main Header --- */
      .main-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0 5%;
        height: 80px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 1002;
        transition: top 0.3s ease-in-out, background-color 0.3s ease;
      }

      .logo img {
        height: 40px;
        width: auto;
      }

      /* --- Desktop Navigation --- */
      .desktop-nav-links {
        list-style: none;
        display: flex;
        gap: 1.5rem;
      }

      .desktop-nav-links a {
        color: var(--text-color);
        text-decoration: none;
        font-size: 1rem;
        padding: 10px 15px;
        position: relative;
        transition: color 0.4s ease;
        overflow: hidden;
        font-weight: 500;
      }

      .desktop-nav-links a::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: 8px;
        left: 0;
        background-color: var(--primary-color);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
      }

      .desktop-nav-links a:hover {
        color: var(--primary-color);
      }

      .desktop-nav-links a:hover::before {
        transform: scaleX(1);
        transform-origin: left;
      }

      /* --- Mobile Navigation --- */
      .mobile-nav-toggle {
        display: none;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        width: 40px;
        position: relative;
        z-index: 1003;
      }

      /* Circle background for hamburger */
      .mobile-nav-toggle::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 45px;
        height: 45px;
        background-color: var(--surface-color);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.3s ease;
        z-index: -1;
        opacity: 0.9;
      }

      .mobile-nav-toggle:hover::before {
        width: 50px;
        height: 50px;
        opacity: 1;
      }

      .mobile-nav-toggle .bar {
        width: 100%;
        height: 2px;
        background-color: var(--text-color);
        display: block;
        margin: 6px auto;
        transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        position: relative;
        z-index: 1;
      }

      .mobile-nav-toggle.open .bar1 {
        transform: rotate(45deg) translate(5px, 6px);
      }
      .mobile-nav-toggle.open .bar2 {
        opacity: 0;
      }
      .mobile-nav-toggle.open .bar3 {
        transform: rotate(-45deg) translate(5px, -6px);
      }

      .mobile-nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--surface-color);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        clip-path: circle(25px at calc(100% - 5%) 40px);
        transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1001;
        visibility: hidden;
      }

      .mobile-nav-menu.open {
        clip-path: circle(150% at calc(100% - 5%) 40px);
        visibility: visible;
      }

      .mobile-nav-menu .nav-links {
        list-style: none;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
      }

      .mobile-nav-menu .nav-links a {
        font-size: 2rem;
        font-weight: 500;
        color: var(--text-color);
        text-decoration: none;
      }

      .mobile-nav-menu .nav-links li {
        opacity: 0;
        transform: translateY(60px) translateZ(-200px) scale(0.7) rotateX(90deg)
          rotateY(15deg);
        transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        filter: blur(8px) brightness(0.4);
        pointer-events: none;
        perspective: 1000px;
        transform-style: preserve-3d;
      }

      .mobile-nav-menu.open .nav-links li {
        opacity: 1;
        transform: translateY(0) translateZ(0) scale(1) rotateX(0deg)
          rotateY(0deg);
        filter: blur(0) brightness(1);
        pointer-events: auto;
        transition: all 0.9s cubic-bezier(0.23, 1, 0.32, 1);
      }

      .mobile-nav-menu.open .nav-links li:nth-child(1) {
        transition-delay: 0.1s;
        animation: slideInBounce 0.8s ease-out 0.1s both;
      }
      .mobile-nav-menu.open .nav-links li:nth-child(2) {
        transition-delay: 0.15s;
        animation: slideInBounce 0.8s ease-out 0.15s both;
      }
      .mobile-nav-menu.open .nav-links li:nth-child(3) {
        transition-delay: 0.2s;
        animation: slideInBounce 0.8s ease-out 0.2s both;
      }
      .mobile-nav-menu.open .nav-links li:nth-child(4) {
        transition-delay: 0.25s;
        animation: slideInBounce 0.8s ease-out 0.25s both;
      }
      .mobile-nav-menu.open .nav-links li:nth-child(5) {
        transition-delay: 0.3s;
        animation: slideInBounce 0.8s ease-out 0.3s both;
      }
      .mobile-nav-menu.open .nav-links li:nth-child(6) {
        transition-delay: 0.35s;
        animation: slideInBounce 0.8s ease-out 0.35s both;
      }

      /* Custom keyframe animation untuk efek yang lebih smooth dengan depth maksimal */
      @keyframes slideInBounce {
        0% {
          opacity: 0;
          transform: translateY(80px) translateZ(-300px) scale(0.5)
            rotateX(120deg) rotateY(25deg);
          filter: blur(12px) brightness(0.2) saturate(0.3);
        }
        30% {
          opacity: 0.3;
          transform: translateY(20px) translateZ(-100px) scale(0.85)
            rotateX(45deg) rotateY(10deg);
          filter: blur(6px) brightness(0.6) saturate(0.7);
        }
        60% {
          opacity: 0.8;
          transform: translateY(-8px) translateZ(20px) scale(1.08)
            rotateX(-5deg) rotateY(-2deg);
          filter: blur(1px) brightness(1.1) saturate(1.1);
        }
        80% {
          opacity: 0.95;
          transform: translateY(3px) translateZ(5px) scale(1.02) rotateX(2deg)
            rotateY(1deg);
          filter: blur(0.5px) brightness(1.05) saturate(1.05);
        }
        100% {
          opacity: 1;
          transform: translateY(0) translateZ(0) scale(1) rotateX(0deg)
            rotateY(0deg);
          filter: blur(0) brightness(1) saturate(1);
        }
      }

      /* Hover effect untuk interaksi yang lebih smooth dengan depth */
      .mobile-nav-menu.open .nav-links li:hover {
        transform: translateY(-8px) translateZ(30px) scale(1.08) rotateX(-3deg);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        text-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        filter: brightness(1.1) saturate(1.2);
      }

      /* Exit animation saat menu ditutup - animasi terbalik */
      .mobile-nav-menu:not(.open) .nav-links li:nth-child(1) {
        transition-delay: 0.25s;
        animation: slideOutReverse 0.5s ease-in 0.25s both;
      }
      .mobile-nav-menu:not(.open) .nav-links li:nth-child(2) {
        transition-delay: 0.2s;
        animation: slideOutReverse 0.5s ease-in 0.2s both;
      }
      .mobile-nav-menu:not(.open) .nav-links li:nth-child(3) {
        transition-delay: 0.15s;
        animation: slideOutReverse 0.5s ease-in 0.15s both;
      }
      .mobile-nav-menu:not(.open) .nav-links li:nth-child(4) {
        transition-delay: 0.1s;
        animation: slideOutReverse 0.5s ease-in 0.1s both;
      }
      .mobile-nav-menu:not(.open) .nav-links li:nth-child(5) {
        transition-delay: 0.05s;
        animation: slideOutReverse 0.5s ease-in 0.05s both;
      }
      .mobile-nav-menu:not(.open) .nav-links li:nth-child(6) {
        transition-delay: 0s;
        animation: slideOutReverse 0.5s ease-in 0s both;
      }
      .mobile-nav-menu:not(.open) .nav-links li:nth-child(7) {
        transition-delay: 0s;
      }

      /* Keyframe untuk exit animation dengan depth maksimal */
      @keyframes slideOutReverse {
        0% {
          opacity: 1;
          transform: translateY(0) translateZ(0) scale(1) rotateX(0deg)
            rotateY(0deg);
          filter: blur(0) brightness(1) saturate(1);
        }
        20% {
          opacity: 0.8;
          transform: translateY(-5px) translateZ(10px) scale(1.03)
            rotateX(-10deg) rotateY(-5deg);
          filter: blur(0.5px) brightness(1.1) saturate(1.1);
        }
        60% {
          opacity: 0.4;
          transform: translateY(-20px) translateZ(-100px) scale(0.9)
            rotateX(-45deg) rotateY(-15deg);
          filter: blur(4px) brightness(0.7) saturate(0.6);
        }
        100% {
          opacity: 0;
          transform: translateY(-80px) translateZ(-400px) scale(0.4)
            rotateX(-140deg) rotateY(-30deg);
          filter: blur(15px) brightness(0.1) saturate(0.2);
        }
      }

      /* --- Responsive --- */
      @media (min-width: 769px) {
        .main-header {
          background-color: var(--nav-bg);
          backdrop-filter: blur(10px);
          border-bottom: 1px solid var(--border-color);
        }
      }
      @media (max-width: 768px) {
        .desktop-nav-links {
          display: none;
        }
        .mobile-nav-toggle {
          display: block;
        }
        .main-header {
          padding: 0 5%;
          background-color: transparent;
          border-bottom: none;
          backdrop-filter: none;
        }
      }
      
      /* --- Footer --- */
      .main-footer {
        padding: 3rem 5%;
        background-color: var(--surface-color);
        border-top: 1px solid var(--border-color);
        text-align: center;
      }

      .footer-content {
        max-width: 800px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
      }

      .footer-socials {
        display: flex;
        gap: 2rem;
      }

      .footer-socials a {
        color: var(--text-color);
        transition: transform 0.3s ease, color 0.3s ease;
        display: inline-block;
      }

      .footer-socials a:hover {
        color: var(--primary-color);
        transform: translateY(-3px);
      }

      .footer-socials i {
        font-size: 24px;
      }
      .footer-copyright {
        font-size: 0.9rem;
        opacity: 0.8;
      }

    /* Scrollbar untuk Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 6px; /* Lebar scrollbar vertikal */
  height: 6px; /* Tinggi scrollbar horizontal */
}

::-webkit-scrollbar-track {
  background: #f5f1eb; /* Warna track - cream/beige muda */
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: #8b7355; /* Warna thumb - coklat earth tone */
  border-radius: 3px;
  transition: background-color 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #6d5a42; /* Warna lebih gelap saat hover */
}

::-webkit-scrollbar-thumb:active {
  background: #5a4a36; /* Warna lebih gelap saat diklik */
}

::-webkit-scrollbar-corner {
  background: #f5f1eb; /* Warna sudut jika ada scrollbar horizontal dan vertikal */
}

/* Scrollbar untuk Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #8b7355 #f5f1eb;
}

/* Alternatif varian warna earth tone lainnya */

/* Varian 1: Terracotta */
/*
::-webkit-scrollbar-track {
  background: #faf7f2;
}
::-webkit-scrollbar-thumb {
  background: #a0756b;
}
::-webkit-scrollbar-thumb:hover {
  background: #8b5f56;
}
*/

/* Varian 2: Sage Green */
/*
::-webkit-scrollbar-track {
  background: #f6f7f1;
}
::-webkit-scrollbar-thumb {
  background: #8a9a5b;
}
::-webkit-scrollbar-thumb:hover {
  background: #758249;
}
*/

/* Varian 3: Warm Grey */
/*
::-webkit-scrollbar-track {
  background: #f8f6f3;
}
::-webkit-scrollbar-thumb {
  background: #9b8b7a;
}
::-webkit-scrollbar-thumb:hover {
  background: #847665;
}
*/

/* Contoh penggunaan pada elemen tertentu */
.scrollable-content {
  max-height: 400px;
  overflow-y: auto;
  padding: 20px;
  background-color: #fefcf8;
  border: 1px solid #e8ddd4;
  border-radius: 8px;
}