/* --- RESET & VARIABEL --- */
    :root {
      --primary: #2563eb;
      --primary-hover: #1d4ed8;
      --bg-color: #f8fafc;
      --text-main: #0f172a;
      --text-muted: #64748b;
      --card-bg: #ffffff;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', sans-serif;
      background-color: var(--bg-color);
      color: var(--text-main);
      line-height: 1.6;
    }

    /* --- NAVBAR --- */
    nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.5rem 5%;
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(10px);
      position: fixed;
      width: 100%;
      top: 0;
      z-index: 1000;
      box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }

    .logo {
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--text-main);
      text-decoration: none;
    }

    .nav-links a {
      margin-left: 2rem;
      text-decoration: none;
      color: var(--text-muted);
      font-weight: 600;
      transition: color 0.3s ease;
    }

    .nav-links a:hover {
      color: var(--primary);
    }

    /* --- HERO SECTION --- */
    .hero {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 0 5%;
      background: linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%);
    }

    .hero h1 {
      font-size: 3.5rem;
      font-weight: 800;
      margin-bottom: 1rem;
      letter-spacing: -1px;
    }

    .hero p {
      font-size: 1.2rem;
      color: var(--text-muted);
      max-width: 600px;
      margin-bottom: 2.5rem;
    }

    .btn-primary {
      padding: 0.8rem 2rem;
      background-color: var(--primary);
      color: white;
      text-decoration: none;
      border-radius: 50px;
      font-weight: 600;
      transition: all 0.3s ease;
      box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    }

    .btn-primary:hover {
      background-color: var(--primary-hover);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    }

    /* --- PORTFOLIO SECTION --- */
    .portfolio-section {
      padding: 6rem 5%;
    }

    .section-title {
      font-size: 2rem;
      font-weight: 800;
      margin-bottom: 3rem;
      text-align: center;
      position: relative;
    }

    .section-title::after {
      content: '';
      display: block;
      width: 60px;
      height: 4px;
      background: var(--primary);
      margin: 0.5rem auto 0;
      border-radius: 2px;
    }

    /* Kategori Label */
    .category-title {
      font-size: 1.5rem;
      color: var(--text-main);
      margin-bottom: 1.5rem;
      margin-top: 3rem;
      font-weight: 600;
    }

    /* CSS Grid untuk Layout Kartu */
    .grid-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 2rem;
    }

    /* --- CARD STYLING --- */
    .project-card {
      cursor: pointer;
      background: var(--card-bg);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
      border: 1px solid #e2e8f0;
      display: flex;
      flex-direction: column;
    }

    .project-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

    .card-img-wrapper {
      position: relative;
      overflow: hidden;
      height: 220px;
    }

    .card-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .project-card:hover .card-img {
      transform: scale(1.05);
    }

    .card-content {
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }

    .card-tags {
      font-size: 0.75rem;
      color: var(--primary);
      text-transform: uppercase;
      font-weight: 800;
      letter-spacing: 1px;
      margin-bottom: 0.5rem;
    }

    .card-title {
      font-size: 1.25rem;
      font-weight: 800;
      margin-bottom: 0.75rem;
    }

    .card-desc {
      color: var(--text-muted);
      font-size: 0.95rem;
      margin-bottom: 1.5rem;
      flex-grow: 1;
    }

    .card-link {
      text-decoration: none;
      color: var(--primary);
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      transition: gap 0.3s ease;
      gap: 5px;
    }

    .card-link:hover {
      gap: 10px;
    }

    /* --- FOOTER --- */
    footer {
      background-color: var(--text-main);
      color: white;
      text-align: center;
      padding: 3rem 5%;
    }

    footer p {
      color: #94a3b8;
      font-size: 0.9rem;
    }

    /* Responsivitas untuk layar HP */
    @media (max-width: 768px) {
      .hero h1 { font-size: 2.5rem; }
      .nav-links { display: none; /* Bisa ditambahkan hamburger menu nanti */ }
    }